[go: up one dir, main page]

CN114037261A - Production scheduling method and device, computer equipment and storage medium - Google Patents

Production scheduling method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114037261A
CN114037261A CN202111310067.1A CN202111310067A CN114037261A CN 114037261 A CN114037261 A CN 114037261A CN 202111310067 A CN202111310067 A CN 202111310067A CN 114037261 A CN114037261 A CN 114037261A
Authority
CN
China
Prior art keywords
color block
gantt chart
currently
dragging state
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111310067.1A
Other languages
Chinese (zh)
Inventor
韦帅
林志鹏
成启航
莫兆忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Jiyan Zhilian Technology Co ltd
Original Assignee
Foshan Jiyan Zhilian 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 Foshan Jiyan Zhilian Technology Co ltd filed Critical Foshan Jiyan Zhilian Technology Co ltd
Priority to CN202111310067.1A priority Critical patent/CN114037261A/en
Publication of CN114037261A publication Critical patent/CN114037261A/en
Priority to CN202210132756.6A priority patent/CN114219372B/en
Priority to CN202210357531.0A priority patent/CN114925966B/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Managing shopping lists, e.g. compiling or processing purchase lists
    • G06Q30/0635Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • 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)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Manufacturing & Machinery (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a production scheduling method, a production scheduling device, computer equipment and a storage medium. The method comprises the following steps: acquiring order information, a production process and a bill of materials to obtain initial data; screening and sequencing the initial data to generate a first production list; generating a Gantt chart according to the first production list to obtain a first Gantt chart; judging whether new order information exists at present; if new order information exists currently, generating a second production list according to the new order information and the initial data; modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart; and displaying the second Gantt chart. By implementing the method of the embodiment of the invention, the color blocks corresponding to all links of the production schedule can be adjusted at any time, and the method is more visual and convenient to modify.

Description

Production scheduling method and device, computer equipment and storage medium
Technical Field
The present invention relates to an automatic scheduling method, and more particularly, to a production scheduling method, apparatus, computer device, and storage medium.
Background
At present, production and manufacturing businesses schedule production mainly according to a production and marketing cooperation plan. Specifically, the sales department and the production management department plan and schedule production orders in advance according to the existing system, and then adjust and schedule the production plan according to the past production experience and the actual production condition, that is, make a production schedule.
However, the existing production schedule is manually adjusted according to the past production experience and the actual production condition, and after the production schedule is confirmed, the production schedule is tabulated, if the production schedule receives the influence of the conditions of a subsequent series of order insertion, delivery change, resource abnormity and the like, the conditions are complex and changeable, and when the factors influencing the production are numerous, the production schedule cannot be adjusted in time, and only can be re-made, and is inconvenient to modify and not intuitive.
Therefore, it is necessary to design a new method to realize the adjustment of color blocks corresponding to each link of the production schedule at any time, which is more intuitive and convenient to modify.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a production scheduling method, a production scheduling device, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: the production scheduling method comprises the following steps:
acquiring order information, a production process and a bill of materials to obtain initial data;
screening and sequencing the initial data to generate a first production list;
generating a Gantt chart according to the first production list to obtain a first Gantt chart;
judging whether new order information exists at present;
if new order information exists currently, generating a second production list according to the new order information and the initial data;
modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart;
and displaying the second Gantt chart.
The further technical scheme is as follows: generating a Gantt chart according to the first production list to obtain a first Gantt chart, wherein the generating includes:
determining relevant color blocks in the first production list;
and dragging and stretching the color blocks into the corresponding Gantt charts in sequence according to the production scheduling sequence of the first production list to form a first Gantt chart.
The further technical scheme is as follows: the modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart, comprising:
determining color blocks to be added according to the second production list and the first production list so as to obtain color blocks to be added;
determining color blocks in a first Gantt chart and an adjusting scheme of color blocks to be added according to the second production list and the first production list;
and modifying the first Gantt chart according to the adjusting scheme to obtain a second Gantt chart.
The further technical scheme is as follows: the modifying the first Gantt chart according to the adjustment scheme to obtain a second Gantt chart comprises:
determining color blocks related in the adjustment scheme to obtain the color blocks currently in a dragging state;
determining the adjustment mode of the color block in the current dragging state in the adjustment scheme;
judging whether the adjusting mode is inserted into the back of the appointed color block;
if the adjustment mode is to insert the color block in the dragging state behind the designated color block, inserting the color block in the dragging state behind the designated color block;
judging whether the first Gantt chart is modified;
if the first Gantt chart is not modified, determining a next color block related in an adjustment scheme to obtain a color block currently in a dragging state, and executing an adjustment mode of the color block currently in the dragging state in the adjustment scheme;
if the first Gantt chart is modified, taking the modified first Gantt chart as a second Gantt chart;
if the adjusting mode is not inserted into the back of the specified color block, judging whether the adjusting mode is inserted into the foremost position of all the color blocks;
if the adjustment mode is to insert the color blocks in the dragging state into the foremost positions of all the color blocks, and executing the judgment to judge whether the first Gantt chart is modified;
and if the adjustment mode is not inserted into the foremost position of all the color blocks, inserting the color block currently in the dragging state into a specific position, and executing the judgment to judge whether the first Gantt chart is modified.
The further technical scheme is as follows: the inserting the color block currently in the dragging state behind the designated color block comprises:
judging whether the center line of the color block in the current dragging state is in the range of the row of the specified color block;
if the center line of the color block currently in the dragging state is not in the range of the row where the specified color block is located, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row where the specified color block is located;
if the center line of the color block currently in the dragging state is in the range of the row of the specified color block, judging whether the leftmost side of the color block currently in the dragging state is in the range related to the specified color block;
if the leftmost of the color block currently in the dragging state is not in the range related to the specified color block, dragging the color block currently in the dragging state in the range of the row of the specified color block, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in the range related to the specified color block;
if the leftmost side of the color block in the dragging state is in the range related to the designated color block, generating a virtual occupation behind the designated color block, and moving all the color blocks behind the virtual occupation by the width distance of the virtual occupation;
and inserting the color block which is in the dragging state on the virtual occupation.
The further technical scheme is as follows: the inserting the color block currently in the dragging state into the foremost position of all the color blocks comprises:
judging whether the center line of the color block in the dragging state is in the range of the specified row or not;
if the center line of the color block currently in the dragging state is not in the range of the designated row, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the designated row;
if the center line of the color block currently in the dragging state is in the range of the designated row, judging whether the leftmost side of the color block currently in the dragging state is in front of the first color block in the designated row;
if the leftmost of the color block currently in the dragging state is not in front of the first color block in the specified row, dragging the color block currently in the dragging state within the range of the specified row, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in front of the first color block in the specified row or not;
if the leftmost side of the color block in the dragging state is in front of the first color block in the designated row, generating a virtual occupation in front of the first color block in the designated row, and moving all the color blocks behind the virtual occupation by a width distance of the virtual occupation;
and inserting the color block which is in the dragging state on the virtual occupation.
The further technical scheme is as follows: the inserting the color block currently in the dragging state into a specific position comprises:
judging whether the center line of the color block in the dragging state is in the range of the row corresponding to the specific position or not;
if the center line of the color block currently in the dragging state is not in the range of the row corresponding to the specific position, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position;
and if the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position, inserting the color block currently in the dragging state behind the timeline corresponding to the specific position.
The invention also provides a production scheduling device, comprising:
the system comprises an initial data acquisition unit, a data processing unit and a data processing unit, wherein the initial data acquisition unit is used for acquiring order information, a production process and a bill of materials to obtain initial data;
the first list forming unit is used for screening and sequencing the initial data to generate a first production list;
the first Gantt chart generating unit is used for generating a Gantt chart according to the first production list so as to obtain a first Gantt chart;
the judging unit is used for judging whether new order information exists at present;
the second production list forming unit is used for generating a second production list according to the new order information and the initial data if the new order information exists currently;
the second Gantt chart generating unit is used for modifying the first Gantt chart according to the second production list and the first production list so as to generate a second Gantt chart;
and the second display unit is used for displaying the second Gantt chart.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: the invention presents the content of the production schedule by adopting a Gantt chart mode, and can adopt various adjusting modes, drag and stretch related color blocks when new order information exists so as to quickly adjust the Gantt chart, realize that the color blocks corresponding to each link of the production schedule can be adjusted at any time, and is more visual and convenient to modify.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a production scheduling method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a production scheduling method according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of a production scheduling method according to an embodiment of the present invention;
FIG. 4 is a schematic sub-flowchart of a production scheduling method according to an embodiment of the present invention;
FIG. 5 is a sub-flowchart of a production scheduling method according to an embodiment of the present invention;
FIG. 6 is a sub-flowchart of a production scheduling method according to an embodiment of the present invention;
FIG. 7 is a sub-flowchart of a production scheduling method according to an embodiment of the present invention;
FIG. 8 is a sub-flowchart of a production scheduling method according to an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a production scheduling apparatus according to an embodiment of the present invention;
fig. 10 is a schematic block diagram of a first gantt chart generating unit of the production scheduling apparatus according to an embodiment of the present invention;
fig. 11 is a schematic block diagram of a second gantt chart generating unit of the production scheduling apparatus according to the embodiment of the present invention;
FIG. 12 is a schematic block diagram of a modification subunit of the production scheduling apparatus according to an embodiment of the present invention;
FIG. 13 is a schematic block diagram of a first insert module of the production scheduling apparatus according to an embodiment of the present invention;
FIG. 14 is a block diagram illustrating a second insert module of the production scheduling apparatus according to an embodiment of the present invention;
FIG. 15 is a block diagram illustrating a third module of a production scheduling apparatus according to an embodiment of the present invention;
FIG. 16 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a production scheduling method according to an embodiment of the present invention. Fig. 2 is a schematic flow chart of a production scheduling method according to an embodiment of the present invention. The production schedule is suitable for a first terminal, the first terminal and a second terminal carry out data interaction, order information is continuously obtained through the second terminal, a corresponding list is generated, a first Gantt chart is generated, color blocks corresponding to all links of the production schedule can be adjusted at any time when new order information exists, the production schedule is displayed by adopting the Gantt chart, and the production schedule is more visual and is convenient to modify.
Fig. 2 is a flowchart illustrating a production scheduling method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S180.
And S110, obtaining order information, a production process and a bill of materials to obtain initial data.
In this embodiment, the initial data includes order information, production process, and bill of materials, and the order information includes materials related to the order, information of persons placing the order, and the like.
S120, screening and sequencing the initial data to generate a first production list.
In this embodiment, the first production list includes orders to be scheduled for production, and the orders include colors of dyed cloths, states of finished, in-production, planned production, and production order.
And S130, generating a Gantt chart according to the first production list to obtain a first Gantt chart.
In this embodiment, the first gantt chart includes a plurality of color blocks, the color blocks have three colors, one represents that the production is finished, one represents that the production is planned, and the color in front of the color block represents the color of the dyed cloth; the color blocks form a first Gantt chart, and the content of the production schedule is visually displayed.
In an embodiment, referring to fig. 3, the step S130 may include steps S131 to S132.
S131, determining a related color block in the first production list;
s132, according to the production scheduling sequence of the first production list, dragging and stretching the color blocks into the corresponding Gantt charts in sequence to form a first Gantt chart.
In this embodiment, in the dragging and stretching process, a person can directly drag the corresponding color block to a designated position, which is convenient and intuitive.
Specifically, the dragging may include a common dragging component, and the common dragging component may drag the color block to any position of the browser; locking the draggable range of the color block, and only allowing the color block to be dragged in the browser visual window; the draggable range can be self-defined; the component can also be used for horizontal locking, and only allows the color block to drag vertically; vertical dragging, only allowing the color block to horizontally drag; and at the locking position, the color block cannot be dragged.
When the color block is stretched, the stretching assembly can be adopted, and when the color block is stretched/shortened, the positions of all color blocks behind the color block can move along with the stretching assembly.
S140, judging whether new order information exists currently.
In this embodiment, it is determined whether the first terminal currently receives new order information transmitted by the second terminal, where the order information includes order information of a schedule to be produced and order information that needs to be added to the first production list.
S150, if no new order information exists at present, displaying the first Gantt chart;
and S160, if new order information exists currently, generating a second production list according to the new order information and the initial data.
And generating a second production list in a mode consistent with the generation mode of the first production list, wherein the second production list comprises new orders to be subjected to production scheduling.
S170, modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart.
And determining color blocks needing to be adjusted according to the second production list and the first production list, wherein the color blocks comprise added or positioned adjusted color blocks so as to modify the first Gantt chart.
In an embodiment, referring to fig. 4, the step S170 may include steps S171 to S173.
S171, determining color blocks to be added according to the second production list and the first production list to obtain the color blocks to be added.
In this embodiment, the color blocks to be added refer to the color blocks of the dyed cloth that need to be added.
And S172, determining color blocks in the first Gantt chart and an adjusting scheme of the color blocks to be added according to the second production list and the first production list.
In this embodiment, the adjustment scheme refers to an adjustment manner of each color block to be added and the color block in the first gantt chart, and the adjustment manner includes inserting a specific position, inserting the specific position into the first position of the whole row, or inserting the specific position into the back of a specified color block.
And S173, modifying the first Gantt chart according to the adjusting scheme to obtain a second Gantt chart.
In one embodiment, referring to fig. 5, the step S173 may include steps S173 a-S173 j.
S173a, determining the color blocks involved in the adjustment scheme to obtain the color blocks currently in the dragging state.
In this embodiment, the color blocks involved in the adjustment scheme are sequentially determined, and the subsequent steps S173 b-S173 j are sequentially performed.
S173b, determining the adjustment mode of the color block in the dragging state in the adjustment scheme;
s173c, judging whether the adjusting mode is inserted behind the designated color block;
s173d, if the adjustment mode is to insert the color block in the dragging state to the back of the designated color block, inserting the color block in the dragging state to the back of the designated color block.
In one embodiment, referring to fig. 6, the step S173d may include steps S173d 1-S173 d 6.
S173d1, judging whether the center line of the color block currently in the dragging state is in the range of the row of the specified color block.
In this embodiment, when determining which line the center line of the color block currently in the dragging state is in, the position of the line is determined by calculating the distance from the upper edge of the line to the browser, the distance from the lower edge of the line to the browser, the distance from the center line of the color block currently in the dragging state to the browser, and the distance from the upper edge of the line to the browser < the distance from the center line of the color block currently in the dragging state to the browser < and the distance from the lower edge of the line to the browser, so as to determine whether the color block is in the range of the specified line. And the distance from the center line of the color block currently in the dragging state to the browser is equal to half of the sum of the distance from the upper edge of the color block currently in the dragging state to the browser and the distance from the lower edge of the color block currently in the dragging state to the browser.
S173d2, if the center line of the color block currently in the dragging state is not in the range of the row of the designated color block, continuing to drag the color block currently in the dragging state, and executing the step S173d 1;
s173d3, if the center line of the color block currently in the dragging state is in the range of the row of the specified color block, determining whether the leftmost side of the color block currently in the dragging state is in the range related by the specified color block.
In this embodiment, when the leftmost of the currently dragged color block is determined to be within the range of the color block, the position of the color block is determined by calculating the distance from the left boundary of the color block to the browser, the distance from the right boundary of the color block to the browser, the distance from the left boundary of the color block to the browser, and the distance from the left boundary of the color block to the browser < the distance from the center line of the color block currently in the dragged state to the browser < and the distance from the right boundary of the row to the browser, so as to determine whether the color block is within the range of the specified color block.
S173d4, if the leftmost of the currently dragged color block is not within the range of the designated color block, dragging the currently dragged color block within the range of the row of the designated color block, and executing the step S173d 3;
s173d5, if the leftmost of the currently dragged tile is within the range related to the designated tile, generating a virtual placeholder behind the designated tile, and moving all tiles behind the virtual placeholder by a width distance of the virtual placeholder;
s173d6, inserting the color block currently in the dragging state into the virtual placeholder.
In this embodiment, the virtual placeholder refers to a virtual dom (ndom) placeholder. And generating a virtual dom (nDom) space occupation behind the specified color block, and moving all elements behind the nDom backwards by the distance of nDom width.
S173e, judging whether the first Gantt chart is modified;
s173f, if the first gantt chart is not modified, determining the next color block involved in the adjustment scheme to obtain the color block currently in the dragging state, and executing the step S173 b;
s173g, if the first gantt chart is modified, using the modified first gantt chart as a second gantt chart.
S173h, if the adjusting mode is not inserted into the back of the designated color block, judging whether the adjusting mode is inserted into the foremost position of all the color blocks;
s173i, if the adjustment mode is to insert the position of the top of all the tiles, the tile currently in the dragging state is inserted into the position of the top of all the tiles, and the step S173e is executed.
In one embodiment, referring to fig. 7, the step S173i may include steps S173i 1-S173 i 6. S173i1, judging whether the center line of the color block currently in the dragging state is in the range of the specified row;
s173i2, if the center line of the color block currently in the dragging state is not in the range of the designated row, continuing to drag the color block currently in the dragging state, and executing the S173i 1;
s173i3, if the center line of the color block currently in the dragging state is in the range of the specified row, judging whether the leftmost side of the color block currently in the dragging state is in front of the first color block in the specified row;
s173i4, if the leftmost of the color block currently in the dragging state is not in the front of the first color block in the specified row, dragging the color block currently in the dragging state within the range of the specified row, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in the front of the first color block in the specified row;
s173i5, if the leftmost of the currently dragged color block is in front of the first color block in the designated row, generating a virtual space occupation in front of the first color block in the designated row, and moving all color blocks behind the virtual space occupation by a width distance of the virtual space occupation;
and S173i6, inserting the color block which is in the dragging state at present on the virtual occupation.
S173j, if the adjustment method is not to be inserted into the foremost position of all the tiles, inserting the tile currently in the dragging state into the specific position, and executing the step S173 e.
In one embodiment, referring to fig. 8, the step S173j includes steps S173j 1-S173 j 3.
S173j1, judging whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position;
s173j2, if the center line of the color block currently in the dragging state is not in the range of the row corresponding to the specific position, continuing to drag the color block currently in the dragging state, and executing the S173j 1;
s173j3, if the center line of the currently dragged color block is within the range of the row corresponding to the specific position, inserting the currently dragged color block behind the timeline corresponding to the specific position.
Judging whether the center line of the color block currently in the dragging state is in a certain row range, if so, inserting the color block currently in the dragging state into the back of a time line, generating a virtual dom (nCDom) position occupation behind the row, and directly inserting the color block.
When the mouse is pressed down, generating a virtual dom (oDom) space occupation at the original color block position; when the mouse moves, there are three conditions in total, namely the three adjustment modes; when the mouse is lifted, the position attribute of nDom, nFDom or nCDom is assigned to the current color block in the dragging state, the occupation of nDom is removed, and all elements behind nDom are moved forward by the distance of nDom width.
And S180, displaying the second Gantt chart.
In this embodiment, the second gantt chart is displayed on the first terminal and the second terminal, respectively, so that both the scheduler and the producer can visually check the production scheduling content.
According to the production scheduling method, the content of the production scheduling is presented in a Gantt chart mode, and when new order information exists, the color blocks related to the dragging and stretching can be adopted in various adjusting modes so as to quickly adjust the Gantt chart, so that the color blocks corresponding to all links of the production scheduling can be adjusted at any time, and the method is more visual and convenient to modify.
Fig. 9 is a schematic block diagram of a production scheduling apparatus 300 according to an embodiment of the present invention. As shown in fig. 9, the present invention further provides a production scheduling apparatus 300 corresponding to the production scheduling method. The production scheduling apparatus 300 includes a unit for executing the production scheduling method, and the apparatus may be configured in a desktop computer, a tablet computer, a portable computer, or other terminals. Specifically, referring to fig. 9, the production scheduling apparatus 300 includes an initial data obtaining unit 301, a first list forming unit 302, a first gantt chart generating unit 303, a determining unit 304, a first display unit 305, a second production list forming unit 306, a second gantt chart generating unit 307 and a second display unit 308.
An initial data obtaining unit 301, configured to obtain order information, a production process, and a bill of materials to obtain initial data; a first list forming unit 302, configured to filter and sort the initial data, and generate a first production list; a first gantt chart generating unit 303, configured to generate a gantt chart according to the first production list to obtain a first gantt chart; a judging unit 304, configured to judge whether there is new order information currently; a first display unit 305, configured to display the first gantt chart if there is no new order information currently; a second production list forming unit 306, configured to generate a second production list according to the new order information and the initial data if the new order information exists currently; a second gantt chart generating unit 307, configured to modify the first gantt chart according to the second production list and the first production list to generate a second gantt chart; a second display unit 308, configured to display the second gantt chart.
In one embodiment, as shown in fig. 10, the first gantt chart generating unit 303 includes a related color block determining subunit 3031 and a processing subunit 3032.
A related color block determining subunit 3031, configured to determine related color blocks in the first production list; the processing subunit 3032 is configured to drag and stretch the color patches into the corresponding gantt chart in order according to the production scheduling order of the first production list to form a first gantt chart. .
In an embodiment, as shown in fig. 11, the second gantt chart generating unit 307 includes a to-be-added color patch determining subunit 3071, a scheme determining subunit 3072, and a modifying subunit 3073.
The to-be-added color block determining subunit 3071 is configured to determine a color block to be added according to the second production list and the first production list, so as to obtain the color block to be added; a scheme determining subunit 3072, configured to determine color blocks in the first gantt chart and an adjustment scheme to be added with the color blocks according to the second production list and the first production list; a modifying subunit 3073, configured to modify the first gantt chart according to the adjustment scheme to obtain a second gantt chart.
In an embodiment, as shown in fig. 12, the modifying sub-unit 3073 includes a color lump determining module 30731, a manner determining module 30732, a first judging module 30733, a first inserting module 30734, a modifying judging module 30735, a next color lump determining module 30736, a gantt chart determining module 30737, a second judging module 30738, a second inserting module 30739, and a third inserting module 30710.
The color block determination module 30731 is used for determining the color blocks involved in the adjustment scheme to obtain the color blocks currently in the dragging state; the mode determining module 30732, configured to determine an adjustment mode of the color block currently in the dragging state in the adjustment scheme; the first judging module 30733, configured to judge whether the adjustment mode is inserted behind the specified color block; a first inserting module 30734, configured to insert the currently dragged tile behind the specified tile if the adjustment manner is to insert the tile behind the specified tile; a modification judgment module 30735, configured to judge whether the first gantt chart is modified; a next color block determining module 30736, configured to determine, if the first gantt chart is not modified, a next color block involved in the adjustment scheme to obtain a color block currently in a dragging state, and execute an adjustment manner of the color block currently in the dragging state in the adjustment scheme; a gantt chart determining module 30737, configured to, if the first gantt chart is modified, take the modified first gantt chart as a second gantt chart; a second determining module 30738, configured to determine whether the adjustment mode is inserted into the foremost position of all color patches if the adjustment mode is not inserted into the back of the specified color patch; the second inserting module 30739, configured to insert the currently dragged color block into the foremost positions of all color blocks if the adjustment manner is to insert the color block into the foremost positions of all color blocks, and perform the determining whether the first gantt chart is modified; the third inserting module 30710 is configured to insert the currently dragged tile into a specific position if the adjustment manner is not the foremost position of all tiles, and perform the determining whether the first gantt chart is modified.
In one embodiment, as shown in fig. 13, the first insertion module 30734 includes a row determination submodule 307341, a first dragging submodule 307342, a designated block determination submodule 307343, a second dragging submodule 307344, a first occupancy setting submodule 307345, and a first adding submodule 307346.
The line-in-place judging submodule 307341 is used for judging whether the center line of the color block currently in the dragging state is in the range of the line in which the specified color block is located; the first dragging submodule 307342 is configured to, if the center line of the currently dragged color block is not in the range of the row where the specified color block is located, continue to drag the currently dragged color block, and perform the above-mentioned determination of whether the center line of the currently dragged color block is in the range of the row where the specified color block is located; the specified block judgment sub-module 307343 is configured to, if the center line of the currently dragged color block is within the range of the row of the specified color block, judge whether the leftmost side of the currently dragged color block is within the range related to the specified color block; the second dragging submodule 307344 is configured to, if the leftmost of the currently dragged color block is not within the range referred to by the specified color block, drag the currently dragged color block within the range of the row in which the specified color block is located, and perform the above-mentioned determination of whether the leftmost of the currently dragged color block is within the range referred to by the specified color block; the first occupancy setting submodule 307345 is configured to generate a virtual occupancy behind a specified color block and move all color blocks behind the virtual occupancy by a width distance of the virtual occupancy if the leftmost side of the color block currently in the dragged state is within a range related to the specified color block; a first adding submodule 307346, configured to insert the color patch currently in the dragging state on the virtual placeholder.
In an embodiment, as shown in fig. 14, the second insertion module 30739 includes a designated row determination submodule 307391, a third dragging submodule 307392, a first color patch determination submodule 307393, a fourth dragging submodule 307394, a second occupancy generation submodule 307395, and a second adding submodule 307396.
The specified row judgment submodule 307391 is used for judging whether the center line of the color block currently in the dragging state is in the range of the specified row; the third dragging submodule 307392 is configured to, if the center line of the color block currently in the dragging state is not in the range of the specified row, continue to drag the color block currently in the dragging state, and perform the above-mentioned determination of whether the center line of the color block currently in the dragging state is in the range of the specified row; the first color block judgment sub-module 307393 is configured to, if the center line of the color block currently in the dragging state is within the range of the specified row, judge whether the leftmost color block of the color block currently in the dragging state is in front of the first color block in the specified row; a fourth dragging sub-module 307394, configured to, if the leftmost of the currently dragged color block is not in front of the first color block in the designated row, drag the currently dragged color block in the range of the designated row, and perform the above determining whether the leftmost of the currently dragged color block is in front of the first color block in the designated row; a second occupancy generation submodule 307395, configured to generate a virtual occupancy in front of the first color block in the specified row if the leftmost color block of the color block currently in the dragging state is in front of the first color block in the specified row, and move all color blocks behind the virtual occupancy by a width distance of the virtual occupancy; a second adding submodule 307396, configured to insert the color patch currently in the dragging state on the virtual placeholder.
In one embodiment, as shown in FIG. 15, the third insertion module 307310 includes a specific position determination submodule 3073101, a fifth drag submodule 3073102, and an add submodule 3073103.
The specific position judgment sub-module 3073101 is used for judging whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position; the fifth dragging submodule 3073102 is configured to, if the center line of the color block currently in the dragging state is not in the range of the row corresponding to the specific position, continue to drag the color block currently in the dragging state, and perform the above-mentioned determination of whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position; the add sub-module 3073103 is configured to insert the currently dragged color block behind the timeline corresponding to the specific position if the center line of the currently dragged color block is within the range of the row corresponding to the specific position.
It should be noted that, as can be clearly understood by those skilled in the art, the detailed implementation process of the production scheduling apparatus 300 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The production scheduling apparatus 300 may be implemented as a computer program, which can run on a computer device shown in fig. 16.
Referring to fig. 16, fig. 16 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal, wherein the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
Referring to fig. 16, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a production scheduling method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can execute a production scheduling method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 16 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application is applied, and that a particular computer device 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
acquiring order information, a production process and a bill of materials to obtain initial data; screening and sequencing the initial data to generate a first production list; generating a Gantt chart according to the first production list to obtain a first Gantt chart; judging whether new order information exists at present; if new order information exists currently, generating a second production list according to the new order information and the initial data; modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart; and displaying the second Gantt chart.
In an embodiment, when implementing the step of generating the gantt chart according to the first production list to obtain the first gantt chart, the processor 502 specifically implements the following steps:
determining relevant color blocks in the first production list; and dragging and stretching the color blocks into the corresponding Gantt charts in sequence according to the production scheduling sequence of the first production list to form a first Gantt chart.
In an embodiment, when the processor 502 modifies the first gantt chart according to the second production list and the first production list to generate the second gantt chart, the following steps are specifically implemented:
determining color blocks to be added according to the second production list and the first production list so as to obtain color blocks to be added; determining color blocks in a first Gantt chart and an adjusting scheme of color blocks to be added according to the second production list and the first production list; and modifying the first Gantt chart according to the adjusting scheme to obtain a second Gantt chart.
In an embodiment, when the processor 502 implements the step of modifying the first gantt chart according to the adjustment scheme to obtain the second gantt chart, the following steps are specifically implemented:
determining color blocks related in the adjustment scheme to obtain the color blocks currently in a dragging state; determining the adjustment mode of the color block in the current dragging state in the adjustment scheme; judging whether the adjusting mode is inserted into the back of the appointed color block; if the adjustment mode is to insert the color block in the dragging state behind the designated color block, inserting the color block in the dragging state behind the designated color block; judging whether the first Gantt chart is modified; if the first Gantt chart is not modified, determining a next color block related in an adjustment scheme to obtain a color block currently in a dragging state, and executing an adjustment mode of the color block currently in the dragging state in the adjustment scheme; if the first Gantt chart is modified, taking the modified first Gantt chart as a second Gantt chart; if the adjusting mode is not inserted into the back of the specified color block, judging whether the adjusting mode is inserted into the foremost position of all the color blocks; if the adjustment mode is to insert the color blocks in the dragging state into the foremost positions of all the color blocks, and executing the judgment to judge whether the first Gantt chart is modified; and if the adjustment mode is not inserted into the foremost position of all the color blocks, inserting the color block currently in the dragging state into a specific position, and executing the judgment to judge whether the first Gantt chart is modified.
In an embodiment, when implementing the subsequent step of inserting the currently dragged tile into the designated tile, the processor 502 specifically implements the following steps:
judging whether the center line of the color block in the current dragging state is in the range of the row of the specified color block; if the center line of the color block currently in the dragging state is not in the range of the row where the specified color block is located, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row where the specified color block is located; if the center line of the color block currently in the dragging state is in the range of the row of the specified color block, judging whether the leftmost side of the color block currently in the dragging state is in the range related to the specified color block; if the leftmost of the color block currently in the dragging state is not in the range related to the specified color block, dragging the color block currently in the dragging state in the range of the row of the specified color block, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in the range related to the specified color block; if the leftmost side of the color block in the dragging state is in the range related to the designated color block, generating a virtual occupation behind the designated color block, and moving all the color blocks behind the virtual occupation by the width distance of the virtual occupation; and inserting the color block which is in the dragging state on the virtual occupation.
In an embodiment, when implementing the step of inserting the currently dragged tile into the foremost position of all tiles, the processor 502 specifically implements the following steps:
judging whether the center line of the color block in the dragging state is in the range of the specified row or not; if the center line of the color block currently in the dragging state is not in the range of the designated row, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the designated row; if the center line of the color block currently in the dragging state is in the range of the designated row, judging whether the leftmost side of the color block currently in the dragging state is in front of the first color block in the designated row; if the leftmost of the color block currently in the dragging state is not in front of the first color block in the specified row, dragging the color block currently in the dragging state within the range of the specified row, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in front of the first color block in the specified row or not; if the leftmost side of the color block in the dragging state is in front of the first color block in the designated row, generating a virtual occupation in front of the first color block in the designated row, and moving all the color blocks behind the virtual occupation by a width distance of the virtual occupation; and inserting the color block which is in the dragging state on the virtual occupation.
In an embodiment, when the step of inserting the currently dragged color block into the specific position is implemented by the processor 502, the following steps are implemented:
judging whether the center line of the color block in the dragging state is in the range of the row corresponding to the specific position or not; if the center line of the color block currently in the dragging state is not in the range of the row corresponding to the specific position, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position; and if the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position, inserting the color block currently in the dragging state behind the timeline corresponding to the specific position.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
acquiring order information, a production process and a bill of materials to obtain initial data; screening and sequencing the initial data to generate a first production list; generating a Gantt chart according to the first production list to obtain a first Gantt chart; judging whether new order information exists at present; if new order information exists currently, generating a second production list according to the new order information and the initial data; modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart; and displaying the second Gantt chart.
In an embodiment, when the processor executes the computer program to implement the step of generating the gantt chart according to the first production list to obtain a first gantt chart, the following steps are specifically implemented:
determining relevant color blocks in the first production list; and dragging and stretching the color blocks into the corresponding Gantt charts in sequence according to the production scheduling sequence of the first production list to form a first Gantt chart.
In an embodiment, when the processor executes the computer program to modify the first gantt chart according to the second production list and the first production list to generate a second gantt chart, the processor specifically implements the following steps:
determining color blocks to be added according to the second production list and the first production list so as to obtain color blocks to be added; determining color blocks in a first Gantt chart and an adjusting scheme of color blocks to be added according to the second production list and the first production list; and modifying the first Gantt chart according to the adjusting scheme to obtain a second Gantt chart.
In an embodiment, when the processor executes the computer program to modify the first gantt chart according to the adjustment scheme to obtain a second gantt chart, the processor specifically implements the following steps:
determining color blocks related in the adjustment scheme to obtain the color blocks currently in a dragging state; determining the adjustment mode of the color block in the current dragging state in the adjustment scheme; judging whether the adjusting mode is inserted into the back of the appointed color block; if the adjustment mode is to insert the color block in the dragging state behind the designated color block, inserting the color block in the dragging state behind the designated color block; judging whether the first Gantt chart is modified; if the first Gantt chart is not modified, determining a next color block related in an adjustment scheme to obtain a color block currently in a dragging state, and executing an adjustment mode of the color block currently in the dragging state in the adjustment scheme; if the first Gantt chart is modified, taking the modified first Gantt chart as a second Gantt chart; if the adjusting mode is not inserted into the back of the specified color block, judging whether the adjusting mode is inserted into the foremost position of all the color blocks; if the adjustment mode is to insert the color blocks in the dragging state into the foremost positions of all the color blocks, and executing the judgment to judge whether the first Gantt chart is modified; and if the adjustment mode is not inserted into the foremost position of all the color blocks, inserting the color block currently in the dragging state into a specific position, and executing the judgment to judge whether the first Gantt chart is modified.
In an embodiment, when the processor executes the computer program to implement the step of inserting the currently dragged color block into the next designated color block, the following steps are specifically implemented:
judging whether the center line of the color block in the current dragging state is in the range of the row of the specified color block; if the center line of the color block currently in the dragging state is not in the range of the row where the specified color block is located, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row where the specified color block is located; if the center line of the color block currently in the dragging state is in the range of the row of the specified color block, judging whether the leftmost side of the color block currently in the dragging state is in the range related to the specified color block; if the leftmost of the color block currently in the dragging state is not in the range related to the specified color block, dragging the color block currently in the dragging state in the range of the row of the specified color block, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in the range related to the specified color block; if the leftmost side of the color block in the dragging state is in the range related to the designated color block, generating a virtual occupation behind the designated color block, and moving all the color blocks behind the virtual occupation by the width distance of the virtual occupation; and inserting the color block which is in the dragging state on the virtual occupation.
In an embodiment, when the processor executes the computer program to implement the step of inserting the currently dragged tile into the foremost position of all tiles, the following steps are specifically implemented:
judging whether the center line of the color block in the dragging state is in the range of the specified row or not; if the center line of the color block currently in the dragging state is not in the range of the designated row, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the designated row; if the center line of the color block currently in the dragging state is in the range of the designated row, judging whether the leftmost side of the color block currently in the dragging state is in front of the first color block in the designated row; if the leftmost of the color block currently in the dragging state is not in front of the first color block in the specified row, dragging the color block currently in the dragging state within the range of the specified row, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in front of the first color block in the specified row or not; if the leftmost side of the color block in the dragging state is in front of the first color block in the designated row, generating a virtual occupation in front of the first color block in the designated row, and moving all the color blocks behind the virtual occupation by a width distance of the virtual occupation; and inserting the color block which is in the dragging state on the virtual occupation.
In an embodiment, when the processor executes the computer program to implement the step of inserting the color block currently in the dragging state into the specific position, the following steps are specifically implemented:
judging whether the center line of the color block in the dragging state is in the range of the row corresponding to the specific position or not; if the center line of the color block currently in the dragging state is not in the range of the row corresponding to the specific position, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position; and if the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position, inserting the color block currently in the dragging state behind the timeline corresponding to the specific position.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The production scheduling method is characterized by comprising the following steps:
acquiring order information, a production process and a bill of materials to obtain initial data;
screening and sequencing the initial data to generate a first production list;
generating a Gantt chart according to the first production list to obtain a first Gantt chart;
judging whether new order information exists at present;
if new order information exists currently, generating a second production list according to the new order information and the initial data;
modifying the first Gantt chart according to the second production list and the first production list to generate a second Gantt chart;
and displaying the second Gantt chart.
2. The method for production scheduling as claimed in claim 1, wherein the generating a gantt chart according to the first production list to obtain a first gantt chart comprises:
determining relevant color blocks in the first production list;
and dragging and stretching the color blocks into the corresponding Gantt charts in sequence according to the production scheduling sequence of the first production list to form a first Gantt chart.
3. The method for production scheduling of claim 1 wherein said modifying the first gantt chart to generate a second gantt chart based on the second production list and the first production list comprises:
determining color blocks to be added according to the second production list and the first production list so as to obtain color blocks to be added;
determining color blocks in a first Gantt chart and an adjusting scheme of color blocks to be added according to the second production list and the first production list;
and modifying the first Gantt chart according to the adjusting scheme to obtain a second Gantt chart.
4. The production scheduling method of claim 3, wherein the modifying the first Gantt chart according to the adjustment scheme to obtain a second Gantt chart comprises:
determining color blocks related in the adjustment scheme to obtain the color blocks currently in a dragging state;
determining the adjustment mode of the color block in the current dragging state in the adjustment scheme;
judging whether the adjusting mode is inserted into the back of the appointed color block;
if the adjustment mode is to insert the color block in the dragging state behind the designated color block, inserting the color block in the dragging state behind the designated color block;
judging whether the first Gantt chart is modified;
if the first Gantt chart is not modified, determining a next color block related in an adjustment scheme to obtain a color block currently in a dragging state, and executing an adjustment mode of the color block currently in the dragging state in the adjustment scheme;
if the first Gantt chart is modified, taking the modified first Gantt chart as a second Gantt chart;
if the adjusting mode is not inserted into the back of the specified color block, judging whether the adjusting mode is inserted into the foremost position of all the color blocks;
if the adjustment mode is to insert the color blocks in the dragging state into the foremost positions of all the color blocks, and executing the judgment to judge whether the first Gantt chart is modified;
and if the adjustment mode is not inserted into the foremost position of all the color blocks, inserting the color block currently in the dragging state into a specific position, and executing the judgment to judge whether the first Gantt chart is modified.
5. The production scheduling method of claim 4, wherein the inserting the currently dragged tile behind the specified tile comprises:
judging whether the center line of the color block in the current dragging state is in the range of the row of the specified color block;
if the center line of the color block currently in the dragging state is not in the range of the row where the specified color block is located, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row where the specified color block is located;
if the center line of the color block currently in the dragging state is in the range of the row of the specified color block, judging whether the leftmost side of the color block currently in the dragging state is in the range related to the specified color block;
if the leftmost of the color block currently in the dragging state is not in the range related to the specified color block, dragging the color block currently in the dragging state in the range of the row of the specified color block, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in the range related to the specified color block;
if the leftmost side of the color block in the dragging state is in the range related to the designated color block, generating a virtual occupation behind the designated color block, and moving all the color blocks behind the virtual occupation by the width distance of the virtual occupation;
and inserting the color block which is in the dragging state on the virtual occupation.
6. The method for production scheduling of claim 4, wherein the inserting the currently dragged tile into the foremost position of all tiles comprises:
judging whether the center line of the color block in the dragging state is in the range of the specified row or not;
if the center line of the color block currently in the dragging state is not in the range of the designated row, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the designated row;
if the center line of the color block currently in the dragging state is in the range of the designated row, judging whether the leftmost side of the color block currently in the dragging state is in front of the first color block in the designated row;
if the leftmost of the color block currently in the dragging state is not in front of the first color block in the specified row, dragging the color block currently in the dragging state within the range of the specified row, and executing the judgment to judge whether the leftmost of the color block currently in the dragging state is in front of the first color block in the specified row or not;
if the leftmost side of the color block in the dragging state is in front of the first color block in the designated row, generating a virtual occupation in front of the first color block in the designated row, and moving all the color blocks behind the virtual occupation by a width distance of the virtual occupation;
and inserting the color block which is in the dragging state on the virtual occupation.
7. The method for production scheduling of claim 4 wherein the inserting the currently dragged patch into a specific position comprises:
judging whether the center line of the color block in the dragging state is in the range of the row corresponding to the specific position or not;
if the center line of the color block currently in the dragging state is not in the range of the row corresponding to the specific position, continuing to drag the color block currently in the dragging state, and executing the judgment to judge whether the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position;
and if the center line of the color block currently in the dragging state is in the range of the row corresponding to the specific position, inserting the color block currently in the dragging state behind the timeline corresponding to the specific position.
8. Production scheduling device, its characterized in that includes:
the system comprises an initial data acquisition unit, a data processing unit and a data processing unit, wherein the initial data acquisition unit is used for acquiring order information, a production process and a bill of materials to obtain initial data;
the first list forming unit is used for screening and sequencing the initial data to generate a first production list;
the first Gantt chart generating unit is used for generating a Gantt chart according to the first production list so as to obtain a first Gantt chart;
the judging unit is used for judging whether new order information exists at present;
the second production list forming unit is used for generating a second production list according to the new order information and the initial data if the new order information exists currently;
the second Gantt chart generating unit is used for modifying the first Gantt chart according to the second production list and the first production list so as to generate a second Gantt chart;
and the second display unit is used for displaying the second Gantt chart.
9. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1 to 7.
10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202111310067.1A 2021-11-01 2021-11-01 Production scheduling method and device, computer equipment and storage medium Pending CN114037261A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202111310067.1A CN114037261A (en) 2021-11-01 2021-11-01 Production scheduling method and device, computer equipment and storage medium
CN202210132756.6A CN114219372B (en) 2021-11-01 2022-02-14 Gantt chart processing method, device, computer equipment and storage medium
CN202210357531.0A CN114925966B (en) 2021-11-01 2022-04-02 Production scheduling method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111310067.1A CN114037261A (en) 2021-11-01 2021-11-01 Production scheduling method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114037261A true CN114037261A (en) 2022-02-11

Family

ID=80136572

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202111310067.1A Pending CN114037261A (en) 2021-11-01 2021-11-01 Production scheduling method and device, computer equipment and storage medium
CN202210132756.6A Active CN114219372B (en) 2021-11-01 2022-02-14 Gantt chart processing method, device, computer equipment and storage medium
CN202210357531.0A Active CN114925966B (en) 2021-11-01 2022-04-02 Production scheduling method, device, computer equipment and storage medium

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN202210132756.6A Active CN114219372B (en) 2021-11-01 2022-02-14 Gantt chart processing method, device, computer equipment and storage medium
CN202210357531.0A Active CN114925966B (en) 2021-11-01 2022-04-02 Production scheduling method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (3) CN114037261A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116300730B (en) * 2023-02-24 2025-08-22 华中科技大学 A method and system for generating workshop scheduling scheme based on local search
CN118778869B (en) * 2024-09-11 2024-12-27 杭州面朝信息科技有限公司 Gantt chart calendar dragging method, device, storage medium and electronic device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000020048A (en) * 1998-07-07 2000-01-21 Hitachi Ltd Scheduling Gantt Chart Screen Creation System
JP2002251507A (en) * 2001-02-23 2002-09-06 Nec Corp Method and device for control and regulation of schedule by gantt chart, and program for control and regulation of schedule
US7050056B2 (en) * 2002-12-20 2006-05-23 Sap Aktiengesellschaft Interactive and web-based Gantt Chart
US8291331B2 (en) * 2008-06-27 2012-10-16 Microsoft Corporation Partial updating of diagram display
CN106897832B (en) * 2017-02-24 2021-03-09 西门子传感器与通讯有限公司 Production scheduling method and production scheduling system of production line
CN112207815B (en) * 2020-08-21 2022-04-12 北京卫星制造厂有限公司 Multi-machine multi-process space-time collaborative planning method and system
CN112766919A (en) * 2021-01-27 2021-05-07 意潜建筑科技(上海)有限公司 Project management method for deep editing based on Gantt chart
CN113344338B (en) * 2021-05-14 2024-03-29 悠桦林信息科技(上海)有限公司 Production scheduling method, system, equipment, medium and production scheduling management platform
CN113329212A (en) * 2021-07-21 2021-08-31 佛山技研智联科技有限公司 System supporting multi-machine monitoring and monitoring method thereof

Also Published As

Publication number Publication date
CN114219372A (en) 2022-03-22
CN114925966A (en) 2022-08-19
CN114219372B (en) 2022-10-18
CN114925966B (en) 2024-12-17

Similar Documents

Publication Publication Date Title
US20190251708A1 (en) Rendering Semi-Transparent User Interface Elements
CN114925966B (en) Production scheduling method, device, computer equipment and storage medium
TW201030679A (en) Image segmentation
CN114118960B (en) Intelligent recommendation method and intelligent recommendation device for project management task
KR20160025519A (en) Selecting and editing visual elements with attribute groups
US8947434B2 (en) Process for determining, scaling, providing, comparative information in accurate, useful, easily recognized, and understandable manner
CN111752665A (en) Flow generation method and device for RPA flow generation end and storage medium
CN114169031A (en) A CAD-based model consistency automatic comparison method and system
CN114298925B (en) Picture text fidelity editing method and device and computer readable storage medium
CN107203312A (en) Rendering intent, the storage device of mobile terminal and its picture
CN105824863A (en) Desktop theme recommending method and terminal
CN111462278B (en) Depth-based material sequencing rendering method, medium, equipment and device
CN108280865A (en) Color matching method, system, storage medium and computer equipment
KR102566133B1 (en) Product upcycling system and method therefor
CN110174984B (en) Information processing method and electronic equipment
CN111787240B (en) Video generation method, apparatus and computer readable storage medium
JP6052277B2 (en) Color arrangement determination device, color arrangement determination method, and color arrangement determination program
CN106843713B (en) Method and device for displaying virtual keys
CN106558019B (en) Picture arrangement method and device
CN108156504B (en) Video display method and device
CN116524844B (en) Display screen brightness adjusting method and device, computer equipment and storage medium
CN118152053A (en) Flow node layout method and device for canvas, storage medium and terminal
CN108388395B (en) Image clipping method and device and terminal
CN113610601B (en) Method, device, electronic equipment and storage medium for updating commodity detail page content
JP5985080B2 (en) Graph generation device, graph display device, graph generation program, and graph display program

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220211

WD01 Invention patent application deemed withdrawn after publication