CN109426561A - A kind of task processing method, device and equipment - Google Patents

A kind of task processing method, device and equipment Download PDF

Info

Publication number
CN109426561A
CN109426561A CN201710757902.3A CN201710757902A CN109426561A CN 109426561 A CN109426561 A CN 109426561A CN 201710757902 A CN201710757902 A CN 201710757902A CN 109426561 A CN109426561 A CN 109426561A
Authority
CN
China
Prior art keywords
task
thread
resources
quota
dynamic
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
CN201710757902.3A
Other languages
Chinese (zh)
Inventor
王剑锋
黄柏川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710757902.3A priority Critical patent/CN109426561A/en
Publication of CN109426561A publication Critical patent/CN109426561A/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/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
    • 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/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/503Resource availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

The application provides a kind of task processing method, device and equipment, this method comprises: the processing request of the task of reception, determines task fixation thread quota corresponding with the task;If available thread resources are not present in the fixed thread quota of the task, judging, which can be used, whether there is available thread resources in dynamic thread number;The fixed thread quota of the task includes the thread resources that the task is able to use, and the usable dynamic thread number includes the shared thread resources of multiple tasks;If it does, being that the task distributes thread resources according to the usable dynamic thread number;The task is handled by the thread resources distributed for the task.By the technical solution of the application, task processing capacity can be improved, shorten task and handle the time, reduce period of reservation of number, promote user experience.The shared of thread resources may be implemented in the isolation that thread resources may be implemented.

Description

