Order processing method, device, equipment and storage medium
By allocating high concurrent order data to the assembly line by product type and order quantity, the production stagnation caused by frequent switching modes of the assembly line is solved, and order processing and product production efficiency are improved.
Patent Information
- Application Number
- CN202111016040.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-08-31
AI Technical Summary
When the existing order processing system is processing high concurrent order data, the frequent switching of production mode of the assembly line causes stagnation of the production link, affecting the efficiency of order processing.
By obtaining high concurrent order data, the order data is divided into pending orders according to the product type, and distributed to the corresponding assembly line according to the order quantity and similarity, the corresponding product type and total quantity of the assembly line are controlled to avoid frequent switching of production modes.
Reduces the probability of assembly line errors and improves order data processing and product production efficiency.
Smart Images

Figure CN113935570B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of order data processing, and in particular, to an order processing method, apparatus, device and storage medium. Background Art
[0002] The order processing system includes two subsystems: order transaction and product production. After receiving the order data sent by the order transaction subsystem, the product manufacturing subsystem controls the production line to manufacture products corresponding to the order data.
[0003] If the order processing system receives high-concurrency order data, it controls multiple production lines to produce the products corresponding to the high-concurrency order data in batches. However, when multiple production lines process order data in batches, they randomly divide the order data into multiple batches, and multiple lines produce the same batch of order data at the same time. This multi-batch processing method requires the production line to frequently switch production modes according to the type of product currently being produced. Once the mode switching error occurs, the production process will stagnate, affecting the order processing efficiency. Summary of the invention
[0004] The embodiments of the present application provide an order processing method, device, equipment and storage medium, which can solve the problem of production stagnation caused by frequent switching of production modes of the assembly line in the existing order processing system, and improve the order data processing efficiency and product production efficiency.
[0005] In a first aspect, an embodiment of the present application provides an order processing method, including:
[0006] Acquire high-concurrency order data, each of which includes a corresponding product type and order quantity;
[0007] According to the product type corresponding to the order data, all the order data are divided into at least one pending order, and according to the order quantity of each order data in the pending order, the total amount of the product corresponding to the pending order is determined;
[0008] Allocate the pending orders to corresponding production lines according to the product types corresponding to the pending orders;
[0009] According to the total amount of products of the pending orders corresponding to the assembly line, the assembly line is controlled to produce products of corresponding product types and total amount.
[0010] Furthermore, dividing all order data into at least one to-be-processed order according to the product type corresponding to the order data includes:
[0011] All order data are grouped according to the product type to obtain pending orders corresponding to each product type, and the product type of the order data included in each pending order is the same.
[0012] Furthermore, allocating the pending orders to corresponding production lines according to the product types of the pending orders includes:
[0013] Determine the parts required to compose the corresponding product according to the product type, and determine the similarity between the products according to the parts required for each product;
[0014] The pending orders corresponding to each of the product types are grouped according to the similarity, and the pending orders in the same group are allocated to the same assembly line.
[0015] Furthermore, the order processing method further includes:
[0016] The order processing method further includes:
[0017] According to the total amount of products of each of the pending orders and the number of the assembly lines, the pending orders are evenly distributed to each of the assembly lines.
[0018] Furthermore, before controlling the assembly line to produce products of corresponding product types and total product amounts, the method further includes:
[0019] Determine the components and quantity of components required to compose the corresponding product according to the product type of the pending order;
[0020] According to the number of parts and the total amount of products in the order to be processed, the first handling robot is controlled to carry a corresponding number of parts, and the parts are transported to the assembly line corresponding to the product type.
[0021] Furthermore, according to the total amount of products of the pending orders corresponding to the assembly line, controlling the assembly line to produce products of corresponding product types and total amount includes:
[0022] Determine the running time required for the assembly line to produce the order to be processed based on the total amount of products of the order to be processed;
[0023] According to the running time corresponding to the running of the assembly line, the assembly line is controlled to produce products corresponding to the total amount of products.
[0024] Furthermore, after controlling the assembly line to produce products of corresponding product types and total product amounts, the method further includes:
[0025] Determine the production end time node of the assembly line according to the running time of the assembly line;
[0026] According to the production end time node, the second transport robot is controlled to transport the products produced by the assembly line to the storage shelf.
[0027] In a second aspect, an embodiment of the present application provides an order processing device, including:
[0028] An order acquisition module is configured to acquire high-concurrency order data, each of which includes a corresponding product type and an order quantity;
[0029] An order grouping module is configured to group all order data into at least one pending order according to the product type corresponding to the order data, and determine the total amount of products corresponding to the pending order according to the order quantity of each order data in the pending order;
[0030] An order allocation module is configured to allocate the pending orders to corresponding production lines according to the product types corresponding to the pending orders;
[0031] The product production module is configured to control the assembly line to produce products of corresponding product types and ordered quantities according to the ordered quantities of each order data in the pending orders corresponding to the assembly line.
[0032] Furthermore, in the order grouping module, the step of grouping all order data into at least one to-be-processed order according to the product type corresponding to the order data includes:
[0033] All order data are grouped according to the product type to obtain pending orders corresponding to each product type, and the product type of the order data included in each pending order is the same.
[0034] Furthermore, in the order allocation module, allocating the pending orders to corresponding production lines according to the product types of the pending orders includes:
[0035] Determine the parts required to compose the corresponding product according to the product type, and determine the similarity between the products according to the parts required for each product;
[0036] The pending orders corresponding to each of the product types are grouped according to the similarity, and the pending orders in the same group are allocated to the same assembly line.
[0037] Furthermore, the order processing device also includes: an even distribution module, which is configured to evenly distribute the pending orders to each of the assembly lines according to the total amount of products of each of the pending orders and the number of the assembly lines.
[0038] Furthermore, the order processing device also includes: a parts acquisition module, which is configured to determine the parts and the quantity of parts required to compose the corresponding products according to the product type of the order to be processed before controlling the assembly line to produce products of the corresponding product type and total product quantity; according to the number of parts and the total product quantity of the order to be processed, control the first handling robot to carry the corresponding number of parts, and transport the parts to the assembly line corresponding to the product type.
[0039] Furthermore, in the product production module, the controlling the production of products of corresponding product types and total product quantities on the assembly line according to the total product quantity of the pending orders corresponding to the assembly line comprises:
[0040] Determine the running time required for the assembly line to produce the order to be processed based on the total amount of products of the order to be processed;
[0041] According to the running time corresponding to the running of the assembly line, the assembly line is controlled to produce products corresponding to the total amount of products.
[0042] Further, the order processing device further includes: a product handling module configured to determine a production end time node of the assembly line according to the running time of the assembly line after the assembly line is controlled to produce products of the corresponding product type and total product amount;
[0043] According to the production end time node, the second transport robot is controlled to transport the products produced by the assembly line to the storage shelf.
[0044] In a third aspect, an embodiment of the present application provides an order processing device, including:
[0045] memory and one or more processors;
[0046] The memory is used to store one or more programs;
[0047] When the one or more programs are executed by the one or more processors, the one or more processors implement the order processing method as described in the first aspect.
[0048] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the order processing method as described in the first aspect.
[0049] The embodiment of the present application obtains high-concurrency order data, each order data includes the corresponding product type and order quantity; according to the product type corresponding to the order data, all order data are divided into at least one pending order, and the total product amount corresponding to the pending order is determined according to the order quantity of each order data in the pending order; according to the product type corresponding to the pending order, the pending order is assigned to the corresponding assembly line; according to the total product amount of the pending order corresponding to the assembly line, the assembly line is controlled to produce products of the corresponding product type and total product amount. Through the above technical means, order data belonging to the same product type are divided into the same pending order, and the order data of the same pending order are assigned to the same assembly line to avoid frequent switching of production modes when producing various types of products, thereby reducing the error probability of the assembly line. According to the total product amount of the pending orders assigned to each assembly line, the assembly line is controlled to produce products of the corresponding product type and total product amount in an orderly manner, thereby reducing the error probability of order data processing and improving data processing efficiency and product production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 This is a flow chart of an order processing method provided in Example 1 of the present application;
[0051] Figure 2 is a flow chart of another order processing method provided by an embodiment of the present application;
[0052] Figure 3 It is a structural schematic diagram of an order processing device provided in Embodiment 2 of the present application;
[0053] Figure 4 It is a structural diagram of an order processing device provided in Example 3 of the present application. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0055] The order processing method, device, equipment and storage medium provided by the present application are intended to obtain high-concurrency order data, each order data includes the corresponding product type and order quantity; according to the product type corresponding to the order data, all order data are divided into at least one pending order, and according to the product type corresponding to the pending order, the pending order is allocated to the corresponding assembly line; according to the order quantity of each order data in the pending order corresponding to the assembly line, the assembly line is controlled to produce products of the corresponding product type and order quantity. Compared with the order processing technology, it randomly divides the order data into multiple batches, and the assembly line needs to frequently switch the production mode according to the type of product currently produced. Once the mode switching error occurs, it will cause the production link to stagnate, affecting the order processing efficiency. Based on this, the order processing method provided by the present application is to solve the problem of stagnation of the production link due to frequent switching of the production mode of the assembly line in the existing order processing system.
[0056] Embodiment 1:
[0057] Figure 1 A flowchart of an order processing method provided in Example 1 of the present application is given. The order processing method provided in this embodiment can be executed by an order processing device, which can be implemented by software and / or hardware. The order processing device can be composed of two or more physical entities or one physical entity.
[0058] Exemplarily, this embodiment provides an order processing system, including an order transaction subsystem and a product production subsystem, wherein the order transaction subsystem is used to generate corresponding order data according to the products, quantities, and delivery addresses selected by the customer on the trading platform, and send the order data to the product production subsystem. The product production subsystem is used to process the order data to control the production of the corresponding products on the assembly line. Therefore, the order processing method in this embodiment mainly runs on the product production subsystem. It can be understood that the order processing system provided in this embodiment can realize that after the customer places an order, the assembly line can be quickly controlled to produce the corresponding products, and the transaction process and the production process are linked to improve the order processing efficiency.
[0059] This embodiment takes the order processing system as an example to describe the subject of executing the order processing method. Figure 1 , the order processing method specifically includes:
[0060] S110. Acquire high-concurrency order data, where each order data includes a corresponding product type and order quantity.
[0061] Among them, high-concurrency order data refers to a large amount of order data processed by the order processing system at the same time. For example, when a large number of customers order products from the trading platform of the order transaction subsystem, the trading platform packages the product type, order quantity, logistics address, user account and other information ordered by each customer into order data. Since the trading platform currently has a large number of orders, the trading platform generates high-concurrency order data and sends the high-concurrency order data to the product production subsystem. The product production subsystem processes the high-concurrency order data to control the assembly line to produce products of the order quantity corresponding to each order data.
[0062] S120. Divide all order data into at least one pending order according to the product type corresponding to the order data, and determine the total amount of products corresponding to the pending order according to the order quantity of each order data in the pending order.
[0063] Exemplarily, the product production subsystem is configured with multiple assembly lines. When the product production subsystem receives high-concurrency order data, it is necessary to coordinate and control multiple assembly lines to generate products corresponding to the high-concurrency order data to ensure order processing efficiency. In this regard, this embodiment proposes that order data for the same product type can be assigned to the same assembly line for production, so as to avoid the assembly line from frequently switching production modes due to different products produced each time, thereby reducing the probability of production errors. In this embodiment, all order data are grouped according to product type to obtain pending orders corresponding to each product type, and each pending order includes order data of the same product type. Exemplarily, according to the product type of each order data, order data of the same product type is assigned to the same pending order, so that the pending order can be subsequently assigned to the assembly line, so that the assembly line produces products of the corresponding type of the pending order.
[0064] Furthermore, the order quantity in each order data of the pending orders is added together to obtain the total product quantity corresponding to the pending orders, so as to subsequently control the production process of the assembly line according to the total product quantity.
[0065] S130. Allocate the pending orders to corresponding production lines according to the product types corresponding to the pending orders.
[0066] For example, different product types have different corresponding assembly line production modes, so the product types produced by each assembly line can be preset. After all order data are assigned to corresponding pending orders, the pending orders are assigned to corresponding assembly lines according to the product types of the order data in the pending orders, so that each assembly line produces a fixed type of product, avoiding frequent switching of production modes of the assembly line and reducing the probability of production errors.
[0067] In this embodiment, since there are limited assembly lines in the production workshop, it may not be possible to produce only one type of product. In this regard, this embodiment takes into account the similarity between various types of products, so as to set the product type with higher similarity as the product type produced by the same assembly line. Exemplarily, the steps of configuring the product type processed by each assembly line according to the similarity specifically include S1301-S1302:
[0068] S1201. Determine the components required to compose a corresponding product according to the product type, and determine the similarity between the products according to the components required for each product.
[0069] Exemplarily, each product is composed of corresponding parts, and the parts need to be moved to the assembly link in the assembly line in advance during production. The parts required by each product may have the same parts. If the parts required by multiple products produced by a certain assembly line are the same, and the assembly link is also the same, then when moving the parts, the parts can be fixedly moved to the assembly link of the assembly line to simplify the parts moving process. Therefore, according to the type of parts required for each product and the assembly link corresponding to each part, the similarity between each product is calculated according to the similarity calculation formula, where the similarity calculation formula is n / N, n is the number of times the same parts are required for the same assembly link between two products, and N is the most assembly links between two products. For example, product A requires parts ①, ②, ③ and ④, and parts ①, ②, ③ and ④ correspond to the first assembly link, the second assembly link, the third assembly link and the fourth assembly link respectively. Product B requires parts ①, ②, ⑤, and ④. Parts ①, ②, ⑤, and ④ correspond to the first, second, third, and fourth assembly links, respectively. At this time, both product A and product B correspond to four assembly links, and three of the assembly links require the same parts. Therefore, the similarity between product A and product B is 75%. If product C has K more assembly links than product B, and the k assembly links between the two require the same parts, the similarity between product C and product B is k / (K+4).
[0070] S1302: Group the pending orders corresponding to each product type according to similarity, and assign the pending orders in the same group to the same assembly line.
[0071] Exemplarily, after determining the similarity between the products, the maximum number of pending orders assigned to each assembly line is determined based on the number of assembly lines and the number of pending orders in the production workshop. For example, if the number of assembly lines is 5 and the number of pending orders is 18, each assembly line is assigned a maximum of 4 pending orders. Based on the maximum number of pending orders assigned to the assembly line, the pending orders corresponding to the multiple products with the highest similarity are assigned to the same assembly line.
[0072] S140. According to the total amount of products of the pending orders corresponding to the assembly line, control the assembly line to produce products of corresponding product types and total amount.
[0073] Exemplarily, after determining the product type and the corresponding total amount of the pending orders assigned to each assembly line, the production mode of the assembly line is set according to the product type and the production round of the assembly line is set according to the product quantity to control the assembly line to produce products of corresponding types and quantities. If a plurality of pending orders are assigned to an assembly line, the assembly line is set to process one pending order first and then switch the production mode to process the next pending order.
[0074] In one embodiment, since the corresponding parts of the product are needed when the assembly line produces the corresponding product, the parts of the corresponding product are transported to each assembly line before the assembly line is controlled to produce the product of the corresponding product type and ordered quantity. Accordingly, the step of transporting the parts of the corresponding product of each assembly line specifically includes S1401-S1402:
[0075] S1401. Determine the components and component quantities required to compose the corresponding product according to the product type of the order to be processed.
[0076] For example, the staff packs the types of parts, the number of parts and the corresponding assembly links required for various types of products into production information in advance. The types of parts, the number of parts and the assembly links of parts required for each product can be obtained from the production information.
[0077] S1402. According to the number of parts and the total amount of products of the order to be processed, control the first handling robot to carry a corresponding number of parts, and carry the parts to the assembly line corresponding to the product type.
[0078] Exemplarily, the production workshop is equipped with a first handling robot, which is used to carry the parts of the product to the corresponding assembly link in the corresponding assembly line. After determining the type of parts, the number of parts and the assembly link of the parts required for the product corresponding to the pending order, the first handling robot is controlled to grab the corresponding number of parts from the storage rack where the parts of this type are stored, and carry the parts to the assembly link corresponding to the assembly line corresponding to the pending order. In this embodiment, the assembly line processes multiple pending orders with high similarity, that is, the products corresponding to these pending orders have the same type of parts required in individual assembly links. Therefore, when the first handling robot is carrying the parts required by the assembly line, if the products corresponding to the pending orders processed by the assembly line have the same type of parts required in the same assembly link, then according to the total amount of products corresponding to the pending orders and the number of parts required for the products, the total amount of parts required for the assembly link is counted to control the first handling robot to carry the corresponding number of parts.
[0079] In one embodiment, in addition to setting the production rounds of the assembly line to control the assembly line to produce a corresponding number of products, the operation time of the assembly line can also be set to control the assembly line to produce a corresponding number of products.
[0080] Accordingly, the steps of controlling the production line through the running time specifically include S1403-S1404:
[0081] S1304: Determine the running time required for the assembly line to produce the order to be processed based on the total amount of products of the order to be processed.
[0082] S1305. According to the running time corresponding to the running of the assembly line, control the assembly line to produce products corresponding to the total amount of products.
[0083] For example, the production time required for the assembly line to produce one product and the total amount of products are multiplied to obtain the total time required for the assembly line to produce the total amount of products corresponding to the pending order. The production mode of the assembly line is set according to the product type and the operation time of the assembly line is set according to the total time to control the assembly line to produce the corresponding type and quantity of products.
[0084] In one embodiment, the production workshop is equipped with a second transport robot, which is used to transport the product to the storage shelf in the warehouse for storage after the assembly line has processed the corresponding pending order. Accordingly, the steps of the second transport robot transporting the product specifically include S1405-S1406:
[0085] S1307. Determine the production end time node of the assembly line according to the operation time of the assembly line.
[0086] S1308. According to the production end time node, control the second transport robot to transport the products produced by the assembly line to the storage shelf.
[0087] Exemplarily, after the assembly line starts to produce products corresponding to the pending order, the production end time node when the assembly line produces the total amount of products of the pending order is determined according to the production start time point and the set running time. The second handling robot is controlled to move all the products produced by the assembly line to the storage shelf at the production end time node. If the assembly line processes multiple pending orders, the second handling robot is controlled to move the products of the pending order after each pending order is processed. This embodiment improves the warehousing efficiency of the products by controlling the second handling robot to move the products to the storage shelf immediately after the production is completed.
[0088] on the other hand, Figure 2 is a flow chart of another order processing method provided by an embodiment of the present application. Figure 3 As shown, the order processing method includes:
[0089] S210: Acquire high-concurrency order data, where each order data includes a corresponding product type and order quantity.
[0090] S220. Divide all order data into at least one pending order according to the product type corresponding to the order data, and determine the total amount of products corresponding to the pending order according to the order quantity of each order data in the pending order.
[0091] Exemplarily, steps S210 - S220 may refer to steps S110 - S120 for details.
[0092] S230: evenly distribute the pending orders to each assembly line according to the total amount of products of each pending order and the number of assembly lines.
[0093] For example, the number of assembly lines is often less than the number of pending orders, so a certain assembly line may produce products corresponding to multiple pending orders. If the number of products produced by each assembly line is very different, it is possible that one assembly line has already processed the corresponding pending orders, while another assembly line has only processed half of the pending orders, resulting in low order processing efficiency. Therefore, in order to balance the production speed of each assembly line and improve the order processing efficiency, this embodiment proposes to evenly distribute the pending orders to each assembly line according to the total amount of products corresponding to the pending orders.
[0094] In this embodiment, according to the total amount of products corresponding to each pending order, the ratio of the total amount of products corresponding to each pending order to the total amount of products in all order data is calculated. For example, the total amount of products of pending order A is divided by the sum of the total amount of products of all pending orders to obtain the ratio of pending order A. Among them, since the ratio of the total amount of products of each pending order is random, it is difficult to achieve an absolutely uniform distribution. Therefore, the uniform distribution in this embodiment refers to the distribution method in which the difference in the ratio of the total amount of products allocated to the pending orders by each assembly line is less than that of other pending orders. Specifically, the ratios of pending orders A, pending orders B, pending orders C, pending orders D and pending orders E are 11%, 23%, 16%, 18% and 32% respectively. The production workshop is equipped with three assembly lines, namely assembly line A, assembly line B and assembly line C. Pending orders A and pending orders B are divided into pending orders corresponding to assembly line A, pending orders C and pending orders D are divided into pending orders corresponding to assembly line B, and pending orders E are divided into pending orders corresponding to assembly line C. The proportions of pending orders corresponding to assembly lines A, B, and C are 34%, 34%, and 32%, respectively. Therefore, although they cannot reach an absolute average, the difference in the proportions of the assembly lines is small and can also be regarded as an even distribution.
[0095] S240. According to the total amount of products of the pending orders corresponding to the assembly line, control the assembly line to produce products of corresponding product types and total amount.
[0096] Exemplarily, step S240 may refer to step S140.
[0097] In summary, the order processing method provided by the embodiment of the present application obtains high-concurrency order data, each order data includes the corresponding product type and order quantity; according to the product type corresponding to the order data, all order data are divided into at least one pending order, and the total product amount corresponding to the pending order is determined according to the order quantity of each order data in the pending order; according to the product type corresponding to the pending order, the pending order is assigned to the corresponding assembly line; according to the total product amount of the pending order corresponding to the assembly line, the assembly line is controlled to produce products of corresponding product type and total product amount. Through the above-mentioned technical means, the order data belonging to the same product type are divided into the same pending order, and the order data of the same pending order are assigned to the same assembly line to avoid the frequent switching of production modes when the assembly line produces various types of products, thereby reducing the error probability of the assembly line. According to the total product amount of the pending orders assigned to each assembly line, the assembly line is controlled to produce products of corresponding product type and total product amount in an orderly manner, thereby reducing the error probability of order data processing, and improving data processing efficiency and product production efficiency.
[0098] Embodiment 2:
[0099] Based on the above embodiments, Figure 3 This is a schematic diagram of the structure of an order processing device provided in Example 2 of the present application. Figure 3 The order processing device provided in this embodiment specifically includes: an order acquisition module 21, an order grouping module 22, an order allocation module 23 and a product production module 24.
[0100] The order acquisition module is configured to acquire high-concurrency order data, each of which includes a corresponding product type and order quantity;
[0101] An order grouping module is configured to group all order data into at least one pending order according to the product type corresponding to the order data, and determine the total amount of products corresponding to the pending order according to the order quantity of each order data in the pending order;
[0102] An order allocation module is configured to allocate pending orders to corresponding production lines according to product types corresponding to the pending orders;
[0103] The product production module is configured to control the assembly line to produce products of corresponding product types and ordered quantities according to the ordered quantities of each order data in the pending orders corresponding to the assembly line.
[0104] Based on the above embodiment, in the order grouping module, according to the product type corresponding to the order data, all order data are divided into at least one to-be-processed order, including:
[0105] All order data are grouped according to product type to obtain pending orders corresponding to each product type, and the product type of the order data included in each pending order is the same.
[0106] Based on the above embodiment, in the order allocation module, allocating the pending orders to the corresponding production lines according to the product types of the pending orders includes:
[0107] Determine the parts required to compose the corresponding product based on the product type, and determine the similarity between the products based on the parts required for each product;
[0108] The pending orders corresponding to each product type are grouped according to their similarity, and the pending orders in the same group are assigned to the same assembly line.
[0109] On the basis of the above embodiment, the order processing device further includes: an even distribution module configured to evenly distribute the orders to be processed to each assembly line according to the total amount of products of each order to be processed and the number of assembly lines.
[0110] On the basis of the above embodiment, the order processing device also includes: a parts acquisition module, which is configured to determine the parts and the number of parts required to compose the corresponding product according to the product type of the order to be processed before controlling the assembly line to produce products of the corresponding product type and total product quantity; according to the number of parts and the total product quantity of the order to be processed, control the first handling robot to carry the corresponding number of parts, and transport the parts to the assembly line corresponding to the product type.
[0111] On the basis of the above embodiment, in the product production module, according to the total amount of products of the pending orders corresponding to the assembly line, controlling the assembly line to produce products of corresponding product types and total amount of products includes:
[0112] Determine the running time required for the assembly line to produce the pending orders based on the total amount of products in the pending orders;
[0113] According to the corresponding running time of the assembly line, control the assembly line to produce products with corresponding total amount.
[0114] On the basis of the above embodiment, the order processing device further includes: a product handling module configured to determine the production end time node of the assembly line according to the running time of the assembly line after controlling the assembly line to produce products of corresponding product types and total product quantity;
[0115] According to the production end time node, the second transport robot is controlled to transport the products produced by the assembly line to the storage shelves.
[0116] In summary, the order processing device provided by the embodiment of the present application obtains high-concurrency order data, each order data includes the corresponding product type and order quantity; according to the product type corresponding to the order data, all order data are divided into at least one pending order, and the total product amount corresponding to the pending order is determined according to the order quantity of each order data in the pending order; according to the product type corresponding to the pending order, the pending order is assigned to the corresponding assembly line; according to the total product amount of the pending order corresponding to the assembly line, the assembly line is controlled to produce products of corresponding product type and total product amount. Through the above-mentioned technical means, order data belonging to the same product type are divided into the same pending order, and the order data of the same pending order are assigned to the same assembly line to avoid frequent switching of production modes when producing various types of products, thereby reducing the error probability of the assembly line. According to the total product amount of the pending orders assigned to each assembly line, the assembly line is controlled to produce products of corresponding product type and total product amount in an orderly manner, thereby reducing the error probability of order data processing, and improving data processing efficiency and product production efficiency.
[0117] The order processing device provided in the second embodiment of the present application can be used to execute the order processing method provided in the above-mentioned first embodiment, and has corresponding functions and beneficial effects.
[0118] Embodiment three:
[0119] Embodiment 3 of the present application provides an order processing device, referring to Figure 4 The order processing device includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The number of processors in the order processing device can be one or more, and the number of memories in the order processing device can be one or more. The processor, memory, communication module, input device and output device of the order processing device can be connected via a bus or other means.
[0120] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the order processing method described in any embodiment of the present application (for example, the order acquisition module 21, the order grouping module 22, the order distribution module 23 and the product production module 24 in the order processing device). The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0121] The communication module 33 is used for data transmission.
[0122] The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, implements the above-mentioned order processing method.
[0123] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.
[0124] The order processing device provided above can be used to execute the order processing method provided in the above embodiment 1, and has corresponding functions and beneficial effects.
[0125] Embodiment 4:
[0126] An embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute an order processing method when executed by a computer processor. The order processing method includes: obtaining high-concurrency order data, each order data including a corresponding product type and an order quantity; dividing all order data into at least one pending order according to the product type corresponding to the order data, and determining the total product quantity corresponding to the pending order according to the order quantity of each order data in the pending order; allocating the pending order to the corresponding assembly line according to the product type corresponding to the pending order; and controlling the assembly line to produce products of the corresponding product type and total product quantity according to the total product quantity of the pending order corresponding to the assembly line.
[0127] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.
[0128] Of course, the storage medium containing computer executable instructions provided in the embodiments of the present application is not limited to the order processing method described above, and the computer executable instructions can also execute related operations in the order processing method provided in any embodiment of the present application.
[0129] The order processing apparatus, device and storage medium provided in the above embodiments can execute the order processing method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the order processing method provided in any embodiment of the present application.
[0130] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. An order processing method, characterized in that: include: Acquire high-concurrency order data, each of which includes a corresponding product type and order quantity; According to the product type corresponding to the order data, all the order data are divided into at least one pending order, wherein the method includes grouping all the order data according to the product type to obtain pending orders corresponding to each product type, the product type of the order data included in each pending order is the same, and the total amount of products corresponding to the pending orders is determined according to the order quantity of each order data in the pending orders; According to the product type corresponding to the pending order, the pending order is assigned to the corresponding assembly line, which includes determining the parts required to compose the corresponding product according to the product type, determining the similarity between the products according to the parts required for each product, grouping the pending orders corresponding to the product types according to the similarity, and assigning the pending orders in the same group to the same assembly line; According to the total amount of products of the pending orders corresponding to the assembly line, the assembly line is controlled to produce products of corresponding product types and total amount.
2. The method according to claim 1, characterized in that The order processing method further includes: According to the total amount of products of each of the pending orders and the number of the assembly lines, the pending orders are evenly distributed to each of the assembly lines.
3. The method according to claim 1, characterized in that: Before controlling the assembly line to produce products of corresponding product types and total product amounts, the method further includes: Determine the components and quantity of components required to compose the corresponding product according to the product type of the pending order; According to the number of parts and the total amount of products in the order to be processed, the first handling robot is controlled to carry a corresponding number of parts, and the parts are transported to the assembly line corresponding to the product type.
4. The method according to claim 1, characterized in that: According to the total amount of products of the pending orders corresponding to the assembly line, controlling the assembly line to produce products of corresponding product types and total amount includes: Determine the running time required for the assembly line to produce the order to be processed based on the total amount of products of the order to be processed; According to the running time corresponding to the running of the assembly line, the assembly line is controlled to produce products corresponding to the total amount of products.
5. The method according to claim 4, characterized in that After controlling the assembly line to produce products of corresponding product types and total product amounts, the process further includes: Determine the production end time node of the assembly line according to the running time of the assembly line; According to the production end time node, the second transport robot is controlled to transport the products produced by the assembly line to the storage shelf.
6. An order processing device, characterized in that: include: An order acquisition module is configured to acquire high-concurrency order data, each of which includes a corresponding product type and an order quantity; An order grouping module is configured to group all order data into at least one pending order according to the product type corresponding to the order data, and determine the total amount of products corresponding to the pending order according to the order quantity of each order data in the pending order, and is specifically configured to group all order data according to the product type to obtain pending orders corresponding to each product type, wherein the product type of the order data included in each pending order is the same; An order allocation module is configured to allocate the pending orders to corresponding production lines according to the product types corresponding to the pending orders, and is specifically configured to determine the parts required to compose the corresponding products according to the product types, determine the similarity between the products according to the parts required for each product, group the pending orders corresponding to the product types according to the similarities, and allocate the pending orders in the same group to the same production line; The product production module is configured to control the assembly line to produce products of corresponding product types and ordered quantities according to the ordered quantities of each order data in the pending orders corresponding to the assembly line.
7. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the order processing method as described in any one of claims 1-5.
8. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the order processing method according to any one of claims 1 to 5 when executed by a computer processor.
