Material scheduling method and device based on large storage tank area and electronic equipment
By determining the order of the target workshop and adjusting the location of the requested workshop in the material scheduling system of the large storage tank area, the problem of inefficiency when multiple workshops request the same material at the same time is solved, and priority processing is achieved in emergencies, improving the efficiency and safety of scheduling control.
Patent Information
- Application Number
- CN202311743700.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2025-06-20
AI Technical Summary
When multiple workshops request the same material at the same time, the prior art cannot maximize the efficiency of feeding and cannot intervene in an emergency to achieve priority processing.
By determining the maximum number of current material objects and the workshops that allow simultaneous material production, setting the number of target workshops that simultaneous material production, and sorting them in the order of initialized target workshops, an array recording the order of target workshops is generated. Receive the workshop's material processing request, adjust the request workshop to the target position, and mark the status as requested. When the data-pitch request is met, the queue is updated and manual intervention is allowed to be intervened in the queue order.
It realizes flexible management and scheduling of large-scale material storage tank areas, supports multiple workshops to simultaneously draw materials, improves material delivery efficiency, can manually interfere with the queue sequence in emergencies, achieve priority processing, and pay attention to the feed queue situation in real time through status identification to reduce monitoring burden.
Smart Images

Figure CN120178797A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of process industry, and particularly to a material scheduling method, device and electronic equipment based on a large storage tank area. Background Art
[0002] In large multi-workshop factories in the fine chemical and pharmaceutical industries, a "material center" is often established to manage the incoming and outgoing of production raw materials. The liquid material storage tank area is the largest raw material storage place in the "material center" and is also the main source of raw materials for workshop production. When the workshop produces, it will request feeding from the "material center", and the "material center" will feed according to the requirements of the workshop. After the feeding is completed, it will calculate with the workshop according to the feeding quantity. Therefore, when multiple workshops need to be fed simultaneously, on the one hand, it is necessary to ensure that the workshop is not fed wrongly, and on the other hand, the feeding efficiency must be ensured. The feeding method can be divided into three stages of development. In the first stage, the workshop directly calls the "material center" with a walkie-talkie, asking the material center to start the pump and open the valve. When the cumulative value of the flowmeter reaches, the feeding stops. This method mainly relies on manual work, and it is easy to make mistakes in starting equipment, resulting in the problem of feeding the wrong workshop; there will also be a problem of missing the feeding of some workshops when multiple workshops request at the same time. In the second stage, with the popularization of DCS, the "material center" and the production workshop directly exchange data through the DCS network. The operation station of the workshop can directly send a request to the "material center", and the "material center" starts the pump and opens the valve for feeding. However, if there is a situation where another workshop is feeding the same material, the request can only be made later. This method will not feed the wrong workshop, but the efficiency is low. In the third stage, after the improvement of the DCS feeding algorithm, it currently has a queuing function. When multiple workshops request materials from the "material center", they will automatically queue up at the "material center". This method solves the problem of feeding the wrong workshop, and the efficiency has also been improved to a certain extent, but the following problems still remain unsolved. First, when multiple workshops request the same material at the same time, even if the transfer pump has the ability to feed multiple workshops at the same time, according to the queuing rule, only one workshop can be fed each time, and the efficiency is still not maximized; second, if a certain workshop needs to use materials urgently, the operator cannot intervene and can only queue according to a single rule, and scheduling cannot be achieved. Summary of the Invention
[0003] To solve the above problems, the present invention provides a material scheduling method, device and electronic equipment based on a large storage tank area.
[0004] In the first aspect, the present invention provides a material scheduling method based on a large storage tank area, and the method includes:
[0005] Determine the current material object and the maximum number of workshops allowed to feed materials simultaneously, set the target number of workshops for simultaneous feeding, sort them in the order of the initialized target feeding workshops, and generate an array recording the order of the target feeding workshops;
[0006] Receive the feeding request of the Nth requesting workshop, where N is any workshop in the target feeding workshop order array that is not currently feeding materials. Adjust the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target feeding workshop order array, and mark the status of this Nth requesting workshop as "requesting" in the target feeding workshop order array;
[0007] When the feeding request of the Nth requesting workshop is satisfied, eliminate the "requesting" status, move the subsequent workshops after the Nth requesting workshop forward by one position, and update the target feeding workshop order array.
[0008] Specifically, the maximum number of workshops allowed to feed materials simultaneously is determined according to the characteristics of the material object and the conveying capacity of the storage tank area; the set target number of workshops for simultaneous feeding is greater than or equal to 1 and less than or equal to the maximum number of workshops allowed to feed materials simultaneously.
[0009] Specifically, adjusting the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target feeding workshop order array includes adjusting it to the head of the queue of the workshops that are not currently feeding materials in the target feeding workshop order array, that is, topping it, or adjusting it to any position before and including the last target workshop of the workshops that are not currently feeding materials in the target feeding workshop order array.
[0010] Specifically, the feeding request of the Nth requesting workshop being satisfied includes the Nth requesting workshop completing the feeding or actively canceling it, and after the request is satisfied, it exits the target feeding workshop order array.
[0011] Specifically, the marked statuses of all target workshops in the array of the target feeding workshop order also include "feeding", "requesting", and "waiting".
[0012] In a second aspect, an invention provides a material scheduling device based on a large storage tank area, and the device includes:
[0013] A determination module, used to determine the current material object and the maximum number of workshops allowed to feed materials simultaneously, set the target number of workshops for simultaneous feeding, sort them in the order of the initialized target feeding workshops, and generate an array recording the order of the target feeding workshops;
[0014] An instruction receiving module, configured to receive the material feeding request of the Nth requested workshop, where N is any workshop in the target material feeding workshop sequence array that is not currently in the process of material feeding, adjust the Nth requested workshop to the target position of the workshops that are not currently in the process of material feeding in the target material feeding workshop sequence array, and mark the status of the Nth requested workshop as "requested" in the target material feeding workshop sequence array;
[0015] A storage module, configured to store the marked statuses of all target workshops in the target material feeding workshop sequence array, including "in the process of material feeding", "requested", and "waiting";
[0016] A scheduling module, configured to adjust the target material feeding workshop sequence array queue according to the instruction.
[0017] In a third aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor is configured to implement the steps of any one of the above-mentioned material scheduling methods based on a large storage tank area when executing the computer program.
[0018] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. Instructions are stored in the computer-readable storage medium. When the instructions are run on a computer or a processor, the computer or the processor is caused to execute the steps of the method provided by any possible implementation manner of the first aspect or the second aspect.
[0019] The method and device provided by the present invention can enable a large material storage tank area to flexibly manage and schedule the material transportation of each workshop, support multiple workshops to feed materials simultaneously, improve the feeding efficiency, manually intervene in the queuing order in case of emergency to achieve priority processing, and set status identifiers in the request queue to be able to pay attention to the situation of the material feeding queue in real time, reduce the monitoring burden, and make the scheduling control more efficient and safe. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0021] Figure 1 It is a schematic flowchart of a material scheduling method based on a large storage tank area provided by an embodiment of the present invention.
[0022] Figure 2 It is a schematic process diagram of a material scheduling control unit based on a large storage tank area provided by an embodiment of the present invention.
[0023] Figure 3 Schematic diagram of the first group of target feeding workshop sequence array queue interface provided by the embodiment of the present invention.
[0024] Figure 4 Schematic diagram of the second group of target feeding workshop sequence array queue interface provided by the embodiment of the present invention.
[0025] Figure 5 Schematic diagram of another state of the first group of target feeding workshop sequence array queue provided by the embodiment of the present invention.
[0026] Figure 6 Schematic diagram of the third group of target feeding workshop sequence array queue interface provided by the embodiment of the present invention.
[0027] Figure 7 Schematic diagram of another state of the third group of target feeding workshop sequence array queue provided by the embodiment of the present invention.
[0028] Figure 8 Schematic diagram of the structure of a material scheduling device based on a large storage tank area provided by the embodiment of the present invention.
[0029] Figure 9 Schematic diagram of the structure of an electronic device provided by the embodiment of the present invention. Detailed implementation manners
[0030] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be completely conveyed to those skilled in the art.
[0031] See Figure 1 , Figure 1 is a flowchart of a material scheduling method based on a large storage tank area provided by the embodiment of the present invention. In the embodiment of the present invention, the method includes:
[0032] S110, determining the current material object and the maximum value of the number of workshops allowed to feed simultaneously, setting the target number of workshops for simultaneous feeding, and sorting in the initialized target feeding workshop sequence to generate an array recording the target feeding workshop sequence. The maximum value of the number of workshops allowed to feed simultaneously is the maximum value of the number of workshops determined according to the characteristics of the material object and the conveying capacity of the storage tank area; the set target number of workshops for simultaneous feeding is greater than or equal to one and less than or equal to the maximum value of the number of workshops allowed to feed simultaneously.
[0033] The execution entity of this application can be the cloud server corresponding to the DCS system. DCS, namely Distributed Control System, is an instrument control system based on microprocessors, adopting the design principles of decentralized control functions, centralized display and operation, and taking into account both decentralized autonomy and comprehensive coordination.
[0034] S120, receive the material feeding request of the Nth requesting workshop, where N is any workshop in the target material feeding workshop sequence array that is not currently in the process of material feeding, adjust the Nth requesting workshop to the target position of the workshops that are not currently in the process of material feeding in the target material feeding workshop sequence array, and mark the status of the Nth requesting workshop as "requesting" in the target material feeding workshop sequence array. Adjusting to the target position includes adjusting to the head of the queue of the workshops that are not currently in the process of material feeding in the target material feeding workshop sequence array, that is, setting to the top, or adjusting to any other position before the last target workshop and other workshops that are not currently in the process of material feeding in the target material feeding workshop sequence array.
[0035] S130, when the material feeding request of the Nth requesting workshop is satisfied, eliminate the "requesting" status, move the subsequent workshops behind the Nth requesting workshop forward by one position, and update the target material feeding workshop sequence array. The material feeding request of the Nth requesting workshop being satisfied includes the Nth requesting workshop completing the material feeding or actively canceling, and after the request is satisfied, it exits the queue of the target material feeding workshop sequence array.
[0036] Taking a chemical plant's conveying of toluene material to workshops as an example, see Figures 2 to 7 . As Figure 2 shown, the toluene storage tank is in the material storage tank area, and can convey materials to "Workshop 102", "Workshop 104", "Workshop 106", "Workshop 107", "Workshop 201", "Workshop 202", "Workshop 205", "Workshop 206", "Workshop 301", "Workshop 302", "Workshop 303" and "Workshop 304" through a transfer pump. A flow meter is installed in each workshop to measure the amount of materials conveyed from the toluene tank area to each workshop. When feeding materials, the materials are queued and conveyed in the order of the request time of each workshop (first in, first out), and the transfer pump has the ability to convey materials to up to 5 workshops simultaneously. During production, the number of workshops can be set as needed, that is, adjusted between 1 and 5 for the maximum number of workshops that can be fed simultaneously each time. As Figure 3 shown, set the "simultaneous dequeue quantity" to 3, that is, the situation of feeding materials to 3 workshops simultaneously; as Figure 4 shown, set the "simultaneous dequeue quantity" to 5, that is, the situation of feeding materials to 5 workshops simultaneously.
[0037] See Figure 5, set the "simultaneous outbound quantity" to 3, that is, feed materials to 3 workshops simultaneously. After any one of the workshops "Workshop 104", "Workshop 106", and "Workshop 202" finishes feeding materials, according to the "first in, first out" rule, the next workshop to be fed is "Workshop 201". However, at this time, an emergency occurs in "Workshop 302", and it requests to be fed immediately and needs to be given top priority. Then, the "current queue number" is selected as 7 (i.e., the current position of Workshop 302 in the queue), and the "top" button is pressed to adjust its queue position to the current 4th position, that is, the queue position where "Workshop 201" is located. The adjusted target feeding workshop sequence array queue is as Figure 3 shown. "Workshop 302" is ranked 4th in the queue. The workshops originally in the 4th to 6th positions in the queue all move back one position, and the positions of the 3 workshops that are currently being fed remain unchanged, realizing the top operation of Workshop 302.
[0038] See Figure 6 , set the "simultaneous outbound quantity" to 1. "Workshop 104" is in the process of feeding materials. According to the on-site situation, "Workshop 206" needs to be ranked in the position where "Workshop 202" is located, that is, adjusted from the 6th position to the 3rd position. Then, on the control panel, set the "current queue number" to 6 (the current position of Workshop 206 in the queue), set the "target queue number" to 3 (the current position of Workshop 202 in the queue), and press the "cut in" button to adjust "Workshop 206" to the 3rd position in the queue, as Figure 7 shown. The workshops originally in the 4th to 6th positions in the queue all move back one position, and queues 1 and 2 as well as 7 to 9 remain unchanged, realizing the cut-in operation of Workshop 206.
[0039] See Figure 8 , Figure 8 is a schematic structural diagram of a material scheduling device based on a large storage tank area provided by an embodiment of the present invention. As Figure 8 shown, the device includes:
[0040] A determination module 210, configured to determine the current material object and the maximum number of workshops allowed to feed materials simultaneously, set the target number of workshops to feed materials simultaneously, and sort them in the order of the initialized target feeding workshop sequence to generate an array recording the target feeding workshop sequence;
[0041] An instruction receiving module 220, configured to receive a feeding request from the Nth requesting workshop, where N is any workshop in the target feeding workshop sequence array that is not currently being fed, adjust the Nth requesting workshop to the target position of the workshops in the target feeding workshop sequence array that are not currently being fed, and mark the status of the Nth requesting workshop in the target feeding workshop sequence array as being requested;
[0042] A storage module 230, configured to store the marked statuses of all target workshops in the target feeding workshop sequence array, including being in the process of feeding, being requested, and waiting.
[0043] The scheduling module 240 is used to schedule the target material workshop sequence array queue according to the instruction.
[0044] See also Figure 9 , Figure 9 is a schematic diagram of a structure of an electronic device involved in an embodiment of the present invention, and the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 9 As shown, the electronic device 300 may include: at least one central processor 310 , at least one network interface 340 , a user interface 330 , a memory 350 , and at least one communication bus 320 .
[0045] The communication bus 320 is used to realize the connection and communication between these components.
[0046] The user interface 330 may include a display screen (Display) and a camera (Camera), and the optional user interface 330 may also include a standard wired interface and a wireless interface.
[0047] The network interface 340 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0048] Among them, the central processing unit 310 may include one or more processing cores. The central processing unit 310 uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the terminal 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 350, and calling data stored in the memory 350. Optionally, the central processing unit 310 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 310 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics central processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 310, and it can be implemented separately through a chip.
[0049] Among them, the memory 350 may include a Random Access Memory (RAM), or may include a Read-Only Memory. Optionally, the memory 350 includes a non-transitory computer-readable storage medium. The memory 350 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 350 may include a program storage area and a data storage area. Among them, the program storage area can store instructions for implementing the operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store the data involved in the above-mentioned various method embodiments. Optionally, the memory 350 may also be at least one storage device located far from the aforementioned central processing unit 310. As Figure 9 shown, the memory 350 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0050] In Figure 9 the electronic device 300 shown, the user interface 330 is mainly used to provide an input interface for the user to obtain the data input by the user; and the central processing unit 310 can be used to call the material scheduling control application program stored in the memory 350 and specifically perform the following operations:
[0051] Determine the current material object and the maximum value of the number of workshops allowed to feed materials simultaneously, set the target number of workshops for simultaneous feeding, and sort them in the order of the initialized target feeding workshops to generate an array recording the order of the target feeding workshops;
[0052] Receive the feeding request of the Nth requesting workshop, where N is any workshop in the target feeding workshop order array that is not currently feeding materials, adjust the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target feeding workshop order array, and mark the status of the Nth requesting workshop as "requesting" in the target feeding workshop order array;
[0053] When the feeding request of the Nth requesting workshop is satisfied, eliminate the "requesting" status, move the subsequent workshops behind the Nth requesting workshop forward by one position, and update the target feeding workshop order array.
[0054] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0055] The embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, provided that these changes fall within the scope of the claims of the present invention and their equivalent technologies, they still fall within the protection scope of the present invention.
Claims
1. A material scheduling method based on a large storage tank area, characterized in that The method includes: Determine the current material object and the maximum number of workshops allowed to feed materials simultaneously, set the target number of workshops for simultaneous material feeding, and sort them in the initialized target material feeding workshop order to generate an array recording the target material feeding workshop order; Receive the material feeding request from the Nth requesting workshop, where N is any workshop in the target material feeding workshop order array that is not currently feeding materials, adjust the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target material feeding workshop order array, and mark the status of the Nth requesting workshop as "requested" in the target material feeding workshop order array; When the material feeding request of the Nth requesting workshop is satisfied, eliminate the "requested" status, move the subsequent workshops after the Nth requesting workshop forward by one position, and update the target material feeding workshop order array.
2. The material scheduling method based on a large storage tank area according to claim 1, characterized in that The maximum number of workshops allowed to feed materials simultaneously is determined according to the characteristics of the material object and the conveying capacity of the storage tank area; the set target number of workshops for simultaneous material feeding is greater than or equal to 1 and less than or equal to the maximum number of workshops allowed to feed materials simultaneously.
3. The material scheduling method based on a large storage tank area according to claim 1, characterized in that The step of receiving the material feeding request from the Nth requesting workshop, where N is any workshop in the target material feeding workshop order array that is not currently feeding materials, adjusting the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target material feeding workshop order array, and marking the status of the Nth requesting workshop as "requested" in the target material feeding workshop order array, The adjustment of the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target material feeding workshop order array includes adjusting it to the head of the queue of the workshops that are not currently feeding materials in the target material feeding workshop order array, that is, to the top, or adjusting it to any position before and including the last target workshop of the workshops that are not currently feeding materials in the target material feeding workshop order array.
4. The material scheduling method based on a large storage tank area according to claim 1, characterized in that The step of when the material feeding request of the Nth requesting workshop is satisfied, eliminating the "requested" status, moving the subsequent workshops after the Nth requesting workshop forward by one position, and updating the target material feeding workshop order array, The satisfaction of the material feeding request of the Nth requesting workshop includes that the Nth requesting workshop has completed material feeding or actively cancelled the request, and after the request is satisfied, it exits the target material feeding workshop order array queue.
5. The material scheduling method based on a large storage tank area according to claim 1, characterized in that All target workshops in the array of the target material feeding workshop order are marked with statuses including "feeding", "requested", and "waiting".
6. A material scheduling device based on a large storage tank area, characterized in that The device includes: A determination module for determining the current material object and the maximum number of workshops allowed to feed materials simultaneously, setting the target number of workshops for simultaneous material feeding, and sorting them in the initialized target material feeding workshop order to generate an array recording the target material feeding workshop order; An instruction receiving module for receiving the material feeding request from the Nth requesting workshop, where N is any workshop in the target material feeding workshop order array that is not currently feeding materials, adjusting the Nth requesting workshop to the target position of the workshops that are not currently feeding materials in the target material feeding workshop order array, and marking the status of the Nth requesting workshop as "requested" in the target material feeding workshop order array; A storage module for storing the annotation status of all target workshops in the target material feeding workshop sequence array, including in the process of material feeding, in the process of request, and waiting. A scheduling module for adjusting the target material feeding workshop sequence array queue according to an instruction.
7. An electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, and instructions are stored in the computer-readable storage medium. When the instructions are run on a computer or a processor, the computer or the processor is caused to execute the steps of the method according to any one of claims 1-5.