A kind of task processing method, device and equipment
Technical field
This application involves Internet technical field more particularly to a kind of task processing methods, device and equipment.
Background technique
With the rapid development of internet, server needs to provide business, and type of business for more and more users It is more and more, customer service is such as registered, commodity data changes business, order business, commercial articles searching business etc., the place of every kind of business Reason, causes server to need to handle considerable task.And handle these tasks and need the long period, correspondingly, when the waiting of user Between also can be long, therefore, affect user experience to a certain extent.How these tasks are quickly and effectively handled, The matter of utmost importance faced as server.
Summary of the invention
The application provides a kind of task processing method, which comprises
The processing of reception task is requested, and determines the fixed thread quota of task corresponding with the task;
If available thread resources are not present in the fixed thread quota of the task, judge to can be used in dynamic thread number With the presence or absence of available thread resources;Wherein, the fixed thread quota of the task includes the thread money that the task is able to use Source, the usable dynamic thread number include the shared thread resources of multiple tasks;
If it is present being that the task distributes thread resources according to the usable dynamic thread number;
The task is handled by the thread resources distributed for the task.
The application provides a kind of Task Processing Unit, and described device includes:
Receiving module, the processing for receiving task are requested;
Determining module, for determining the fixed thread quota of task corresponding with the task;When the fixed thread of the task When available thread resources being not present in quota, then judge can be used to whether there is available thread resources in dynamic thread number; Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, the usable dynamic thread number The thread resources shared including multiple tasks;
Distribution module, for when in the usable dynamic thread number there are when available thread resources, then according to It is that the task distributes thread resources that dynamic thread number, which can be used,;
Processing module handles the task for the thread resources by distributing for the task.
The application provides a kind of task processing equipment, and the task processing equipment includes:
Processor, the processing for receiving task are requested, and determine the fixed thread quota of task corresponding with the task; If available thread resources are not present in the fixed thread quota of the task, judging can be used whether there is in dynamic thread number Available thread resources;Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, it is described can It the use of dynamic thread number include the shared thread resources of multiple tasks;If it is present according to the usable dynamic thread number Thread resources are distributed for the task;The task is handled by the thread resources distributed for the task.
Based on the above-mentioned technical proposal, in the embodiment of the present application, it can be the fixed thread quota of each task configuration task, appoint Fixed thread quota of being engaged in includes the thread resources that the task is able to use, and configuring for multiple tasks can be used dynamic thread number, can It the use of dynamic thread number include the shared thread resources of multiple tasks.When the task that receives processing request after, can according to appoint Fixed thread quota of being engaged in or usable dynamic thread number are that task distributes thread resources, and the thread by distributing for task provides Source handles task.Therefore, under batch tasks application scenarios, task processing capacity can be improved, shorten task and handle the time, subtract Few period of reservation of number, promotes user experience.By fixing thread quota for each task configuration task, so that each task has The thread resources for having oneself exclusive, may be implemented the isolation of thread resources.Dynamic thread can be used by configuring for multiple tasks The shared of thread resources may be implemented so that multiple tasks have shared thread resources in number.
Detailed description of the invention
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is only some embodiments as described in this application, for those of ordinary skill in the art, can also be according to this Shen Please these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2A-Fig. 2 D is the flow chart of the task processing method in a kind of embodiment of the application;
Fig. 3 is the structure chart of the Task Processing Unit in a kind of embodiment of the application.
Specific embodiment
In the term that the embodiment of the present application uses merely for the sake of for the purpose of describing particular embodiments, rather than limit this Shen Please.The "an" of singular used in the application and claims, " described " and "the" are also intended to including most shapes Formula, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one A or multiple associated any or all of project listed may combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the embodiment of the present application Breath, but these information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, In the case where not departing from the application range, the first information can also be referred to as the second information, and similarly, the second information can also be with The referred to as first information.Depending on context, in addition, used word " if " can be construed to " ... when " or " when ... " or " in response to determination ".
The embodiment of the present application proposes a kind of task processing method, and this method can be applied to task processing equipment, the task Processing equipment can be server, PC (Personal Computer, personal computer), laptop, data platform, electricity Quotient's platform, tablet computer, terminal device etc., to the type of this task processing equipment with no restrictions, all tasks that are capable of handling Equipment is within the protection scope of the embodiment of the present application.
In order to realize the processing of task, need to distribute thread resources for task, and handle the task by thread resources.And The creation and release of thread resources are required to overhead, cause the task processing time longer.For example, when the task 1 of processing, first Thread resources are created for task 1, after the completion of the processing of task 1, discharge thread resources, when the task 2 of processing, are created for task 2 Thread resources, and so on.In this way, then thread resources are constantly created when task processing equipment needs to handle considerable task And release, a large amount of overheads are consumed, cause the task processing time very long, the waiting time of user is also long, affects use Family experience.
For above-mentioned discovery, in order to quickly and effectively handle task, thread pool can be enabled, and can wrap in the thread pool Include a large amount of thread resources.In this way, can directly choose thread resources from thread pool, and pass through when there is task to need to handle This thread resources handles the task, and after the completion of task processing, this thread resources is directly recovered to thread pool.To sum up institute It states, since all thread resources are in thread pool, without re-creating thread resources for task, without release thread money Task processing capacity is improved so as to save overhead in source, shortens task and handles the time, reduces period of reservation of number, mention Rise user experience.
Based on the thread resources in thread pool, task processing equipment can handle in the following way task:
Mode one uses global thread pool, i.e., all task sharing one global thread pools.
For example, task processing equipment chooses a line after the processing request of the task that receives 1 from global thread pool Cheng Ziyuan, and task 1 is handled by this thread resources.After the processing request of the task that receives 2, from global thread pool A thread resources are chosen, and handle task 2 by this thread resources.After the processing request of the task that receives 3, from complete A thread resources are chosen in office's thread pool, and handle task 3 by this thread resources.And so on, in this way, all tasks A global thread pool can be shared.
But there are the following problems for aforesaid way: due to limited (such as totally 20 threads of the thread resources in global thread pool Resource), task processing equipment is after a large amount of processing request of the task that receives 1, then task 1 may occupy in global thread pool All thread resources, cause other tasks there is no available thread resources.
Mode two, using individual threads pond, i.e., each task uses an individual threads pond.
For example, task 1 corresponds to individual threads pond 1, task 2 corresponds to individual threads pond 2, and so on.Task processing equipment After the processing request of the task that receives 1, thread resources are chosen from individual threads pond 1, and by this thread resources Reason task 1.After the processing request of the task that receives 2, thread resources are chosen from individual threads pond 2, and pass through this line Cheng Ziyuan handles task 2.And so on, in this way, each task uses individual threads pond, i.e., using the line in individual threads pond Cheng Ziyuan handles the task.
But there are the following problems for aforesaid way: assuming that there are many processing number of requests of task 1, and the processing of task 2 is asked Ask quantity seldom, in this way, the thread resources in individual threads pond 1 may be unable to satisfy the processing needs of task 1, and individual threads Thread resources in pond 2 are by a large amount of free time, to cause the waste of resource.
Mode three, using elastic thread pool, realize the dynamic allocation of thread resources, realize the isolation of thread resources, with solution Certainly the problem of mode one, the shared of thread resources can also be realized, the problem of with settling mode two.
In one example, above-mentioned elastic thread pool can include but is not limited to: mission thread pond and shared thread pool, often A task can individually correspond to a mission thread pond, and all tasks can correspond to a shared thread pool jointly.Wherein, exist It may include the thread resources that the task is able to use in mission thread pond, may include multiple tasks in shared thread pool The thread resources that (such as all tasks) can be used in conjunction with.
It is shown in Figure 1, for needing to handle task 1 and task 2, mission thread pond 1 is set for task 1, is task 2 Mission thread pond 2 is set, and task 1 and task 2 share a shared thread pool.Wherein, each type of business is (as registration is used Family business, commodity data change business, order business, commercial articles searching business etc.) task can be corresponded to, the task is for locating Reason is directed to all requests of the business.For example, task 1 is being received for handling the corresponding all requests of registration customer service To after the request for registration customer service, handled by task 1.In another example task 2 is for handling commodity data change business pair All requests answered are handled that is, after receiving for the request of commodity data change business by task 2.
In one example, in the mode three using elastic thread pool, following concept can be related to:
1, maximum thread: the i.e. maximum allowable Thread Count of task processing equipment.Wherein, this maximum thread and task The performance of processing equipment is related, therefore, maximum thread can be arranged according to the performance of task processing equipment, to this set-up mode With no restrictions, rule of thumb can arbitrarily be arranged, if maximum thread is 1000.
2, the fixed thread quota of task, the fixed thread quota of the task is the exclusive thread resources of task, be can be above-mentioned Available thread resources quantity in mission thread pond can be empirically for each fixed thread quota of task setting task, right This set-up mode with no restrictions, as long as the sum of fixed thread quota of the task of all tasks is less than maximum thread.For example, The fixed thread quota of the task of task 1 is 3, and 3 thread resources are used alone in expression task 1, and task 2 is not available task 1 This 3 thread resources.The fixed thread quota of the task of task 2 is 2, and 2 thread resources, 1 nothing of task is used alone in expression task 2 Method uses this 2 thread resources.In order to realize the above process, it is corresponding the fixed thread quota 3 of task can be allocated to task 1 Mission thread pond 1, i.e. mission thread pond 1 have 3 thread resources;It is right the fixed thread quota 2 of task can be allocated to task 2 The mission thread pond 2 answered, i.e. mission thread pond 2 have 2 thread resources.
3, dynamic thread number can be used, it is the thread resources that all tasks can be shared that dynamic thread number, which can be used, in this, can To be available thread resources quantity in above-mentioned shared thread pool.Wherein, dynamic thread number can be used to may is that maximum thread With the fixed thread quota of all tasks and, between difference.For example, the task in mission thread pond 1 is solid when maximum thread is 10 Alignment journey quota is 3, when the fixed thread quota of the task in mission thread pond 2 is 2, then shares the usable dynamic thread of thread pool Number can be 5 (10-2-3), and expression task 1 and task 2 can share this 5 thread resources of the shared thread pool.
In conclusion including in task thread pool due to the fixed thread quota of each mission thread Chi Douyou task The thread resources that each task can be used alone, so as to realize the isolation of thread resources by mission thread pond.Due to Shared thread pool, which has, can be used dynamic thread number, i.e., includes the thread money that all tasks can be shared in shared thread pool Source, so as to realize the shared of thread resources by sharing thread pool.
4, task dynamic thread quota, the task dynamic thread quota are the usable dynamic thread numbers that task is able to use The thread resources quantity for the shared thread pool that thread resources in (shared thread pool), the i.e. task can occupy, can basis Experience is that task dynamic thread quota is arranged in each task, with no restrictions to this set-up mode.Wherein, in order to avoid some task All thread resources in shared thread pool are occupied, cause other tasks not to be available the thread resources in shared thread pool, then Task dynamic thread quota is set for each task, indicates that the task can only use the task dynamic thread quota shared Thread resources in thread pool.
For example, the task dynamic thread quota of task 1 is 3, indicate that task 1 can only use 3 lines in shared thread pool Cheng Ziyuan, i.e. task 1 can also use shared thread on the basis of using 3 thread resources of task fixed thread quota 3 thread resources in pond.The task dynamic thread quota of task 2 is 3, indicates that task 2 can only use 3 in shared thread pool A thread resources, i.e. task 2 can also use shared on the basis of using 2 thread resources of task fixed thread quota 3 thread resources in thread pool.
Wherein, when in shared thread pool there are when available thread resources, if task 1 uses the thread in shared thread pool The thread resources in shared thread pool then can be used less than 3 in resource quantity, still, when task 1 uses in shared thread pool Thread resources quantity when being equal to 3, then cannot use the thread resources in shared thread pool.If task 2 uses shared thread The thread resources in shared thread pool then can be used less than 3 in thread resources quantity in pond, still, when task 2 uses altogether When enjoying the thread resources quantity in thread pool equal to 3, then the thread resources in shared thread pool cannot be used.When shared thread When available thread resources being not present in pond, task 1 and task 2 cannot use the thread resources in shared thread pool.
It is the flow chart of task processing method referring to fig. 2 shown in A under above-mentioned application scenarios.
Step 201, the processing request of task is received, and determines the fixed thread quota of task corresponding with the task.
Step 202, if available thread resources are not present in the fixed thread quota of the task, judge that dynamic line can be used It whether there is available thread resources in number of passes.If so, thening follow the steps 203.If not, thening follow the steps 205.Wherein, The fixed thread quota of the task may include the thread resources that the task is able to use, which may include The shared thread resources of multiple tasks (i.e. all tasks).
In one example, when the fixed thread quota of the corresponding task of the task is greater than 0, the fixed thread of the task is indicated There are available thread resources in quota, i.e., there are available thread resources in the mission thread pond of the task.When the task pair When the fixed thread quota of answering for task is equal to 0, indicate that there is no available thread resources in the fixed thread quota of the task, i.e., should Available thread resources are not present in the mission thread pond of task.
Wherein, the initial value of the fixed thread quota of task, in above process introduction, such as the task fixing line of task 1 The initial value of journey quota is 3, and the initial value of the fixed thread quota of the task of task 2 is 2.Based on this, fixed every time according to task Thread quota is just to subtract 1 for the fixed thread quota of the task after task distributes thread resources, until the fixed thread of the task is matched When volume is 0, indicate that there is no available thread resources for the fixed thread quota of the task, therefore, not further according to the task fixing line Journey quota is that task distributes thread resources.
It wherein, is being then to be completed in task processing after task distributes thread resources according to the fixed thread quota of task Afterwards, the thread resources of task distribution can also be released to, and the fixed thread quota of the task is added 1.In this way, when the task is solid It when alignment journey quota is greater than 0, and can be that task distributes thread resources, and the task is consolidated according to the fixed thread quota of the task Alignment journey quota subtracts 1, and so on, constantly repeat the above process.
In one example, when usable dynamic thread number is greater than 0, indicating can be used to exist in dynamic thread number be can be used Thread resources, that is to say, that there are available thread resources in shared thread pool, execute step 203;When usable dynamic line When number of passes is equal to 0, indicating, which can be used, is not present available thread resources source in dynamic thread number, that is to say, that shared thread pool In be not present available thread resources, execute step 205.
Wherein, the initial value that dynamic thread number can be used, is introduced in above process, and dynamic line such as can be used The initial value of number of passes is 5.It on this basis, is that task is distributed according to dynamic thread number (i.e. shared thread pool) can be used each After thread resources, so that it may dynamic thread number can be used to subtract 1 this, until it is 0 that dynamic thread number, which can be used, in this, then it represents that should It can be used in dynamic thread number and available thread resources be not present, therefore, the dynamic thread number not can be used to be further according to this Task distributes thread resources.
Wherein, after according to dynamic thread number can be used to distribute thread resources for task, then after the completion of task processing, The thread resources of task distribution are released to, and dynamic thread number can be used to add 1 this.In this way, when dynamic thread can be used in this When number is greater than 0, and it is that task distributes thread resources, and dynamic thread can be used in this that dynamic thread number can be used according to this Number subtracts 1, and so on, constantly repeat the above process.
It step 203, is that (dynamic thread can be used in this by task distribution thread resources according to usable dynamic thread number A thread resources in number distribute to the task), and usable dynamic thread number is subtracted 1.
Step 204, by handling the task for the thread resources that the task is distributed.
Step 205, which is added in waiting list, until task is fixed thread quota and/or be can be used dynamic There are available thread resources in state Thread Count, can just handle the task in waiting list.
In one example, above-mentioned execution sequence is intended merely to an example for facilitating description given, can also change Sequence is executed between each step, with no restrictions to this execution sequence.Moreover, in other embodiments, it might not be according to this The sequence that specification shows and describes is come the step of executing correlation method, step included by method can be than this specification institute What is described is more or less.In addition, single step described in this specification, may be broken down into more in other embodiments A step is described;And multiple steps described in this specification, single step may also be merged into other embodiments Suddenly it is described.
Based on the above-mentioned technical proposal, in the embodiment of the present application, it can be the fixed thread quota of each task configuration task, appoint Fixed thread quota of being engaged in includes the thread resources that the task is able to use, and configuring for multiple tasks can be used dynamic thread number, can It the use of dynamic thread number include the shared thread resources of multiple tasks.When the task that receives processing request after, can according to appoint Fixed thread quota of being engaged in or usable dynamic thread number are that task distributes thread resources, and the thread by distributing for task provides Source handles task.Therefore, under batch tasks application scenarios, task processing capacity can be improved, shorten task and handle the time, subtract Few period of reservation of number, promotes user experience.By fixing thread quota for each task configuration task, so that each task has The thread resources for having oneself exclusive, may be implemented the isolation of thread resources.Dynamic thread can be used by configuring for multiple tasks The shared of thread resources may be implemented so that multiple tasks have shared thread resources in number.
It is the flow chart of another task processing method referring to fig. 2 shown in B on the basis of Fig. 2A.
Step 211, the processing request of task is received, and determines the fixed thread quota of task corresponding with the task.
Step 212, judge in the fixed thread quota of the task with the presence or absence of available thread resources.
If it is not, then step 213 can be executed;If it is, step 217 can be executed.
Step 213, judge can be used to whether there is available thread resources in dynamic thread number.
If it is, step 214 can be executed.If it is not, then step 216 can be executed.
It step 214, is that (dynamic thread can be used in this by task distribution thread resources according to usable dynamic thread number A thread resources in number distribute to the task), and usable dynamic thread number is subtracted 1.
Step 215, by handling the task for the thread resources that the task is distributed.
Step 216, which is added in waiting list, until task is fixed thread quota and/or be can be used dynamic There are available thread resources in state Thread Count, can just handle the task in waiting list.
It step 217, is that the task distributes thread resources (i.e. by the fixed thread of the task according to the fixed thread quota of the task A thread resources in quota distribute to the task), and the fixed thread quota of the task is subtracted 1.
Wherein, the process flow of step 211- step 217, it is similar with the process flow of step 201- step 205, herein not It repeats again.In addition, step 215 can also be performed after step 217.
In one example, above-mentioned execution sequence is intended merely to an example for facilitating description given, this application scene In can also change and execute sequence between each step, with no restrictions to this execution sequence.
Based on the above-mentioned technical proposal, in the embodiment of the present application, it can be the fixed thread quota of each task configuration task, appoint Fixed thread quota of being engaged in includes the thread resources that the task is able to use, and configuring for multiple tasks can be used dynamic thread number, can It the use of dynamic thread number include the shared thread resources of multiple tasks.When the task that receives processing request after, can according to appoint Fixed thread quota of being engaged in or usable dynamic thread number are that task distributes thread resources, and the thread by distributing for task provides Source handles task.Therefore, under batch tasks application scenarios, task processing capacity can be improved, shorten task and handle the time, subtract Few period of reservation of number, promotes user experience.By fixing thread quota for each task configuration task, so that each task has The thread resources for having oneself exclusive, may be implemented the isolation of thread resources.Dynamic thread can be used by configuring for multiple tasks The shared of thread resources may be implemented so that multiple tasks have shared thread resources in number.
It is the flow chart of another task processing method referring to fig. 2 shown in C on the basis of Fig. 2A/2B.
Step 221, the processing request of task is received, and determines the fixed thread quota of task corresponding with the task.
Step 222, judge in the fixed thread quota of the task with the presence or absence of available thread resources.
If it is not, then step 223 can be executed;If it is, step 228 can be executed.
Step 223, judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources.If It is that can then execute step 224;If it is not, then step 227 can be executed.
Step 224, judge can be used to whether there is available thread resources in dynamic thread number.
If it is, step 225 can be executed;If it is not, then step 227 can be executed.
It step 225, is that (dynamic thread can be used in this by task distribution thread resources according to usable dynamic thread number A thread resources in number distribute to the task), and usable dynamic thread number is subtracted 1.
Step 226, by handling the task for the thread resources that the task is distributed.
Step 227, which is added in waiting list, until task is fixed thread quota and/or be can be used dynamic There are available thread resources in state Thread Count, can just handle the task in waiting list.
It step 228, is that the task distributes thread resources (i.e. by the fixed thread of the task according to the fixed thread quota of the task A thread resources in quota distribute to the task), and the fixed thread quota of the task is subtracted 1.
Wherein, the process flow of step 221- step 228, it is similar with the process flow of step 201- step 205, herein not It repeats again.In addition, executing step 226 after step 228.
In one example, after the thread resources processing task by being distributed for task, if according to task fixing line Journey quota is the thread resources of task distribution, then the fixed thread quota of the task can be added 1.If according to usable dynamic Thread Count is the thread resources of task distribution, then this can dynamic thread number can be used to add 1, and can be right by task institute The task dynamic thread quota answered adds 1.In addition, being after task distributes thread resources, also according to dynamic thread number can be used The task dynamic thread quota can be subtracted 1.
In one example, in step 223, when the task dynamic thread quota is greater than 0, then it represents that task dynamic There are available thread resources in thread quota;When the task dynamic thread quota is equal to 0, then it represents that the task dynamic thread Available thread resources are not present in quota.
In one example, above-mentioned execution sequence is intended merely to an example for facilitating description given, this application scene In can also change and execute sequence between each step, with no restrictions to this execution sequence.
Based on the above-mentioned technical proposal, in the embodiment of the present application, it can be the fixed thread quota of each task configuration task, appoint Fixed thread quota of being engaged in includes the thread resources that the task is able to use, and configuring for multiple tasks can be used dynamic thread number, can It the use of dynamic thread number include the shared thread resources of multiple tasks.When the task that receives processing request after, can according to appoint Fixed thread quota of being engaged in or usable dynamic thread number are that task distributes thread resources, and the thread by distributing for task provides Source handles task.Therefore, under batch tasks application scenarios, task processing capacity can be improved, shorten task and handle the time, subtract Few period of reservation of number, promotes user experience.By fixing thread quota for each task configuration task, so that each task has The thread resources for having oneself exclusive, may be implemented the isolation of thread resources.Dynamic thread can be used by configuring for multiple tasks The shared of thread resources may be implemented so that multiple tasks have shared thread resources in number.
It is the flow chart of another task processing method referring to fig. 2 shown in D on the basis of Fig. 2A/2B.
Step 231, the processing request of task is received, and determines the fixed thread quota of task corresponding with the task.
Step 232, judge in the fixed thread quota of the task with the presence or absence of available thread resources.
If it is not, then step 233 can be executed;If it is, step 238 can be executed.
Step 233, judge can be used to whether there is available thread resources in dynamic thread number.
If it is, step 234 can be executed;If it is not, then step 237 can be executed.
Step 234, judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources.If It is that can then execute step 235;If it is not, then step 237 can be executed.
It step 235, is that (dynamic thread can be used in this by task distribution thread resources according to usable dynamic thread number A thread resources in number distribute to the task), and usable dynamic thread number is subtracted 1.
Step 236, by handling the task for the thread resources that the task is distributed.
Step 237, which is added in waiting list, until task is fixed thread quota and/or be can be used dynamic There are available thread resources in state Thread Count, can just handle the task in waiting list.
It step 238, is that the task distributes thread resources (i.e. by the fixed thread of the task according to the fixed thread quota of the task A thread resources in quota distribute to the task), and the fixed thread quota of the task is subtracted 1.
Wherein, the process flow of step 231- step 238, it is similar with the process flow of step 201- step 205, herein not It repeats in detail again.In addition, after step 238, executing step 236.
In one example, above-mentioned execution sequence is intended merely to an example for facilitating description given, this application scene In can also change and execute sequence between each step, with no restrictions to this execution sequence.
Based on the above-mentioned technical proposal, in the embodiment of the present application, it can be the fixed thread quota of each task configuration task, appoint Fixed thread quota of being engaged in includes the thread resources that the task is able to use, and configuring for multiple tasks can be used dynamic thread number, can It the use of dynamic thread number include the shared thread resources of multiple tasks.When the task that receives processing request after, can according to appoint Fixed thread quota of being engaged in or usable dynamic thread number are that task distributes thread resources, and the thread by distributing for task provides Source handles task.Therefore, under batch tasks application scenarios, task processing capacity can be improved, shorten task and handle the time, subtract Few period of reservation of number, promotes user experience.By fixing thread quota for each task configuration task, so that each task has The thread resources for having oneself exclusive, may be implemented the isolation of thread resources.Dynamic thread can be used by configuring for multiple tasks The shared of thread resources may be implemented so that multiple tasks have shared thread resources in number.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of Task Processing Unit, such as Fig. 3 It is shown, it is the structure chart of the Task Processing Unit, the Task Processing Unit includes:
Receiving module 301, the processing for receiving task are requested;
Determining module 302, for determining the fixed thread quota of task corresponding with the task;When the task fixing line When available thread resources being not present in journey quota, then judge to can be used in dynamic thread number to provide with the presence or absence of available thread Source;Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, the usable dynamic thread Number includes the thread resources that multiple tasks are shared;
Distribution module 303, for when in the usable dynamic thread number there are when available thread resources, then according to institute Stating usable dynamic thread number is that the task distributes thread resources;
Processing module 304 handles the task for the thread resources by distributing for the task.
The distribution module 303, be also used to when in the fixed thread quota of the task there are when available thread resources, root It is that the task distributes thread resources, and subtracts 1 for the fixed thread quota of the task according to the fixed thread quota of the task;It is described Processing module 304 is also used to add the task when available thread resources are not present in the usable dynamic thread number It is added to waiting list;When in the usable dynamic thread number there are when available thread resources, according to it is described can be used it is dynamic State Thread Count is after the task distributes thread resources, to subtract 1 for the usable dynamic thread number;When the fixed thread of the task When quota is greater than 0, indicate that there are available thread resources in the fixed thread quota of the task;When the fixed thread of the task is matched When volume is equal to 0, indicate that there is no available thread resources in the fixed thread quota of the task;When usable dynamic thread number is big When 0, indicate that there are available thread resources in the usable dynamic thread number;When usable dynamic thread number is equal to 0, Indicate that there is no available thread resources in the usable dynamic thread number.
The processing module 304 is also used to after the thread resources by distributing for the task handle the task, If being that the task distributes thread resources according to the fixed thread quota of the task, after the completion of task processing, release For the thread resources of task distribution, and the fixed thread quota of the task is added 1;If according to the usable dynamic thread Number is that the task distributes thread resources, then after the completion of task processing, is released to the thread resources of the task distribution, And the usable dynamic thread number is added 1.
The determining module 302 is also used to judging can be used in dynamic thread number with the presence or absence of available thread resources Before, judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources;When the task is dynamic There are when available thread resources, then judge in the usable dynamic thread number with the presence or absence of available thread for state thread quota Resource;The processing module is also used to when available thread resources are not present in the task dynamic thread quota, then will be described Task is added in waiting list;Alternatively,
The determining module 302 is also used to be that the task distributes thread money according to the usable dynamic thread number Before source, judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources;The distribution module 303, it is also used to when the task dynamic thread quota is there are when available thread resources, is institute according to usable dynamic thread number State task distribution thread resources;The processing module 304 is also used to when there is no available lines for the task dynamic thread quota When Cheng Ziyuan, the task is added in waiting list.
The processing module 304 is also used to be that the task distributes thread money according to the usable dynamic thread number After source, the task dynamic thread quota is subtracted 1;The processing module 304 is also used to by distributing for the task After the thread resources processing task, after the completion of task processing, the task dynamic thread quota is added 1;Wherein, When the task dynamic thread quota is greater than 0, indicate that there are available thread resources in the task dynamic thread quota;When When the task dynamic thread quota is equal to 0, indicate that there is no available thread resources in the task dynamic thread quota.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of task processing equipment, institutes The task processing equipment of stating may include: receiver, processor, memory and transmitter etc.;Wherein,
The processor, the processing for receiving task are requested, and determine the fixed thread of task corresponding with the task Quota;If available thread resources are not present in the fixed thread quota of the task, judging, which can be used in dynamic thread number, is It is no that there are available thread resources;Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, The usable dynamic thread number includes the shared thread resources of multiple tasks;If it is present according to the usable dynamic Thread Count is that the task distributes thread resources;The task is handled by the thread resources distributed for the task.
Based on similarly applying conceiving with the above method, a kind of machine readable storage Jie is also provided in the embodiment of the present application Matter, the machine readable storage medium can be applied to task processing equipment, be stored on the machine readable storage medium several Computer instruction, the computer instruction, which is performed, to be handled as follows:
The processing of reception task is requested, and determines the fixed thread quota of task corresponding with the task;If the task Available thread resources are not present in fixed thread quota, then judge can be used in dynamic thread number with the presence or absence of available thread Resource;Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, the usable dynamic line Number of passes includes the shared thread resources of multiple tasks;If it is present being the task according to the usable dynamic thread number Distribute thread resources;The task is handled by the thread resources distributed for the task.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, 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 The step of function of being specified in one box or multiple boxes.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (14)

