CN110348656A - Dispatching method, device, system and computer readable storage medium - Google Patents

Dispatching method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN110348656A
CN110348656A CN201810304109.2A CN201810304109A CN110348656A CN 110348656 A CN110348656 A CN 110348656A CN 201810304109 A CN201810304109 A CN 201810304109A CN 110348656 A CN110348656 A CN 110348656A
Authority
CN
China
Prior art keywords
tunnel
scheduler task
storage space
task
status indicator
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.)
Granted
Application number
CN201810304109.2A
Other languages
Chinese (zh)
Other versions
CN110348656B (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.)
Beijing Jingdong Qianshi Technology Co Ltd
Original Assignee
Tianjin Jingdong Shentuo Robot Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Jingdong Shentuo Robot Technology Co Ltd filed Critical Tianjin Jingdong Shentuo Robot Technology Co Ltd
Priority to CN201810304109.2A priority Critical patent/CN110348656B/en
Publication of CN110348656A publication Critical patent/CN110348656A/en
Application granted granted Critical
Publication of CN110348656B publication Critical patent/CN110348656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of dispatching method, device, system and computer readable storage mediums, are related to field of computer technology.Dispatching method therein includes: to receive tunnel scheduler task, and tunnel scheduler task includes target identification and tunnel scheduler task type identification;Searching database task list, it is determined whether there are same target mark, identical tunnel scheduler task type identification and tunnel scheduler task status indicators to dispatch successful task for untreated or tunnel;If it exists, tunnel scheduler task is abandoned.The present invention can eliminate be because of the unstability of intelligent scheduled production devices in system and artificial mobile target target repetitive schedule tunnel abnormal conditions, guarantee the normal consistency of target, enhance the robustness of tunnel scheduling process.

Description

