CN105786601B - The dispatching method and its dispatching device of document typing - Google Patents

The dispatching method and its dispatching device of document typing Download PDF

Info

Publication number
CN105786601B
CN105786601B CN201610077892.4A CN201610077892A CN105786601B CN 105786601 B CN105786601 B CN 105786601B CN 201610077892 A CN201610077892 A CN 201610077892A CN 105786601 B CN105786601 B CN 105786601B
Authority
CN
China
Prior art keywords
task
channel
common channel
permission
work efficiency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610077892.4A
Other languages
Chinese (zh)
Other versions
CN105786601A (en
Inventor
喻红
杨将
郑爽
巫攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201610077892.4A priority Critical patent/CN105786601B/en
Publication of CN105786601A publication Critical patent/CN105786601A/en
Application granted granted Critical
Publication of CN105786601B publication Critical patent/CN105786601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention provides a kind of the step of dispatching method of document typing:The corresponding permission type of task in identification mission pond;According to all channels of the type search of permission in task pool and permission match, channel includes unique channel and common channel;Judge that the priority of all common channels is arranged according to default work efficiency if being not present with the presence or absence of unique channel in the channel searched;Select the highest common channel of priority;Judge to be handled by selected common channel with the presence or absence of task in task pool, and if it exists, calculate the quantity allotted of the common channel;The task of quantity allotted in the selected common corresponding task of channel is distributed into the common channel;It is also unassigned to judge in task pool whether there is also tasks, if in the presence of, continue to distribute after selecting the highest common channel of priority level in the common channel of not selected mistake, task is distributed to multiple support channels to slow down the pressure of typing peak traffic phase by the dispatching method, and the present invention also provides a kind of dispatching devices.

Description

The dispatching method and its dispatching device of document typing
Technical field
The present invention relates to field of information processing more particularly to a kind of dispatching methods and its dispatching device of document typing.
Background technology
Enterprise often needs to preserve the data input in paper document to computer system, especially banking unit, often It has the policy of batch and bank card business document to need to be entered into computer system.Existing typing mode In, enterprise document is usually into image store by file scanning to be logged to be compareed in system, then by enterprises employee's typing Document image typing, workload is very big, and system load is excessive to be easy to cause paralysis.
Invention content
In view of this, it is really necessary to provide a kind of dispatching method and scheduling dress of the document typing reducing system load It sets.
A kind of dispatching method of document typing, the dispatching method includes step:Each task corresponds in identification mission pond Permission type, per class permission, an at least corresponding generic task, is designed with corresponding channel, channel includes unique canal per class permission Road and common channel with default work efficiency;According to all channels of the type search of permission in task pool and permission match;Sentence It whether there is unique channel in the disconnected all channels searched, if being not present, all common canals be arranged according to default work efficiency The priority in road;Select the highest common channel of priority;Judging can be by selected common with the presence or absence of task in task pool Channel processing, and if it exists, calculated according to unappropriated task amount in default allocation proportion and task pool selected common The quantity allotted of channel;The task of the quantity allotted is distributed into institute from the selected common channel corresponding task State the common channel of selection;And to judge in task pool whether there is also tasks also unassigned, and if it exists, in not selected mistake Common channel in select the highest common channel of priority level, execution judge whether that task can be by selected common canal The step of road processing.
A kind of dispatching device of document typing, the dispatching device are connect with task pool, and the task pool is appointed for storing Business, an at least corresponding generic task per class permission are designed with corresponding channel per class permission, and channel includes unique channel and has pre- If the common channel of work efficiency, the dispatching device includes that data memory module, judgment module, enquiry module, channel priority are set Set module, selecting module, computing module and allocation processing module, the data memory module, for storing channel information, The channel information includes the type of channel, the default work efficiency of the matching relationship of channel and permission type and common channel;Institute State judgment module, for identification in task pool the corresponding permission of each task type;The enquiry module, for according to All channels of the type search and permission match of permission in task pool;The judgment module is additionally operable to judge the inquiry mould It whether there is unique channel in all channels that block is searched;The channel priority setup module, for according to default work efficiency The priority of all common channels in searched channel is set;The selecting module, for selecting the common of highest priority Channel;The judgment module is additionally operable to judge that task pool can be handled with the presence or absence of task by selected common channel;The meter Module is calculated, for when the judgment module judges to be handled by selected common channel there are task, according to default distribution Unappropriated task amount calculates the quantity allotted of the selected common channel in ratio and task pool;The allocation processing mould Block, it is selected common for distributing to the task of quantity allotted from the selected common corresponding task of channel Channel;The judgment module is additionally operable to finish or when the judgment module is judged not when the allocation processing module assignment When can be handled by selected common channel there are task, it is also unassigned to judge in task pool whether there is also tasks;It is described Selecting module is additionally operable to when the judging unit judges also unassigned there is also task in task pool, not selected The highest common channel of priority level is selected in the common channel crossed.
Based on above-mentioned dispatching method and dispatching device, according to the type of channel, by the corresponding all tasks of unique channel Distribute to the channel;The priority of all channels, the high priority processing of priority, also according to channel are set according still further to default work efficiency Actual conditions calculate quantity allotted, to distribute corresponding data amount task give corresponding channel, improve task processing effect Rate and the time that task is detained in task pool is shortened, optimizes dispatching method and dispatching device.
Description of the drawings
Fig. 1 is the flow chart of the dispatching method of document typing.
Fig. 2 is the sub-process figure of Fig. 1.
Fig. 3 is the sub-process figure of Fig. 1.
Fig. 4 is the functional block diagram of the dispatching device of document typing.
Specific implementation mode
Below in conjunction with the attached drawing in embodiment of the present invention, the technical solution in embodiment is carried out clear, complete Description.
Fig. 1 is please referred to, is the dispatching method of the document typing of better embodiment, the dispatching method packet of the document typing Include step:
Step S1, the type of the corresponding permission of each task in identification mission pond are at least corresponding per class permission a kind of to appoint Business is designed with corresponding channel per class permission, channel include unique channel and with default work efficiency, default allocation proportion it is common Channel.
Task pool is used for store tasks.Appointed with three kinds of typing policy, credit card application list, Debit Card request list typings For business, if corresponding to a kind of typing task per class permission, above-mentioned three kinds of typing tasks correspond to respectively policy typing permission, Credit card application list typing permission and Debit Card request list typing three kinds of permissions of permission.Correspondingly, in task pool, life insurance is protected The corresponding all policies of single typing permission are a row, and credit card application list typing permission corresponds to all credit card application lists For a row, Debit Card request list typing permission corresponds to all Debit Card request Dan Weiyi row.It should be noted that per class permission Can also correspond to multiclass task, typing task can with but be not limited to whole part document typing, for example, a policy can be torn open It is divided into several typing tasks in different typing domains.Preferred task is arranged in task pool according to the type of permission in present embodiment It arranges, can also arbitrarily be arranged in other embodiment.
In the present embodiment, a channel is at least matched per class permission, unique channel is the exclusive canal of certain a kind of permission Road.Common channel is not exclusive for certain a kind of permission, can be that multiclass permission is shared.In present embodiment, channel is for indicating The typing approach of typing task, for example, school, individual.Work efficiency is to indicate that the task that a certain channel is handled within the unit interval is a Number.Each common corresponding default work efficiency of channel may be configured as being the practical work efficiency when channel last time handling task, can also root It is set according to the practical work efficiency of task is repeatedly handled before the channel.
Step S2, according to all channels of the type search of permission in task pool and permission match.
Step S3 judges to whether there is unique channel in all channels searched, if being not present, execution step S5;If In the presence of execution step S4.
The corresponding task of unique channel is distributed to unique channel by step S4.
The priority of all common channels is arranged according to default work efficiency by step S5.
In present embodiment, the priority of common channel is set according to the size of the default work efficiency of common channel, presets work Imitate big, priority is high, and default work efficiency is small, and priority is low.
Step S6 selects the common channel of highest priority.Specifically, in the present embodiment, highest priority is selected Common channel process be first according to common channel priority height, according to sequence from high to low to all common channels into The common channel of row sequence, reselection sequence first is the common channel of highest priority.It, can also root in other embodiment According to the priority of common channel, according to smooth sequence from low to high, the last common channel of reselection sequence is priority Highest common channel;Either by compare two-by-two between common channel come the common channel for judging highest priority or its His mode.
Step S7 judges to be handled by selected common channel with the presence or absence of task in task pool.If in the presence of executing Step S8;If being not present, step S11 is executed.
Step S8 calculates selected common channel according to unappropriated task amount in default allocation proportion and task pool Quantity allotted.
Default allocation proportion is set, the processing work efficiency of common channel according to the actual treatment ability of each common channel It is bigger, it is bigger to preset allocation proportion.Therefore the quantity allotted of each common channel is also related to the actual processing capacity of channel, and It is also related to also unappropriated task amount in task pool.
Step S9 judges in unappropriated task with the presence or absence of the corresponding task of some permission in selected common channel It is less than quantity allotted.If in the presence of step S13 is executed;If being not present, step S10 is executed.It should be noted that other are implemented In mode, step S9 can be omitted, and directly execute step S10.
For example, if selected common channel includes tri- kinds of permissions of A, B, C, step S9 is used in also unappropriated task In, judge respectively the corresponding task quantity of tri- kinds of permissions of A, B, C whether be more than selected common channel quantity allotted.
Step S10, the permission for including according to selected common channel appointing the quantity allotted from corresponding task Selected common channel is distributed in business.
Selected common channel includes a kind of permission, it is also possible to including a variety of permissions.Step S10 can be immediately from selected Common channel corresponding to task in selection quantity allotted task distribute to selected common channel to handle, can be with Quantity allotted task is selected to distribute to from the task corresponding to selected common channel according to certain rule selected general Logical channel is handled, for example, when selected common channel includes a variety of permissions, can be selected from the corresponding task of each permission A certain number of tasks are selected, but the total amount of selected task is equal to the quantity allotted of selected common channel.
It is also unassigned to judge in task pool whether there is also tasks by step S11.If in the presence of step S12 is executed;If no In the presence of flow terminates.
Step S12 selects the highest common channel of priority level in the common channel of not selected mistake.
Step S13, judge in unappropriated task the corresponding task total amount of all a certain permissions whether be more than The quantity allotted of selected common channel.If not exceeded, executing step S14;If being more than, step S15 is executed.
For example, if selected common channel includes tri- kinds of permissions of A, B, C, if A, C channel in also unappropriated task When the quantity of corresponding task is less than the quantity allotted of selected common channel, step S13 is for judging do not dividing also In matching for task the total amount of the corresponding task of A, C channel whether be more than selected common channel quantity allotted.
Step S14, will the corresponding task of a certain permission described in also unappropriated task be fully allocated to it is selected general Logical channel.Step S11 is executed again.
By it is above-mentioned including the common channel of tri- kinds of permissions of A, B, C for, if the total amount of the corresponding task of A, C channel is less than When the quantity allotted of the common channel, the corresponding task of A, C channel is fully allocated to the common channel.
Step S15, according to all a certain permissions by times of the quantity allotted from corresponding also unappropriated task Selected common channel is distributed in business.Step S11 is executed again.
By it is above-mentioned including the common channel of tri- kinds of permissions of A, B, C for, if the total amount of the corresponding task of A, C channel be more than should When the quantity allotted of common channel, quantity allotted task is selected from the corresponding unappropriated task of A, C channel.This embodiment party It can select quantity allotted task in formula from the corresponding unappropriated task of A, C channel immediately;It can also be according to certain rule Rule selects quantity allotted task from the corresponding unappropriated task of A, C channel.For example, can be according to the emergency, again of task Priority, the high priority processing of priority is arranged in the property wanted and task uplink time unappropriated task corresponding to A, C channel; Reselection priority bit is handled in the task of preceding quantity allotted to the common channel.
Above-mentioned dispatching method can assign the task to corresponding channel according to certain rule and be handled, realize typing Task sends work to handle, to cope with the peak traffic phase.
Fig. 2 is please referred to, is the sub-process figure of step S8 shown in FIG. 1.Each common channel also corresponds to a standard work Effect, it is maximum allocated ratio (%) or smallest allocation ratio (%) to preset allocation proportion.When the processing work efficiency of channel is high, in advance If allocation proportion is maximum allocated ratio, when the processing work efficiency of channel is low, it is smallest allocation ratio to preset allocation proportion.
The step calculates selected common channel according to unappropriated task amount in default allocation proportion and task pool Quantity allotted specifically include:
Step S20, judges whether the default work efficiency of selected common channel is less than its described standard work efficiency.If institute It states default work efficiency and is more than or equal to the standard work efficiency, execute step S21;If the default work efficiency is less than the standard work Effect executes step S22.
Step S21 selects the maximum allocated ratio of selected common channel to preset allocation proportion.
Step S22 selects the smallest allocation ratio of selected common channel to preset allocation proportion.
Step S23 calculates the product for presetting allocation proportion and unappropriated task amount in task pool, and the product is selected The quantity allotted for the common channel selected.
Since default work efficiency is related to the treatment effeciency of common channel, presets work efficiency when common channel and be more than or equal to mark When quasi- effect, indicate that the treatment effeciency of the common channel is high, then by unappropriated task amount in maximum allocated ratio and task pool Product come the quantity allotted of the common channel indicated, therefore, when the treatment effeciency of common channel is high, the common channel Quantity allotted is also high;Vice versa, and when the treatment effeciency of common channel is low, the quantity allotted of the common channel is also low.
Fig. 3 is please referred to, is the sub-process figure of step S11 shown in FIG. 1.
Step S30 respectively selects the task of quantity allotted from the corresponding task of each permission of selected common channel.
If selected common channel includes tetra- kinds of permissions of a, b, c, d, and calculate point of selected common channel It is M with quantity, step S30 the corresponding task of tetra- kinds of permissions of a, b, c, d will respectively take M in also unappropriated task, Yi Gongxuan Take 4M task.
Step S31, according to the priority of the default selected all tasks of first rule setting.
In present embodiment, when which is more early task uplink time, emergency and higher importance, appoint Priority of being engaged in is higher.Wherein the priority of statistics task when, emergency, uplink time, importance occupy different preferential ratios, tightly The ratio that acute ratio overweights uplink time overweights the ratio of importance.This step can advanced optimize dispatching method so that Promptly, task that is important or being detained the long period, which can shift to an earlier date, to be handled.
By it is above-mentioned including the common channel of tetra- kinds of permissions of a, b, c, d for, advised according to default first after choosing 4M task Then it is configured the priority of the 4M tasks.
The task of quantity allotted is sequentially allocated to the choosing by step S32 by the order of priority of task rank from high to low The common channel selected.
By it is above-mentioned including the common channel of tetra- kinds of permissions of a, b, c, d for, according to the high preferred process principle of priority, choose In 4M task priority bit in preceding M and include m-th task give the common channel.
Appoint it should be noted that step S15 can also be calculated according to default first rule in above-mentioned steps S31, step S32 The priority of business, then therefrom selection priority it is high give selected common channel.
For above-mentioned dispatching method, further, can also be arranged and the relevant work efficiency of the treatment effeciency of unique channel, distribution Quantity.The quantity allotted of this unique channel is also related to the work efficiency of unappropriated task and unique channel, such as can refer to The mode of the quantity allotted of common channel calculates.When the distributing to unique channel in step S4 of the task has been more than point of unique channel When with quantity, system, which will also assign other channels, has the permission.
For above-mentioned dispatching method, further, after assigning tasks to any channel, if being more than preset time task When also untreated, also untreated task will pulled back from task pool, wait for lower sub-distribution.
Channel is divided into unique channel and common channel by above-mentioned dispatching method according to the characteristic of permission.Unique channel processing Its corresponding all task, according still further to the priority of the default common channel of first rule setting.Wherein, the processing of common channel Efficient, then priority is high, and priority will be high preferentially to distribute, and so as to accelerate task treatment effeciency in task pool, slow down record Enter the pressure of task peak period.Further, the distribution number of common channel is set according to the actual treatment ability of common channel Amount, it has been more than the processing limit of channel to prevent distributed task quantity.In addition, after assigning tasks to any channel, if super Crossed preset time task it is also untreated when, also untreated task will pulled back from task pool, wait for lower sub-distribution, with prevent by The pending overlong time of task dispatching of distribution.
Please refer to Fig. 4, in present embodiment, a kind of dispatching device 100 of document typing is connect with task pool 50.Task pool 500 are used for store tasks.An at least corresponding generic task per class permission, corresponding channel is designed with per class permission, and channel includes only One channel and common channel with default work efficiency, default allocation proportion.Dispatching device 100 includes data memory module 10, sentences Disconnected module 20, enquiry module 30, channel priority setup module 40, selecting module 50, computing module 60 and allocation processing mould Block 70.
For data memory module 10 for storing channel information, which includes type, channel and the permission class of channel The matching relationship of type and the default work efficiency of channel, default allocation proportion.In the present embodiment, one is at least matched per class permission A channel, unique channel are the exclusive channel of certain a kind of permission.Common channel is not exclusive for certain a kind of permission, can be multiclass Permission is shared.Work efficiency is the task number for indicating a certain channel and being handled within the unit interval.
Judgment module 20 is used for the type of the corresponding permission of each task in task pool 500.
Enquiry module 30 is used for all channels according to the type search and permission match of permission in task pool 500.
Judgment module 20 is additionally operable to judge to whether there is unique channel in all channels that enquiry module 30 is searched.
Channel priority setup module 40 is used to be arranged according to default work efficiency the priority of all common channels.According to default The high priority of work efficiency is high, and default work efficiency is small, the priority of all common channels of the low rule setting of priority.
Allocation processing module 70 is used for when judgment module 20 judges existence anduniquess channel in all channels searched, The corresponding task of unique channel is distributed into unique channel.
Selecting module 50 is used to select the common channel of highest priority.
Judgment module 20 is additionally operable to judge in task pool 500 can be selected common by selecting module 50 with the presence or absence of task Channel processing.
Computing module 60 is used to, when 20 interpretation of judgment module goes out and can be handled by selected common channel there are task, press The quantity allotted of selected common channel is calculated according to unappropriated number of tasks amount in default allocation proportion and task pool 500.
Judgment module 20 is additionally operable to judge in unappropriated task with the presence or absence of some power in selected common channel Corresponding task is limited to be less than quantity allotted and be additionally operable to when there are in selected common channel in unappropriated task When the corresponding task of some permission is less than quantity allotted, judge that some all described permission are corresponding in unappropriated task Whether task total amount is more than quantity allotted.
Allocation processing module 70 is additionally operable to judge that there is no selected general in unappropriated task when judgment module 20 When the corresponding task of some permission in logical channel is less than quantity allotted, the permission that includes according to selected common channel from The task of the quantity allotted is distributed into selected common channel in corresponding task;And it is additionally operable to sentence when judgment module 20 When breaking that all corresponding task total amounts of some permission are more than quantity allotted in unappropriated task, according to it is all it is described certain The task of the quantity allotted is distributed to selected common channel by one permission from corresponding also unappropriated task;And also Judge that all corresponding task total amounts of some permission are less than distribution in unappropriated task for working as judgment module 20 When quantity, the corresponding task of a certain permission described in also unappropriated task is fully allocated to selected common channel.
Judgment module 20 is additionally operable to after allocation processing module 70 is assigned or when judgment module 20 is judged not deposit When task can be handled by selected common channel, it is also unassigned to judge in task pool 500 whether there is also tasks.
Selecting module 50 is additionally operable to when judgment module 20 judges also unassigned there is also task in task pool 500, The highest common channel of priority level is selected in the common channel of not selected mistake.
Compared to above-mentioned dispatching device 100, further, the channel information that data memory module 10 is stored further include with The standard work efficiency of each common process.Default allocation proportion is maximum allocated ratio or smallest allocation ratio.Computing module 60 Further include the first judging unit 601, allocation proportion selecting unit 602 and sendout computing unit 603.
First judging unit 601 is used to judge whether the default work efficiency of selected common channel to be less than its standard work efficiency.
Allocation proportion selecting unit 602 is used to judge that default work efficiency is less than its standard work efficiency when the first judging unit 601 When, the smallest allocation ratio of selected common channel is selected to preset allocation proportion;Either when default work efficiency is more than or waits When standard work efficiency, the maximum allocated ratio of selected common channel is selected to preset allocation proportion.
Sendout computing unit 603 is used to calculate default allocation proportion and unappropriated task data in task pool 500 Product, this product are the quantity allotted of selected common channel.
Compared to above-mentioned dispatching device 100, further, allocation processing module 70 includes task choosing unit 701, task Priority setting unit 702 and allocation unit 703.
Task choosing unit 701 is used for from the corresponding task of each permission of selected common channel respectively selection distribution Quantity task;
Task priority setting unit 702 is used for selected according to default first rule setting task choosing unit 701 The task priority of all tasks.
Allocation unit 703 is for the task of quantity allotted to be sequentially allocated by the order of priority of task rank from high to low To the selected common channel.
Compared to above-mentioned dispatching device 100, further, dispatching device 100 further includes monitoring module 80.Monitoring module 80 For after assigning tasks to any channel, monitoring whether the pending time such as the task queue has been more than preset time, with And be additionally operable to when task waiting time has been more than preset time, the untreated near task pool 500 of task is retracted, under waiting One distribution.
Based on above-mentioned dispatching method and dispatching device 100, according to the actual conditions of task in task pool 500, according to one Set pattern is then handled the corresponding channel that task is tasked.The process of distributing consider the treatment effeciency of channel, task it is urgent Task amount etc. in importance, task pool 500, optimizes dispatching method, improves task treatment effeciency, to slow down typing The pressure of task peak period.
It is apparent to those skilled in the art that succinct in order to describe, the device of foregoing description, module, Unit specific work process may refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, revealed method and apparatus can be realized by other means, Such as arrangement described above embodiment is only schematical, the division of the modular unit is only a kind of logic function stroke Point, there may be another division manner when realization, such as either component can combine multiple units or some features can neglect Slightly or do not execute.
To the above description of disclosed example so that the art professional can realize or using the present invention. Various modifications to these embodiments are it will be apparent that as defined herein one for those skilled in the art As principle can realize in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention will It will not be intended to be limited to the embodiments shown herein, and be to fit to consistent with the principles and novel features disclosed herein Widest range.

Claims (10)

1. a kind of dispatching method of document typing, which is characterized in that the dispatching method includes step:
The type of the corresponding permission of each task in identification mission pond, an at least corresponding generic task per class permission, all per class permission Equipped with corresponding channel, channel includes unique channel and the common channel with default work efficiency, default allocation proportion;
According to all channels of the type search of permission in task pool and permission match;
Judge to whether there is unique channel in all channels searched, it is all described according to the setting of default work efficiency if being not present The priority of common channel;
Select the highest common channel of priority;
Judge to be handled by selected common channel with the presence or absence of task in task pool;
If in the presence of the selected common channel is calculated according to unappropriated task amount in default allocation proportion and task pool Quantity allotted;
The task of the quantity allotted distributed to from the selected common channel corresponding task selected general Logical channel;And
It is also unassigned to judge in task pool whether there is also tasks;
If in the presence of selecting the highest common channel of priority level, execution to judge task pool in the common channel of not selected mistake In the step of being handled by selected common channel with the presence or absence of task;
Wherein, the work efficiency is the task number that a channel is handled within the unit interval;The channel is the record of typing task Enter approach.
2. dispatching method as described in claim 1, it is characterised in that:If existence anduniquess channel in all channels searched, The corresponding task of unique channel is distributed into unique channel.
3. dispatching method as described in claim 1, it is characterised in that:Each common channel also corresponds to a standard work efficiency, The default allocation proportion be maximum allocated ratio or smallest allocation ratio, it is described according to default allocation proportion and task pool In unappropriated task amount the step of calculating the quantity allotted of the selected common channel include:
Judge whether the default work efficiency of the selected common channel is less than standard work efficiency, if the default work efficiency is less than institute Standard work efficiency is stated, selects the smallest allocation ratio of the selected common channel to preset allocation proportion;If the default work efficiency More than or equal to the standard work efficiency, the maximum allocated ratio of the selected common channel is selected to preset allocation proportion;
The product for presetting allocation proportion and unappropriated task amount in task pool is calculated, the product is the selected common canal The quantity allotted in road.
4. dispatching method as described in claim 1, which is characterized in that from the selected common corresponding task of channel The step of task of the quantity allotted is distributed to the selected common channel include:
The task of quantity allotted is respectively selected from the corresponding task of each permission of the selected common channel;
According to the priority of the default selected all tasks of first rule setting;
The task of quantity allotted is sequentially allocated to the selected common channel by the order of priority of task rank from high to low.
5. dispatching method as described in claim 1, it is characterised in that:From the selected common corresponding task of channel Further include before the step of task of the quantity allotted is distributed to the selected common channel:
Judge not surpass with the presence or absence of the corresponding task of some permission in the selected common channel in unappropriated task Cross quantity allotted;If in the presence of, judge in unappropriated task all corresponding task total amounts of some permission whether be more than Quantity allotted;If not above the corresponding task of all described some permissions is fully allocated to the selected common channel;
If there is no the corresponding tasks of some permission in the selected common channel to be less than distribution in unappropriated task Quantity executes and selects quantity allotted task from the selected common corresponding task of channel to distribute to the selection Common channel the step of.
6. a kind of dispatching device of document typing, the dispatching device are connect with task pool, the task pool is used for store tasks, An at least corresponding generic task per class permission, corresponding channel is designed with per class permission, and channel includes unique channel and has default The common channel of work efficiency, default allocation proportion, it is characterised in that:The dispatching device include data memory module, judgment module, Enquiry module, channel priority setup module, selecting module, computing module and allocation processing module,
The data memory module, for storing channel information, the channel information includes type, channel and the permission class of channel The default work efficiency and default allocation proportion of the matching relationship of type and common channel;
The judgment module, for identification in task pool the corresponding permission of each task type;
The enquiry module, for all channels according to the type search and permission match of permission in the task pool;
The judgment module is additionally operable to judge to whether there is unique channel in all channels that the enquiry module is searched;
The channel priority setup module, for the excellent of all common channels in searched channel to be arranged according to presetting work efficiency First grade;
The selecting module, the common channel for selecting highest priority;
The judgment module is additionally operable to judge in task pool to be handled by selected common channel with the presence or absence of task;
The computing module, for work as the judgment module judge in task pool that there are tasks can be by selected common channel When reason, the distribution number of the selected common channel is calculated according to unappropriated task amount in default allocation proportion and task pool Amount;
The allocation processing module, for dividing the task of quantity allotted from the selected common corresponding task of channel The selected common channel of dispensing;
The judgment module is additionally operable to finish when the allocation processing module assignment or when judgment module judgement is gone out on missions When can be handled by selected common channel there is no task in pond, judge whether there is also tasks not to be divided also in task pool Match;
The selecting module is additionally operable to when the judging unit judges also unassigned there is also task in task pool, not The highest common channel of priority level is selected in the common channel being selected;
Wherein, the work efficiency is the task number that a channel is handled within the unit interval;The channel is the record of typing task Enter approach.
7. dispatching device as claimed in claim 6, it is characterised in that:The allocation processing unit is additionally operable to when the judgement is single In all channels that the enquiry module that member is judged is searched when existence anduniquess channel, it is corresponding to distribute unique channel Task gives its unique channel.
8. dispatching device as claimed in claim 6, it is characterised in that:The default allocation proportion be maximum allocated ratio or Smallest allocation ratio, the channel information that the data memory module is stored further include the standard work efficiency with each common channel, The computing module further includes the first judging unit, allocation proportion selecting unit, sendout computing unit,
First judging unit, for judging whether the default work efficiency of the selected common channel is less than its described mark Quasi- work efficiency;
The allocation proportion selecting unit judges that the default work efficiency is less than the standard for working as first judging unit When work efficiency, the smallest allocation ratio of the selected common channel is selected to preset allocation proportion;Or work as the default work efficiency When more than or equal to the standard work efficiency, the maximum allocated ratio of the selected common channel is selected to preset distribution ratio Example;
The sendout computing unit, the product for calculating default allocation proportion and unappropriated task amount in task pool, institute State the quantity allotted that product is the selected common channel.
9. dispatching device as claimed in claim 6, it is characterised in that:The allocation processing module include task choosing unit, Task priority setting unit and allocation unit,
The task choosing module, for the respectively selection distribution from the corresponding task of each permission of the selected common channel The task of quantity;
The task priority setting unit, for the priority according to all tasks selected by default first rule setting;
The allocation unit, for the task of quantity allotted being sequentially allocated the order of priority of task rank from high to low to institute State the common channel of selection.
10. dispatching device as claimed in claim 6, it is characterised in that:The judgment module is additionally operable in the allocation processing Before assigning tasks to selected common channel, judge in unappropriated task with the presence or absence of in the selected common channel The corresponding task of some permission be less than quantity allotted and be additionally operable in the unappropriated task that there are selected general When the corresponding task of some permission in logical channel is less than quantity allotted, judge that the corresponding task of some all described permission is total Whether amount is more than quantity allotted;
The allocation processing module is additionally operable to judge the corresponding task total amount of some all described permission when the judgment module When not above quantity allotted, the corresponding task totalizing method of some all described permission is given to the selected common channel.
CN201610077892.4A 2016-02-03 2016-02-03 The dispatching method and its dispatching device of document typing Active CN105786601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610077892.4A CN105786601B (en) 2016-02-03 2016-02-03 The dispatching method and its dispatching device of document typing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610077892.4A CN105786601B (en) 2016-02-03 2016-02-03 The dispatching method and its dispatching device of document typing

Publications (2)

Publication Number Publication Date
CN105786601A CN105786601A (en) 2016-07-20
CN105786601B true CN105786601B (en) 2018-10-12

Family

ID=56403275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610077892.4A Active CN105786601B (en) 2016-02-03 2016-02-03 The dispatching method and its dispatching device of document typing

Country Status (1)

Country Link
CN (1) CN105786601B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228320A (en) * 2016-12-14 2018-06-29 平安科技(深圳)有限公司 The method and apparatus of task distribution
CN109886548B (en) * 2019-01-18 2024-05-07 平安科技(深圳)有限公司 Method, system, device and storage medium for dispatching order
CN113190514B (en) * 2021-05-10 2023-04-18 成都微视联软件技术有限公司 Method for inputting data into electronic document according to priority order
CN114253723A (en) * 2021-12-20 2022-03-29 中国工商银行股份有限公司 Task scheduling method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2011112986A (en) * 2008-09-18 2012-10-27 ЗетТиИ Корпорейшн (CN) METHOD AND DEVICE FOR PROCESSING MULTI-CHANNEL REQUESTS IN THE SERVICE MANAGEMENT PLATFORM
CN102917014A (en) * 2012-09-10 2013-02-06 中国联合网络通信集团有限公司 Resource scheduling method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2011112986A (en) * 2008-09-18 2012-10-27 ЗетТиИ Корпорейшн (CN) METHOD AND DEVICE FOR PROCESSING MULTI-CHANNEL REQUESTS IN THE SERVICE MANAGEMENT PLATFORM
CN102917014A (en) * 2012-09-10 2013-02-06 中国联合网络通信集团有限公司 Resource scheduling method and device

Also Published As

Publication number Publication date
CN105786601A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105786601B (en) The dispatching method and its dispatching device of document typing
US20240126609A1 (en) Configurable logic platform with reconfigurable processing circuitry
US7065567B1 (en) Production server for automated control of production document management
CN102567086B (en) Task scheduling method, equipment and system
US8392928B1 (en) Automated workload placement recommendations for a data center
US9760325B2 (en) Automatic load balancer for presses
CN102067098B (en) System, method and equipment for hierarchical policy management
US9966760B2 (en) Power distribution determination apparatus, control method, and storage medium
CN102387173A (en) MapReduce system and method and device for scheduling tasks thereof
CN103946802A (en) Method, computer program, and device for allocating computer resources of a cluster for carrying out a job controlled by said cluster
CN103634330A (en) Automatic resource distribution method in cloud calculation environment
US20110066269A1 (en) System and methods for dynamic scheduling in cellular manufacturing with batch-splitting
CN104023042B (en) Cloud platform resource scheduling method
CN101743534A (en) By increasing and shrinking resources allocation and dispatch
CN101727357A (en) Method and apparatus for allocating resources in a compute farm
CN106294233A (en) The transfer control method of a kind of direct memory access and device
CN106776025A (en) A kind of computer cluster job scheduling method and its device
CN110502321A (en) A kind of resource regulating method and system
CN105874426B (en) A kind of batch processing method and device of system call command
CN107577534A (en) A kind of resource regulating method and device
CN103927231A (en) Data-oriented processing energy consumption optimization dataset distribution method
US10732913B2 (en) System and method for multi-site cellular manufacturing with transportation delays
CN112269999A (en) Vulnerability scanning task scheduling method, device, equipment and medium
CN104915885A (en) Processing method and device for credit business
CN103503412A (en) Method and device for scheduling resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant