Work order switching method, device, electronic control equipment and storage medium

By determining the similarity between the current work order and the work order to be produced in the production equipment, and selecting the work order with the highest similarity for switching, the problem of low efficiency during the switching process of production equipment is solved and more efficient production is achieved.

CN114755987BActive Publication Date: 2025-08-26ZHUJI XINGDAHAO SCI & TECH DEV +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210328715.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2025-08-26
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

When switching product work orders for production equipment, the staff make inaccurate choices based on their personal experience, resulting in excessive raw material replacement and equipment reconfiguration, reducing production efficiency.

Method used

By determining the similarity between the current work order of the production equipment and the work order to be produced, select the work order with the highest similarity to switch, reducing raw material replacement and equipment reconfiguration.

Benefits of technology

Improve the production efficiency of production equipment and reduce the number of times raw material replacement and equipment reconfiguration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114755987B_ABST
    Figure CN114755987B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method, apparatus, electronic control device, and storage medium for work order switching. The method includes: determining a first product work order currently being produced by production equipment, and multiple second product work orders to be produced; determining the similarity between the first product work order and each second product work order; determining a target product work order from the multiple second product work orders based on the similarity between the first product work order and each second product work order; and, after production of the first product work order is complete, controlling the production equipment to produce the target product work order. This improves production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of electronic control technology, and in particular to a method, apparatus, electronic control equipment, and storage medium for work order switching. Background Art

[0002] The production equipment in a factory can produce products based on work orders. Different work orders may correspond to different products. After the production equipment has finished producing the product corresponding to a work order, it is necessary to switch the production equipment to a new work order so that the production equipment can produce the product according to the new work order.

[0003] Different product work orders may correspond to different raw materials and production processes. Therefore, when the production equipment switches the product work order, it may be necessary to replace the raw materials in the production equipment and reconfigure the production equipment. In the related art, when it is necessary to switch a new product work order for the production equipment, a worker usually determines multiple alternative product work orders and selects a product work order that is relatively similar to the product work order being produced by the production equipment from the multiple alternative product work orders. However, in the above process, the staff may not be able to accurately select the product work order to switch based on their personal experience, resulting in more replacement of raw materials in the production equipment or more reconfiguration of the production equipment after the product work order is switched, resulting in lower production efficiency. Summary of the Invention

[0004] The embodiments of the present application provide a method, device, electronic control equipment and storage medium for work order switching, thereby improving production efficiency.

[0005] In a first aspect, an embodiment of the present application provides a work order switching method, comprising:

[0006] Determine a first product work order currently being produced by the production equipment, and a plurality of second product work orders to be produced;

[0007] Determining a similarity between the first product work order and each second product work order;

[0008] Determining a target product work order from the plurality of second product work orders based on a similarity between the first product work order and each second product work order;

[0009] After the production of the first product work order is completed, the production equipment is controlled to produce the target product work order.

[0010] In a possible implementation, for any one of the plurality of second product work orders, determining the similarity between the first product work order and the second product work order includes:

[0011] Determining first work order information of the first product work order, where the first work order information includes at least one of the following: raw material information, production process information, and additional information;

[0012] If the second product work order does not have the second work order information, determining that the similarity between the first product work order and the second product work order is 0;

[0013] If the second product work order has second work order information, the similarity between the first product work order and the second product work order is determined based on the first work order information and the second work order information, and the second work order information includes at least one of the following: raw material information, production process information, and additional information.

[0014] In one possible implementation, determining, based on the first work order information and the second work order information, the similarity between the first product work order and the second product work order includes:

[0015] determining a first similarity based on the raw material information in the first work order information and the raw material information in the second work order information;

[0016] determining a second similarity based on the production process information in the first work order information and the production process information in the second work order information;

[0017] determining a third similarity based on the additional information in the first work order information and the additional information in the second work order information;

[0018] The similarity between the first product work order and the second product work order is determined based on the first similarity, the second similarity, and the third similarity.

[0019] In a possible implementation, determining the first similarity based on the raw material information in the first work order information and the raw material information in the second work order information includes:

[0020] If neither the first work order information nor the second work order information includes the raw material information, or if one of the first work order information and the second work order information includes the raw material information, then determining the first similarity to be 0;

[0021] If both the first work order information and the second work order information include the raw material information, the raw material information in the first work order information and the raw material information in the second work order information are matched to determine the first similarity.

[0022] In a possible implementation, determining the second similarity based on the production process information in the first work order information and the production process information in the second work order information includes:

[0023] If neither the first work order information nor the second work order information includes the production process information, or if one of the first work order information and the second work order information includes the production process information, then determining the second similarity to be 0;

[0024] If both the first work order information and the second work order information include the production process information, the production process information in the first work order information and the production process information in the second work order information are matched to determine the second similarity.

[0025] In a possible implementation, determining a third similarity based on the additional information in the first work order information and the additional information in the second work order information includes:

[0026] If neither the first work order information nor the second work order information includes the additional information, or if one of the first work order information and the second work order information includes the additional information, determining the third similarity to be 0;

[0027] If both the first work order information and the second work order information include the additional information, the production process information in the first work order information and the additional information in the second work order information are matched to determine the third similarity.

[0028] In one possible implementation, controlling the production equipment to produce the target product work order includes:

[0029] Obtaining a similarity between the first product work order and the target product work order;

[0030] If the similarity is a preset maximum value, controlling the production equipment to produce the target product work order;

[0031] If the similarity is less than the preset maximum value, a prompt message is generated and the system waits until the material replacement operation and / or reconfiguration operation indicated by the prompt message is completed, and then the production equipment is controlled to produce the target product work order.

[0032] In a second aspect, an embodiment of the present application provides a work order switching device, the device comprising:

[0033] A first determining module is used to determine a first product work order currently being produced by the production equipment and a plurality of second product work orders to be produced;

[0034] a second determining module, configured to determine a similarity between the first product work order and each second product work order;

[0035] a third determining module, configured to determine a target product work order from the plurality of second product work orders based on a similarity between the first product work order and each second product work order;

[0036] The control module is used to control the production equipment to produce the target product work order after the production of the first product work order is completed.

[0037] In a possible implementation manner, the second determining module is specifically configured to:

[0038] Determining first work order information of the first product work order, where the first work order information includes at least one of the following: raw material information, production process information, and additional information;

[0039] If the second product work order does not have the second work order information, determining that the similarity between the first product work order and the second product work order is 0;

[0040] If the second product work order has second work order information, the similarity between the first product work order and the second product work order is determined based on the first work order information and the second work order information, and the second work order information includes at least one of the following: raw material information, production process information, and additional information.

[0041] In a possible implementation manner, the second determining module is specifically configured to:

[0042] determining a first similarity based on the raw material information in the first work order information and the raw material information in the second work order information;

[0043] determining a second similarity based on the production process information in the first work order information and the production process information in the second work order information;

[0044] determining a third similarity based on the additional information in the first work order information and the additional information in the second work order information;

[0045] The similarity between the first product work order and the second product work order is determined based on the first similarity, the second similarity, and the third similarity.

[0046] In a possible implementation manner, the second determining module is specifically configured to:

[0047] If neither the first work order information nor the second work order information includes the raw material information, or if one of the first work order information and the second work order information includes the raw material information, then determining the first similarity to be 0;

[0048] If both the first work order information and the second work order information include the raw material information, the raw material information in the first work order information and the raw material information in the second work order information are matched to determine the first similarity.

[0049] In a possible implementation manner, the second determining module is specifically configured to:

[0050] If neither the first work order information nor the second work order information includes the production process information, or if one of the first work order information and the second work order information includes the production process information, then determining the second similarity to be 0;

[0051] If both the first work order information and the second work order information include the production process information, the production process information in the first work order information and the production process information in the second work order information are matched to determine the second similarity.

[0052] In a possible implementation manner, the second determining module is specifically configured to:

[0053] If neither the first work order information nor the second work order information includes the additional information, or if one of the first work order information and the second work order information includes the additional information, determining the third similarity to be 0;

[0054] If both the first work order information and the second work order information include the additional information, the production process information in the first work order information and the additional information in the second work order information are matched to determine the third similarity.

[0055] In a possible implementation, the control module is specifically configured to:

[0056] Obtaining a similarity between the first product work order and the target product work order;

[0057] If the similarity is a preset maximum value, controlling the production equipment to produce the target product work order;

[0058] If the similarity is less than the preset maximum value, a prompt message is generated and the system waits until the material replacement operation and / or reconfiguration operation indicated by the prompt message is completed, and then the production equipment is controlled to produce the target product work order.

[0059] In a third aspect, an embodiment of the present application provides an electronic control device, including:

[0060] at least one processor; and

[0061] a memory communicatively connected to the at least one processor; wherein,

[0062] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any method described in the first aspect.

[0063] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of the first aspects.

[0064] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of the first aspects.

[0065] The methods, devices, electronic control devices, and storage media for switching work orders provided in embodiments of the present application enable the electronic control device to select the work order with the highest similarity between the work order of the product currently being produced and multiple work orders for products to be produced, and then switch the work order. Because the work order for the selected product to be produced has the highest similarity to the work order for the product currently being produced, the replacement of raw materials and the reconfiguration of production equipment can be reduced, thereby improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;

[0067] Figure 2 A flowchart of a work order switching method provided in an embodiment of the present application;

[0068] Figure 3 A flowchart of another work order switching method provided in an embodiment of the present application;

[0069] Figure 4 A schematic diagram of the structure of a work order switching device provided in an embodiment of the present application;

[0070] Figure 5 A schematic structural diagram of an electronic control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0071] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0072] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0073] Figure 1 This is a schematic diagram of the application scenario provided by the embodiment of this application. Figure 1 , including electronic control equipment and production equipment. The electronic control equipment may include multiple work orders for products to be produced. When the production equipment is about to complete the work order of the product being produced, the electronic control equipment selects a work order from the multiple work orders to be produced that the production equipment needs to switch to. After the production equipment completes the work order currently being produced, the electronic control equipment controls the production equipment to switch to the selected work order to produce the corresponding product.

[0074] Production equipment can be machines. For example, production equipment can be equipment that produces gloves, hats, and socks. A product work order is used to indicate a batch of products to be produced. For example, a product work order can indicate that 10,000 pairs of gloves need to be produced.

[0075] In the prior art, workers typically select a product work order that is similar to the one currently being produced by the production equipment from among multiple alternative work orders. This can lead to workers being unable to accurately select the product work order to switch to based on their personal experience. This can result in frequent replacement of raw materials or reconfiguration of the production equipment after the work order is switched, leading to lower production efficiency.

[0076] In this embodiment of the present application, the electronic control device can select the product work order with the highest similarity to be switched based on the similarity between the work order of the product currently being produced and multiple work orders for products to be produced. Since the work order of the selected product to be produced has the highest similarity to the work order of the product currently being produced, the replacement of raw materials and the reconfiguration of production equipment can be reduced, thereby improving production efficiency.

[0077] Figure 2 This is a flowchart of the work order switching method provided in this embodiment of the application. Figure 2 , the method may include:

[0078] S201: Determine a first product work order currently being produced by a production device, and a plurality of second product work orders to be produced.

[0079] The execution subject of the embodiment of the present application can be an electronic control device, or a work order switching device provided in the electronic control device. The work order switching device can be implemented by software or by a combination of software and hardware.

[0080] For example, assuming that the production equipment is currently producing 100,000 pairs of gloves, the first product work order is to produce 100,000 pairs of gloves.

[0081] For example, assuming that the products to be produced include: 10,000 scarves, 50,000 pairs of socks, and 30,000 hats, there are three second product work orders, one for producing 10,000 scarves, one for producing 50,000 pairs of socks, and one for producing 30,000 hats.

[0082] S202: Determine the similarity between the first product work order and each second product work order.

[0083] In the actual production process, some product work orders have work order information, while some products do not. The work order information includes at least one of the following: raw material information, production process information, and additional information.

[0084] Raw material information can include upper thread type, upper thread color, bobbin thread type, bobbin thread color, fabric type, fabric color, etc. Production process information can include the number of needles entered, weaving type, etc. Additional information can include temperature, humidity, etc.

[0085] For example, the work order information may be as shown in Table 1:

[0086] Table 1

[0087]

[0088] The similarity between the first product work order and the second product work order can be determined as follows: if the second product work order does not have the second work order information, the similarity between the first product work order and the second product work order is determined to be 0. If the second product work order has the second work order information, the similarity between the first product work order and the second product work order is determined based on the first work order information and the second work order information of the first product work order.

[0089] S203: Determine a target product work order from the plurality of second product work orders based on the similarity between the first product work order and each second product work order.

[0090] Among the multiple second product work orders, the second product work order having the highest similarity to the first product work order is determined as the target product work order.

[0091] For example, a factory's production equipment is currently producing a batch of scarves. The same equipment is also expected to produce hats, socks, and other products. The similarity between the work orders for scarves and hats is 85%, while the similarity between the work orders for scarves and socks is 60%. Based on these similarities, the work order with the highest similarity is determined as the target work order, which is the work order for hats.

[0092] S204: After the production of the first product work order is completed, control the production equipment to produce the target product work order.

[0093] If the similarity of the target product work order is the preset maximum value, the production equipment is controlled to produce the target product work order.

[0094] If the similarity of the target product work order is less than the preset maximum value, a prompt message is generated and the system waits until the material replacement operation and / or reconfiguration operation indicated by the prompt message is completed, and then the production equipment is controlled to produce the target product work order.

[0095] The preset maximum value may be 100%.

[0096] For example, a factory's production equipment is currently producing gloves and is preparing to produce hats after completing production. If the work order for the gloves and the work order for the hats are 100% similar, the factory will be directly controlled to produce hats after completing glove production.

[0097] If the similarity between the work order for gloves and the work order for hats is 90%, then after the gloves are produced, the production equipment is replaced and reconfigured based on the different information in the two work orders, and then the hats are produced.

[0098] The work order switching method provided in an embodiment of the present application determines, during the production process of production equipment, a first product work order currently being produced by the production equipment and multiple second product work orders to be produced; determines the similarity between the first product work order and each second product work order; determines a target product work order from the multiple second product work orders based on the similarity between the first product work order and each second product work order; and controls the production equipment to produce the target product work order after the production of the first product work order is completed. Because the target product work order has the highest similarity to the first product work order being produced, the replacement of raw materials and the reconfiguration of production equipment can be reduced, thereby improving production efficiency.

[0099] Based on any of the above embodiments, before switching the work order, second work order information may be bound to multiple second product work orders to be produced. The following describes the process of binding the second work order information to any second product work order:

[0100] The server obtains and stores the work order information of all product work orders produced by the production equipment. The work order information includes at least one of the following: raw material information, production process information, and additional information.

[0101] Before determining the work order for the second product to be produced, it is necessary to determine whether the second product work order has work order information. If the second product work order has work order information, there is no need to assign work order information to the second product work order. The server then directly assigns the second product work order to the production equipment and transmits the second product work order to the electronic control device, which controls the production equipment to switch product work orders.

[0102] If the second product work order does not have work order information, it is necessary to allocate work order information for the second product work order. Specifically, it can be determined whether the server stores the work order information for the second product work order. The following two situations may be involved:

[0103] Case 1: The server stores work order information corresponding to the second product work order.

[0104] In this case, a suitable work order for the second product can be selected from the work order information stored on the server and bound to the second product work order. The second product work order with the bound work order information is then assigned to the production equipment and simultaneously transmitted to the electronic control device, which controls the production equipment to switch between product work orders.

[0105] Case 2: The server does not store the work order information corresponding to the second product work order.

[0106] In this case, a new work order can be generated based on the second product work order, and the newly generated work order information can be bound to the second product work order. The new product work order can then be stored on the server. The second product work order with the bound work order information can then be assigned to the production equipment and simultaneously transmitted to the electronic control device, which then controls the production equipment to switch product work orders.

[0107] Based on any of the above embodiments, Figure 3 , which explains the detailed process of work order switching.

[0108] Figure 3 This is a flowchart of another work order switching method provided in an embodiment of the present application. Figure 3 , the method may include:

[0109] S301: Determine a first product work order currently being produced by a production device, and a plurality of second product work orders to be produced.

[0110] It should be noted that the execution process of S301 can refer to the execution process of S201, and will not be repeated here.

[0111] S302: Determine first work order information of a first product work order.

[0112] The first work order information includes at least one of the following: raw material information, production process information, and additional information.

[0113] S303: Determine whether the second product work order has second work order information.

[0114] If so, S305-S308.

[0115] If not, execute S304.

[0116] S304: Determine that the similarity between the first product work order and the second product work order is 0.

[0117] S305: Determine a first similarity based on the raw material information in the first work order information and the raw material information in the second work order information.

[0118] The first similarity can be determined as follows: if neither the first work order information nor the second work order information includes raw material information, or if one of the first work order information and the second work order information includes raw material information, the first similarity is determined to be 0. If both the first work order information and the second work order information include raw material information, the raw material information in the first work order information and the raw material information in the second work order information are matched to determine the first similarity.

[0119] For example, the first work order information and the second work order information may be as shown in Table 2:

[0120] Table 2

[0121]

[0122] According to Table 2, it can be determined that the first work order information includes raw material information, and the second work order information does not include raw material information, and thus the first similarity can be determined to be 0.

[0123] The raw material information may include a plurality of sub-information. For example, the sub-information may include upper thread type, upper thread color, lower thread type, lower thread color, fabric type, and fabric color.

[0124] The first similarity can be determined in the following manner: obtaining the first raw material information in the first work order information, and obtaining the second raw material information in the second work order information; obtaining a first total quantity of sub-information included in the first raw material information, and obtaining a second total quantity of sub-information included in the second raw material information; comparing the sub-information in the first raw material information and the second raw material information in sequence, and obtaining a first quantity of identical sub-information in the first raw material information and the second raw material information; determining the maximum value of the first total quantity and the second total quantity as the maximum total quantity, and determining the ratio of the first quantity to the maximum total quantity as the first similarity.

[0125] For example, the first raw material information and the second raw material information are shown in Table 3:

[0126] Table 3

[0127]

[0128] According to Table 3, the first total number of sub-information items included in the first raw material information is 6, and the second total number of sub-information items included in the second raw material information is 6. Based on the first total number and the second total number, the maximum total number is 6. The sub-information items in the first and second raw material information are compared sequentially. The sub-information items that are identical in the first and second raw material information include: upper thread color, bobbin thread type, bobbin thread color, and fabric color. Therefore, the first number of identical sub-information items in the first and second raw material information is 4. Therefore, the first similarity = first number / maximum total number * 100% = 4 / 6 * 100% = 66.7%.

[0129] S306: Determine a second similarity based on the production process information in the first work order information and the production process information in the second work order information.

[0130] The second similarity can be determined as follows: if neither the first work order information nor the second work order information includes production process information, or if one of the first work order information and the second work order information includes production process information, the second similarity is determined to be 0. If both the first work order information and the second work order information include production process information, the production process information in the first work order information and the production process information in the second work order information are matched to determine the second similarity.

[0131] For example, the first work order information and the second work order information are shown in Table 4:

[0132] Table 4

[0133]

[0134] According to Table 4, the first work order information does not include production process information, and the second work order information includes production process information, so it can be determined that the second similarity is 0.

[0135] The production process information may include multiple sub-information, for example, the sub-information may include the number of entered needles, knitting type, etc.

[0136] The second similarity can be determined in the following manner: obtaining the first production process information from the first work order information, and obtaining the second production process information from the second work order information; obtaining a first total number of sub-information included in the first production process information, and obtaining a second total number of sub-information included in the second production process information; comparing the sub-information in the first production process information and the second production process information in sequence, and obtaining the second number of identical sub-information in the first production process information and the second production process information; determining the maximum value of the first total number and the second total number as the maximum total number, and determining the ratio of the second number to the maximum total number as the second similarity.

[0137] For example, the first production process information and the second production process information are shown in Table 5:

[0138] Table 5

[0139] Production process information sub-information Enter the number of stitches Weaving type First production process information 100 Weft knitting Second production process information 200 Weft knitting

[0140] According to Table 5, the first total number of sub-information included in the first production process information is 2, and the second total number of sub-information included in the second production process information is 2. Based on the first total number and the second total number, the maximum total number is 2. The sub-information in the first and second production process information is compared sequentially. The identical sub-information in the first and second production process information includes the number of input needles. Therefore, the second number of identical sub-information in the first and second production process information is 1. The second similarity = second number / maximum total number = 1 / 2 * 100% = 50%.

[0141] S307: Determine a third similarity based on the additional information in the first work order information and the additional information in the second work order information.

[0142] The third similarity can be determined as follows: if neither the first work order information nor the second work order information includes additional information, or if one of the first work order information and the second work order information includes additional information, the third similarity is determined to be 0. If both the first work order information and the second work order information include additional information, the production process information in the first work order information and the additional information in the second work order information are matched to determine the third similarity.

[0143] For example, the first work order information and the second work order information are shown in Table 6:

[0144] Table 6

[0145]

[0146] According to Table 6, it can be determined that neither the first work order information nor the second work order information contains additional information, and thus the third similarity can be determined to be 0.

[0147] The additional information may include multiple sub-information, for example, the sub-information may include temperature, humidity, etc.

[0148] The third similarity can be determined in the following manner: obtaining the first additional information from the first work order information, and obtaining the second additional information from the second work order information; obtaining a first total number of sub-information included in the first additional information, and obtaining a second total number of sub-information included in the second additional information; comparing the sub-information in the first additional information and the second additional information in sequence, and obtaining a third number of identical sub-information in the first additional information and the second additional information; determining the maximum value of the first total number and the second total number as the maximum total number, and determining the ratio of the third number to the maximum total number as the third similarity.

[0149] For example, the first additional information and the second additional information are shown in Table 7:

[0150] Table 7

[0151] Additional information sub-information temperature humidity First additional information 25℃ 30% Second additional information 25℃ 30%

[0152] According to Table 7, the first total number of sub-information included in the first additional information is 2, and the second total number of sub-information included in the second additional information is 2. Based on the first total number and the second total number, the maximum total number is 2. The sub-information in the first and second additional information is compared sequentially. The identical sub-information in the first and second additional information includes temperature and humidity. Therefore, the second number of identical sub-information in the first and second additional information is 2. Therefore, the third similarity = third number / maximum total number * 100% = 2 / 2 * 100% = 100%.

[0153] S308: Determine the similarity between the first product work order and the second product work order based on the first similarity, the second similarity, and the third similarity.

[0154] The minimum value among the first similarity, the second similarity, and the third similarity may be determined as the similarity of the second product work order.

[0155] For example, a factory's production equipment is currently producing a batch of gloves, and the target product is hats. Based on the work order information corresponding to the gloves and the work order information corresponding to the hats, the first similarity is 100%, the second similarity is 100%, and the third similarity is 90%. Therefore, the similarity between the work order for the gloves and the work order for the hats is 90%.

[0156] S309: Determine a target product work order from the plurality of second product work orders based on the similarity between the first product work order and each second product work order.

[0157] According to the similarity between the first product work order and each second product work order, the second product work order corresponding to the maximum similarity is determined as the target product work order.

[0158] For example, a factory's production equipment is currently producing hats, and the products to be produced include scarves and gloves. The similarity between the work order for the hat and the work order for the scarf is 100%, and the similarity between the work order for the hat and the work order for the gloves is 90%. Since the work order for the hat and the work order for the scarf have the highest similarity, at 100%, the target work order is determined to be the work order for the scarf.

[0159] S310: After the production of the first product work order is completed, control the production equipment to produce the target product work order.

[0160] The production equipment can be controlled to produce the target product work order in the following manner: obtain the similarity between the first product work order and the target product work order; if the similarity is a preset maximum value, control the production equipment to produce the target product work order; if the similarity is less than the preset maximum value, generate a prompt message and wait until the material replacement operation and / or reconfiguration operation indicated by the prompt message is completed, and then control the production equipment to produce the target product work order.

[0161] The preset maximum value may be 100%.

[0162] For example, a factory's production equipment is currently producing gloves and is preparing to produce hats after they are finished. If the work orders for the gloves and hats are 100% similar, then after the gloves are finished, the electronic control equipment will directly control the production equipment to produce hats.

[0163] The production equipment of a factory is currently producing scarves and is preparing to produce hats after the production is completed. The work order information corresponding to scarves and hats is shown in Table 8:

[0164] Table 8

[0165]

[0166] According to Table 8, we can determine that the first work order is for a scarf, and the second work order is for a hat. The first similarity = 4 / 6 * 100% = 66.67%, the second similarity = 100%, and the third similarity = 100%. Since the first similarity value is the smallest, the similarity between the first and second work orders is determined to be 66.67%. The only information that differs between the two work orders is the upper thread color and the fabric color. After the scarf is produced, the production equipment is re-tooled and reconfigured based on the different information in the two work orders before producing the hat.

[0167] exist Figure 3 In the illustrated embodiment, the electronic control device can select the most similar work order for the product currently being produced by the production equipment based on the similarity between the work order and multiple work orders for products to be produced. Because the work order for the selected product to be produced has the highest similarity to the work order for the product currently being produced, this can reduce the need for raw material replacement and reconfiguration of production equipment, thereby improving production efficiency.

[0168] Figure 4 This is a structural diagram of a work order switching device provided in an embodiment of the present application. Figure 4 , the work order switching device 10 may include:

[0169] A first determining module 11 is configured to determine a first product work order currently being produced by a production device, and a plurality of second product work orders to be produced;

[0170] A second determining module 12 is configured to determine a similarity between the first product work order and each second product work order;

[0171] A third determining module 13 is configured to determine a target product work order from the plurality of second product work orders based on a similarity between the first product work order and each second product work order;

[0172] The control module 14 is used to control the production equipment to produce the target product work order after the production of the first product work order is completed.

[0173] The work order switching device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0174] In a possible implementation manner, the second determining module 12 is specifically configured to:

[0175] Determining first work order information of the first product work order, where the first work order information includes at least one of the following: raw material information, production process information, and additional information;