Dispatching method, device, system and computer readable storage medium
Technical field
The present invention relates to field of computer technology, in particular to a kind of dispatching method, device, system and computer-readable deposit Storage media.
Background technique
In existing unmanned storehouse shuttle garage, hopper needs first to recommend tunnel to intelligent scheduled production system request before entering shelf, Hopper recommends storage space to intelligent scheduled production system request again after entering recommendation tunnel.Determine after recommending storage space, then by elevator and Shuttle, which transports, reaches storage space.Fig. 1 shows the structural schematic diagram in unmanned storehouse shuttle garage.
Summary of the invention
Inventor since the equipment in intelligent product plan is with unstability, and in the presence of artificial movement the study found that expect The case where case, hopper may repetitive requests tunnel, can only product plan can not judge same hopper two tunnels scheduling appoint Business be it is duplicate, cause intelligent product plan to repeat to be that hopper recommends tunnel to occur abnormal, thus the excessive tunnel that increases Tunnel scheduler task number, even results in hopper and blocks transmission line body.
The technical problem that the present invention solves be how to eliminate because intelligent scheduled production devices in system unstability and Artificial mobile target and be target repetitive schedule tunnel abnormal conditions, guarantee the normal consistency of target, enhance tunnel scheduling The robustness of process.
According to an aspect of an embodiment of the present invention, a kind of dispatching method is provided, comprising: tunnel scheduler task is received, Tunnel scheduler task includes target identification and tunnel scheduler task type identification;Searching database task list, it is determined whether deposit It is untreated or lane in same target mark, identical tunnel scheduler task type identification and tunnel scheduler task status indicator Dispatch successful task in road;If it exists, tunnel scheduler task is abandoned.
In some embodiments, dispatching method further include: if it does not exist, increase tunnel scheduling in the scheduler task of tunnel Task status mark, initialization tunnel scheduler task status indicator is untreated, and tunnel scheduler task is stored in database In task list;It is that untreated tunnel scheduler task is handled to tunnel scheduler task status indicator in database task list; In the case where tunnel is dispatched successfully, increase corresponding scheduling lanes mark in the tunnel scheduler task in database tasks table Know, and tunnel scheduler task status indicator is dispatched successfully by untreated tunnel of being revised as;In the case where tunnel dispatches and fails, Tunnel scheduler task status indicator is revised as tunnel scheduling failure by untreated.
In some embodiments, dispatching method further include: receive storage space scheduler task, storage space scheduler task includes target Mark and storage space scheduler task type identification;Searching database task list, it is determined whether there are same target mark and tunnels Scheduler task status indicator is that successful task is dispatched in tunnel;If it exists, increase storage space scheduler task in storage space scheduler task Status indicator, initialization storage space scheduler task status indicator is untreated, and storage space scheduler task is stored in database tasks In table;If it does not exist, storage space scheduler task is abandoned.
In some embodiments, storage space scheduler task also includes current tunnel mark;Dispatching method further include: utilize storage space The tunnel scheduler task in target identification inquiry database tasks table in scheduler task, judges in corresponding tunnel scheduler task Scheduling lanes mark identified whether with current tunnel it is identical, and by scheduler task state mark in tunnel in corresponding tunnel scheduler task Knowledge is dispatched by tunnel is successfully revised as storage space scheduling completion;In different situations, the tunnel scheduler task of scheduling lanes is reduced Number, and storage space scheduler task is handled;If handling successfully, storage space scheduler task status indicator is revised as storing up by untreated Position is dispatched successfully, and increases the storage space scheduler task number of scheduling storage space place storage space layer;If processing failure, by storage space scheduler task Status indicator is revised as storage space scheduling failure by untreated.
In some embodiments, dispatching method further include: under identical circumstances, at storage space scheduler task Reason;If handling successfully, storage space scheduler task status indicator is dispatched successfully by the untreated storage space that is revised as, and reduce current tunnel Tunnel scheduler task number, increase scheduling storage space where storage space layer storage space scheduler task number;If processing failure dispatches storage space Task status mark is revised as storage space scheduling failure by untreated, and reduces the tunnel scheduler task number in current tunnel.
Other side according to an embodiment of the present invention provides a kind of dispatching device, comprising: tunnel scheduler task receives Unit is configured as receiving tunnel scheduler task, and tunnel scheduler task includes target identification and tunnel scheduler task type mark Know;First database task list retrieval unit, is configured as searching database task list, it is determined whether there are same target marks Know, identical tunnel scheduler task type identification and tunnel scheduler task status indicator are that the scheduling of untreated or tunnel is successful Task;Tunnel scheduler task processing unit exists if being configured as above-mentioned task, abandons tunnel scheduler task.
In some embodiments, it is not present if tunnel scheduler task processing unit is also configured to above-mentioned task, in tunnel Increase scheduler task status indicator in tunnel in scheduler task, initialization tunnel scheduler task status indicator is untreated, and by lane Road scheduler task is stored in database tasks table;It is untreated to tunnel scheduler task status indicator in database task list Tunnel scheduler task is handled;In the case where tunnel is dispatched successfully, in the tunnel scheduler task in database tasks table Increase corresponding scheduling lanes mark, and tunnel scheduler task status indicator is dispatched successfully by untreated tunnel of being revised as;? In the case where the scheduling failure of tunnel, tunnel scheduler task status indicator is revised as tunnel scheduling failure by untreated.
In some embodiments, dispatching device further include: storage space scheduler task receiving unit is configured as receiving storage space Scheduler task, storage space scheduler task include target identification and storage space scheduler task type identification;The inspection of second database tasks table Cable elements are configured as searching database task list, it is determined whether there are same target mark and tunnel scheduler task state marks Know is that successful task is dispatched in tunnel;Storage space scheduler task processing unit exists if being configured as above-mentioned task, dispatches in storage space Increase storage space scheduler task status indicator in task, initialization storage space scheduler task status indicator is untreated, and by storage space tune Degree task is stored in database tasks table;If it does not exist, storage space scheduler task is abandoned.
In some embodiments, storage space scheduler task also includes current tunnel mark;Storage space scheduler task processing unit is also It is configured as: using the tunnel scheduler task in the target identification inquiry database tasks table in storage space scheduler task, judging phase Scheduling lanes mark identifies whether identical with current tunnel in the tunnel scheduler task answered, and will be in corresponding tunnel scheduler task Tunnel scheduler task status indicator is dispatched by tunnel is successfully revised as storage space scheduling completion;In different situations, scheduling is reduced The tunnel scheduler task number in tunnel, and storage space scheduler task is handled;If handling successfully, by storage space scheduler task state mark Knowledge is dispatched successfully by the untreated storage space that is revised as, and increases the storage space scheduler task number of scheduling storage space place storage space layer;If processing Storage space scheduler task status indicator is revised as storage space scheduling failure by untreated by failure.
In some embodiments, storage space scheduler task processing unit is also configured under identical circumstances, to storage space tune Degree task is handled;If handling successfully, storage space scheduler task status indicator is dispatched successfully by the untreated storage space that is revised as, and The tunnel scheduler task number in current tunnel is reduced, the storage space scheduler task number of storage space layer where increasing scheduling storage space;If processing is lost It loses, storage space scheduler task status indicator is revised as storage space scheduling failure by untreated, and reduce the tunnel scheduling in current tunnel Number of tasks.
Another aspect according to an embodiment of the present invention provides a kind of scheduling system, including dispatching device above-mentioned;With And tunnel scanner, it is configured as being scanned target, generates the tunnel scheduler task of target and be sent to dispatching device;Storage Bit scan device is configured as being scanned target, generates the storage space scheduler task of target and is sent to dispatching device.
Another aspect according to an embodiment of the present invention provides a kind of dispatching device, wherein includes: memory;And It is coupled to the processor of memory, processor is configured as executing dispatching party above-mentioned based on instruction stored in memory Method.
Another aspect according to an embodiment of the present invention provides a kind of computer readable storage medium, wherein computer Readable storage medium storing program for executing is stored with computer instruction, and instruction realizes dispatching method above-mentioned when being executed by processor.
The present invention, which can be eliminated, is target because of the unstability of intelligent scheduled production devices in system and artificial mobile target The abnormal conditions in repetitive schedule tunnel guarantee the normal consistency of target, enhance the robustness of tunnel scheduling process.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 shows the structural schematic diagram in unmanned storehouse shuttle garage.
Fig. 2 shows the flow diagrams of the dispatching method of one embodiment of the invention.
Fig. 3 shows the flow diagram of the dispatching method of another embodiment of the present invention.
Fig. 4 shows the flow diagram of the dispatching method of another embodiment of the present invention.
Fig. 5 shows an application examples of dispatching method of the present invention.
Fig. 6 shows the structural schematic diagram of the dispatching device of one embodiment of the invention.
Fig. 7 shows the structural schematic diagram of the scheduling system of one embodiment of the invention.
Fig. 8 shows the structural schematic diagram of the dispatching device of another embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below Description only actually at least one exemplary embodiment be it is illustrative, never as to the present invention and its application or make Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under all other embodiment obtained, shall fall within the protection scope of the present invention.
Fig. 2 is combined to introduce the dispatching method of one embodiment of the invention first.
Fig. 2 shows the flow diagrams of the dispatching method of one embodiment of the invention.As shown in Fig. 2, in the present embodiment Dispatching method include step S202~step S206.
In step S202, tunnel scheduler task is received, tunnel scheduler task includes that target identification and tunnel scheduling are appointed Service type mark.
In step S204, searching database task list, it is determined whether there are same target mark, the scheduling of identical tunnel to appoint Service type mark and tunnel scheduler task status indicator are that successful task is dispatched in untreated or tunnel.
If it exists, then in step S206, tunnel scheduler task is abandoned.
If it does not exist, then in step S208, increase scheduler task status indicator in tunnel in the scheduler task of tunnel, initially It is untreated for changing tunnel scheduler task status indicator, and tunnel scheduler task is stored in database tasks table.
It is that the scheduling of untreated tunnel is appointed to tunnel scheduler task status indicator in database task list in step S210 Business is handled.
Tunnel scheduler task in the case where tunnel is dispatched successfully, then in step S212, in database tasks table It is middle to increase corresponding scheduling lanes mark, and tunnel scheduler task status indicator is dispatched successfully by untreated tunnel of being revised as.
In the case where tunnel dispatches and fails, then in step S214, by tunnel scheduler task status indicator by untreated It is revised as tunnel scheduling failure.
Above-described embodiment can be eliminated is because of the unstability of intelligent scheduled production devices in system and artificial mobile target The abnormal conditions in target repetitive schedule tunnel, guarantee the normal consistency of target, enhance the robustness of tunnel scheduling process.
Inventor also found, the processing logic of intelligent product plan is first to determine storage space behind determining tunnel.In logical operation When determining storage space, if failing to recommend tunnel information out before grabbing, intelligent product plan will appear logical operation failure, Hopper obstruction, to occur not requesting the abnormal conditions of tunnel direct request storage space.In order to solve this technical problem, below with reference to Fig. 3 introduces the dispatching method of one embodiment of the invention.
Fig. 3 shows the flow diagram of the dispatching method of another embodiment of the present invention.As shown in figure 3, shown in Fig. 2 On the basis of embodiment, the dispatching method in the present embodiment further includes step S316~step S322.
In step S316, storage space scheduler task is received, storage space scheduler task includes that target identification and storage space scheduling are appointed Service type mark.
In step S318, searching database task list, it is determined whether there are same target mark and tunnel scheduler tasks Status indicator is that successful task is dispatched in tunnel.
If it exists, in step s 320, increase storage space scheduler task status indicator, initialization storage in storage space scheduler task Position scheduler task status indicator is untreated, and storage space scheduler task is stored in database tasks table.
If it does not exist, in step S322, storage space scheduler task is abandoned.
Above-described embodiment, can by the way that tunnel scheduler task status indicator to be associated and screen with storage space scheduler task Eliminating because of the unstability of intelligent scheduled production devices in system and artificial mobile target is that target does not request tunnel direct request The abnormal conditions of storage space, guarantee the normal consistency of target, further enhance the robustness of storage space scheduling process.
At present then intelligence scheduled production goes processing related using recommendation tunnel and storage space task is first received using asynchronous woker Task includes the step of recommending tunnel, storage space and increase out to reduce corresponding tunnel, layer task quantity.Handle tunnel scheduler task When, recommended as long as having task, and increase the number of tasks recommended in tunnel out;When storage space is recommended in processing, need It is first that the information for recommending tunnel before is got from task, it then carries out recommending storage space operation, and reduce a times in place tunnel Business quantity, increases the task quantity of layer where recommending storage space out.Inventor in product plan it has furthermore been found that can only may deposit The exception of storage space is requested when hopper does not enter specified tunnel, that is to say, that for intelligent scheduled production in logical operation, crawl is material The tunnel that case actually enters carries out recommendation storage space, causes that mistake occurs when reducing tunnel scheduler task number, to generate tunnel tune Spend the data exception of number of tasks.In order to solve this technical problem, the scheduling of another embodiment of the present invention is introduced below with reference to Fig. 4 Method.
Fig. 4 shows the flow diagram of the dispatching method of another embodiment of the present invention.As shown in figure 4, shown in Fig. 3 On the basis of embodiment, the dispatching method in the present embodiment further includes step S424~step S436.
In step S424, storage space scheduler task also includes current tunnel mark, utilizes the target in storage space scheduler task Tunnel scheduler task in mark inquiry database tasks table judges that scheduling lanes identify and work as in corresponding tunnel scheduler task Preceding tunnel identifies whether identical, and tunnel scheduler task status indicator in corresponding tunnel scheduler task is dispatched successfully by tunnel Storage space scheduling is revised as to complete.
In different situations, then in step S426, the tunnel scheduler task number of scheduling lanes is reduced, and to storage space tune Degree task is handled.
If handling successfully, in step S428, storage space scheduler task status indicator is revised as storage space tune by untreated It spends successfully, and increases the storage space scheduler task number of scheduling storage space place storage space layer.
If processing failure, in step S430, storage space scheduler task status indicator is revised as storage space tune by untreated Degree failure.
Under identical circumstances, then in step S432, storage space scheduler task is handled;
If handling successfully, in step S434, storage space scheduler task status indicator is revised as storage space tune by untreated It spends successfully, and reduces the tunnel scheduler task number in current tunnel, the storage space scheduler task number of storage space layer where increasing scheduling storage space.
If processing failure, in step S436, storage space scheduler task status indicator is revised as storage space tune by untreated Degree failure, and reduce the tunnel scheduler task number in current tunnel.
Above-described embodiment can be eliminated because target does not enter layer where tunnel caused by storage space, storage space are just requested in specified tunnel Storage space scheduler task quantity misregistration and transmission line body block the problems such as, thus guarantee hopper normally executes storage grasp Make, further enhances the robustness of storage space scheduling process.
An application examples of dispatching method of the present invention is introduced below with reference to Fig. 5.
(1) set up task type WIRTR and four kinds of state values to tunnel scheduler task: 0 is untreated, and 2 recommend tunnel complete At 3 recommend storage space to complete, 9 abnormal recommendation failures;Task type is set up to storage space scheduler task: WIRLR and three kinds of state values: 0 Untreated, 2 recommend storage space to complete, 9 abnormal recommendation failures.
(2) when receiving tunnel scheduler task, according to hopper number, task type (WIRTR), task status (0,2) three Condition carries out retrieval tasks table in database;If there is data, then this task is rejected;If it does not exist, then It receives and saves, to solve the exception in repetitive requests tunnel.
(3) when handling tunnel scheduler task, the task that crawl task status is 0 is handled.If recommending successfully, to repair Changing task status is 2, increases the tunnel scheduler task quantity of scheduling lanes, and issues and recommend tunnel out to requesting party;If Recommend failure, modification task status is 9, and informs that requesting party fails.
(4) storage space scheduler task is received, scheduling lanes field is verified, if field is that empty explanation is not asked Tunnel was asked, rejected and informs that requesting party fails;It so normally receives if there is tunnel number, is not requested to solve The exception of tunnel direct request storage space.
(5) storage space scheduler task is handled, according to (2) three hopper number, task type (WIRTR), task status conditions, Retrieval tasks table is carried out in database;Completed tunnel scheduler task is inquired, then taking out in the scheduler task of tunnel Tunnel number in tunnel number and current storage space scheduler task compares.If two tunnels number are identical, logical operation progress is carried out Storage space scheduling reduces tunnel task quantity, modification storage if scheduling storage space success, modification tunnel scheduler task state are 3 Position scheduler task state is 2, the storage space scheduler task quantity of layer where increasing storage space;If recommending storage space failure, modify Tunnel scheduler task state is 3, reduces tunnel task quantity, modification storage space scheduler task state is 9, and issues requesting party.Such as Two tunnels number of fruit are not identical, and modification tunnel scheduler task state is 3, reduce the tunnel scheduler task quantity of scheduling lanes, into Row logical operation determines storage space, if storage space is dispatched successfully, modification storage space scheduler task state is 2, layer where increasing storage space Storage space scheduler task quantity;If recommending storage space failure, modification storage space scheduler task state is 9, and issues requesting party, to solve It has determined and has not entered the exception of specified tunnel request storage space.
The dispatching device of one embodiment of the invention is introduced below with reference to Fig. 6.
Fig. 6 shows the structural schematic diagram of the dispatching device of one embodiment of the invention.As shown in fig. 6, the present embodiment Dispatching device 60 includes:
Tunnel scheduler task receiving unit 602 is configured as receiving tunnel scheduler task, and tunnel scheduler task includes target Mark and tunnel scheduler task type identification;
First database task list retrieval unit 604, is configured as searching database task list, it is determined whether there are identical Target identification, identical tunnel scheduler task type identification and tunnel scheduler task status indicator are that untreated or tunnel is dispatched Successful task;
Tunnel scheduler task processing unit 606 exists if being configured as above-mentioned task, abandons tunnel scheduler task.
In some embodiments, it is not present if tunnel scheduler task processing unit 606 is also configured to above-mentioned task, Increasing scheduler task status indicator in tunnel in the scheduler task of tunnel, initialization tunnel scheduler task status indicator is untreated, and Tunnel scheduler task is stored in database tasks table;It is not locate to tunnel scheduler task status indicator in database task list The tunnel scheduler task of reason is handled;In the case where tunnel is dispatched successfully, the tunnel scheduling in database tasks table is appointed Increase corresponding scheduling lanes mark in business, and tunnel scheduler task status indicator is scheduled to by untreated tunnel of being revised as Function;In the case where tunnel dispatches and fails, tunnel scheduler task status indicator is revised as tunnel scheduling failure by untreated.
In some embodiments, dispatching device 60 further include:
Storage space scheduler task receiving unit 608 is configured as receiving storage space scheduler task, and storage space scheduler task includes target Mark and storage space scheduler task type identification;
Second database tasks table retrieval unit 610, is configured as searching database task list, it is determined whether there are identical Target identification and tunnel scheduler task status indicator are that successful task is dispatched in tunnel;
Storage space scheduler task processing unit 612 exists if being configured as above-mentioned task, increases storage in storage space scheduler task Position scheduler task status indicator, initialization storage space scheduler task status indicator is untreated, and storage space scheduler task is stored in In database tasks table;If it does not exist, storage space scheduler task is abandoned.
In some embodiments, storage space scheduler task also includes current tunnel mark;Storage space scheduler task processing unit 612 It is also configured to utilize the tunnel scheduler task in the target identification inquiry database tasks table in storage space scheduler task, judgement Scheduling lanes mark identifies whether identical with current tunnel in corresponding tunnel scheduler task, and by corresponding tunnel scheduler task Middle tunnel scheduler task status indicator is dispatched by tunnel is successfully revised as storage space scheduling completion;In different situations, tune is reduced The tunnel scheduler task number in tunnel is spent, and storage space scheduler task is handled;If handling successfully, by storage space scheduler task state Mark is dispatched successfully by the untreated storage space that is revised as, and increases the storage space scheduler task number of scheduling storage space place storage space layer;If place Storage space scheduler task status indicator is revised as storage space scheduling failure by untreated by reason failure.
In some embodiments, storage space scheduler task processing unit 612 is also configured under identical circumstances, to storage Position scheduler task is handled;If handling successfully, storage space scheduler task status indicator is scheduled to by the untreated storage space that is revised as Function, and the tunnel scheduler task number in current tunnel is reduced, the storage space scheduler task number of storage space layer where increasing scheduling storage space;If place Storage space scheduler task status indicator is revised as storage space scheduling failure by untreated, and reduces the tunnel in current tunnel by reason failure Scheduler task number.
The scheduling system of one embodiment of the invention is introduced below with reference to Fig. 7.
Fig. 7 shows the structural schematic diagram of the scheduling system of one embodiment of the invention.As shown in fig. 7, the present embodiment Scheduling system 70 includes:
Dispatching device 60;And
Tunnel scanner 702 is configured as being scanned target, generates the tunnel scheduler task of target and is sent to tune Spend device;
Storage space scanner 704 is configured as being scanned target, generates the storage space scheduler task of target and is sent to tune Spend device.
Fig. 8 shows the structural schematic diagram of the dispatching device of another embodiment of the present invention.As shown in figure 8, the embodiment Dispatching device 80 include: memory 810 and the processor 820 for being coupled to the memory 810, processor 820 is configured as Based on the instruction being stored in memory 810, the dispatching method in any one aforementioned embodiment is executed.
Wherein, memory 810 is such as may include system storage, fixed non-volatile memory medium.System storage Device is for example stored with operating system, application program, Boot loader (Boot Loader) and other programs etc..
A kind of dispatching device 80 can also include input/output interface 830, network interface 840, memory interface 850 etc..This It can for example be connected by bus 860 between a little interfaces 830,840,850 and memory 810 and processor 820.Wherein, defeated Enter output interface 830 and provides connecting interface for input-output equipment such as display, mouse, keyboard, touch screens.Network interface 840 Connecting interface is provided for various networked devices.The external storages such as memory interface 840 is SD card, USB flash disk provide connecting interface.
The invention also includes a kind of computer readable storage mediums, are stored thereon with computer instruction, and the instruction is processed Device realizes the dispatching method in any one aforementioned embodiment when executing.
It should be understood by those skilled in the art that, the embodiment of the present invention 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 present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The calculating implemented in non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) can be used The form of machine program product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of dispatching method, comprising:
Tunnel scheduler task is received, the tunnel scheduler task includes target identification and tunnel scheduler task type identification;
Searching database task list, it is determined whether there are same target mark, identical tunnel scheduler task type identification and lanes Road scheduler task status indicator is that successful task is dispatched in untreated or tunnel;
If it exists, the tunnel scheduler task is abandoned.
2. dispatching method as described in claim 1, the dispatching method further include:
If it does not exist, increase scheduler task status indicator in tunnel in the tunnel scheduler task, initialize the tunnel scheduling Task status is identified as untreated, and the tunnel scheduler task is stored in database tasks table;
It is that untreated tunnel scheduler task is handled to tunnel scheduler task status indicator in database task list;
In the case where tunnel is dispatched successfully, increase corresponding scheduling lanes in the tunnel scheduler task in database tasks table Mark, and tunnel scheduler task status indicator is dispatched successfully by untreated tunnel of being revised as;
In the case where tunnel dispatches and fails, tunnel scheduler task status indicator is revised as tunnel scheduling failure by untreated.
3. dispatching method as described in claim 1, the dispatching method further include:
Storage space scheduler task is received, the storage space scheduler task includes target identification and storage space scheduler task type identification;
Searching database task list, it is determined whether there are same target mark and tunnel scheduler task status indicator is tunnel scheduling Successful task;
If it exists, increase storage space scheduler task status indicator in the storage space scheduler task, initialize the storage space scheduling and appoint Business status indicator is untreated, and the storage space scheduler task is stored in database tasks table;
If it does not exist, the storage space scheduler task is abandoned.
4. dispatching method as claimed in claim 3, wherein the storage space scheduler task also includes current tunnel mark;
The dispatching method further include:
Using the tunnel scheduler task in the target identification inquiry database tasks table in the storage space scheduler task, judgement is corresponding Tunnel scheduler task in scheduling lanes mark identified whether with the current tunnel it is identical, and by corresponding tunnel scheduler task Middle tunnel scheduler task status indicator is dispatched by tunnel is successfully revised as storage space scheduling completion;
In different situations, the tunnel scheduler task number of scheduling lanes is reduced, and the storage space scheduler task is handled;
If handling successfully, the storage space scheduler task status indicator is dispatched successfully by the untreated storage space that is revised as, and increase tune The storage space scheduler task number of storage space layer where spending storage space;
If processing failure, the storage space scheduler task status indicator is revised as storage space scheduling failure by untreated.
5. dispatching method as claimed in claim 4, wherein the dispatching method further include:
Under identical circumstances, the storage space scheduler task is handled;
If handling successfully, the storage space scheduler task status indicator is dispatched successfully by the untreated storage space that is revised as, and reduce and work as The tunnel scheduler task number in preceding tunnel, the storage space scheduler task number of storage space layer where increasing scheduling storage space;
If processing failure, the storage space scheduler task status indicator is revised as storage space scheduling failure by untreated, and reduce and work as The tunnel scheduler task number in preceding tunnel.
6. a kind of dispatching device, comprising:
Tunnel scheduler task receiving unit is configured as receiving tunnel scheduler task, and the tunnel scheduler task includes target mark Knowledge and tunnel scheduler task type identification;
First database task list retrieval unit, is configured as searching database task list, it is determined whether there are same target marks Know, identical tunnel scheduler task type identification and tunnel scheduler task status indicator are that the scheduling of untreated or tunnel is successful Task;
Tunnel scheduler task processing unit exists if being configured as above-mentioned task, abandons the tunnel scheduler task.
7. dispatching device as claimed in claim 6, the tunnel scheduler task processing unit is also configured to
If above-mentioned task is not present, increase scheduler task status indicator in tunnel in the tunnel scheduler task, described in initialization Tunnel scheduler task status indicator is untreated, and the tunnel scheduler task is stored in database tasks table;
It is that untreated tunnel scheduler task is handled to tunnel scheduler task status indicator in database task list;
In the case where tunnel is dispatched successfully, increase corresponding scheduling lanes in the tunnel scheduler task in database tasks table Mark, and tunnel scheduler task status indicator is dispatched successfully by untreated tunnel of being revised as;
In the case where tunnel dispatches and fails, tunnel scheduler task status indicator is revised as tunnel scheduling failure by untreated.
8. dispatching device as claimed in claim 6, the dispatching device further include:
Storage space scheduler task receiving unit is configured as receiving storage space scheduler task, and the storage space scheduler task includes target mark Knowledge and storage space scheduler task type identification;
Second database tasks table retrieval unit, is configured as searching database task list, it is determined whether there are same target marks Know and tunnel scheduler task status indicator is that successful task is dispatched in tunnel;
Storage space scheduler task processing unit exists if being configured as above-mentioned task, increases storage space in the storage space scheduler task Scheduler task status indicator, it is untreated for initializing the storage space scheduler task status indicator, and by the storage space scheduler task It is stored in database tasks table;If it does not exist, the storage space scheduler task is abandoned.
9. dispatching device as claimed in claim 8, wherein the storage space scheduler task also includes current tunnel mark;
The storage space scheduler task processing unit is also configured to
Using the tunnel scheduler task in the target identification inquiry database tasks table in the storage space scheduler task, judgement is corresponding Tunnel scheduler task in scheduling lanes mark identified whether with the current tunnel it is identical, and by corresponding tunnel scheduler task Middle tunnel scheduler task status indicator is dispatched by tunnel is successfully revised as storage space scheduling completion;
In different situations, the tunnel scheduler task number of scheduling lanes is reduced, and the storage space scheduler task is handled;
If handling successfully, the storage space scheduler task status indicator is dispatched successfully by the untreated storage space that is revised as, and increase tune The storage space scheduler task number of storage space layer where spending storage space;
If processing failure, the storage space scheduler task status indicator is revised as storage space scheduling failure by untreated.
10. dispatching device as claimed in claim 9, wherein the storage space scheduler task processing unit is also configured to
Under identical circumstances, the storage space scheduler task is handled;
If handling successfully, the storage space scheduler task status indicator is dispatched successfully by the untreated storage space that is revised as, and reduce and work as The tunnel scheduler task number in preceding tunnel, the storage space scheduler task number of storage space layer where increasing scheduling storage space;
If processing failure, the storage space scheduler task status indicator is revised as storage space scheduling failure by untreated, and reduce and work as The tunnel scheduler task number in preceding tunnel.
11. a kind of scheduling system, including the dispatching device as described in any one of claim 6 to 10;And
Tunnel scanner is configured as being scanned the target, generates the tunnel scheduler task of the target and is sent to The dispatching device;
Storage space scanner is configured as being scanned the target, generates the storage space scheduler task of the target and is sent to The dispatching device.
12. a kind of dispatching device, wherein include:
Memory;And
It is coupled to the processor of the memory, the processor is configured to the instruction based on storage in the memory, Execute the dispatching method as described in any one of claims 1 to 5.
13. a kind of computer readable storage medium, wherein the computer-readable recording medium storage has computer instruction, institute State the dispatching method realized as described in any one of claims 1 to 5 when instruction is executed by processor.
CN201810304109.2A 2018-04-08 2018-04-08 Scheduling method, device, system and computer readable storage medium Active CN110348656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810304109.2A CN110348656B (en) 2018-04-08 2018-04-08 Scheduling method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810304109.2A CN110348656B (en) 2018-04-08 2018-04-08 Scheduling method, device, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110348656A true CN110348656A (en) 2019-10-18
CN110348656B CN110348656B (en) 2022-09-30

