Meter production control method and device and computer equipment
After the work order attributes are changed, the process topology sorting is used to filter out the process set that needs to be checked, the corresponding products are set to be unqualified, and the quality problem when product demand changes in the middle is solved, and the efficiency of quality control and traceability is improved.
Patent Information
- Application Number
- CN202411811494.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-28
AI Technical Summary
The current production software anti-duty and error prevention methods cannot be carried out normally when product demand changes in the middle, resulting in quality problems.
After the work order attributes change, the affected process set is determined, and the process topology sorting is used to filter out the process set that needs to be checked, the corresponding product is set to be unqualified, and traceability is carried out.
It effectively solves the problem that the current production software anti-fire and error prevention methods cannot be carried out normally when product demand changes in the middle, improves the efficiency of quality control and traceability, and reduces the possibility of manual errors.
Smart Images

Figure CN119721475A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information technology, and in particular to a meter production control method, device and computer equipment. Background Art
[0002] In the construction of smart factories, information-based quality control is the key to controlling product quality. Compared with manual control, information-based control is more standardized, the quality of control is less affected by manual labor, and it is more timely. In quality control, fool-proofing and error-proofing control is also an important part. Although the current trend of production is automation and unmanned, due to the limitations of productivity, cost, policy, and algorithms, manual labor is still an indispensable part of the production process. The introduction of manual labor means that unexpected errors are more likely to occur, which makes it more necessary to carry out fool-proofing and error-proofing.
[0003] The current production software foolproofing and error prevention methods mainly focus on the control of the production process. The software verifies the status and process flow of the products in production according to the process through preset schemes during production to control product quality. These methods can only ensure that there are no problems in the most smooth production. Once a situation such as a change in product demand occurs, it will require a lot of work by on-site managers to make up for it. A large amount of manual operation is prone to errors and omissions, which ultimately leads to quality problems. Summary of the invention
[0004] In view of this, the present invention provides a meter production control method, device and computer equipment to solve the problem that the current production software fool-proofing and error-proofing methods cannot be carried out normally when faced with a situation where product demand changes midway.
[0005] In a first aspect, the present invention provides a meter production control method, the method comprising:
[0006] After the work order attributes are changed, the first set of processes affected is determined according to the changed work order attributes;
[0007] Determine a second set of processes that need to be checked according to the first set of processes and the process topological sorting sequence;
[0008] The products corresponding to each process in the second process set are all set as unqualified, and the unqualified products are determined as products that need to be traced.
[0009] The present invention provides a meter production control method, which performs quality control and traceability from the dimension of change control. When the attributes of a work order are changed, relevant traceability products are screened out through process changes and process topology sorting, so as to solve the problem that the current production software fool-proofing and error-proofing methods cannot be carried out normally when the product demand changes midway.
[0010] In an optional implementation, determining a second set of processes to be checked according to the first set of processes and a topological sorting sequence of processes includes:
[0011] Topologically sort the process flow of the work order to obtain a topological sorting sequence of the process;
[0012] For each process in the first process set, find its position in the process topological sorting sequence, select the process and all processes after the process, and obtain a second process set that needs to be checked.
[0013] In an optional implementation, topological sorting is performed on the process flow of the work order to obtain a process topological sorting sequence, including:
[0014] Convert the topological relationship of each process into a directed graph;
[0015] Calculate the in-degree of all vertices in the directed graph, and put all vertices and their corresponding in-degrees into a vertex in-degree set;
[0016] Traverse the vertex in-degree set, take out all vertices with in-degree 0, put them into the result set, and delete all vertices with in-degree 0 from the vertex in-degree set;
[0017] Searching for direct child nodes of the vertices in the result set according to the directed graph, reducing the in-degree of the direct child nodes by 1, and obtaining an updated in-degree set of vertices;
[0018] Return to the step of traversing the vertex in-degree set, taking out all vertices with in-degree 0, putting them into the result set, and deleting all vertices with in-degree 0 from the vertex in-degree set until the vertex in-degree set is empty, and obtaining the process topological sorting sequence.
[0019] In an optional implementation, the method further includes: removing duplications from the processes in the second process set.
[0020] In an optional implementation manner, setting the products corresponding to each process in the second process set as unqualified and determining the unqualified products as products that need to be traced includes:
[0021] According to the process in the second process set, query the product of the corresponding work order, and change the status of the product to unqualified;
[0022] Record all affected products and their status, and find the products involved according to the record list for rework.
[0023] In an optional embodiment, the method further includes:
[0024] For each process in the first process set, find the solution of the current process in the current work order, and set the solution as unchecked;
[0025] After the unqualified products are screened out, the plan is reconfigured according to the changed work order attributes, and after the plan passes the proofreading and review, the plan is set as proofread.
[0026] In an optional embodiment, the method further includes:
[0027] Before production, determine the attribute value based on the attribute remarks and the attribute preset value set;
[0028] During production, the plan configured before production is executed.
[0029] In a second aspect, the present invention provides a meter production control device, the device comprising:
[0030] A first processing module, used for determining a first process set affected according to the changed work order attributes after the work order attributes are changed;
[0031] A second processing module, configured to determine a second process set to be checked according to the first process set and a process topological sorting sequence;
[0032] The third processing module is used to set the products corresponding to each process in the second process set as unqualified, and determine the unqualified products as products that need to be traced.
[0033] The present invention provides a meter production control device, which performs quality control and traceability from the dimension of change control. When the attributes of a work order are changed, relevant traceability products are screened out through process changes and process topology sorting, so as to solve the problem that the current production software fool-proofing and error-proofing methods cannot be carried out normally when the product demand changes midway.
[0034] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the meter production control method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the meter production control method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 is a flow chart of a meter production control method according to an embodiment of the present invention;
[0038] Figure 2 is a directed graph according to an embodiment of the present invention;
[0039] Figure 3 is a structural block diagram of a meter production control device according to an embodiment of the present invention;
[0040] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0042] According to an embodiment of the present invention, an embodiment of a meter production control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0043] In this embodiment, a meter production control method is provided. Figure 1 is a flow chart of a meter production control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0044] Step S1, after a work order attribute is changed, determine a first set of processes affected according to the changed work order attribute.
[0045] Specifically, even if the pre-production plan is configured correctly and the configured plan is strictly followed during production, many quality problems will still occur. These quality problems are caused by incomplete traceability when the attributes change. Some attributes of the production work order come from the customer requirements entered by the operator. In the actual production process, input errors or changes in customer requirements may occur, which will cause some attributes of the work order to change during the production process, and further cause the corresponding configuration items in the plan to change together. At the same time, products that have undergone a change process also need to be traced and reworked.
[0046] In previous production systems, this kind of traceability is often mainly carried out by manual means. The person in charge of the production system exports a list and submits it to the relevant personnel on site for confirmation. This method has a large proportion of manual work and is prone to problems such as omissions and mistakes. At the same time, for products that are being operated based on outdated solutions, it is also easy to make mistakes. In response to the above problems, the production system performs quality control and traceability from the dimension of change control. When performing quality control and traceability, the first thing to do is to determine the first set of processes affected based on the attributes of the changed work order.
[0047] Further, the changed attributes are obtained, and the first process set Pv that will be affected is calculated according to the attribute version configured in the production system and the configuration item mapping table. Generally speaking, only one attribute change is processed at a time.
[0048] Step S2: determining a second process set that needs to be checked according to the first process set and the process topological sorting sequence.
[0049] Specifically, obtain the process flow Gp of the work order, perform topological sorting on Gp, and obtain the process topological sorting sequence S. For each process p in the first process set Pv, find its position in the process topological sorting sequence S, select all the processes that follow it, put them into the second process set P, and finally put the process p into the second process set P.
[0050] Step S3: Set the products corresponding to each process in the second process set as unqualified, and determine the unqualified products as products that need to be traced.
[0051] Specifically, query the qualified records of the work order product of each process in the second process set P, insert an unqualified record of the corresponding process and corresponding product for each record, set the product status to unqualified, and then determine the unqualified product as a product that needs to be traced.
[0052] The present invention provides a meter production control method, which performs quality control and traceability from the dimension of change control. When the attributes of a work order are changed, relevant traceability products are screened out through process changes and process topology sorting, so as to solve the problem that the current production software fool-proofing and error-proofing methods cannot be carried out normally when the product demand changes midway.
[0053] In an optional implementation, step S2 includes:
[0054] Step S21, topologically sorting the process flow of the work order to obtain a process topological sorting sequence.
[0055] Specifically, the process flow Gp of the work order is obtained, and Gp is topologically sorted to obtain the process topological sorting sequence S. For elements whose order does not matter in the topological sorting, they are not sorted and are regarded as a set occupying one sorting position together.
[0056] Step S22: for each process in the first process set, find its position in the process topological sorting sequence, select all the processes and processes after the processes, and obtain a second process set that needs to be checked.
[0057] Specifically, for each process p in the first process set Pv, find its position in the process topological sorting sequence S, select all the processes that follow it, put them into the second process set P, and finally put the process p into the second process set P. Next, remove duplicates from the second process set P to obtain the final process set Pd that needs to be checked.
[0058] In an optional implementation, step S21 includes:
[0059] Step S211, converting the topological relationship of each process into a directed graph.
[0060] Specifically, a directed graph is used to represent the topological relationship of each process in the process route: Let G = (V, E), where V is the set of vertices in the graph, that is, the set of all processes in the process route, and each process is a vertex; E is the set of edges in the graph, and each edge represents the topological relationship between two processes. For example, edge (a, b) means that process b must be executed after process a is completed. Assume that the process route has five processes, namely a, b, c, d, and e, where b must be executed after a is completed, d must be executed after b and c are completed, and e must be executed after d is completed. Convert its topological relationship into Figure 2 The directed graph shown is denoted by G=(V,E), where V={a,b,c,d,e}, E={(a,b),(b,d),(c,d),(d,e)}.
[0061] Step S212, calculating the in-degrees of all vertices in the directed graph, and putting all vertices and their corresponding in-degrees into a vertex in-degree set.
[0062] Specifically, calculate the in-degree of all vertices in V and obtain the set D = {(a,0), (b,1), (c,0), (d,2), (e,1)}, where D i represents the in-degree of the i-th vertex.
[0063] Step S213, traverse the vertex in-degree set, take out all vertices with in-degree 0, put them into the result set, and delete all vertices with in-degree 0 from the vertex in-degree set.
[0064] Specifically, initialize the result set R = {}. Traverse the set D, take out the vertex set (a, c) with in-degree 0 from D, put it into R, and get R = {(a, c)}.
[0065] Step S214, searching the direct child nodes of the vertices in the result set according to the directed graph, reducing the in-degree of the direct child nodes by 1, and obtaining an updated vertex in-degree set.
[0066] Specifically, find the direct child nodes of ac from E and recalculate the set D. The result is that the in-degree of bd is reduced by 1, and finally the set D = {(b,0), (d,1), (e,1)} is obtained.
[0067] Step S215, return to the step of traversing the vertex in-degree set, taking out all vertices with in-degree 0, putting them into the result set, and deleting all vertices with in-degree 0 from the vertex in-degree set, until the vertex in-degree set is empty, and obtaining the process topological sorting sequence.
[0068] Specifically, return to step S213, take out point (b) again, and get R = {(a,c), (b)}, D = {(d,0), (e,1)}. D is not empty, return to step S213, take out point (d) again, and get R = {(a,c), (b), (d)}, D = {(e,0)}. D is not empty, return to step S213, take out point (e) again, and get R = {(a,c), (b), (d), (e)}, D = {}. D is empty, stop the operation, and get the sorting result R.
[0069] In traditional topological sorting, each element in the result set R is a vertex. When there are multiple vertices with in-degree 0, traditional topological sorting cannot distinguish the order of these vertices. For example, in the above topological relationship, different sorting results such as acbde, cabde or abcde may be obtained, where b may appear before c. If a process f is added before c, the unmodified topological sorting results will be more diverse. In this embodiment, by using a vertex set, a and c will be in the first place at the same time, thus avoiding this uncertainty. Even if an f is inserted before c, the final result will be fixed as R = {(a,f), (b,c), (d), (e)}.
[0070] In an optional implementation, step S3 includes:
[0071] Step S31, according to the process in the second process set, query the product of the corresponding work order and modify the status of the product to unqualified.
[0072] Step S32, record all affected products and their status, and search for the products involved according to the record list for rework.
[0073] Specifically, query the qualified records of the work order product in each process in the process set Pd, insert an unqualified record of the corresponding process and product for each record, and set the product status to unqualified. Record all affected products and their status, and send the relevant person in charge through the communication tool to find the involved products for rework.
[0074] At the same time, for products that have not been put into storage, an unqualified prompt will be given when they are put into storage; for products that have been put into storage, an unqualified prompt will be given when they are left storage; this will prevent staff from missing products and causing product outflows.
[0075] In an optional implementation, step S2 further includes:
[0076] Step S23: for each process in the first process set, find its solution in the current process of the current work order, and set the solution as unchecked.
[0077] Specifically, for each process p in the first process set Pv, find its solution in the current process of the current work order, and set the solution status to unchecked. After the operation, for the products to be produced by these processes and the products that have been scanned into these processes and are being produced before the change but have not saved the production status, it will be prompted that the solution has been changed when the process scans and saves the production data.
[0078] Step S24, after filtering out unqualified products, reconfigure the plan according to the changed work order attributes, and after the plan passes proofreading and review, set the plan as proofread.
[0079] Specifically, after screening out unqualified products, the system notifies relevant process personnel through email and Feixun that the plan needs to be reconfigured. After receiving the notification, the process personnel re-login to the system to configure the plan and submit it for review. During the review, the system will check the correctness of the plan based on the updated work order attributes; after the plan is proofread and reviewed again, the plan will be set to have been proofread, and the work order can continue to be operated.
[0080] In an optional embodiment, the method further comprises the following steps:
[0081] Step S4: before production, determine the attribute value according to the attribute remarks and the attribute preset value set.
[0082] Specifically, before production begins, the system uses solution control to prevent quality problems. Through the FPTree algorithm, the current solution configuration can be compared and analyzed with the historical solution to obtain the items that may be missing in the solution configuration. However, this method is only effective for some static and relatively general attributes. For example, the reference voltage and constant of the meter generally belong to an unchanging and finite set, and the configuration items corresponding to each value do not change much. However, for some attributes, either the value set will change or the corresponding configuration items will change. A typical example is the meter time period, whose value set is not fixed (new time periods may appear), and the configuration items corresponding to the same time period are not fixed (the content of the time period will change). The solution configuration corresponding to this attribute cannot be checked with FPTree. First, the domain set is too large, resulting in too few learnable items for each element, which affects the confidence of the result; second, the mapping between attributes and configurations is not unique, which will produce a large number of misjudgments.
[0083] Therefore, for these attributes, the system combines manual management with system judgment to carry out fool-proof and error-proof control. The control is carried out for each attribute with the above characteristics, and the specific control method for each attribute is as follows:
[0084] 1. Standardize the value of the attribute to ensure that each element in the attribute definition domain has a unique and non-repetitive value in the system;
[0085] 2. For this attribute, establish an attribute version and configuration item mapping management subsystem, whose functions are as follows:
[0086] a) Appoint an attribute administrator, who can add and delete attribute values in the subsystem, configure the configuration items corresponding to the values, and update the configuration items corresponding to the values; the system will retain the configuration items of each administrator, but only the latest configuration will be used by default;
[0087] b) Appoint an attribute auditor who can review the administrator's configuration of the configuration items corresponding to the attribute values in the subsystem and has the authority to return the configuration for the administrator to reconfigure; all configuration changes must be approved before they can be used;
[0088] c) Other users can use this subsystem to view all attribute values and their corresponding configuration items;
[0089] 3. In the solution configuration, the system automatically determines the possible attribute values based on the notes of the work order (source is the customer requirements entered by the operator). The specific method is as follows:
[0090] a) Get the remark information corresponding to the attribute and record it as the attribute remark;
[0091] b) Take all valid attribute values in the system and record them as value set. Valid values refer to the latest values that have not been deleted and have passed the review.
[0092] c) Determine whether the attribute note contains a value in the value set. If so, return that value, otherwise proceed to the next step;
[0093] d) Take out the value classification information (which will be added during standardization) from each value in the value set, and determine which of them are included in the attribute remark information; take out all the values in the attribute remark included in the classification information to form a new value set; if the new set is empty, set the provisional result to "none" and go to step f), otherwise, continue to the next step (the following value set refers to the new set);
[0094] e) For each value in the value set, calculate its similarity with the attribute note, and take the result with the largest similarity as the provisional result; the similarity calculation algorithm is as follows:
[0095] I) Receive two string inputs, called "firstWord" and "secondWord" (the order doesn't matter);
[0096] II) Use a tokenizer to split each string into tokens, generating two sets of tokens, called "firstTokens" and "secondTokens" respectively;
[0097] III) Merge the two tag sets into a new set "collection" without removing duplicates;
[0098] IV) Calculate the number of elements in collection that appear in firstTokens, num2, and the number of elements that appear in secondTokens, num3;
[0099] V) Calculate Actual Similarity = |num2–num3|;
[0100] VI) Calculate the length of the collection Total Tokens Count;
[0101] VII) Calculate the final similarity Similarity = (Total Tokens Count - ActualSimilarity) / Total Tokens Count and return the value
[0102] f) Because the value and the attribute note do not completely match, the solution configurator is prompted with the attribute note and the value determined by the system (tentative result). The configurator determines and corrects the value to obtain the final value corresponding to the attribute;
[0103] 4. Determine whether the final result is "None". If so, it means that the attribute does not need to be set in this solution, and the process ends; otherwise, proceed to the next step;
[0104] 5. Take the configuration item corresponding to the value and compare it with the corresponding configuration item in the solution. If the comparison passes, end the process, otherwise proceed to the next step;
[0105] 6. Prompt the solution configurator that the current configuration is different from the attribute specified configuration and ask him to reconfigure; the configurator can request another check after reconfiguring, or request to submit directly with the current configuration. At this time, the configurator needs to write a configuration description to explain the reason for the difference from the specified configuration, and submit it to the proofreader and auditor for review.
[0106] Step S5: During production, the plan configured before production is executed.
[0107] Specifically, during the production process, the system tracks each product in production through the unique product identifier. Before each process of each product begins, the process flow is determined. When saving data, the operation data of the process is determined and the product status is updated. Before packaging and storage, the operation data of all processes of the product are determined, and storage is allowed only when all are qualified. The system ensures the quality of the production process through these routine operations.
[0108] In a specific embodiment, the meter time period is taken as an example of a typical attribute to demonstrate the pre-production scheme configuration and post-production change control.
[0109] Specifically, 1. Pre-production solution configuration:
[0110] After receiving the work order configuration task, the attribute administrator configures the plan for each process of the work order in the production system.
[0111] When the attribute administrator clicks Start Configuration, the production system automatically extracts the time period information in the work order note information and matches it with all the approved time periods in the time period management subsystem. The production system finds that there is no time period name that can be accurately matched, and uses the time period name with the highest matching degree as the tentative time period name, and displays the note information and the tentative time period name for the attribute administrator to confirm. After the attribute administrator confirms the time period name, continue to configure the remaining configuration items.
[0112] After the configuration is completed, the attribute administrator clicks the Submit button to submit the solution configuration to the attribute auditor for proofreading. At this time, the production system extracts the time period related configuration items in the solution configuration and verifies the time period name. During the verification, the system finds that the setting value of the time period related configuration item is different from the preset in the time period, and a pop-up window prompts the attribute administrator of the mismatched configuration items. After the attribute administrator confirms, he believes that this time period configuration is a special requirement of the customer and is deliberately set to be inconsistent with the standard time period, so it remains unchanged, and writes a statement in the subsequent window explaining why the time period information configuration does not meet the standard.
[0113] When the attribute auditor starts to proofread and review this work order, the production system pops up a prompt box, requiring careful proofreading and review of related configuration items, and attaching the reason written by the attribute administrator, work order notes, time period name, related configuration items, and standard related configuration items for reference. The attribute auditor performs additional proofreading and review steps for related configuration items based on this information, and then proofreads and reviews other configuration items in the plan according to the normal steps.
[0114] 2. Post-production change control:
[0115] 1) After receiving customer demand, sales enters relevant information into the order system, and the order system generates a production work order.
[0116] 2) After receiving the production demand, the attribute administrator configures the production plan according to the order requirements and submits it for proofreading. When submitting for proofreading, the system checks the correctness of the plan configuration based on the product and order requirements (work order notes) information, and requires the process to be reconfirmed for any possible errors.
[0117] 3) After the plan is proofread and approved, the production system arranges production according to the configuration plan.
[0118] 4) During the production process, the customer suddenly requests to modify the time period information. After receiving the request, the salesperson will enter the customer's modification request into the order system.
[0119] 5) When the time period information in the order system changes, the production system will be notified through the API interface or other means.
[0120] 6) The system first changes the finished product inspection and packaging plans from approved to unproofread, so that products that have not yet been produced cannot be scanned into these two processes for production, and prevents the saving of new operation data for these two processes.
[0121] 7) According to the change control process above, for each affected work order, find out all the affected processes according to its process flow. This work order includes two processes: finished product inspection and packaging.
[0122] 8) Based on the process found above, the production system searches for all the meters that have passed the packaging or finished product inspection of this work order, sets their status to unqualified to prevent them from flowing out, and writes down the work order, barcode and current status (the last qualified process before being set to unqualified), and sends them to relevant personnel via email and Feixun, requiring them to go to the site to find the meters and rework them; any meters that are missed by the on-site personnel and missed to be reworked will be eliminated by the system when they perform the next operation.
[0123] 9) For meters that are in operation during these processes (such as meters that are inspecting finished products), changes may not have occurred before the process operation is scanned in, and the relevant management personnel will notify the operator to stop the operation; if the notification is not in place, these meters will prompt that the work order information has changed when the operation is completed and the data is saved, and it cannot be saved, thereby preventing it from continuing to flow downstream.
[0124] 10) The generation system notifies the relevant process personnel through email and Feixun that the plan needs to be reconfigured. After receiving the notification, the process personnel re-login to the system to configure the finished product inspection and packaging plan and submit it for review. During the review, the system will check the correctness of the plan based on the updated time period information; after the plan is re-proofread and reviewed, the two processes of this work order can continue to operate.
[0125] 11) The workshop continues to complete the production of the work order according to the revised plan.
[0126] In this embodiment, a meter production control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0127] This embodiment provides a meter production control device, such as Figure 3 As shown, including:
[0128] The first processing module 31 is used to determine the affected first process set according to the changed work order attributes after the work order attributes are changed.
[0129] The second processing module 32 is used to determine a second process set that needs to be checked according to the first process set and the process topological sorting sequence.
[0130] The third processing module 33 is used to set the products corresponding to each process in the second process set as unqualified, and determine the unqualified products as products that need to be traced.
[0131] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0132] The meter production control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0133] The present invention provides a meter production control device, which performs quality control and traceability from the dimension of change control. When the attributes of a work order are changed, relevant traceability products are screened out through process changes and process topology sorting, so as to solve the problem that the current production software fool-proofing and error-proofing methods cannot be carried out normally when the product demand changes midway.
[0134] The embodiment of the present invention also provides a computer device having the above Figure 3 The meter production control device shown.
[0135] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.
[0136] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0137] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0138] The memory 20 may 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 computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer 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 combinations thereof.
[0139] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0140] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0141] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0142] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A meter production control method, characterized in that: The method comprises: After the work order attributes are changed, the first set of processes affected is determined according to the changed work order attributes; Determine a second set of processes that need to be checked according to the first set of processes and the process topological sorting sequence; The products corresponding to each process in the second process set are all set as unqualified, and the unqualified products are determined as products that need to be traced.
2. The meter production control method according to claim 1, characterized in that: Determining a second set of processes to be checked according to the first set of processes and the process topological sorting sequence includes: Topologically sort the process flow of the work order to obtain a topological sorting sequence of the process; For each process in the first process set, find its position in the process topological sorting sequence, select the process and all processes after the process, and obtain a second process set that needs to be checked.
3. The meter production control method according to claim 2, characterized in that: The process flow of the work order is topologically sorted to obtain a process topological sorting sequence, including: Convert the topological relationship of each process into a directed graph; Calculate the in-degree of all vertices in the directed graph, and put all vertices and their corresponding in-degrees into a vertex in-degree set; Traverse the vertex in-degree set, take out all vertices with in-degree 0, put them into the result set, and delete all vertices with in-degree 0 from the vertex in-degree set; Searching for direct child nodes of the vertices in the result set according to the directed graph, reducing the in-degree of the direct child nodes by 1, and obtaining an updated in-degree set of vertices; Return to the step of traversing the vertex in-degree set, taking out all vertices with in-degree 0, putting them into the result set, and deleting all vertices with in-degree 0 from the vertex in-degree set until the vertex in-degree set is empty, and obtaining the process topological sorting sequence.
4. The meter production control method according to claim 2, characterized in that: The method further includes: removing duplicate processes in the second process set.
5. The meter production control method according to claim 1, characterized in that: The step of setting the products corresponding to each process in the second process set as unqualified and determining the unqualified products as products that need to be traced includes: According to the process in the second process set, query the product of the corresponding work order, and change the status of the product to unqualified; Record all affected products and their status, and find the products involved according to the record list for rework.
6. The meter production control method according to claim 2, characterized in that: The method further comprises: For each process in the first process set, find the solution of the current process in the current work order, and set the solution as unchecked; After the unqualified products are screened out, the plan is reconfigured according to the changed work order attributes, and after the plan passes the proofreading and review, the plan is set as proofread.
7. The meter production control method according to claim 1, characterized in that: The method further comprises: Before production, determine the attribute value based on the attribute remarks and the attribute preset value set; During production, the plan configured before production is executed.
8. A meter production control device, characterized in that: The device comprises: A first processing module, used for determining a first process set affected according to the changed work order attributes after the work order attributes are changed; A second processing module, configured to determine a second process set to be checked according to the first process set and a process topological sorting sequence; The third processing module is used to set the products corresponding to each process in the second process set as unqualified, and determine the unqualified products as products that need to be traced.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the meter production control method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the meter production control method according to any one of claims 1 to 7.