Automatic material calling method and device
By detecting the empty space in the station library in the automatic material calling system and judging the material model when the material is first called, the tail roll is given priority, which solves the problem of low material usage rate of the tail roll and improves resource utilization efficiency.
Patent Information
- Application Number
- CN202411860387.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-05-13
AI Technical Summary
The use rate of the tail roll material in the existing automatic material calling system is low, resulting in waste of resources.
By detecting the vacancy situation of the equipment station library, we can determine whether the material needs to be called, and when the material is called for the first time, we will determine the material model that needs to be called for the final roll based on the dispatch volume of the work order, and give priority to the final roll.
It improves the utilization rate of the end roll materials, reduces the scrapping of the end rolls, and optimizes the utilization of production resources.
Smart Images

Figure CN119976133A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of warehousing, and in particular to an automatic material calling method and equipment. Background Art
[0002] The aseptic packaging industry has extremely high requirements for product safety and hygiene, so automatic material calling technology is particularly important in this industry. By introducing an automatic material calling system, companies can achieve refined management of aseptic packaging materials and ensure product quality and production efficiency.
[0003] At present, the automatic material calling system determines the amount of raw materials required for production according to the production plan, and then calls for materials based on the amount of raw materials required for production and the inventory. In order to consume the tail roll materials in the inventory, the automatic material calling system will call for the tail roll materials when the difference between the remaining amount of raw materials required for the current work order and the tail roll materials in the inventory is less than the preset threshold. For example, the remaining amount of raw materials required for the current work order is 1900 meters of base paper, and the lengths of multiple tail rolls of base paper in the inventory are 2200 meters, 1800 meters, etc. At this time, the automatic material calling system selects the 2200-meter tail roll of base paper, and after using 1900 meters, the remaining 300 meters of base paper will be scrapped.
[0004] However, when the above-mentioned material calling method is adopted, some of the tail roll materials are scrapped, resulting in a waste of resources. Summary of the invention
[0005] The present application provides an automatic material calling method and device, which are used to solve the problem of low utilization rate of tail rolls in the existing material calling method.
[0006] In a first aspect, the present application provides an automatic material calling method, comprising:
[0007] When it is detected that at least one storage location in the workstation library of the current equipment is empty, it is determined whether the current equipment needs to call for materials based on the number of workstation libraries and the number of materials. The number of materials includes the number of materials in transit.
[0008] When it is determined that the current equipment needs to call for materials, determine whether the current work order is the first time to call for materials;
[0009] If the current work order is the first material call, the material model that needs to be called for the tail volume is determined according to the material dispatch quantity in the current work order. The material is at least one model of material, and the material corresponding to the tail volume is the split non-whole material;
[0010] Call for materials according to the material model of the tail volume that needs to be called.
[0011] In some embodiments, according to the dispatched quantity of the material in the current work order, determining the material model that needs to be called for the tail roll includes:
[0012] Traverse the dispatched quantity of each type of material in order from large to small, and determine the first material type that needs to be called for at the end of the roll;
[0013] Accordingly, the material model for tail volume material calling is used, specifically:
[0014] Call for materials based on the first material model that requires tail volume call.
[0015] In some embodiments, calling for materials according to the first material model that needs to be called for tail volume materials includes:
[0016] According to the tail volume identification, determine whether there is a tail volume material corresponding to the material model;
[0017] If it exists, allocate the tail roll material and the whole roll material corresponding to the material model. The material corresponding to the whole roll is the whole material that has not been split;
[0018] If it does not exist, allocate the whole roll of material corresponding to the material model and generate the tail roll identifier.
[0019] In some embodiments, the dispatched quantity of each type of material is traversed in order from large to small to determine the first material type that needs to be called for at the end of the material roll, including:
[0020] For each type of material, determine whether the material of this type needs to be called for at the end of the roll based on the material's dispatched quantity, the number of remaining materials in the workstation warehouse, and the standard length of the material.
[0021] In some embodiments, after determining whether the current work order is the first material request, the method further includes:
[0022] If the current work order is not the first material order, determine whether the material order of the current work order has been completed;
[0023] If the material order is completed, the next material order will be determined based on the current equipment's work list;
[0024] If the material has not been called, the whole roll will be called.
[0025] In some embodiments, determining whether the current work order has been completed includes:
[0026] For each type of material, determine whether the material of this type has been ordered based on the number of remaining materials in the workstation warehouse, the number of materials in transit, the number of workers assigned to the current work order, and the number of good products in the current work order;
[0027] When the material ordering for each type of material is completed, it is determined that the material ordering for the current work order is completed.
[0028] In a second aspect, the present application provides an automatic material calling device, comprising:
[0029] The judgment module is used to determine whether the current device needs to call for materials based on the number of workstations and the number of materials when it detects that at least one of the workstations in the current device is empty. The number of materials includes the number of materials in transit.
[0030] The judgment module is also used to determine whether the current work order is the first time to call for materials when the current equipment needs to call for materials;
[0031] The determination module is used to determine the material model that needs to be called for the tail volume according to the dispatched quantity of the material in the current work order if the current work order is the first time to call for materials. The material is at least one model of material, and the material corresponding to the tail volume is a split non-whole material;
[0032] The material calling module is used to call materials according to the material model of the tail volume as needed.
[0033] In a third aspect, the present application provides an electronic device, including: a memory and a processor;
[0034] The memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory to implement the automatic material calling method in the first aspect and any one of the embodiments of the first aspect.
[0035] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the automatic material calling method in the first aspect and any one of the embodiments of the first aspect is implemented.
[0036] In a fifth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the automatic material calling method in the first aspect and any one of the embodiments of the first aspect.
[0037] The automatic material calling method and device provided in the present application detects the workstation library of the current device. When at least one storage position in the workstation library is empty, it determines whether the current device needs to call for materials based on the number of workstation libraries and the number of materials. When it is determined that the current device needs to call for materials, it determines whether the current operation order of the current device is the first time to call for materials. If the current operation order is the first time to call for materials, the materials that need to be called for the tail roll are determined according to the dispatched quantity of the materials in the current operation order and the materials are called, thereby giving priority to the use of the tail roll in production and reducing the scrap rate of the tail roll. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 A schematic diagram of the structure of an automatic material calling system provided in one embodiment of the present application;
[0040] Figure 2 A flowchart of an automatic material request method provided in one embodiment of the present application;
[0041] Figure 3 A flowchart of another automatic material ordering method provided in one embodiment of the present application;
[0042] Figure 4 A schematic diagram of the structure of an automatic material calling device provided in one embodiment of the present application;
[0043] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] The word "if" as used herein may be interpreted as "when" or "when" or "in response to determining" depending on the context.
[0046] Furthermore, as used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context indicates otherwise.
[0047] The aseptic packaging industry has extremely high requirements for product safety and hygiene, so automatic material calling technology is particularly important. By introducing an automatic material calling system, companies can achieve refined management of aseptic packaging materials and ensure product quality and production efficiency.
[0048] At present, when the production line needs to call for materials, the automatic material calling system will generate a material calling request based on the amount of raw materials required for production and the inventory. The consumption of tail roll materials is determined based on the remaining amount of materials required for the work order and the inventory of tail roll materials. For example, the remaining amount of raw materials required for the current work order is 1900 meters of base paper, and the lengths of multiple base paper tail roll materials in the inventory are 2200 meters, 1800 meters, etc. At this time, the automatic material calling system selects 2200 meters of base paper tail roll, and after using 1900 meters, the remaining 300 meters of base paper are scrapped. With this material calling method, the utilization rate of tail roll materials is low. Alternatively, the automatic material calling system selects 1800 meters of base paper tail roll and adjusts the production plan, which results in the inability to fully realize the production plan.
[0049] In view of the above problems, the present application proposes an automatic material calling method and device. In the method, when it is determined that the tail roll needs to be called according to the work quantity in the work order, the tail roll is called first, and the tail roll material is used first in production, and then the whole roll material is used, thereby avoiding the problem that the tail roll material quantity does not match the tail roll quantity required in the work order, avoiding the scrapping of the tail roll material, and improving the utilization rate of the tail roll material.
[0050] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0051] Figure 1 FIG. 1 shows an automatic material calling system provided by an embodiment of the present application. Figure 1 As shown, the automatic material calling system in this embodiment relies on modern automation, information technology and Internet of Things technology to achieve integrated management of automatic material calling. Specifically, the automatic material calling system includes a manufacturing execution system (MES), an enterprise resource planning (ERP) system, an automated warehouse control system (WCS) and an automated guided vehicle (AGV) system.
[0052] Before using the automatic material calling system, it is necessary to plan the storage locations at the production site based on the material information, including the information on the placement of materials in each storage location, and maintain the storage location information in MES to map the physical actual storage location to the automatic material calling system. Specifically, maintaining storage location information in MES includes maintaining the attributes of each storage location, such as the process and equipment corresponding to the storage location, whether it is the main storage location, whether the AGV can be delivered, the number of materials stored in the storage location, the storage status, the area and other attributes. It needs to be explained here that the storage location can be divided into the work station warehouse, the upper machine port warehouse and the tail roll area warehouse, and the work station warehouse can be divided into the main warehouse and the secondary warehouse. The work station warehouse is used to store materials to be used, the upper machine port warehouse is used to store materials in use, and the tail roll area is used to store unused non-full materials. For example, half a roll of base paper can be stored in the tail roll area.
[0053] After planning the warehouse location, you also need to configure the distribution rules according to the material information and maintain the distribution rules for each factory, workshop, and process equipment, such as whether the main warehouse calls for materials, whether to distribute to the main warehouse, whether to check the main warehouse, etc. After the distribution rules are configured, the distribution rules are associated with the warehouse location information to form a mapping relationship between material information, warehouse location information, and distribution rules. In addition, the secondary warehouse information corresponding to the main warehouse can also be maintained. If the planning of the physical warehouse location changes, the mapping relationship can be adaptively adjusted.
[0054] During the production process, MES monitors the inventory changes in the production equipment workstation warehouse. When a change in inventory is detected, MES automatically calculates whether the current work order needs to call for materials through a preset automatic material calling algorithm model. If necessary, MES sends the material calling request to the ERP system through the Web Application Programming Interface (WebApi). After receiving the message, the ERP system will feedback the result of the message to MES. MES generates a material calling document based on this and sends it to WCS. According to the material calling document, WCS uses an elevator to automatically transport the material from the raw material warehouse to the track port, and then transports it to the corresponding equipment docking port via the plate chain line. After the transportation is completed, the transportation information is fed back to MES. After receiving the transportation information, MES performs logical processing such as document closing, and drives the AGV system to perform automatic calculations to transport the material to the workstation warehouse for scanning and loading production.
[0055] After MES sends a material request task, if the equipment needs to stop production or pull an order for processing, MES will check the status of WCS delivery. If it is determined that WCS has not delivered, MES can cancel the sent material request task.
[0056] When an emergency order is inserted on site, the automatic material ordering system supports manual adjustment. The manual operation system sends the emergency order insertion instruction to ERP. After ERP sends the order insertion information to MES, WCS gives priority to dispatching the materials for the order according to the material ordering instruction of MES.
[0057] The automatic material ordering system in this embodiment uses a combination of software and hardware to provide a more accurate and intelligent material ordering mode, replacing the manual offline communication and manual material transportation methods in related technologies, and realizing an automatic integrated automatic material ordering method through rule configuration, algorithm model, equipment automation, etc. In addition, digital management can also make warehouse management more transparent and efficient, and improve the overall management level.
[0058] In this application, an electronic device is used as the execution subject to execute the automatic material calling method of the following embodiment. It can be understood that the electronic device in this application can be the automatic material calling system in the above embodiment. Specifically, the execution subject can be a hardware device of the electronic device, or a software application that implements the following embodiment in the electronic device, or a computer-readable storage medium that is installed with the software application that implements the following embodiment, or a code that implements the software application of the following embodiment.
[0059] Figure 2 FIG. 1 shows a flow chart of an automatic material calling method provided by an embodiment of the present application. Figure 2 As shown, with the electronic device as the execution subject, the method of this embodiment may include the following steps:
[0060] S101. When it is detected that at least one storage location in the workstation storage of the current device is empty, it is determined whether the current device needs to order materials based on the number of workstation storages and the number of materials.
[0061] In this embodiment, the workstation warehouse may include multiple warehouses. When at least one warehouse is empty, the electronic device determines whether to call for materials based on the number of workstation warehouses and the number of materials. Specifically, the number of materials includes the number of existing materials in the workstation warehouse and the number of materials in transit. The number of materials in transit is the number of materials that have been called but not delivered.
[0062] For base paper materials, each workstation can be set to store a roll of base paper. The total amount of materials required can be determined based on the number of workstations. When the number of existing materials is less than the total amount of materials required, it can be determined that the current equipment needs to call for materials.
[0063] Optionally, the electronic device may first determine whether to order materials for the main warehouse according to the distribution rules. If so, only the main warehouse of the workstation warehouse may be detected; if not, all warehouses of the workstation warehouse need to be detected.
[0064] S102: When it is determined that the current equipment needs to order materials, it is determined whether the current work order is the first time to order materials.
[0065] In this embodiment, the operation work order of the current device includes the current operation work order and the queued work order, and a material order list will be generated during the material ordering process of each work order.
[0066] The current equipment needs to request materials, which may be the current work order or the queued work order. Polling is done in the order of the work list, and firstly, it is determined whether the current work order is requesting materials. The determination process includes determining whether the current work order is the first time to request materials.
[0067] By checking whether the current work order has a corresponding material order, it can be determined whether the current work order is the first material order. It should be noted that the material order here does not include the material order in the canceled state.
[0068] S103. If the current work order is the first material call, determine the material model that needs to be called for the tail volume according to the material dispatch quantity in the current work order.
[0069] In this embodiment, the material is at least one type of material, and each type of material can be used to complete the current work order. The material corresponding to the tail roll is a split non-whole material.
[0070] For example, the dispatched quantity of base paper in the current work order is 1.5 rolls of model A, 2 rolls of model B, and 1.3 rolls of model C, which means that when model A is selected, 1.5 rolls are needed; when model B is selected, 2 rolls are needed; when model C is selected, 1.3 rolls are needed. It can be determined that the base paper of model A and model C needs to be called for the last roll. When calling for materials, any model of base paper can be selected. For models with insufficient inventory, materials can be mixed.
[0071] S104, calling for materials according to the material model of the tail volume as needed.
[0072] In this embodiment, the material ordering follows the principle of prioritizing the tail volume. Specifically, among the materials of various types, the types with tail volumes can be preferentially selected so as to preferentially consume the tail volume inventory.
[0073] The automatic material calling method provided in this embodiment automatically detects whether there is a vacant position in the workstation library of the current equipment, and when there is a vacant position and it is determined that the current equipment needs to call for materials, it determines whether the current operation order of the current equipment is the first material call, and if so, it determines the material model that needs to be called for the tail roll according to the material dispatch quantity in the current operation order and calls for materials accordingly, so that the tail roll inventory can be consumed by giving priority to calling for materials, the utilization rate of the tail roll warehouse can be improved, and the tail roll can be used preferentially during production, which can reduce the scrap rate of the tail roll and improve the utilization rate of the tail roll.
[0074] In some embodiments, in step S103, the material model that needs to be called for at the end of the material roll is determined based on the material dispatch quantity in the current work order, including: traversing the dispatch quantity of each material model in order from large to small, and determining the first material model that needs to be called for at the end of the material roll.
[0075] Correspondingly, step S104 specifically involves calling for materials according to the first material model that requires tail volume calling.
[0076] For example, the dispatched quantity of base paper in the current work order is 1.5 rolls of model A, 2 rolls of model B, and 1.3 rolls of model C. Traverse the dispatched quantity of each type of material in order from large to small. The dispatched quantity of model B base paper is 2 rolls, and no tail roll call is required; the dispatched quantity of model A base paper is 1.5 rolls, and tail roll call is required. At this time, it can be determined that the first material model that needs to be called for the tail roll is model A. When calling for materials, model A materials are preferred.
[0077] In this embodiment, for materials with small inventory, the material dispatch quantity of each model is traversed in order from large to small. While choosing to consume the tail volume first, a single model of material can be used as much as possible to complete the current work order, thereby reducing the mixing of multiple models of materials.
[0078] In some embodiments, step S103 is specifically as follows: for each type of material, according to the material dispatch quantity, the quantity of remaining materials in the workstation warehouse and the standard length of the material, it is determined whether the material of this type needs to be called for at the end of the roll.
[0079] Specifically, for each type of material, you can calculate (the dispatched quantity of the material - the remaining quantity of the corresponding type of material) / standard length of the material. If it can be divided evenly, then you can order the material in integer rolls; otherwise, you need to order the material in tail rolls.
[0080] Among them, the remaining quantity of the corresponding model material = (the remaining quantity of materials in the workstation warehouse + the quantity of materials consumed by the current work order + the quantity of materials in transit for the current work order + the quantity of materials in transit for the queued work order) - (the dispatched quantity of the current work order + the dispatched quantity of the queued work order that has called for materials). The standard length of the material can be obtained from the material master data table.
[0081] like Figure 3 As shown, in some embodiments, the specific implementation of step S104 includes the following steps:
[0082] S1041. According to the tail roll identifier, determine whether there is a tail roll material corresponding to the material model.
[0083] S1042. If it exists, allocate the tail roll material and allocate the whole roll material corresponding to the material model.
[0084] Among them, the material corresponding to the whole roll is the whole material that has not been split.
[0085] S1043. If it does not exist, allocate the whole roll of material corresponding to the material model and generate the tail roll identification.
[0086] In this embodiment, unused tail roll materials can be stored in the tail roll area, and tail roll materials of different models are matched with unique tail roll identifiers. The tail roll identifiers can be stored in the ERP system and obtained from the ERP system when used.
[0087] The tail roll identification can be used to determine whether there are tail rolls of the specified model. If there are tail rolls, the tail rolls and the whole rolls of the same model are preferentially allocated. If there are no tail rolls, the whole rolls are allocated, and the tail roll identification corresponding to the material model is generated and stored in the ERP system. Among them, the generated tail roll identification is used to identify the tail rolls generated by the current equipment after the material is called for production.
[0088] Continue to refer Figure 2 In some embodiments, after determining whether the current work order is the first material request in step S102, the following steps are further included:
[0089] S105. If the current work order is not the first material order, determine whether the material order for the current work order has been completed.
[0090] S106. If the material order is completed, determine the next material order based on the current equipment's work list.
[0091] S107. If the material calling is not completed, the whole roll is called.
[0092] In this embodiment, when the current equipment needs to call for materials, it may be that the current work order needs to call for materials, or it may be that the queued work order needs to call for materials. When the current work order is not the first time to call for materials, it is necessary to determine whether the current work order has completed the material call after the current material call is completed.
[0093] Specifically, for each type of material, the number of remaining materials in the workstation warehouse, the number of materials in transit, the number of workers assigned to the current work order, and the number of qualified products in the current work order are used to determine whether the material order for this type of material has been completed. When the material order for each type of material has been completed, it is determined that the material order for the current work order has been completed.
[0094] For each type of material, you can calculate (the number of remaining materials of the same type in the workstation warehouse + the number of materials of the same type in transit for the current work order) - (the number of dispatched workers for the current work order - the number of good products for the current work order). If the calculation result is greater than or equal to zero, it means that the material order for the current work order has been completed and the next work order can be polled. If the calculation result is less than zero, it means that the material order for the current work order has not been completed and needs to be continued.
[0095] Among them, the number of remaining materials of the same model in the workstation library refers to the number of unconsumed materials of the same model in the workstation library under the current equipment.
[0096] The quantity of materials of the same model in transit for the current work order refers to the sum of the quantity of materials ordered for uncancelled material orders and the quantity of materials in the current material order at the docking station.
[0097] The good quantity of the current work order is the number of non-scrapped materials in the Work In Progress (WIP) report, for example, the length of the roll of base paper.
[0098] For work orders that need to continue to request materials, you can also determine whether the work order has exceeded the materials. The judgment logic is to calculate the work order dispatch quantity + material standard length - effective input meters - material in transit quantity - remaining quantity of materials in the work station warehouse. Among them, the remaining quantity of materials in the work station warehouse is the summary of materials under the current work order.
[0099] If the calculation result is greater than zero, it indicates over-collection. When over-collection occurs, after polling to determine that the work order has met the material demand, the inventory is queried in descending order of the work order dispatch quantity. If the inventory is sufficient, over-collection can be made. If the inventory is insufficient, the next model of material is polled. If the calculation result is less than or equal to zero, it is not over-collection.
[0100] In this embodiment, if the current work order has completed the material call, the next material call order is determined according to the current equipment's work list. If the current work order has not completed the material call, the whole roll material call is performed. Since the current work order is not the first material call, the whole roll material call is performed when the material call is required to avoid the reduction of equipment production efficiency caused by the tail roll material call. When the material call is not required, the next material call order is automatically determined, which reduces manual intervention, improves the material call speed and accuracy, and reduces the overall operating cost by reducing labor costs and lowering the error rate.
[0101] Figure 4 FIG. 1 shows a schematic diagram of the structure of an automatic material calling device provided by an embodiment of the present application. Figure 4 As shown, the automatic material calling device 10 of this embodiment is used to implement the operation corresponding to the electronic device in any of the above method embodiments. The automatic material calling device 10 of this embodiment includes:
[0102] The judgment module 11 is used to judge whether the current device needs to call for materials based on the number of workstations and the number of materials when it is detected that at least one of the workstations in the current device is empty. The number of materials includes the number of materials in transit.
[0103] The judgment module 11 is used to determine whether the current operation work order is the first time to call for materials when it is determined that the current equipment needs to call for materials;
[0104] The determination module 12 is used to determine the material model that needs to be called for the tail volume according to the dispatched quantity of the material in the current work order if the current work order is the first time to call for materials, and the material is at least one model of material, and the material corresponding to the tail volume is a split non-whole material;
[0105] The material calling module 13 is used to call materials according to the material model of the tail volume.
[0106] The automatic material calling device 10 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.
[0107] Figure 5 FIG. 1 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 20 is used to implement the operations corresponding to the electronic device in any of the above method embodiments. The electronic device 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface 24.
[0108] The memory 21 is used to store computer programs. The memory 21 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk, or an optical disk.
[0109] The processor 22 is used to execute the computer program stored in the memory to implement the method in the above embodiment. For details, please refer to the relevant description in the above method embodiment. The processor 22 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0110] Optionally, the memory 21 may be independent or integrated with the processor 22 .
[0111] When the memory 21 is a device independent of the processor 22, the electronic device 20 may further include a bus 23. The bus 23 is used to connect the memory 21 and the processor 22. The bus 23 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0112] The communication interface 24 may be connected to the processor 22 via the bus 23. The processor 22 may control the communication interface 24 to implement the functions of receiving and sending signals.
[0113] The electronic device 20 provided in this embodiment can be used to execute the above-mentioned automatic material ordering method, and its implementation method and technical effect are similar, which will not be repeated in this embodiment.
[0114] The present application also provides a computer-readable storage medium, in which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, it is used to implement the methods provided in the various embodiments described above.
[0115] Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the computer-readable storage medium can also exist in a communication device as discrete components.
[0116] Specifically, the computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium may be any available medium that can be accessed by a general or special-purpose computer.
[0117] The present application also provides a computer program product, which includes a computer program / instruction, and the computer program / instruction is stored in a computer-readable storage medium. At least one processor of the device can read the computer program / instruction from the computer-readable storage medium, and at least one processor executes the computer program / instruction so that the device implements the methods provided in the various embodiments described above.
[0118] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0119] Among them, each module can be physically separated, for example, installed in different locations of a device, or installed on different devices, or distributed on multiple network units, or distributed on multiple processors. Each module can also be integrated together, for example, installed in the same device, or integrated in a set of codes. Each module can exist in the form of hardware, or can also exist in the form of software, or can also be implemented in the form of software plus hardware. The present application can select some or all of the modules according to actual needs to achieve the purpose of the present embodiment.
[0120] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An automatic material calling method, characterized in that: The method comprises: When it is detected that at least one storage location in the workstation library of the current device is empty, it is determined whether the current device needs to order materials based on the number of workstation libraries and the number of materials, where the number of materials includes the number of materials in transit; When it is determined that the current equipment needs to call for materials, determine whether the current work order is the first time to call for materials; If the current work order is the first material call, then the material model that needs to be called for the tail volume is determined according to the dispatched quantity of the material in the current work order, and the material is at least one model of material, and the material corresponding to the tail volume is a split non-whole material; Call for materials according to the material model of the tail volume that needs to be called.
2. The method according to claim 1, characterized in that According to the material dispatch quantity in the current work order, determine the material model that needs to be called for at the end of the roll, including: Traverse the dispatched quantity of each type of material in order from large to small, and determine the first material type that needs to be called for at the end of the roll; Accordingly, the material is called according to the material model of the tail roll that needs to be called, specifically: Call for materials based on the material model of the first material that needs to be called for at the end of the roll.
3. The method according to claim 2, characterized in that Calling for materials according to the first material model that needs to be called for tail volume includes: According to the tail volume identification, determine whether there is a tail volume material corresponding to the material model; If it exists, the tail roll material is allocated, and the whole roll material corresponding to the material model is allocated, and the material corresponding to the whole roll is the whole material that has not been split; If it does not exist, allocate the whole roll of material corresponding to the material model and generate the tail roll identification.
4. The method according to claim 2, characterized in that: Traverse the dispatched quantity of each type of material in order from large to small, and determine the first material type that needs to be called for at the end of the roll, including: For each type of material, determine whether the material of this type needs to be called for at the end of the roll based on the material's dispatched quantity, the number of remaining materials in the workstation warehouse, and the standard length of the material.
5. The method according to any one of claims 1 to 4, characterized in that: After determining whether the current work order is the first material request, it also includes: If the current work order is not the first material order, determine whether the material order for the current work order is completed; If the material order is completed, the next material order will be determined based on the current equipment's work list; If the material has not been called, the whole roll will be called.
6. The method according to claim 5, characterized in that Determining whether the current work order has been completed includes: For each type of material, determine whether the material of this type has been ordered based on the number of remaining materials in the workstation warehouse, the number of materials in transit, the dispatched quantity of the current work order, and the quantity of good products of the current work order; When the material ordering of each type of material is completed, it is determined that the material ordering of the current work order is completed.
7. An automatic material calling device, characterized in that: include: A judgment module is used to judge whether the current device needs to call for materials based on the number of workstations and the number of materials when it is detected that at least one of the workstations in the current device is empty, and the number of materials includes the number of materials in transit; The judgment module is also used to determine whether the current work order is the first time to call for materials when the current equipment needs to call for materials; A determination module, for determining, if the current work order is the first time to call for materials, the material model that needs to be called for the tail volume according to the dispatched quantity of the material in the current work order, the material is at least one model of material, and the material corresponding to the tail volume is a split non-whole material; The material calling module is used to call for materials according to the material model of the tail volume that needs to be called.
8. An electronic device, characterized in that: include: Memory and processor; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to implement the automatic material calling method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the automatic material calling method as described in any one of claims 1-6.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the automatic material ordering method according to any one of claims 1 to 6 is implemented.