[0176] If the second product work order does not have the second work order information, determining that the similarity between the first product work order and the second product work order is 0;

[0177] If the second product work order has second work order information, the similarity between the first product work order and the second product work order is determined based on the first work order information and the second work order information, and the second work order information includes at least one of the following: raw material information, production process information, and additional information.

[0178] In a possible implementation manner, the second determining module 12 is specifically configured to:

[0179] determining a first similarity based on the raw material information in the first work order information and the raw material information in the second work order information;

[0180] determining a second similarity based on the production process information in the first work order information and the production process information in the second work order information;

[0181] determining a third similarity based on the additional information in the first work order information and the additional information in the second work order information;

[0182] The similarity between the first product work order and the second product work order is determined based on the first similarity, the second similarity, and the third similarity.

[0183] In a possible implementation manner, the second determining module 12 is specifically configured to:

[0184] If neither the first work order information nor the second work order information includes the raw material information, or if one of the first work order information and the second work order information includes the raw material information, then determining the first similarity to be 0;

[0185] If both the first work order information and the second work order information include the raw material information, the raw material information in the first work order information and the raw material information in the second work order information are matched to determine the first similarity.

[0186] In a possible implementation manner, the second determining module 12 is specifically configured to:

[0187] If neither the first work order information nor the second work order information includes the production process information, or if one of the first work order information and the second work order information includes the production process information, then determining the second similarity to be 0;

[0188] If both the first work order information and the second work order information include the production process information, the production process information in the first work order information and the production process information in the second work order information are matched to determine the second similarity.

[0189] In a possible implementation manner, the second determining module 12 is specifically configured to:

[0190] If neither the first work order information nor the second work order information includes the additional information, or if one of the first work order information and the second work order information includes the additional information, determining the third similarity to be 0;

[0191] If both the first work order information and the second work order information include the additional information, the production process information in the first work order information and the additional information in the second work order information are matched to determine the third similarity.

[0192] In a possible implementation, the control module 14 is specifically configured to:

[0193] Obtaining a similarity between the first product work order and the target product work order;

[0194] If the similarity is a preset maximum value, controlling the production equipment to produce the target product work order;

[0195] If the similarity is less than the preset maximum value, a prompt message is generated and the system waits until the material replacement operation and / or reconfiguration operation indicated by the prompt message is completed, and then the production equipment is controlled to produce the target product work order.

[0196] The work order switching device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.

[0197] Figure 5 This is a schematic diagram of the structure of an electronic control device provided in an embodiment of the present application. Figure 5 The gateway 20 may include a memory 21 and a processor 22. For example, the memory 21 and the processor 22 are interconnected via a bus 23.

[0198] The memory 21 is used to store program instructions;

[0199] The processor 22 is configured to execute the program instructions stored in the memory, so as to enable the bandwidth allocation system 20 to execute the method shown in the above method embodiment.

[0200] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which are used to implement the above method when executed by a processor.

[0201] The embodiment of the present application may also provide a computer program product, including a computer program, which can implement the above method when executed by a processor.

[0202] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-mentioned method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disc, and any combination thereof.

[0203] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0204] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0205] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1A step that specifies a function in one or more boxes.

[0206] Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations.

[0207] In this application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In this application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

Claims

1. A work order switching method, characterized in that: include: Determine a first product work order currently being produced by the production equipment, and a plurality of second product work orders to be produced; Determining first work order information of the first product work order, where the first work order information includes at least one of the following: raw material information, production process information, and additional information; For any one of the multiple second product work orders: Determining whether the second product work order has second work order information; the second work order information includes at least one of the following: raw material information, production process information, and additional information; If the second product work order does not have the second work order information, determining that the similarity between the first product work order and the second product work order is 0; If the second product work order has second work order information, and at most one of the first work order information and the second work order information includes the raw material information, then the similarity between the first product work order and the second product work order is determined to be 0; otherwise, the first similarity is determined based on the raw material information in the first work order information and the raw material information in the second work order information; If the second product work order has second work order information, and at most one of the first work order information and the second work order information includes the production process information, then determining that the similarity between the first product work order and the second product work order is 0; Otherwise, determining a second similarity based on the production process information in the first work order information and the production process information in the second work order information; If the second product work order has third work order information, and at most one of the first work order information and the second work order information includes the additional information, then determining that the similarity between the first product work order and the second product work order is 0; otherwise, determining a third similarity based on the additional information in the first work order information and the additional information in the second work order information; Determining the smallest one of the first similarity, the second similarity, and the third similarity as the similarity between the first product work order and the second product work order; Determining a target product work order from the plurality of second product work orders based on a similarity between the first product work order and each second product work order; After the production of the first product work order is completed, the production equipment is controlled to produce the target product work order.

2. The method according to claim 1, characterized in that If the second product work order has second work order information, and at most one of the first work order information and the second work order information includes the raw material information, then determining the first similarity to be 0; Otherwise, determining a first similarity based on the raw material information in the first work order information and the raw material information in the second work order information includes: In the case where the second product work order has second work order information, if neither the first work order information nor the second work order information includes the raw material information, or if one of the first work order information and the second work order information includes the raw material information, then the similarity between the first product work order and the second product work order is determined to be 0; If both the first work order information and the second work order information include the raw material information, the raw material information in the first work order information and the raw material information in the second work order information are matched to determine a first similarity.

3. The method according to claim 1, characterized in that If the second product work order has second work order information, and at most one of the first work order information and the second work order information includes the production process information, then determining that the similarity between the first product work order and the second product work order is 0; Otherwise, determining a second similarity based on the production process information in the first work order information and the production process information in the second work order information includes: In the case where the second product work order has second work order information, if neither the first work order information nor the second work order information includes the production process information, or if one of the first work order information and the second work order information includes the production process information, then determining that the similarity between the first product work order and the second product work order is 0; If both the first work order information and the second work order information include the production process information, the production process information in the first work order information and the production process information in the second work order information are matched to determine a second similarity.

4. The method according to claim 1, wherein If the second product work order has third work order information, and at most one of the first work order information and the second work order information includes the additional information, then determining that the similarity between the first product work order and the second product work order is 0; Otherwise, determining a third similarity based on the additional information in the first work order information and the additional information in the second work order information includes: In the case where the second product work order has second work order information, if neither the first work order information nor the second work order information includes the additional information, or if one of the first work order information and the second work order information includes the additional information, then determining that the similarity between the first product work order and the second product work order is 0; If both the first work order information and the second work order information include the additional information, the production process information in the first work order information and the additional information in the second work order information are matched to determine a third similarity.

5. The method according to any one of claims 1 to 4, characterized in that Controlling the production equipment to produce the target product work order includes: Obtaining the similarity between the first product work order and the target product work order; If the similarity is a preset maximum value, controlling the production equipment to produce the target product work order; If the similarity is less than the preset maximum value, a prompt message is generated and the system waits until the material replacement operation and / or reconfiguration operation indicated by the prompt message is completed, and then the production equipment is controlled to produce the target product work order.

6. A work order switching device, characterized in that: The device includes: a first determining module, a second determining module, a third determining module and a control module, wherein: The first determining module is used to determine a first product work order currently being produced by the production equipment and a plurality of second product work orders to be produced; The second determining module is used to determine first work order information of the first product work order, where the first work order information includes at least one of the following: raw material information, production process information, and additional information; For any second product work order among the multiple second product work orders: determine whether the second product work order has second work order information; the second work order information includes at least one of the following: raw material information, production process information, and additional information; if the second product work order does not have second work order information, determine that the similarity between the first product work order and the second product work order is 0; if the second product work order has second work order information, and at most one of the first work order information and the second work order information includes the raw material information, determine that the similarity between the first product work order and the second product work order is 0; otherwise, determine the first similarity based on the raw material information in the first work order information and the raw material information in the second work order information; if the second product work order has second work order information, and the first work order information and at most one of the work order information in the second work order information includes the production process information, then the similarity between the first product work order and the second product work order is determined to be 0; otherwise, a second similarity is determined based on the production process information in the first work order information and the production process information in the second work order information; if the second product work order has third work order information, and at most one of the first work order information and the second work order information includes the additional information, then the similarity between the first product work order and the second product work order is determined to be 0; otherwise, a third similarity is determined based on the additional information in the first work order information and the additional information in the second work order information; the smallest of the first similarity, the second similarity and the third similarity is determined as the similarity between the first product work order and the second product work order; The third determining module is configured to determine a target product work order from the plurality of second product work orders based on a similarity between the first product work order and each second product work order; The control module is used to control the production equipment to produce the target product work order after the production of the first product work order is completed.

7. An electronic control device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the work order switching method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Production work order management control method and device, computer equipment and storage medium

    CN112200412A

  • Order processing method and device and storage medium

    CN113298349A