1. a kind of task processing method, which is characterized in that the described method includes:
The processing of reception task is requested, and determines the fixed thread quota of task corresponding with the task;
If available thread resources are not present in the fixed thread quota of the task, judge can be used in dynamic thread number whether There are available thread resources;Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, institute Stating usable dynamic thread number includes the shared thread resources of multiple tasks;
If it is present being that the task distributes thread resources according to the usable dynamic thread number;
The task is handled by the thread resources distributed for the task.
2. the method according to claim 1, wherein
After the fixed thread quota of determination task corresponding with the task, the method also includes:
It is institute according to the fixed thread quota of the task if there are available thread resources in the fixed thread quota of the task Task distribution thread resources are stated, and the fixed thread quota of the task is subtracted 1;
Wherein, when the fixed thread quota of the task is greater than 0, indicate that there are available lines in the fixed thread quota of the task Cheng Ziyuan;When the fixed thread quota of the task is equal to 0, indicate that there is no available lines in the fixed thread quota of the task Cheng Ziyuan.
3. can the method according to claim 1, wherein whether there is in the usable dynamic thread number of the judgement After thread resources, the method also includes:
If there is no available thread resources, then the task is added in waiting list.
4. the method according to claim 1, wherein described appoint according to the usable dynamic thread number to be described After business distribution thread resources, the method also includes:
The usable dynamic thread number is subtracted 1;Wherein, when the usable dynamic thread number is greater than 0, can make described in expression With in dynamic thread number, there are available thread resources;When the usable dynamic thread number is equal to 0, indicating described be can be used Available thread resources are not present in dynamic thread number.
5. method according to claim 1 or 2, which is characterized in that
After the thread resources processing task by being distributed for the task, the method also includes:
If being that the task distributes thread resources according to the fixed thread quota of the task, after the completion of task processing, The thread resources of the task distribution are released to, and the fixed thread quota of the task is added 1;
If being that the task distributes thread resources according to the usable dynamic thread number, after the completion of task processing, The thread resources of the task distribution are released to, and the usable dynamic thread number is added 1.
6. can the method according to claim 1, wherein whether there is in the usable dynamic thread number of the judgement Before thread resources, the method also includes:
Judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources;
If it does, executing the process for judging can be used and whether there is available thread resources in dynamic thread number;
If it does not exist, then the task is added in waiting list.
7. the method according to claim 1, wherein described appoint according to the usable dynamic thread number to be described Before business distribution thread resources, the method also includes:
Judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources;
If it is present executing the process for distributing thread resources for the task according to the usable dynamic thread number;If It is not present, then the task is added in waiting list.
8. method according to claim 6 or 7, which is characterized in that described according to the usable dynamic thread number is institute After stating task distribution thread resources, the method also includes:
The task dynamic thread quota is subtracted 1;
After the thread resources processing task by being distributed for the task, the method also includes:
After the completion of task processing, the task dynamic thread quota is added 1;
Wherein, when the task dynamic thread quota is greater than 0, indicate that there are available lines in the task dynamic thread quota Cheng Ziyuan;When the task dynamic thread quota is equal to 0, indicate that there is no available lines in the task dynamic thread quota Cheng Ziyuan.
9. a kind of Task Processing Unit, which is characterized in that described device includes:
Receiving module, the processing for receiving task are requested;
Determining module, for determining the fixed thread quota of task corresponding with the task;When the fixed thread quota of the task In be not present available thread resources when, then judge can be used dynamic thread number in whether there is available thread resources;Wherein, The fixed thread quota of the task includes the thread resources that the task is able to use, and the usable dynamic thread number includes more The thread resources of a task sharing;
Distribution module, for when there are when available thread resources, then can making according in the usable dynamic thread number It is that the task distributes thread resources with dynamic thread number;
Processing module handles the task for the thread resources by distributing for the task.
10. device according to claim 9, which is characterized in that
The distribution module, be also used to when in the fixed thread quota of the task there are when available thread resources, then according to institute Stating the fixed thread quota of task is that the task distributes thread resources, and subtracts 1 for the fixed thread quota of the task;
The processing module is also used to when available thread resources are not present in the usable dynamic thread number, will be described Task is added to waiting list;When in the usable dynamic thread number there are when available thread resources, can according to It the use of dynamic thread number is that after the task distributes thread resources, the usable dynamic thread number is subtracted 1;
Wherein, when the fixed thread quota of the task is greater than 0, indicate that there are available lines in the fixed thread quota of the task Cheng Ziyuan;When the fixed thread quota of the task is equal to 0, indicate that there is no available lines in the fixed thread quota of the task Cheng Ziyuan;When the usable dynamic thread number is greater than 0, indicate that there are available threads in the usable dynamic thread number Resource;When the usable dynamic thread number is equal to 0, indicate that available thread is not present in the usable dynamic thread number Resource.
11. device according to claim 9 or 10, which is characterized in that
The processing module is also used to after the thread resources by distributing for the task handle the task, if according to The fixed thread quota of the task is that the task distributes thread resources, then after the completion of task processing, is released to described The thread resources of task distribution, and the fixed thread quota of the task is added 1;If being institute according to the usable dynamic thread number Task distribution thread resources are stated, then after the completion of task processing, are released to the thread resources of task distribution, and by institute It states usable dynamic thread number and adds 1.
12. device according to claim 9, which is characterized in that
The determining module is sentenced before being also used in judging usable dynamic thread number with the presence or absence of available thread resources It whether there is available thread resources in the corresponding task dynamic thread quota of the task of breaking;When the task dynamic thread is matched There are when available thread resources, then judge in the usable dynamic thread number with the presence or absence of available thread resources for volume;Institute Processing module is stated, is also used to then add the task when available thread resources are not present in the task dynamic thread quota It is added in waiting list;Alternatively,
The determining module is also used to before being task distribution thread resources according to the usable dynamic thread number, Judge in the corresponding task dynamic thread quota of the task with the presence or absence of available thread resources;The distribution module, is also used It is described appoint according to the usable dynamic thread number in when the task dynamic thread quota is there are when available thread resources Business distribution thread resources;The processing module is also used to when there is no available thread resources for the task dynamic thread quota When, the task is added in waiting list.
13. device according to claim 12, which is characterized in that
The processing module is also used to after distributing thread resources according to the usable dynamic thread number for the task, The task dynamic thread quota is subtracted 1;
The processing module is also used to after the thread resources by distributing for the task handle the task, described After the completion of task processing, the task dynamic thread quota is added 1;
Wherein, when the task dynamic thread quota is greater than 0, indicate that there are available lines in the task dynamic thread quota Cheng Ziyuan;When the task dynamic thread quota is equal to 0, indicate that there is no available lines in the task dynamic thread quota Cheng Ziyuan.
14. a kind of task processing equipment, which is characterized in that the task processing equipment includes:
Processor, the processing for receiving task are requested, and determine the fixed thread quota of task corresponding with the task;If institute It states in the fixed thread quota of task and available thread resources is not present, then judge can be used in dynamic thread number with the presence or absence of available Thread resources;Wherein, the fixed thread quota of the task includes the thread resources that the task is able to use, described to can be used Dynamic thread number includes the shared thread resources of multiple tasks;If it is present being institute according to the usable dynamic thread number State task distribution thread resources;The task is handled by the thread resources distributed for the task.
CN201710757902.3A 2017-08-29 2017-08-29 A kind of task processing method, device and equipment Pending CN109426561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710757902.3A CN109426561A (en) 2017-08-29 2017-08-29 A kind of task processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710757902.3A CN109426561A (en) 2017-08-29 2017-08-29 A kind of task processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN109426561A true CN109426561A (en) 2019-03-05