Family

ID=68172950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810304109.2A Active CN110348656B (en) 2018-04-08 2018-04-08 Scheduling method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110348656B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316156A (en) * 2011-07-05 2012-01-11 万达信息股份有限公司 Method for distributing and processing dynamically extensible task
CN105469201A (en) * 2015-07-20 2016-04-06 浙江工业大学 Method for logistics dispensing center work task processing and scheduling
CN106022689A (en) * 2016-05-23 2016-10-12 广东工业大学 Deadlock preventive warehouse-in and warehouse-out scheduling method of hollow glass pairing warehouse
CN106144368A (en) * 2016-07-27 2016-11-23 国网河北省电力公司电力科学研究院 Storage allocation method for three-dimensional storehouse
CN106611397A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Logistics data processing method and device
CN107168789A (en) * 2016-03-08 2017-09-15 阿里巴巴集团控股有限公司 The serial scheduling method and device of multitask

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316156A (en) * 2011-07-05 2012-01-11 万达信息股份有限公司 Method for distributing and processing dynamically extensible task
CN105469201A (en) * 2015-07-20 2016-04-06 浙江工业大学 Method for logistics dispensing center work task processing and scheduling
CN106611397A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Logistics data processing method and device
CN107168789A (en) * 2016-03-08 2017-09-15 阿里巴巴集团控股有限公司 The serial scheduling method and device of multitask
CN106022689A (en) * 2016-05-23 2016-10-12 广东工业大学 Deadlock preventive warehouse-in and warehouse-out scheduling method of hollow glass pairing warehouse
CN106144368A (en) * 2016-07-27 2016-11-23 国网河北省电力公司电力科学研究院 Storage allocation method for three-dimensional storehouse

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋固金: "Spring内置任务调度实现添加、取消、重置", 《百度》 *

