Optical device production process control method and system, storage medium, and electronic equipment
Through the optical device production process control method and system, the problems of low process monitoring efficiency and error-prone in optical device production are solved, the electronic management of the process flow is realized, the production efficiency and product quality are improved, and the generation of defective products is reduced.
Patent Information
- Application Number
- CN202410818912.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The process monitoring efficiency in the existing optical device production process is low and error-prone. The paper process flow chart is easily lost or damaged, resulting in process errors and defective products.
Design a method and system for controlling the production process of optical devices. By obtaining the work order number, querying the process table, judging the product status, generating a new process flow, and recording and managing the process flow in the database, it ensures the correctness of the process sequence and the safety of the production process. Electronic management.
It achieves precise control of the optical device production process, reduces the generation of defective products, improves production efficiency and yield, simplifies data statistics and management, and reduces waste of human resources.
Smart Images

Figure CN118378796B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical devices, and in particular to a method and system for controlling an optical device production process. Background Art
[0002] The production process of optical devices involves many steps. If a step is missed or the sequence of steps is wrong, the optical device product will be unqualified or even scrapped. Therefore, in actual production, the production process of optical devices needs to be monitored and controlled to prevent the above phenomenon from occurring.
[0003] The current monitoring method is to use a paper process flow chart. Each time the operator completes a process, he fills in the production record on it. If there is no record of the process before the current process, the current process will not be executed and the process will be returned to the current process. This method has a certain monitoring effect, but it also has certain defects, such as low efficiency and high cost. In addition, the paper process flow chart is easy to be lost or damaged, and it is also easy to make mistakes, such as the actual process has been done but the corresponding production record is forgotten. Summary of the invention
[0004] The object of the present invention is to provide a method and system for controlling the production process of optical devices, so as to improve the problems of low efficiency and easy error of current monitoring means.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A method for controlling an optical device production process comprises the following steps:
[0007] S10, obtain the work order number, query the process table recorded by product type, obtain the original process flow, and write the original process flow and the work order number into the process table recorded by the work order number, and then enter step S20;
[0008] S20, obtaining the work order number and current process name of the product input by the user, calculating the process to be currently executed for the product according to the work order number, and determining whether the current process name matches the process to be currently executed. If they match, proceed to step S30, otherwise, terminate the current process control flow;
[0009] S30, query the product information table to obtain the product status. If the product status is a controlled state or a scrapped state, the process control flow is directly terminated. If the product status is a bad state, the process proceeds to step S40. If the product status is a normal state, the process proceeds to step S50.
[0010] S40, generating a new work order number and formulating a new process flow, and inserting the new work order number and the new process flow into the process table recorded by the work order number, and then returning to step S20;
[0011] S50, after the current process is executed, insert record information into the product information table according to the execution result, the record information includes the work order number, the latest completed process, and the product status, the product status includes the bad state, the controlled state, the scrapped state and the normal state, and then enter step S60;
[0012] S60, determining whether all processes have been executed, if so, ending the process control flow, otherwise returning to step S20.
[0013] In S20, the process of calculating the process to be currently executed for the product according to the work order number includes:
[0014] S201, query the process table recorded by the work order number according to the work order number to obtain the process flow, and query the product information table to obtain the record information of the completed process, and query the process record table to determine whether the product is a reworked product. If it is a reworked product, go to step S203, otherwise go to step S202;
[0015] S202, taking the first process in the original process flow as the initial process, and then proceeding to step S206;
[0016] S203, read the rework instruction time, and check whether there is a process record in the process record table whose production time is later than the rework time and whose status is qualified. If yes, go to step S205, otherwise go to step S204;
[0017] S204, feeding back the rework process to the user as a required process to be done currently;
[0018] S205, taking the rework process as the initial process, and then proceeding to step S206;
[0019] S206, taking the current inspection process as the initial process, the previous process completion time as the set minimum time, and then proceeding to step S207;
[0020] S207, determining whether the current inspection process has a process record with a qualified status and a production time later than the completion time of the previous process, if yes, proceed to step S208, otherwise proceed to step S210;
[0021] S208, obtaining the next process of the current inspection process in the process flow, and determining whether the process flow is completed, if so, returning a prompt indicating that the process flow is completed, otherwise, proceeding to step S209;
[0022] S209, taking the completion time of the current inspection process as the completion time of the previous process, replacing the next process of the current inspection process in the process flow with the current inspection process, and returning to step S206;
[0023] S210, taking the currently inspected process as the currently required process, obtaining the previous required process of the currently required process, and then obtaining the optional process between the two required processes, and feeding back the optional process and the two required processes as a sequence of available processes to the user.
[0024] In S40, the process of formulating a new process flow includes:
[0025] S401, according to the product model, defect reason and current process, query the database to obtain the process flow records configured for the most recent k times, where k is an integer greater than 1. If the records are less than k times, the actual process shall prevail;
[0026] S402, sorting the process flow records in the order of their generation time, marking their attribute values in sequence, with the most recent attribute value marked as K, and decreasing by 1 in sequence, with the last attribute value marked as 1;
[0027] S403, classifying the process flow records, classifying the process flows with the same process flow into the same category, and obtaining n categories of process flows, where n is an integer greater than or equal to 1;
[0028] S404, accumulating the attribute values of each category to obtain the sum of the attribute values of each category;
[0029] S405, selecting the process flow of the category with the largest sum of attribute values as the new process flow.
[0030] In S10, after obtaining the work order number and before querying the process table recorded by product type, the uniqueness of the obtained work order number is first verified. After the verification is passed, the operation of querying the process table recorded by product type is executed. If the verification fails, the process control flow is terminated.
[0031] An optical device production process control system includes an optical device production process control device and a database, wherein the database stores a product information table, a process record table, a process table by product type, and a process table by work order number; the optical device production process control device includes:
[0032] The process table recording module is used to obtain the work order number, query the process table recorded by product type, obtain the original process flow, and write the original process flow and the work order number into the process table recorded by the work order number;
[0033] The process calculation module is used to obtain the work order number and current process name of the product input by the user, calculate the process that should be currently executed for the product according to the work order number, and determine whether the current process name matches the process that should be currently executed, and output the determination result;
[0034] The product status confirmation module is used to query the product information table to obtain the product status when the output result of the process calculation module is a match. The product status includes controlled status, scrapped status, bad status, and normal status;
[0035] The process flow formulation module is used to generate a new work order number and formulate a new process flow when the product status output by the product status confirmation module is a bad status, and insert the new work order number and the new process flow into the process table recorded by the work order number;
[0036] A product status recording module is used to insert record information into the product information table according to the execution result when the product status output by the product status confirmation module is normal and after the current process is executed. The record information includes the work order number, the latest completed process, and the product status;
[0037] The process ending module is used to end the process control process when the output result of the process calculation module is mismatched, or when the product status output by the product status confirmation module is a controlled state or a scrapped state.
[0038] When formulating a new process flow, the process flow formulation module performs the following operations: according to the product model, the cause of the defect and the current process, query the database to obtain the process flow records configured for the most recent k times, where k is an integer greater than 1. If the number of records is less than k times, the actual number shall prevail; sort the process flow records in chronological order of generation, and mark their attribute values in sequence. The attribute value marked with the most recent time is K, and then decreases by 1 in sequence, and the last one is marked as 1; classify the process flow records, and classify the same process flows into the same category to obtain n categories of process flows, where n is an integer greater than or equal to 1; add up the attribute values of each category to obtain the sum of the attribute values of each category; select the process flow of the category with the largest sum of attribute values as the new process flow.
[0039] After obtaining the work order number and before querying the process table recorded by product type, the process table recording module first verifies the uniqueness of the obtained work order number. After the verification is passed, it executes the operation of querying the process table recorded by product type. If the verification fails, the process control flow is terminated.
[0040] A computer-readable storage medium comprising computer-readable instructions, wherein the computer-readable instructions, when executed by a processor, implement the steps of the optical device production process control method of the present invention.
[0041] An electronic device comprises: a memory storing program instructions; a processor connected to the memory and executing the program instructions in the memory to implement the steps in the optical device production process control method of the present invention.
[0042] The beneficial effects that the present invention can achieve are:
[0043] The present invention realizes the electronic management of the process flow of the optical device production process, realizes the control of the product production process, realizes the design of corresponding processing flow for common abnormal phenomena in the product production process, avoids process errors in the optical device production process, reduces or even avoids the occurrence of defective products due to process errors, can accurately control the product production process, and improve production efficiency and yield. It is also convenient for the statistics of various data in the production process, and the process flow of defective products can be designed for a single product. In short, the present invention can realize remote monitoring, maintenance and management of the process, improve product production efficiency, reduce the waste of human resources, and improve the management level and efficiency of the enterprise. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 The figure is a flow chart of the optical device production process control method provided in the embodiment.
[0045] Figure 2 for Figure 1 Detailed flowchart of step S20 in FIG.
[0046] Figure 3 for Figure 1 Detailed flowchart of step S40 in FIG.
[0047] Figure 4 It is a block diagram of the composition of the optical device production process control device provided in the embodiment.
[0048] Figure 5 A block diagram of the components of an electronic device. DETAILED DESCRIPTION
[0049] The technical solutions 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 only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0050] Please refer to Figure 1 The optical device production process control method provided in this embodiment includes the following steps:
[0051] S10, obtain the work order number, query the process table recorded by product type, obtain the original process flow, and write the original process flow and the work order number into the process table recorded by the work order number, and then enter step S20.
[0052] Before a product enters the production process, a product number is generated for each product and bound to a work order number. The work order number is generated based on rules such as the product number and time, and the original process flow for the product is generated. A piece of data is inserted into the product information table, the process table recorded by the work order number, and the process record table to save the generated record to the database. Specifically, the product number and work order number are inserted into the product information table, the work order number is inserted into the process record table, and the work order number and the original process flow are inserted into the process table recorded by the work order number.
[0053] Each optical device has its own attributes such as product number (unique code to identify the product), product model (code to indicate the product model), work order number (number to indicate the production task instruction). The product generates an original process flow bound to the work order number according to the process flow bound to the product model. If a product encounters defects or defects during the production process, a new work order number and a new process flow will be generated.
[0054] It is easy to understand that the product number and work order number are unique to each product, but the original process flow of all products in the same batch of production tasks is the same. The original process flow includes the processes that need to be performed and the execution order.
[0055] In this embodiment, a database is used to record the product process flow, all attributes and corresponding configurations, so as to facilitate obtaining corresponding information by accessing the database through software, and then judge whether the product process flow is correct, prevent incorrect operations and give prompts for correct operations, so as to realize control of the product production process and improve product quality.
[0056] The database contains the following tables: (1) Product information table, which records the product number, product model, work order number, latest completed process, and product status (normal status, defective status, controlled status, and scrapped status). (2) Process record table, which records the product model, work order number, process name, rework mark (indicating that the record is used to record the specified rework process, rather than the actual process record), status (indicating whether the process is qualified), and production time. (3) Process table by product type, including product type, process name, process number, and process optionality (processes are divided into required processes and optional processes. Optional processes mean that the process can be done or not. For example, for a certain sampling process of a product, only a part of the products undergo this process due to sampling). (4) Process table recorded by work order number (recording the process flow that all product codes under the work order number should undergo), including work order number and process flow (the process flow is recorded in one field using JSON text).
[0057] In theory, each work order number is unique, but in actual production, the uniqueness of the work order number cannot be absolutely guaranteed. Therefore, in a more accurate control solution, after obtaining the work order number and before querying the process table recorded by product type, the uniqueness of the obtained work order number can be verified first. After the verification is passed, the subsequent process is executed. If the verification fails, the entire process control process is terminated directly. This can avoid invalid monitoring of subsequent processes and avoid product errors caused by non-unique work order numbers.
[0058] S20, obtain the work order number and current process name of the product input by the user, calculate the current process to be executed for the product based on the work order number, and determine whether the current process name matches the current process to be executed. If they match, go to step S30, otherwise end the current process control flow.
[0059] If the current process name input by the user does not match the process to be currently executed, it means that there is a process sequence error or a process omission, so the process control flow is terminated in time to solve the problem of process error or process omission.
[0060] S30, query the product information table to obtain the product status. If the product status is in a controlled state or a scrapped state, the process control flow is directly terminated. If the product status is in a bad state, enter step S40. If the product status is in a normal state, enter step S50.
[0061] No process can be performed in the system when the product is in a controlled or scrapped state. Therefore, when it is detected that the product is in a controlled or scrapped state, the process is terminated directly to improve the efficiency of process control and then improve the production efficiency of optical devices.
[0062] S40, generate a new work order number and formulate a new process flow, and insert the new work order number and the new process flow into the process table recorded by the work order number, and then return to step S20.
[0063] As an example of a preferred embodiment, Figure 3 As shown, the new process flow is formulated as follows:
[0064] S401, according to the product model, defect reason and current process, query the database to obtain the process flow records configured for the most recent k times (if the records are less than k times, the actual ones shall prevail), where k is an integer greater than 1.
[0065] The product model, cause of failure and current process determine what the new process flow should be like. Based on these three factors, the queried process flow is more accurate and has more reference value.
[0066] S402, sort the process flow records in the order of their generation time, and mark their attribute values in sequence. The most recent attribute value is marked as K, and then decreases by 1 in sequence, with the last one marked as 1.
[0067] S403, classify the process flow records, classify the process flows with the same process flow into the same category, and obtain n categories of process flows, where n is an integer greater than or equal to 1.
[0068] S404, summing up the attribute values of each category to obtain the sum of the attribute values of each category.
[0069] S405, selecting the process flow of the category with the largest sum of attribute values as the new process flow.
[0070] By formulating a new process flow through the above method, the efficiency of the new process flow can be improved and the workload of engineers can be reduced.
[0071] It is easy to understand that the essence of generating the above-mentioned new process flow is to select from multiple existing process flows, so it is suitable for situations where multiple process flows already exist. If there are no multiple process flows at present, the engineer user needs to manually formulate them.
[0072] S50, after executing the current process, insert record information into the product information table according to the execution result, the record information includes the work order number, the latest completed process, and the product status. The product status includes the bad state, controlled state, scrapped state and normal state, and then enter step S60.
[0073] During the production process, products may be in normal, controlled, defective and scrapped states due to various problems. Therefore, after completing the current process, the product may be in defective, scrapped or controlled state. If the product is qualified after the current process, it is in normal state.
[0074] S60, determining whether all processes have been executed, if so, ending the process control flow, otherwise returning to step S20.
[0075] like Figure 2 As shown, in the above step S20, the process of calculating the process to be currently executed for the product according to the work order number includes:
[0076] S201, query the process table recorded by the work order number according to the work order number to obtain the process flow, and query the product information table to obtain the record information of the completed process, and query the process record table to determine whether the product is a reworked product. If it is a reworked product, go to step S203, otherwise go to step S202.
[0077] The process record table records the work order number and rework mark. If the work order number entered by the user and the corresponding rework mark are found in the process record table, it means that the product is a rework product. Rework products refer to products that do not meet the quality standards (commonly known as defective products) due to an abnormality in the production process, but can be made into good products again through some new process flows.
[0078] S202, taking the first process in the original process flow as the initial process, and then proceeding to step S206.
[0079] S203, read the rework instruction time, and check whether there is a process record in the process record table whose production time is later than the rework time and whose status is qualified. If so, go to step S205, otherwise go to step S204.
[0080] S204, feeding back the rework process to the user as a mandatory process that should be done currently.
[0081] S205, taking the rework process as the initial process, and then proceeding to step S206.
[0082] S206, the current inspection process is the initial process, the completion time of the previous process is the set minimum time, and then enter step S207. The previous process refers to the process before the current process.
[0083] S207, query the process record table to determine whether there is a process record in the current inspection process with a status of qualified and a production time later than the completion time of the previous process. If so, proceed to step S208, otherwise proceed to step S210.
[0084] S208, obtaining the next process of the current inspection process in the process flow, and determining whether the process flow is completed. If so, returning a prompt indicating that the process flow has been completed, otherwise proceeding to step S209.
[0085] S209, taking the completion time of the current inspection process as the completion time of the previous process, replacing the next process of the current inspection process in the process flow with the current inspection process, and returning to step S206.
[0086] S210, taking the currently inspected process as the currently required process, obtaining the previous required process of the currently required process, and then obtaining the optional process between the two required processes, and feeding back the optional process and the two required processes as a sequence of available processes to the user.
[0087] Theoretically, we know which processes have been done so far, and then we can know what process should be done currently by comparing the process flow. However, in this embodiment, the above steps S201-210 are used to calculate the process to be done currently, which is more applicable and stable. For example, it can adapt to the following situations: (1) The process flow configured by the work order number contains optional (optional) processes and required processes; (2) In the actual production process, a process of a certain product is repeated many times, with records of qualified and unqualified processes. Generally, the most recent qualified process is considered qualified; (3) There are also situations where multiple reworks during product production result in multiple process flows, making the process records numerous and complex.
[0088] This embodiment also provides an optical device production process control system, including an optical device production process control device and a database, which stores the aforementioned product information table, process record table, process table by product type, and process table recorded by work order number.
[0089] See also Figure 4 , based on the same inventive concept, the optical device production process control device includes:
[0090] The process table recording module is used to obtain the work order number, query the process table recorded by product type, obtain the original process flow, and write the original process flow and the work order number into the process table recorded by the work order number;
[0091] The process calculation module is used to obtain the work order number and current process name of the product input by the user, calculate the process that should be currently executed for the product according to the work order number, and determine whether the current process name matches the process that should be currently executed, and output the determination result;
[0092] The product status confirmation module is used to query the product information table to obtain the product status when the output result of the process calculation module is a match. The product status includes controlled status, scrapped status, bad status, and normal status;
[0093] The process flow formulation module is used to generate a new work order number and formulate a new process flow when the product status output by the product status confirmation module is a bad status, and insert the new work order number and the new process flow into the process table recorded by the work order number;
[0094] A product status recording module is used to insert record information into the product information table according to the execution result when the product status output by the product status confirmation module is normal and after the current process is executed. The record information includes the work order number, the latest completed process, and the product status;
[0095] The process ending module is used to end the process control process when the output result of the process calculation module is mismatched, or when the product status output by the product status confirmation module is a controlled state or a scrapped state.
[0096] The specific processing details of each of the above modules can refer to the relevant descriptions in the aforementioned method steps. For example, after obtaining the work order number and before querying the process table recorded by product type, the process table recording module first verifies the uniqueness of the obtained work order number. After the verification is passed, it executes the operation of querying the process table recorded by product type. If the verification fails, the process control flow is terminated. To save space, it will not be repeated here.
[0097] like Figure 5 As shown, this embodiment also provides an electronic device, which may include a processor 41 and a memory 42, wherein the memory 42 is coupled to the processor 41. It is worth noting that this figure is exemplary, and other types of structures may be used to supplement or replace this structure to achieve data extraction, report generation, communication or other functions.
[0098] like Figure 5 As shown, the electronic device may further include: an input unit 43, a display unit 44 and a power supply 45. It is worth noting that the electronic device does not necessarily have to include Figure 5 In addition, electronic devices may also include Figure 5 For components not shown, reference may be made to the prior art.
[0099] The processor 41 is sometimes also called a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The processor 41 receives inputs and controls the operations of various components of the electronic device.
[0100] The memory 42 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices, and may store information such as configuration information of the processor 41 and instructions executed by the processor 41. The processor 41 may execute the program stored in the memory 42 to implement information storage or processing. In one embodiment, the memory 42 also includes a buffer memory, i.e., a buffer, to store intermediate information.
[0101] An embodiment of the present invention further provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed in an electronic device, the program product enables the electronic device to execute the operation steps included in the method of the present invention.
[0102] An embodiment of the present invention further provides a storage medium storing computer-readable instructions, wherein the computer-readable instructions enable an electronic device to execute the operation steps included in the method of the present invention.
[0103] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0104] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0105] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for controlling an optical device production process, characterized in that: The following steps are involved: S10, obtain the work order number, query the process table recorded by product type, obtain the original process flow, and write the original process flow and the work order number into the process table recorded by the work order number, and then enter step S20; S20, obtaining the work order number and current process name of the product input by the user, calculating the process to be currently executed for the product according to the work order number, and determining whether the current process name matches the process to be currently executed. If they match, proceed to step S30, otherwise, terminate the current process control flow; S30, query the product information table to obtain the product status. If the product status is a controlled state or a scrapped state, the process control flow is directly terminated. If the product status is a bad state, the process proceeds to step S40. If the product status is a normal state, the process proceeds to step S50. S40, generating a new work order number and formulating a new process flow, and inserting the new work order number and the new process flow into the process table recorded by the work order number, and then returning to step S20; S50, after the current process is executed, insert record information into the product information table according to the execution result, the record information includes the work order number, the latest completed process, and the product status, the product status includes the bad state, the controlled state, the scrapped state and the normal state, and then enter step S60; S60, determining whether all processes have been executed, if so, ending the process control flow, otherwise returning to step S20; In S20, the process of calculating the process to be currently executed for the product according to the work order number includes: S201, query the process table recorded by the work order number according to the work order number to obtain the process flow, and query the product information table to obtain the record information of the completed process, and query the process record table to determine whether the product is a reworked product. If it is a reworked product, go to step S203, otherwise go to step S202; S202, taking the first process in the original process flow as the initial process, and then proceeding to step S206; S203, read the rework instruction time, and check whether there is a process record in the process record table whose production time is later than the rework time and whose status is qualified. If yes, go to step S205, otherwise go to step S204; S204, feeding back the rework process to the user as a required process to be done currently; S205, taking the rework process as the initial process, and then proceeding to step S206; S206, the current inspection process is the initial process, and the previous process completion time is the set minimum time, then enter step S207; S207, determining whether the current inspection process has a process record with a qualified status and a production time later than the completion time of the previous process, if yes, proceed to step S208, otherwise proceed to step S210; S208, obtaining the next process of the current inspection process in the process flow, and determining whether the process flow is completed, if so, returning a prompt indicating that the process flow is completed, otherwise, proceeding to step S209; S209, taking the completion time of the current inspection process as the completion time of the previous process, replacing the next process of the current inspection process in the process flow with the current inspection process, and returning to step S206; S210, taking the currently inspected process as the currently required process, obtaining the previous required process of the currently required process, and then obtaining the optional process between the two required processes, and feeding back the optional process and the two required processes as a sequence of available processes to the user; In S40, the process of formulating a new process flow includes: S401, query the database to obtain the most recent k configured process flow records according to the product model, defect cause and current process, where k is an integer greater than 1. If the number of records is less than k, the actual number shall prevail. S402, sorting the process flow records in the order of their generation time, marking their attribute values in sequence, with the most recent attribute value marked as K, and decreasing by 1 in sequence, with the last attribute value marked as 1; S403, classifying the process flow records, classifying the process flows with the same process flow into the same category, and obtaining n categories of process flows, where n is an integer greater than or equal to 1; S404, accumulating the attribute values of each category to obtain the sum of the attribute values of each category; S405, selecting the process flow of the category with the largest sum of attribute values as the new process flow.
2. The optical device production process control method according to claim 1, characterized in that: In S10, after obtaining the work order number and before querying the process table recorded by product type, the uniqueness of the obtained work order number is first verified. After the verification passes, the operation of querying the process table recorded by product type is executed. If the verification fails, the process control flow is terminated.
3. An optical device production process control system, characterized in that: The optical device production process control device comprises an optical device production process control device and a database, wherein the database stores a product information table, a process record table, a process table by product type, and a process table by work order number; the optical device production process control device executes the optical device production process control method according to claim 1, and the optical device production process control device comprises: The process table recording module is used to obtain the work order number, query the process table recorded by product type, obtain the original process flow, and write the original process flow and the work order number into the process table recorded by the work order number; The process calculation module is used to obtain the work order number and current process name of the product input by the user, calculate the process that should be currently executed for the product according to the work order number, and determine whether the current process name matches the process that should be currently executed, and output the determination result; The product status confirmation module is used to query the product information table to obtain the product status when the output result of the process calculation module is a match. The product status includes controlled status, scrapped status, bad status, and normal status; The process flow formulation module is used to generate a new work order number and formulate a new process flow when the product status output by the product status confirmation module is a bad status, and insert the new work order number and the new process flow into the process table recorded by the work order number; A product status recording module is used to insert record information into the product information table according to the execution result when the product status output by the product status confirmation module is normal and after the current process is executed. The record information includes the work order number, the latest completed process, and the product status; The process ending module is used to end the process control process when the output result of the process calculation module is mismatched, or when the product status output by the product status confirmation module is a controlled state or a scrapped state; When formulating a new process flow, the process flow formulation module performs the following operations: according to the product model, the cause of the defect and the current process, query the database to obtain the process flow records configured for the most recent k times, where k is an integer greater than 1. If the number of records is less than k times, the actual number shall prevail; sort the process flow records in chronological order of generation, and mark their attribute values in sequence. The attribute value marked with the most recent time is K, and then decreases by 1 in sequence, and the last one is marked as 1; classify the process flow records, and classify the same process flows into the same category to obtain n categories of process flows, where n is an integer greater than or equal to 1; add up the attribute values of each category to obtain the sum of the attribute values of each category; select the process flow of the category with the largest sum of attribute values as the new process flow.
4. The optical device production process control system according to claim 3, characterized in that: After obtaining the work order number and before querying the process table recorded by product type, the process table recording module first verifies the uniqueness of the obtained work order number. After the verification is passed, it executes the operation of querying the process table recorded by product type. If the verification fails, the process control flow is terminated.
5. A computer-readable storage medium comprising computer-readable instructions, characterized in that: The computer-readable instructions, when executed by a processor, implement the steps in the optical device production process control method according to any one of claims 1 to 2.
6. An electronic device, characterized in that: include: Memory, which stores program instructions; A processor is connected to the memory and executes program instructions in the memory to implement the steps in the optical device production process control method according to any one of claims 1 to 2.