Family

ID=65503508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710757902.3A Pending CN109426561A (en) 2017-08-29 2017-08-29 A kind of task processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN109426561A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976891A (en) * 2019-03-28 2019-07-05 北京网聘咨询有限公司 The server task processing method of task based access control thread configuration
CN110109760A (en) * 2019-05-10 2019-08-09 深圳前海达闼云端智能科技有限公司 Memory resource control method and device
CN110457124A (en) * 2019-08-06 2019-11-15 中国工商银行股份有限公司 For the processing method and its device of business thread, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009642A (en) * 2006-12-31 2007-08-01 华为技术有限公司 A resource allocation method and device based on the task packet
US20090165007A1 (en) * 2007-12-19 2009-06-25 Microsoft Corporation Task-level thread scheduling and resource allocation
US20150121390A1 (en) * 2013-10-24 2015-04-30 International Business Machines Corporation Conditional serialization to improve work effort
US20150339164A1 (en) * 2009-12-23 2015-11-26 Citrix Systems, Inc. Systems and methods for managing spillover limits in a multi-core system
CN106095590A (en) * 2016-07-21 2016-11-09 联动优势科技有限公司 A kind of method for allocating tasks based on thread pool and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009642A (en) * 2006-12-31 2007-08-01 华为技术有限公司 A resource allocation method and device based on the task packet
US20090165007A1 (en) * 2007-12-19 2009-06-25 Microsoft Corporation Task-level thread scheduling and resource allocation
US20150339164A1 (en) * 2009-12-23 2015-11-26 Citrix Systems, Inc. Systems and methods for managing spillover limits in a multi-core system
US20150121390A1 (en) * 2013-10-24 2015-04-30 International Business Machines Corporation Conditional serialization to improve work effort
CN106095590A (en) * 2016-07-21 2016-11-09 联动优势科技有限公司 A kind of method for allocating tasks based on thread pool and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976891A (en) * 2019-03-28 2019-07-05 北京网聘咨询有限公司 The server task processing method of task based access control thread configuration
CN109976891B (en) * 2019-03-28 2020-11-03 北京网聘咨询有限公司 Server task processing method based on task thread configuration
CN110109760A (en) * 2019-05-10 2019-08-09 深圳前海达闼云端智能科技有限公司 Memory resource control method and device
CN110109760B (en) * 2019-05-10 2021-07-02 达闼机器人有限公司 Memory resource control method and device
CN110457124A (en) * 2019-08-06 2019-11-15 中国工商银行股份有限公司 For the processing method and its device of business thread, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US10599484B2 (en) Weighted stealing of resources
CN107341050B (en) Service processing method and device based on dynamic thread pool
CN110647394A (en) Resource allocation method, device and equipment
CN107688495B (en) Method and apparatus for scheduling processors
US9800519B2 (en) Equitable sharing of system resources in workflow execution
US9852050B2 (en) Selecting computing resources
US9794136B1 (en) Distributed resource allocation
CN109426561A (en) A kind of task processing method, device and equipment
CN110007936B (en) Data processing method and device
CN108847981A (en) Distributed computer cloud computing processing method
CN111078516A (en) Distributed performance test method and device and electronic equipment
CN108241535B (en) Resource management method and device and server equipment
CN114329406A (en) Resource processing method, device and equipment
WO2022110796A1 (en) Cloud service request responding method and apparatus, electronic device, and storage medium
CN109102200B (en) Timed task processing method and device
US20240118928A1 (en) Resource allocation method and apparatus, readable medium, and electronic device
CN111402058B (en) Data processing method, device, equipment and medium
CN110188975B (en) Resource acquisition method and device
US10956228B2 (en) Task management using a virtual node
CN109753353A (en) Resources of virtual machine distribution method, device and electronic equipment
CN110096352A (en) Process management method, device and computer readable storage medium
CN110609707A (en) Online data processing system generation method, device and equipment
CN111813541B (en) Task scheduling method, device, medium and equipment
WO2017133421A1 (en) Method and device for sharing resources among multiple tenants
CN114003388A (en) Method and device for determining task parameters of big data computing engine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190305

RJ01 Rejection of invention patent application after publication