Also Published As

Publication number Publication date
CN110348656B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
TWI838596B (en) Electronic apparatus for managing logistics information and control method thereof
JP6021120B2 (en) Method for streaming data, computer system thereof, and program for computer system
CN100375036C (en) Method and system for resource allocation in remembering grids
US9430285B2 (en) Dividing and parallel processing record sets using a plurality of sub-tasks executing across different computers
CN105550225A (en) Index construction method and query method and apparatus
CN110290166B (en) Cross-cluster data interaction method, system and device and readable storage medium
CN103377101A (en) Testing system and testing method
CN106201788A (en) Copy restorative procedure and system for distributed storage cluster
US20180239323A1 (en) Method for Operating an Engineering System for an Industrial Process Automation System, and Control Program
EP2390739A2 (en) A method and apparatus for providing industrial plant information
US20170220624A1 (en) Transaction processor
CN114443171A (en) Configurable service platform and configurable service implementation method
CN102959499B (en) Computer system, storage volume management method
KR101988482B1 (en) Apparatus for processing data in tactical data link system
CN113407973A (en) Software function authority management method, system, server and storage medium
CN115660540B (en) Cargo tracking method, cargo tracking device, computer equipment and storage medium
CN102597957B (en) System deployment determination system, system deployment determination method and program
CN110348656A (en) Dispatching method, device, system and computer readable storage medium
CN117764253A (en) Design execution device and design execution method
CN110457018A (en) A kind of data management system and its management method based on Hadoop
KR102115734B1 (en) Attack and anomaly detection device, attack and anomaly detection method, and attack and anomaly detection program
JP6928182B1 (en) Stop cause identification support device, stop cause identification support program and method
US11016828B2 (en) Task support system and method
CN114490338A (en) Multithreading debugging method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200521

Address after: Room A1905, 19th floor, No. 2 Building, 18 Kechuang 11th Street, Beijing Daxing District, Beijing

Applicant after: Beijing Jingdong Qianshi Technology Co.,Ltd.

Address before: 300 457 days First Floor, Phase 2, No. 10, Fourth Avenue, Binhai New Area Economic and Technological Development Zone, Tianjin

Applicant before: Tianjin Jingdong Shentuo Robot Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant