Material distribution method, device and electronic equipment
By coordinating the client and server, the quantity of materials to be distributed and the quantity of materials to be released are determined based on the material distribution cycle instructions and sequence positions. This solves the problem of uneven capacity in the material distribution system and achieves balanced capacity allocation and improved equipment maintainability.
Patent Information
- Application Number
- CN202310930386.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2043-07-26
AI Technical Summary
In the existing material distribution system, the material distribution equipment at the front end of the production line prioritizes feeding and unloading, resulting in uneven capacity distribution among material distribution equipment at different locations, which affects the service life of the equipment and the maintenance of the production line.
The client sends a material distribution request to the server, receives material distribution cycle instructions, and determines the material distribution quantity and release quantity based on the material distribution cycle quantity and sequence position, thereby achieving a fixed material distribution operation and balancing the production capacity of different clients.
It achieves a balanced allocation of production capacity among different clients, reduces the problem of uneven production capacity caused by different locations, and improves the service life of equipment and the maintainability of the production line.
Smart Images

Figure CN117125437B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of material distribution, and particularly relates to a material distribution method and device, electronic equipment and a computer readable storage medium. BACKGROUND
[0002] A material distribution system is widely used in a flow line to improve the work efficiency and output of the flow line. The existing material distribution system mainly completes the flow line work through loading and unloading operations of the material distribution equipment. For example, industrial glue-filled products are fixed on jigs, the jigs are loaded to a curing machine through the loading operation, and then the jigs are cured by the curing machine, and the jigs are unloaded through the unloading operation. In the prior art, each material distribution equipment only sends a unloading signal and a loading signal. Since the material distribution equipment at the front end of the flow line contacts the material earlier, the material distribution equipment close to the front end of the flow line has the logic of preferential loading and preferential unloading, and the material distribution operation of the material distribution equipment close to the rear end of the flow line has a lag, resulting in uneven distribution of production capacity of different positions of the material distribution equipment. SUMMARY
[0003] The embodiments of the application provide a material distribution method, device and electronic equipment, which can solve the problem of uneven distribution of production capacity of the material distribution system.
[0004] In a first aspect, the embodiments of the application provide a material distribution method applied to one of clients in a material distribution system, including:
[0005] sending a material distribution request to a server;
[0006] receiving a material distribution round instruction fed back by the server based on the material distribution request, the material distribution round instruction including a material distribution round number of the material distribution system, the material distribution round number being used to determine a material distribution number and a release number of the client, the material distribution number being a preset fixed value, and the release number being determined based on a serial number position of the client;
[0007] performing a material distribution operation based on the material distribution round instruction.
[0008] In detail, the material distribution request includes a loading request or an unloading request, the material distribution round instruction includes a loading round instruction or an unloading round instruction, the material distribution round number includes a loading round number or an unloading round number, the material distribution number includes a loading number or an unloading number, and the material distribution operation includes a loading operation or an unloading operation.
[0009] In detail, the performing of the material distribution operation based on the material distribution round instruction includes:
[0010] In a case where the material distribution round instruction is a loading round instruction, the performing of the material distribution operation based on the material distribution round instruction includes:
[0011] determining a feeding quantity in the feeding operation of the client, wherein N is an integer, and a releasing quantity in the feeding operation of the client is determined according to the feeding round quantity and a total quantity of previous positions of the client, the total quantity of previous positions being a total quantity of the client and clients sending feeding requests before the client.
[0012] Specifically, the feeding operation based on the feeding round instruction includes:
[0013] In a case where the feeding round instruction is a discharging round instruction, the feeding operation based on the feeding round instruction includes:
[0014] In a case where the client is the first client, the discharging operation of the client is a constant discharging and a constant releasing.
[0015] In a case where the client is not the first client, a discharging quantity in the discharging operation of the client is determined, wherein M is an integer, and a releasing quantity in the discharging operation of the client is determined according to the discharging round quantity and a total quantity of subsequent positions of the client, the total quantity of subsequent positions being a total quantity of the client and clients sending discharging requests after the client.
[0016] In detail, after the receiving the feeding round instruction fed back by the server based on the feeding request, the method further includes:
[0017] receiving an adjustment instruction fed back by the server based on a change of the client in the feeding system, the adjustment instruction being used to adjust the feeding round instruction of the client, and the change of the client including adding a client or reducing a client.
[0018] In a second aspect, the application further provides a feeding method applied to a server in a feeding system, and the method includes:
[0019] receiving a feeding request sent by a client in the feeding system, and constructing a feeding round quantity of the feeding system according to a quantity of clients sending the feeding request;
[0020] constructing a feeding round instruction of different clients based on the feeding round quantity and a serial number position of the clients working in the feeding system, the feeding round instruction including a feeding quantity and a releasing quantity corresponding to the client, and sending the feeding round instruction to the client at a corresponding serial number position in the feeding system.
[0021] Specifically, after the sending the feeding round instruction to the client at the corresponding serial number position in the feeding system, the method further includes:
[0022] detecting the distribution system, in case of detecting a client change in the distribution system, re-determining a serial number position of client work in the distribution system, sending an adjustment instruction to the client in the distribution system, the adjustment instruction being used to adjust the distribution wheel tour instruction of the client in the distribution system based on the re-determined serial number position of the client work.
[0023] In a third aspect, an embodiment of the present application provides a distribution device, applied to one of clients in a distribution system, comprising:
[0024] a distribution request module, configured to send a distribution request to a server;
[0025] an instruction receiving module, configured to receive a distribution wheel tour instruction fed back by the server based on the distribution request, the distribution wheel tour instruction comprising a distribution wheel tour number of the distribution system, the distribution wheel tour number being used to determine a distribution number and a release number of the client, the distribution number being a preset fixed value, and the release number being determined based on a serial number position of the client work;
[0026] a distribution operation module, configured to perform a distribution operation based on the distribution wheel tour instruction.
[0027] In a fourth aspect, an embodiment of the present application provides a distribution device, applied to a server in a distribution system, comprising:
[0028] a distribution number construction module, configured to receive a distribution request sent by a client in the distribution system, and construct a distribution wheel tour number of the distribution system according to a number of clients sending the distribution request;
[0029] a distribution instruction construction module, configured to construct a distribution wheel tour instruction of different clients based on the distribution wheel tour number and a serial number position of client work in the distribution system, the distribution wheel tour instruction comprising a distribution number and a release number corresponding to the client, and send the distribution wheel tour instruction to the client in the distribution system corresponding to the serial number position.
[0030] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the distribution method in the first aspect or the second aspect when executing the computer program.
[0031] In a sixth aspect, an embodiment of the present application provides a computer readable storage medium, the computer storage medium storing a computer program, and the computer program implements the steps of the distribution method in the first aspect or the second aspect when executed by a processor.
[0032] In a seventh aspect, an embodiment of the present application provides a computer program product, which, when running on an electronic device, causes the electronic device to perform the material distribution method in any one of the first aspect or the second aspect.
[0033] Compared with the prior art, the embodiment of the present application has the following beneficial effects:
[0034] In the embodiment of the present application, the client in the material distribution system sends a material distribution request to the server, and the client performs a material distribution operation according to a material distribution wheel rotation instruction fed back by the server based on the material distribution request. Since the number of material distribution wheel rotations in the material distribution wheel rotation instruction is determined, and the number of material distribution wheel rotations is used to determine the number of material distributions and the number of releases of the client, the number of material distributions of different clients is fixed and unchanged when the material distribution operation is performed, so that the production capacity of different clients can be balanced. At the same time, the number of releases corresponding to different clients is determined based on the serial number position of the client and the number of material distribution wheel rotations of the material distribution system, so that the material distribution logic of each client does not have priority or lag due to different positions, further reducing the impact of different client positions on the allocation of production capacity, so that the production capacity of different clients in the material distribution system can be balanced. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0036] Figure 1 is a flowchart of a material distribution method provided by an embodiment of the present application;
[0037] Figure 2 is a schematic diagram of a material loading operation provided by an embodiment of the present application;
[0038] Figure 3 is a schematic diagram of a material unloading operation provided by an embodiment of the present application;
[0039] Figure 4 is a flowchart of a material distribution method provided by another embodiment of the present application;
[0040] Figure 5 is a structural schematic diagram of a material distribution device provided by an embodiment of the present application;
[0041] Figure 6 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0042] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0043] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.
[0044] It will also be understood that the term "and / or" 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.
[0045] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0046] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0047] In the distribution system of the assembly line, the distribution equipment at the front end of the assembly line contacts the material earlier, so that the distribution equipment at the front end of the assembly line has the logic of preferential feeding and preferential discharging, which causes the production capacity of different distribution equipment in the assembly line to be unevenly distributed. For example, in the industrial glue filling, the assembly line includes multiple curing machines for product curing, and each curing machine sends a feeding and discharging signal for corresponding distribution processing, but the curing machine at the front end of the assembly line will preferentially feed and discharge because it will contact the jig earlier, which will cause the production capacity of different curing machines to be uneven, especially the production capacity difference between the curing machine at the front end of the assembly line and the curing machine at the rear end of the assembly line. At the same time, the curing machine at the front end of the assembly line has an excessively large production capacity, which causes the curing machine to run overload, resulting in a shortened service life of the curing machine. The curing machine at the rear end of the assembly line is underutilized and has a low utilization rate, resulting in a large difference between the service life of the curing machine at the rear end of the assembly line and the service life of the curing machine at the front end of the assembly line, which is not conducive to the maintenance of the entire assembly line.
[0048] Figure 1 A flowchart of a distribution method provided by an embodiment of the application is shown, and in this embodiment, the above-mentioned distribution method is applied to one of the clients in the distribution system, which is described in detail as follows:
[0049] S10, a distribution request is sent to a server.
[0050] In the embodiment of the application, the distribution system includes a client and a server, wherein the client refers to a distribution equipment used for performing a distribution operation, and the server refers to an equipment used for controlling the distribution operation of the client. For example, in the industrial glue filling process, the client can be a curing machine, and the server can be a master control machine.
[0051] It should be noted that the distribution system provided by the embodiment of the application includes multiple clients, and the client in an abnormal state does not send a distribution request to the server due to equipment maintenance and other reasons. For example, in the field of industrial glue filling, the distribution system includes eight curing machine devices, each of which is numbered according to its position on the assembly line. If the No. 4 curing machine device is temporarily suspended due to failure, the other seven curing machine devices in the distribution system will send a distribution request, but the No. 4 curing machine device will not send a distribution request to the server.
[0052] S11, receiving a distribution round-robin instruction fed back by the server based on the distribution request, wherein the distribution round-robin instruction includes the number of distribution rounds of the distribution system, the number of distributions is used to determine the number of distributions and the number of releases of the client, the number of distributions is a preset fixed value, and the number of releases is determined based on the serial number position of the working client.
[0053] In the embodiments of the present application, the distribution wheel tour instruction is used to determine the distribution quantity and the release quantity of different clients, wherein the distribution quantity refers to the quantity of materials distributed by the client during the distribution operation, and the release quantity refers to the quantity of materials passing through determined by the client during the distribution operation according to the quantity of clients in front of or behind the current client. The serial number position of the client working is used to reflect the quantity information of the clients in front of or behind the position of the current client based on the current serial number. For example, assuming that the distribution system in the industrial glue filling field includes 8 curing machine devices, when the current client is the No. 4 curing machine device, the quantity of curing machine devices behind the No. 4 curing machine device can be determined according to the quantity of all curing machine devices included in the distribution system. During feeding, since there are 4 curing machine devices behind the No. 4 curing machine device that need to be fed, the release quantity of the No. 4 curing machine device can be set to 4.
[0054] It should be noted that the distribution wheel tour quantity is determined according to the quantity of clients in the entire distribution system. Specifically, the distribution wheel tour quantity refers to the total capacity quantity of the clients in the entire distribution system in one production cycle (wheel tour cycle). For example, assuming that the distribution system in the industrial glue filling field includes 8 curing machine devices, if the 8 curing machine devices all work normally, the distribution wheel tour quantity of the distribution system in one wheel tour cycle is 8, and if only 7 curing machine devices can work normally, the distribution wheel tour quantity of the distribution system in one wheel tour cycle is 7. In order to ensure that the capacity distribution of different clients is balanced, the distribution quantity is a preset fixed value, for example, 1. At the same time, in order to avoid the problem that the distribution logic of the clients in the distribution system is different due to different positions, the release quantity is also determined by the serial number position of the client, so that the distribution logic of the clients in different positions in the distribution system can be ensured to be consistent, and the capacity distribution of different clients can be further balanced.
[0055] S12, performing a distribution operation based on the above distribution wheel tour instruction.
[0056] In the embodiments of the present application, each client in the distribution system will perform a distribution operation according to the corresponding distribution wheel tour instruction, and the distribution wheel tour instruction includes the distribution quantity and the release quantity of different clients. Since the distribution quantity of different clients is fixed, and the release quantity is determined according to the position, the balanced distribution of capacity can be realized by the client performing the distribution operation according to the distribution wheel tour instruction.
[0057] In some embodiments, for example, assuming that the distribution system in the industrial glue filling field includes 8 curing machine devices, during discharging, the release quantity of the No. 4 curing machine device is 3 since there are 3 curing machine devices in front of the No. 4 curing machine device that need to be discharged, and the release quantity of the No. 5 curing machine device is 4 since there are 4 curing machine devices in front of the No. 5 curing machine device that need to be discharged.
[0058] The application sends a distribution request to a server through a client in a distribution system, and the client performs a distribution operation according to a distribution round instruction fed back by the server based on the distribution request. Since the number of distribution rounds in the distribution round instruction is determined, and the number of distribution rounds is used to determine the number of distributions and the number of releases of the client, the corresponding number of distributions of different clients is fixed and unchanged during the distribution operation, so that the production capacity of different clients can be balanced. At the same time, the corresponding number of releases of different clients is determined based on the serial number position of the client and the number of distribution rounds of the distribution system, so that the distribution logic of each client does not have priority or lag due to different positions, further reducing the impact of different client positions on production capacity allocation, so that the production capacity of different clients in the distribution system can be balanced.
[0059] In an optional embodiment of the application, the distribution request includes a feeding request or a discharging request, the distribution round instruction includes a feeding round instruction or a discharging round instruction, the number of distribution rounds includes a feeding round number or a discharging round number, the number of distributions includes a feeding number or a discharging number, and the distribution operation includes a feeding operation or a discharging operation.
[0060] In some embodiments, since the distribution system mainly includes two operations: feeding and discharging, and the operation logic of feeding and discharging is different when distributing (for example, the number of releases of the current client needs to be determined according to the number of subsequent clients when feeding, and the number of releases of the current client needs to be determined according to the number of previous clients when discharging), the distribution is divided into two cases: feeding and discharging in the application, so that the distribution request corresponds to a feeding request or a discharging request; the distribution round instruction corresponds to a feeding round instruction or a discharging round instruction; the number of distribution rounds corresponds to a feeding round number or a discharging round number; the number of distributions corresponds to a feeding number or a discharging number; and the distribution operation corresponds to a feeding operation or a discharging operation.
[0061] In an optional embodiment of the application, the distribution operation based on the distribution round instruction includes:
[0062] When the distribution round instruction is a feeding round instruction, the distribution operation based on the distribution round instruction includes:
[0063] The number of feeding in the feeding operation of the client is determined as N, where N is an integer, the number of releases in the feeding operation of the client is determined according to the number of feeding rounds and the total number of previous positions of the client, and the total number of previous positions is the total number of the client and the clients sending feeding requests before the client.
[0064] In some embodiments, when the material distribution patrol instruction is a loading patrol instruction, the material distribution operation corresponding to the client is a loading operation, then the loading quantity of the client is N, and the release quantity of the client needs to be determined according to the serial number position of the client's work. The loading operation is explained below with the client's loading quantity fixed at 1 (N=1).
[0065] In an optional embodiment of the present application, in some scenarios, such as the field of industrial glue pouring, the material distribution system includes 8 curing machine devices, such as Figure 2 As shown, during the loading operation, if all 8 curing machines are working normally, the number of loading patrols is 8, and the loading number of each curing machine is 1. Among them, the release number of No. 5 curing machine is 8 (the number of loading patrols) minus 5 (the total number of the preceding positions of No. 5 curing machine, that is, the total number of No. 5 curing machine and the equipment before No. 5 curing machine) equals 3. The curing machines of other serial numbers are similar and will not be repeated. If No. 4 curing machine among the 8 curing machines is abnormal and stops working, the number of loading patrols is 7, and the loading number of each curing machine is The number of released devices for No. 3 curing machine is 7 (the number of loading patrols) minus 3 (the total number of preceding positions of No. 3 curing machine, that is, the total number of curing machine No. 3 and the devices before No. 3), which is equal to 4. The corresponding number of released devices for No. 5 curing machine is 7 (the number of loading patrols) minus 4 (the total number of preceding positions of No. 5 curing machine. Since No. 4 curing machine fails and no loading request is sent, the total number of curing machine No. 5 and the devices before No. 5 is 4), which is equal to 3. The curing machines with other serial numbers are similar and will not be repeated here.
[0066] In one embodiment of the present application, the loading capacity of each client can be balanced by fixing the loading quantity of each client and adjusting the release quantity of different clients based on the number of loading rounds.
[0067] In another optional embodiment of the present application, the material distribution operation based on the material distribution patrol instruction includes:
[0068] In the case where the material distribution patrol instruction is a material unloading patrol instruction, the material distribution operation based on the material distribution patrol instruction includes:
[0069] If the client is the first client, the unloading operation of the client is to unload and release all the time;
[0070] In the case that the above-mentioned client is not the first client, the unloading quantity in the unloading operation of the above-mentioned client is determined to be M, where M is an integer. The release quantity in the unloading operation of the above-mentioned client is determined according to the above-mentioned unloading patrol quantity and the total number of subsequent positions of the above-mentioned client. The above-mentioned total number of subsequent positions is the total number of clients that send unloading requests from the above-mentioned client and the above-mentioned client.
[0071] In some embodiments, when the material distribution patrol instruction is a material unloading patrol instruction, the corresponding material distribution operation of the client is a material unloading operation. In particular, to ensure smooth unloading, if the client is the first client, it is necessary to set the unloading operation to always unload and always release, that is, there is no limit on the unloading quantity and release quantity in the unloading operation; if the client is not the first client, the client's unloading quantity is M, and the client's release quantity at this time needs to be determined according to the serial number position of the client's work. The unloading operation is described below with the client's unloading quantity fixed at 1 (M=1).
[0072] In an optional embodiment of the present application, eight curing machine devices of the material distribution system in the field of industrial glue filling are also used for explanation. Figure 3 As shown in the figure, during the unloading operation, if all 8 curing machines are working normally, the unloading patrol quantity is 8, and the unloading quantity of each curing machine is 1. Since curing machine No. 1 is the first curing machine, it is necessary to ensure that there is material inflow in all production cycles. Therefore, the unloading quantity and release quantity of curing machine No. 1 are not restricted, and curing machine No. 1 is set to unload and release all the time; the release quantity of curing machine No. 5 is 8 (unloading patrol quantity) minus 3 (the total number of subsequent positions of curing machine No. 5, that is, the total number of curing machine No. 5 and the devices after curing machine No. 5) equals 5. The curing machines of other serial numbers are similar and will not be repeated. If curing machine No. 6 among the 8 curing machines is abnormal and stops working, the number of unloading patrols is 7, and the unloading quantity of each curing machine is 1. Among them, the release quantity of curing machine No. 7 is 7 (unloading patrol quantity) minus 2 (the total number of subsequent positions of curing machine No. 7, that is, the total number of curing machine No. 7 and the devices after curing machine No. 7) equals 5. The corresponding release quantity of curing machine No. 5 is 7 (unloading patrol quantity) minus 3 (the total number of subsequent positions of curing machine No. 5. Since curing machine No. 6 does not send an unloading request due to a fault, the total number of curing machine No. 5 and the devices after curing machine No. 5 is 3) equals 4. The curing machines with other serial numbers are similar and will not be repeated.
[0073] In one embodiment of the present application, during the unloading operation, the unloading machine is continuously released for the first client; for non-first clients, the unloading quantity of each client is fixed, and the release quantity of different clients is adjusted based on the number of unloading rounds, which can balance the unloading capacity of each client.
[0074] In another optional embodiment of the present invention, after performing the material distribution operation based on the material distribution patrol instruction, the method further includes:
[0075] Send the material distribution data to the above server.
[0076] It should be noted that each service end in the material distribution system will send material distribution data to the service end after the material distribution operation, mainly including: material distribution request of different clients, material distribution quantity of different clients, release quantity, etc. Through the material distribution data sent to the service end, the capacity of each service end in the material distribution system can be recorded and analyzed.
[0077] In another optional embodiment of the present application, after receiving the material distribution wheel polling instruction fed back by the service end based on the material distribution request, the method further comprises:
[0078] Receiving an adjustment instruction fed back by the service end based on the change of the client in the material distribution system, the adjustment instruction being used to adjust the material distribution wheel polling instruction of the client, and the change of the client including adding or reducing the client.
[0079] In an optional embodiment of the present application, the number of clients in the material distribution system can change. For example, the service end can monitor the clients in the material distribution system in real time. If the client is abnormal (such as abnormal cylinder in the curing machine device, abnormal curing lamp, abnormal gas pressure in the pressure holding cabin, etc.), the adjustment instruction fed back by the service end according to the number of abnormal clients is received, and the material distribution wheel polling instruction of the client is adjusted by using the adjustment instruction. For example, if the number of abnormal clients is 1, the material distribution wheel polling quantity in the material distribution wheel polling instruction is reduced by 1, and the release quantity of the client is adjusted according to the material distribution wheel polling quantity. If the abnormal client returns to normal, the adjustment instruction fed back by the service end according to the number of clients returning to normal is also received, and the material distribution wheel polling instruction of the client is adjusted by using the adjustment instruction. For example, if the number of clients returning to normal is 1, the material distribution wheel polling quantity in the material distribution wheel polling instruction is increased by 1, and the release quantity of the client is also adjusted according to the material distribution wheel polling quantity.
[0080] It should be further noted that, as shown in Figure 2 The loading operation may occur in extreme cases. For example, No. 1 curing machine device has released 7 pieces of material, but No. 8 curing machine device is abnormal. When the material reaches No. 8 curing machine device, it will be stopped at No. 8 curing machine device through the flow channel, but no loading operation will be performed. At this time, the material distribution wheel polling quantity in the material distribution wheel polling instruction of the client is adjusted by the adjustment instruction (i.e. from 8 to 7). After No. 8 curing machine device returns to normal, there is material under No. 8 curing machine device, so the material distribution wheel polling quantity is still 7 in one production cycle (wheel polling cycle) after returning to normal. Until the next production cycle (wheel polling cycle), No. 8 curing machine device sends a loading request, and the material distribution wheel polling quantity is adjusted to 8 based on the adjustment instruction.
[0081] In the embodiment of the present application, the capacity distribution of different clients is balanced, so that the service life of each client will not be too different, and the maintainability of each client in the material distribution system is also improved.
[0082] Figure 4 A flowchart of a method for distributing materials according to another embodiment of the present application is shown. In this embodiment, the method for distributing materials is applied to a server in a material distribution system, and the details are as follows:
[0083] S20, receiving a material distribution request sent by a client in the material distribution system, and constructing a material distribution round number of the material distribution system according to the number of clients sending the material distribution request.
[0084] In the embodiment of the present application, the material distribution round number is determined according to the number of clients sending the material distribution request in the entire material distribution system, and the total production capacity of the clients in the entire material distribution system in one production cycle (round cycle). The material distribution round number corresponds to the number of clients sending the material distribution request in the material distribution system. For example, a material distribution system in the industrial glue filling field includes 8 curing machine devices, and if all 8 devices are working normally and send material distribution requests to the server, the material distribution round number of the material distribution system in one round cycle is 8, which can ensure that there is no redundant material distribution operation in each production cycle, thereby balancing the production capacity of each client.
[0085] S21, constructing a material distribution round instruction for different clients based on the material distribution round number and the serial number position of the working clients in the material distribution system, the material distribution round instruction including a material distribution number and a release number corresponding to the client, and sending the material distribution round instruction to the client at the corresponding serial number position in the material distribution system.
[0086] In the embodiment of the present application, although the clients in the material distribution system have continuous serial numbers, the serial numbers of the clients may lose continuity in some scenarios (such as client exceptions), which is not conducive to production capacity allocation. However, the serial number position of the working clients reflects the positional relationship of different serial number clients, and can more accurately construct the material distribution number and the release number corresponding to different clients, thereby realizing accurate control of the production capacity allocation of the clients.
[0087] The present application constructs the material distribution round number according to the number of clients sending the material distribution request in the material distribution system, which can determine the number of material distribution production capacity from the source. Furthermore, the material distribution round number and the serial number position of the working clients in the material distribution system are used to construct the material distribution round instruction for different clients, which can construct the corresponding material distribution number and release number for clients at different serial number positions, thereby realizing uniform allocation of the production capacity of different clients in the material distribution system.
[0088] In an optional embodiment of the present application, after the material distribution round instruction is sent to the client at the corresponding serial number position in the material distribution system, the method further includes:
[0089] The method comprises the following steps: detecting the distribution system; when a change in the client in the distribution system is detected, re-determining the serial number position of the client in the distribution system; and sending an adjustment instruction to the client in the distribution system, wherein the adjustment instruction is used to adjust the distribution wheel tour instruction of the client in the distribution system based on the re-determined serial number position of the client.
[0090] In the embodiment of the present application, the change in the client in the distribution system (addition or reduction of the client) will cause the number of distribution wheel tours to change, and thus the capacity allocation will change. Therefore, the server will re-determine the serial number position of the client in the distribution system according to the change in the client, and then send an adjustment instruction to the client, so as to realize the adjustment of the distribution wheel tour instruction of the client at different serial number positions (for example, the number of distribution wheel tours is changed, and thus the number of releases of the client at different serial number positions is affected), and realize the capacity balance of the client in the distribution system.
[0091] In another optional embodiment of the present application, after the distribution wheel tour instruction is sent to the client at the corresponding serial number position in the distribution system, the method further comprises the following steps:
[0092] Receiving the distribution data fed back by the client in the distribution system, and performing data analysis on the client based on the distribution data.
[0093] It should be noted that the distribution data includes the distribution request of different clients, the distribution quantity, the number of releases, and the reason for the change of different clients, and the like. By collecting these distribution data, the distribution situation, the capacity situation, and the change situation of different clients can be counted, so that the data analysis and equipment maintenance of the distribution system are more convenient. At the same time, after the capacity balance, the capacity of different clients will not have a large difference, so that the service life of each client is relatively uniform, and the maintainability of the distribution system is further improved.
[0094] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0095] Corresponding to the distribution method described in the above embodiment, Figure 5 A structure diagram of a distribution device provided by an embodiment of the present application is shown, and only parts related to the embodiment of the present application are shown for ease of description.
[0096] Referring to Figure 5 The device can include a first distribution device 51 and a second distribution device 52. The first distribution device 51 can be applied to one of the clients in the distribution system, and the second distribution device 52 can be applied to the server in the distribution system.
[0097] According to the implemented function, the first material distribution device 51 can include a material distribution request module 511, an instruction receiving module 512, and a material distribution operation module 513; and the second material distribution device 52 can include a material distribution quantity construction module 521 and a material distribution instruction construction module 522.
[0098] With reference to Figure 5 , the first material distribution device 51 includes:
[0099] The material distribution request module 511 is configured to send a material distribution request to a server.
[0100] The instruction receiving module 512 is configured to receive a material distribution round-robin instruction fed back by the server based on the material distribution request, the material distribution round-robin instruction including a material distribution round-robin quantity of the material distribution system, the material distribution round-robin quantity being used to determine a material distribution quantity and a release quantity of the client, the material distribution quantity being a preset fixed value, and the release quantity being determined based on a serial number position of the client.
[0101] The material distribution operation module 513 is configured to perform a material distribution operation based on the material distribution round-robin instruction.
[0102] In some embodiments, in the first material distribution device 51, the material distribution request includes a feeding request or a discharging request, the material distribution round-robin instruction includes a feeding round-robin instruction or a discharging round-robin instruction, the material distribution round-robin quantity includes a feeding round-robin quantity or a discharging round-robin quantity, the material distribution quantity includes a feeding quantity or a discharging quantity, and the material distribution operation includes a feeding operation or a discharging operation.
[0103] In detail, the material distribution operation module 513 performs a material distribution operation based on the material distribution round-robin instruction by the following operations, including:
[0104] In a case where the material distribution round-robin instruction is a feeding round-robin instruction, the material distribution operation based on the material distribution round-robin instruction includes:
[0105] determining a feeding quantity in a feeding operation of the client as N, where N is an integer, and a release quantity in the feeding operation of the client being determined according to the feeding round-robin quantity and a total number of previous positions of the client, the total number of previous positions being a total number of the client and clients before the client that send feeding requests.
[0106] In some embodiments, the material distribution operation module 513 performs a material distribution operation based on the material distribution round-robin instruction by the following operations, including:
[0107] In a case where the material distribution round-robin instruction is a discharging round-robin instruction, the material distribution operation based on the material distribution round-robin instruction includes:
[0108] In a case where the client is a first client, the unloading operation of the client is a continuous unloading and a continuous release;
[0109] In a case where the client is not a first client, a number of unloading in the unloading operation of the client is determined as M, where M is an integer, a number of release in the unloading operation of the client is determined according to the number of unloading rounds and a total number of subsequent positions of the client, the total number of subsequent positions being a total number of the client and clients sending unloading requests after the client.
[0110] In some embodiments, the first material distribution device 51 further comprises an adjustment instruction receiving module, which is configured to receive an adjustment instruction of the server based on the feedback of the material distribution request, and the adjustment instruction comprises:
[0111] receiving an adjustment instruction of the server based on a change of the client in the material distribution system, the adjustment instruction being used to adjust the material distribution round instruction of the client, and the change of the client comprising adding a client or reducing a client.
[0112] In some embodiments, the first material distribution device 51 further comprises a data sending module, which is configured to send material distribution data to the server after the material distribution operation based on the material distribution round instruction, and the data sending module comprises:
[0113] sending material distribution data to the server.
[0114] The second material distribution device 52 comprises:
[0115] The material distribution number construction module 521 is configured to receive a material distribution request sent by a client in the material distribution system, and construct a number of material distribution rounds of the material distribution system according to a number of clients sending the material distribution request;
[0116] The material distribution instruction construction module 522 is configured to construct a material distribution round instruction of different clients based on the number of material distribution rounds and a serial number position of the client in the material distribution system, the material distribution round instruction comprising a material distribution number and a release number corresponding to the client, and the material distribution round instruction is sent to the client at the corresponding serial number position in the material distribution system.
[0117] In some embodiments, the second material distribution device 52 further comprises an adjustment instruction construction module, which is configured to, after the material distribution round instruction is sent to the client at the corresponding serial number position in the material distribution system, comprise:
[0118] Detect the material distribution system, and when a change in the client in the material distribution system is detected, redetermine the serial position of the client in the material distribution system, and send an adjustment instruction to the client in the material distribution system, wherein the adjustment instruction is used to adjust the material distribution patrol instruction of the client in the material distribution system based on the redetermined serial position of the client.
[0119] In some embodiments, the second material distribution device 52 further includes a data analysis module, which is configured to, after sending the material distribution patrol instruction to the client at the corresponding serial number position of the material distribution system, include:
[0120] Receive the material distribution data fed back by the client in the material distribution system, and perform data analysis on the client based on the material distribution data.
[0121] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.
[0122] Figure 6 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. Figure 6 As shown, the electronic device 6 of this embodiment includes: at least one processor 60 ( Figure 6 Only one is shown in the figure), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the steps of any of the above method embodiments are implemented.
[0123] The electronic device 6 can be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device can include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that Figure 6 It is only an example of the electronic device 6 and does not constitute a limitation of the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include an input sending device, a network access device, a bus, etc.
[0124] The processor 60 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0125] The memory 61 can be an internal storage unit of the electronic device 6 in some embodiments, such as a hard disk or a memory of the electronic device 6. The memory 61 can also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. Further, the memory 61 can include both the internal storage unit and the external storage device of the electronic device 6. The memory 61 is used to store an operating system, an application program, a boot loader, data, and other programs, such as program codes of the computer program, etc. The memory 61 can also be used to temporarily store data that has been transmitted or will be transmitted.
[0126] It can be clearly understood by those skilled in the art that, for the convenience and brevity of description, only the division of the above functional units and modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the above-described functions. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit, and the integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction, and are not used to limit the protection scope of the present application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0127] The embodiments of the present application further provide a network device, comprising at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the above method embodiments when executing the computer program.
[0128] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the steps in any of the above method embodiments.
[0129] The embodiments of the present application provide a computer program product, which, when running on an electronic device, enables the electronic device to implement the steps in any of the above method embodiments.
[0130] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the processes in the above embodiments, which can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium, and the computer program, when executed by a processor, can implement the steps in each of the above method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable file or some intermediate form. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, according to legislation and patent practice, the computer readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0131] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0132] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0133] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / network device and method can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely schematic. The division of the modules or units is merely a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.
[0134] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0135] The above-described embodiments are only used to illustrate but not limit the technical solutions of the present application; even though the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalent replacements; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of dispensing material, characterized by, The method is applied to one of the clients in the material distribution system, and includes the following steps: sending a material distribution request to a server; the material distribution request includes a feeding request or a discharging request; receiving a material distribution wheel tour instruction fed back by the server based on the material distribution request; the material distribution wheel tour instruction includes a material distribution wheel tour number of the material distribution system, the material distribution wheel tour number is used to determine a material distribution number and a release number of the client, the material distribution number is a preset fixed value, and the release number is determined based on a serial number position of the client; the material distribution wheel tour instruction includes a feeding wheel tour instruction or a discharging wheel tour instruction, and the material distribution wheel tour number includes a feeding wheel tour number or a discharging wheel tour number, and the material distribution number includes a feeding number or a discharging number; performing a material distribution operation based on the material distribution wheel tour instruction; the material distribution operation includes a feeding operation or a discharging operation; in a case where the material distribution wheel tour instruction is the feeding wheel tour instruction, the performing of the material distribution operation based on the material distribution wheel tour instruction includes the following steps: determining that a feeding number in the feeding operation of the client is N, where N is an integer, and a release number in the feeding operation of the client is determined according to the feeding wheel tour number and a total number of previous positions of the client; the total number of previous positions is a total number of the client and clients before the client that send the feeding request; in a case where the material distribution wheel tour instruction is the discharging wheel tour instruction, the performing of the material distribution operation based on the material distribution wheel tour instruction includes the following steps: in a case where the client is the first client, the discharging operation of the client is a constant discharging and a constant release; in a case where the client is not the first client, determining that a discharging number in the discharging operation of the client is M, where M is an integer, and a release number in the discharging operation of the client is determined according to the discharging wheel tour number and a total number of subsequent positions of the client; the total number of subsequent positions is a total number of the client and clients after the client that send the discharging request.
2. The method of claim 1, wherein, After the receiving of the material distribution wheel tour instruction fed back by the server based on the material distribution request, the method further includes the following steps: receiving an adjustment instruction fed back by the server based on a change of the client in the material distribution system; the adjustment instruction is used to adjust the material distribution wheel tour instruction of the client, and the change of the client includes adding a client or reducing a client.
3. A method of dispensing material, characterized by, The method is applied to a server in a material distribution system, and includes the following steps: receiving a material distribution request sent by a client in the material distribution system, and constructing a material distribution wheel tour number of the material distribution system according to a number of clients that send the material distribution request; the material distribution request includes a feeding request or a discharging request; construct a distribution wheel tour instruction of different clients based on the distribution wheel tour quantity and the serial number position of the client working in the distribution system, the distribution wheel tour instruction including a distribution quantity and a release quantity corresponding to the client, and the distribution wheel tour instruction being sent to the client at the corresponding serial number position in the distribution system, the distribution quantity being a preset fixed value, and the release quantity being determined based on the serial number position of the client working; the distribution wheel tour instruction includes an up-loading wheel tour instruction or a down-loading wheel tour instruction, the distribution wheel tour quantity includes an up-loading wheel tour quantity or a down-loading wheel tour quantity, and the distribution quantity includes an up-loading quantity or a down-loading quantity, wherein: in a case where the distribution wheel tour instruction is the up-loading wheel tour instruction, the up-loading quantity of the client is N, N being an integer, the release quantity of the client being determined according to the up-loading wheel tour quantity and the total number of previous positions of the client, the total number of previous positions being the total number of clients including the client and clients sending up-loading requests before the client; in a case where the distribution wheel tour instruction is the down-loading wheel tour instruction, if the client is the first client, the down-loading operation of the client is always down-loading and always releasing; if the client is not the first client, the down-loading quantity of the client is M, M being an integer, and the release quantity of the client being determined according to the down-loading wheel tour quantity and the total number of subsequent positions of the client, the total number of subsequent positions being the total number of clients including the client and clients sending down-loading requests after the client.
4. The method of claim 3, wherein, after the distribution wheel tour instruction is sent to the client at the corresponding serial number position in the distribution system, the method further includes: detecting the distribution system, and in a case where a change in the client in the distribution system is detected, re-determining the serial number position of the client working in the distribution system, and sending an adjustment instruction to the client in the distribution system, the adjustment instruction being used to adjust the distribution wheel tour instruction of the client in the distribution system based on the re-determined serial number position of the client working.
5. A dispensing device characterized by, applied to one of the clients in the distribution system, the method including: a distribution request module, configured to send a distribution request to a server, the distribution request including an up-loading request or a down-loading request; an instruction receiving module, configured to receive a distribution wheel tour instruction fed back by the server based on the distribution request, the distribution wheel tour instruction including a distribution wheel tour quantity of the distribution system, the distribution wheel tour quantity being used to determine a distribution quantity and a release quantity of the client, the distribution quantity being a preset fixed value, and the release quantity being determined based on the serial number position of the client working; the distribution wheel tour instruction including an up-loading wheel tour instruction or a down-loading wheel tour instruction, the distribution wheel tour quantity including an up-loading wheel tour quantity or a down-loading wheel tour quantity, and the distribution quantity including an up-loading quantity or a down-loading quantity. The distribution operation module is configured to perform a distribution operation based on the distribution wheel tour instruction; the distribution operation includes an up-feeding operation or a down-feeding operation; wherein, when the distribution wheel tour instruction is an up-feeding wheel tour instruction, the distribution operation based on the distribution wheel tour instruction includes: determining that the up-feeding quantity in the up-feeding operation of the client is N, wherein N is an integer, the release quantity in the up-feeding operation of the client is determined according to the up-feeding wheel tour quantity and the total number of previous positions of the client, and the total number of previous positions is the total number of the client and clients that have sent up-feeding requests before the client; when the distribution wheel tour instruction is a down-feeding wheel tour instruction, the distribution operation based on the distribution wheel tour instruction includes: when the client is the first client, the down-feeding operation of the client is a continuous down-feeding and a continuous release; when the client is not the first client, determining that the down-feeding quantity in the down-feeding operation of the client is M, wherein M is an integer, the release quantity in the down-feeding operation of the client is determined according to the down-feeding wheel tour quantity and the total number of subsequent positions of the client, and the total number of subsequent positions is the total number of the client and clients that have sent down-feeding requests after the client.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1-2, or the method of any one of claims 3-4.
7. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: receiving a request for a resource from a client; determining whether the client is authorized to access the resource; and if the client is authorized to access the resource, providing the resource to the client. The computer program is executed by the processor to implement the method of any one of claims 1-2, or the method of any one of claims 3-4.
Citation Information
Patent Citations
One-to-many feeding method and system based on PLC control
CN115649797A