MES station-crossing data tracing method and system

By setting up the station data table and associated data table in the MES system, the problem of no barcodes in the first seven processes was solved, the traceability of the production data of the eight processes was realized, and the integrity and analysis basis of the production line data were ensured.

CN118735544APending Publication Date: 2024-10-01EAGLERISE MAGNETOELECTRIC TECH (JI AN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410849320.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When producing a product containing 8 processes, since the semi-finished products of the first 7 processes are not equipped with barcodes, the barcode printed on the finished product after the completion of the 8th process cannot be directly traced back to the MES transit data of the previous process.

Method used

By setting up MES transit data tables and associated data tables, we can obtain unprocessed transit data, group and filter work order numbers, determine and update ID numbers, and print relevant data on finished product barcodes to implement the first 7 processes. Data traceability.

Benefits of technology

After the last process is completed, the MES transit data of all previous processes can be effectively traced through the finished product barcode, providing the basis for subsequent production dashboards and data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735544A_ABST
    Figure CN118735544A_ABST
Patent Text Reader

Abstract

The invention discloses an MES station-crossing data tracing method and system, and the method comprises the steps: setting an MES station-crossing data table and an associated data table, judging whether data associated with the station-crossing data of each production process in the MES station-crossing data table exists in the associated data table, and if yes, determining whether the data associated with the station-crossing data of each production process in the MES station-crossing data table exists in the associated data table; if yes, it shows that the station-crossing data of each production process in the MES station-crossing data table is associated. According to the invention, the problem that the MES station-crossing data of the previous working procedure cannot be directly traced after the eighth working procedure is finished due to the fact that the semi-finished products of the first seven working procedures are not equipped with bar codes when the products including eight working procedures are produced at present is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of MES transit data processing, and in particular to a MES transit data tracing method and system. Background Art

[0002] The MES system is an information system used to manage and monitor the production process of the manufacturing industry. It can collect, analyze and display production data in real time, helping enterprises to implement production plans, monitor and optimize production processes, and manage product quality. For a product that includes 8 production processes, these processes are winding, paint stripping, coil assembly, core assembly, injection molding, ultrasonic welding, TIG welding and busbar assembly. In such a production process, especially before the 8th process, the product is still in a semi-finished state and has not yet formed the final product identification, such as barcodes, which are indispensable traceability and identification tools in modern manufacturing. However, since the semi-finished products of the first 7 processes are not equipped with barcodes, when the 8th process is completed, the barcode printed on the finished product using laser engraving cannot be directly traced back to the MES transit data of the previous process. Summary of the invention

[0003] In view of the above defects, the present invention proposes an MES transit data tracing method and system, which aims to solve the problem that when producing products involving 8 production processes, the semi-finished products of the first 7 processes are not equipped with barcodes. When the 8th process is completed, the barcode printed on the finished product cannot be used to directly trace the MES transit data of the previous process.

[0004] To achieve this object, the present invention adopts the following technical solutions:

[0005] A MES transit data tracing method includes the following steps:

[0006] Step S1: Setting the MES transit data table and the associated data table, wherein the MES transit data table includes the transit data of each production process, and the associated data table includes the ID number, work order number and finished product barcode of the transit data of each production process;

[0007] Step S2: Obtain the unprocessed station-passing data in each production process from the MES station-passing data table;

[0008] Step S3: Grouping the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data;

[0009] Step S4: Filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data n , the production process is the first process of the station data 1 _MOn , and determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data 1 _MO n The ID of the other production process's station data is empty. If it exists, mark Data 1 _MO n If it does not exist, execute step S5;

[0010] Step S5: Filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data n , the production process is the mth process of the station data Data m _MO n , where m is the current process, m=2,...,M, M is the total process, and determines whether there is a work order number MO in the associated data table n And the ID number of the m-th production process's pass-through data is empty. If it exists, update the ID number of the m-th production process's pass-through data to Data m _MO n ID and mark Data m _MO n If it does not exist, then execute step S6;

[0011] Step S6: Determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the data of the station is available, the work order number is marked as MO n The station-passing data is processed. If it does not exist, continue to obtain the unprocessed station-passing data in each production process from the MES station-passing data table.

[0012] Preferably, in step S5, if m=M, the transit data Data of the Mth process M _MO n Determine whether there is a work order number MO in the associated data table n And the ID number of the M-th production process's station data is empty. If it exists, update the ID number of the M-th production process's station data to Data m _MO n ID, and also includes the following steps: Update the finished product barcode in the associated data table to Data M _MO n Finished product barcode.

[0013] Preferably, in step S6, when there is a work order number other than MO in the work order set containing unprocessed station data, nIf the data is from a transit station, the work order number is marked as MO n The data of the station has been processed, and the following steps are also included: clear the work order number MO in the associated data table n And the data of finished product barcode is empty.

[0014] Another aspect of the present application provides a MES transit data tracing system, the system comprising:

[0015] The first setting module is used to set the MES station-passing data table, wherein the MES station-passing data table includes the station-passing data of each production process;

[0016] The second setting module is used to set the associated data table, wherein the associated data table includes the ID number, work order number and finished product barcode of the transit data of each production process;

[0017] The acquisition module is used to obtain the unprocessed station data in each production process from the MES station data table;

[0018] The grouping module is used to group the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data;

[0019] The first screening module is used to screen out the work order number MO of the nth work order number from the work order set containing unprocessed station data. n , the production process is the first process of the station data 1 _MO n ;

[0020] The first judgment module is used to determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data 1 _MO n The ID of the ID and the ID numbers of the other production process's station data are all empty data. If they exist, the first marking module is executed; if they do not exist, the second screening module, the traversal module and the second judgment module are executed;

[0021] The first marking module is used to mark Data 1 _MO n is processed;

[0022] The second screening module is used to screen out the work order number MO of the nth work order number from the work order set containing unprocessed station data. n , the production process is the mth process of the station data Data m _MO n , where m is the current process, m=2,…,M, and M is the total process;

[0023] The second judgment module is used to determine whether there is a work order number MO in the associated data table. n And the ID number of the passing station data of the m-th production process is empty. If it exists, the first updating module is executed, and the second marking module is executed. If it does not exist, the third judging module is executed;

[0024] The first update module is used to update the ID number of the station data of the mth production process. m _MO n ID;

[0025] The second marking module is used to mark Data m _MO n is processed;

[0026] The third judgment module is used to determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the transit data exists, the third marking module is executed; if not, the acquisition module is continued;

[0027] The third marking module is used to mark the work order number as MO n The data of the transit station has been processed.

[0028] Preferably, it also includes a second updating module for updating the finished product barcode in the associated data table to Data m _MO n Finished product barcode; in the second judgment module, if m = M, the Mth process pass data Data M _MO n Determine whether there is a work order number MO in the associated data table n And if the ID number of the transit data of the Mth production process is empty, in addition to executing the first update module, the second update module will also be executed.

[0029] Preferably, it also includes a data clearing module for clearing the work order number MO in the associated data table. n and data with empty barcodes for finished products; in the third judgment module, when there is a work order number other than MO in the work order set containing unprocessed data, n If the data is passed through the station, in addition to executing the third marking module, the data clearing module is also executed.

[0030] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0031] This solution sets up an MES transit data table and an associated data table, and determines whether there is data in the associated data table that is associated with the transit data of each production process in the MES transit data table. If so, it means that the transit data of each production process in the MES transit data table has been associated. When the last process is completed, the barcode printed on the finished product can be used to trace back to the MES transit data of the previous process, which is conducive to providing effective data for the production kanban and providing a basis for subsequent data analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a step flow chart of the MES transit data tracing method. DETAILED DESCRIPTION

[0033] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0034] A MES transit data tracing method includes the following steps:

[0035] Step S1: Setting the MES transit data table and the associated data table, wherein the MES transit data table includes the transit data of each production process, and the associated data table includes the ID number, work order number and finished product barcode of the transit data of each production process;

[0036] Step S2: Obtain the unprocessed station-passing data in each production process from the MES station-passing data table;

[0037] Step S3: Grouping the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data;

[0038] Step S4: Filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data n , the production process is the first process of the station data 1 _MO n , and determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data 1 _MO n The ID of the other production process's station data is empty. If it exists, mark Data 1 _MO n If it does not exist, execute step S5;

[0039] Step S5: Filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data n , the production process is the mth process of the station data Data m _MO n , where m is the current process, m=2,...,M, M is the total process, and determines whether there is a work order number MO in the associated data table n And the ID number of the m-th production process's pass-through data is empty. If it exists, update the ID number of the m-th production process's pass-through data to Data m _MO n ID and mark Data m _MO n If it does not exist, then execute step S6;

[0040] Step S6: Determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the data of the station is available, the work order number is marked as MO n The station-passing data is processed. If it does not exist, continue to obtain the unprocessed station-passing data in each production process from the MES station-passing data table.

[0041] This solution uses a MES data tracing method, such as Figure 1As shown, the first step is to set up the MES station-passing data table and the associated data table, wherein the MES station-passing data table includes the station-passing data of each production process, and the associated data table includes the ID number, work order number and finished product barcode of the station-passing data of each production process. In this embodiment, there are 8 production processes for a product, therefore, the MES station-passing data table includes the station-passing data of 8 production processes, and the associated data table includes 10 associated data, which are the ID number, work order number and finished product barcode of the station-passing data of 8 production processes. By setting up the MES station-passing data table, it is beneficial to store and manage the station-passing data of each production process, and by setting up the associated data table, it is beneficial to subsequently associate the station-passing data of different production processes. The second step is to obtain the unprocessed station-passing data in each production process from the MES station-passing data table. In this embodiment, by extracting the unprocessed station-passing data in each production process, it is beneficial to subsequently process the unprocessed station-passing data in a timely manner, thereby improving the production efficiency of the entire production line. The third step is to group the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data. In this embodiment, since there is only one work order that needs to be run on the entire production line, only the data of one work order needs to be processed. Therefore, grouping the unprocessed transit data in each production process according to the work order number can more easily identify which data entries are duplicated, thereby removing duplicate data. The fourth step is to filter out the work order number with the nth work order number MO from the work order set containing the unprocessed transit data. n , the production process is the first process of the station data MOn 1 _MO n , and determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data 1 _MO n The ID of the other production process's station data is empty. If it exists, mark Data 1 _MO n If it does not exist, execute step S5. In this embodiment, when it is determined that there is a work order number MO in the associated data table, n , the ID number of the first production process's transit data is Data 1 _MO n The ID of the other production process's transit data is empty, indicating that the work order number MO has been n , the production process is the first process of the station data 1 _MO n The fifth step is to filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data. n , the production process is the mth process of the station data Datam _MO n , where m is the current process, m=2,...,M, M is the total process, and determines whether there is a work order number MO in the associated data table n And the ID number of the m-th production process's pass-through data is empty. If it exists, update the ID number of the m-th production process's pass-through data to Data m _MO n ID and mark Data m _MO n If it does not exist, then execute step S6. In this embodiment, M is 8. When the current process's passing station data Data m _MO n By judging, it is found that there is a work order number MO in the associated data table n If the ID number of the current production process's pass-through data is empty, the ID number of the current production process's pass-through data is updated to the work order number MO selected from the work order set containing unprocessed pass-through data. n , the production process is the ID of the transit data of the current process, indicating that the work order number is MO n , the production process is the mth process of the station data Data m _MO n The sixth step is to determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the data of the station is available, the work order number is marked as MO n The data of the station-passing data is processed. If it does not exist, the unprocessed station-passing data in each production process will continue to be obtained from the MES station-passing data table. In this embodiment, when there is a work order number other than MO in the work order set containing unprocessed station-passing data, n The data of the station has been changed, indicating that the work order has been changed. The work order number is MO n The data of the station has been processed and the work order number is MO n The passed-station data is marked as processed to avoid subsequent repeated processing of the passed-station data with the same work order number.

[0042] This solution sets up an MES transit data table and an associated data table, and determines whether there is data in the associated data table that is associated with the transit data of each production process in the MES transit data table. If so, it means that the transit data of each production process in the MES transit data table has been associated. When the last process is completed, the barcode printed on the finished product can be used to trace back to the MES transit data of the previous process, which is conducive to providing effective data for the production board and providing a basis for subsequent data analysis.

[0043] Preferably, in step S5, if m=M, the transit data Data of the Mth process M _MO n Determine whether there is a work order number MO in the associated data table n And the ID number of the M-th production process's station data is empty. If it exists, update the ID number of the M-th production process's station data to Data M _MO n ID, and also includes the following steps: Update the finished product barcode in the associated data table to Data M _MO n Finished product barcode.

[0044] In this embodiment, M=8, when associating the last process's transit data, in addition to updating the last production process's transit data in the associated data table, the ID number of the transit data of the 8th process is 8 _MO n The ID of the finished product in the associated data table also needs to be updated with the data of the 8th process. 8 _MO n The finished product barcode is updated in the associated data table to the data of the 8th process. 8 _MO n The finished product barcode is helpful for the subsequent identification of the finished product barcode of the last process's pass-through data, so as to trace the pass-through data of all previous processes.

[0045] Preferably, in step S6, when there is a work order number other than MO in the work order set containing unprocessed station data, n If the data is from a transit station, the work order number is marked as MO n The data of the station has been processed, and the following steps are also included: clear the work order number MO in the associated data table n In this embodiment, when there is a work order number other than MO in the work order set containing unprocessed data, n The data of the station is passed, indicating that the work order number is MO n The data of the transit station has been processed, and there will be no more work orders with the number MO. n The data of the station is generated by clearing the work order number MO in the associated data table. n As well as data with empty barcodes for finished products, this helps to avoid storing useless or invalid data in associated data tables.

[0046] Another aspect of the present application provides a MES transit data tracing system, the system comprising:

[0047] The first setting module is used to set the MES station-passing data table, wherein the MES station-passing data table includes the station-passing data of each production process;

[0048] The second setting module is used to set the associated data table, wherein the associated data table includes the ID number, work order number and finished product barcode of the transit data of each production process;

[0049] The acquisition module is used to obtain the unprocessed station data in each production process from the MES station data table;

[0050] The grouping module is used to group the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data;

[0051] The first screening module is used to screen out the work order number MO of the nth work order number from the work order set containing unprocessed station data. n , the production process is the first process of the station data 1 _MO n ;

[0052] The first judgment module is used to determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data 1 _MO n The ID of the ID and the ID numbers of the other production process's station data are all empty data. If they exist, the first marking module is executed; if they do not exist, the second screening module, the traversal module and the second judgment module are executed;

[0053] The first marking module is used to mark Data 1 _MO n is processed;

[0054] The second screening module is used to screen out the work order number MO of the nth work order number from the work order set containing unprocessed station data. n , the production process is the mth process of the station data Data m _MO n , where m is the current process, m=2,…,M, and M is the total process;

[0055] The second judgment module is used to determine whether there is a work order number MO in the associated data table. n And the ID number of the passing station data of the m-th production process is empty. If it exists, the first updating module is executed, and the second marking module is executed. If it does not exist, the third judging module is executed;

[0056] The first update module is used to update the ID number of the station data of the mth production process. m_MO n ID;

[0057] The second marking module is used to mark Data m _MO n is processed;

[0058] The third judgment module is used to determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the transit data exists, the third marking module is executed; if not, the acquisition module is continued;

[0059] The third marking module is used to mark the work order number as MO n The data of the transit station has been processed.

[0060] A MES transit data tracing system of the present scheme cooperates with each other through a first setting module, a second setting module, an acquisition module, a grouping module, a first screening module, a first judgment module, a first marking module, a second screening module, a second judgment module, a first updating module, a second marking module, a third judgment module and a third marking module, specifically by setting an MES transit data table and an associated data table, and judging whether there is data associated with the transit data of each production process in the MES transit data table in the associated data table; if so, it means that the transit data of each production process in the MES transit data table has been associated; when the last process is completed, the MES transit data of the previous process can be traced back using the barcode printed on the finished product.

[0061] Preferably, it also includes a second updating module for updating the finished product barcode in the associated data table to Data m _MO n Finished product barcode; in the second judgment module, if m = M, the Mth process pass data Data M _MO n Determine whether there is a work order number MO in the associated data table n And the ID number of the M-th production process is empty. If it exists, in addition to executing the first update module, the second update module is also executed. In this embodiment, M=8, when associating the last process's pass-through data, in addition to executing the first update module, the second update module needs to be executed. By setting the second update module, it is beneficial to identify the finished product barcode of the last process's pass-through data in the subsequent process, so as to be able to trace the pass-through data of all previous processes.

[0062] Preferably, it also includes a data clearing module for clearing the work order number MO in the associated data table. nand data with empty barcodes for finished products; in the third judgment module, when there is a work order number other than MO in the work order set containing unprocessed data, n In this embodiment, when there is a work order set containing unprocessed data that has a work order number other than MO n The data of the station is passed, indicating that the work order number is MO n The data of the transit station has been processed, and there will be no more work orders with the number MO. n By setting up a data clearing module, it is helpful to avoid storing useless or invalid data in the associated data table.

[0063] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0064] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A MES transit data tracing method, characterized by: The following steps are involved: Step S1: Setting the MES transit data table and the associated data table, wherein the MES transit data table includes the transit data of each production process, and the associated data table includes the ID number, work order number and finished product barcode of the transit data of each production process; Step S2: Obtain the unprocessed station-passing data in each production process from the MES station-passing data table; Step S3: Grouping the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data; Step S4: Filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data n , the production process is the first process of the station data Data1_MO n , and determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data1_MO n The ID of the other production process's station data is empty. If it exists, it is marked as Data1_MO n If it does not exist, execute step S5; Step S5: Filter out the work order number MO with the nth work order number from the work order set containing unprocessed station data n , the production process is the mth process of the station data Data m _MO n , where m is the current process, m=2, ..., M, M is the total process, and determines whether there is a work order number MO in the associated data table n And the ID number of the m-th production process's pass-through data is empty. If it exists, update the ID number of the m-th production process's pass-through data to Data m _MO n ID and mark Data m _MO n If it does not exist, then execute step S6; Step S6: Determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the data of the station is available, the work order number is marked as MO n The station-passing data is processed. If it does not exist, continue to obtain the unprocessed station-passing data in each production process from the MES station-passing data table.

2. According to claim 1, a MES transit data tracing method is characterized by: In step S5, if m=M, the transit data Data of the Mth process M -MO n Determine whether there is a work order number MO in the associated data table n And the ID number of the M-th production process's station data is empty. If it exists, update the ID number of the M-th production process's station data to Data M -MO n ID, and also includes the following steps: Update the finished product barcode in the associated data table to Data M -MO n Finished product barcode.

3. According to claim 1, a MES transit data tracing method is characterized by: In step S6, when there is a work order number other than MO in the work order set containing unprocessed station data, n If the data is from a transit station, the work order number is marked as MO n The data of the station has been processed, and the following steps are also included: clear the work order number MO in the associated data table n And the data of finished product barcode is empty.

4. A MES transit data tracing system, characterized by: Using the MES transit data tracing method as described in any one of claims 1 to 3, the system includes: The first setting module is used to set the MES station-passing data table, wherein the MES station-passing data table includes the station-passing data of each production process; The second setting module is used to set the associated data table, wherein the associated data table includes the ID number, work order number and finished product barcode of the transit data of each production process; The acquisition module is used to obtain the unprocessed station data in each production process from the MES station data table; The grouping module is used to group the unprocessed transit data in each production process according to the work order number to obtain a work order set containing the unprocessed transit data; The first screening module is used to screen out the work order number MO of the nth work order number from the work order set containing unprocessed station data. n , the production process is the first process of the station data Data1_MO n ; The first judgment module is used to determine whether there is a work order number MO in the associated data table n , the ID number of the first production process's transit data is Data1_MO n The ID of the ID and the ID numbers of the other production process's station data are all empty data. If they exist, the first marking module is executed; if they do not exist, the second screening module, the traversal module and the second judgment module are executed; The first marking module is used to mark Data1_MO n is processed; The second screening module is used to screen out the work order number MO of the nth work order number from the work order set containing unprocessed station data. n , the production process is the mth process of the station data Data m _MO n , where m is the current process, m=2,…,M, and M is the total process; The second judgment module is used to determine whether there is a work order number MO in the associated data table. n And the ID number of the passing station data of the m-th production process is empty. If it exists, the first updating module is executed, and the second marking module is executed. If it does not exist, the third judging module is executed; The first update module is used to update the ID number of the station data of the mth production process. m _MO n ID; The second marking module is used to mark Data m _MO n is processed; The third judgment module is used to determine whether there is a work order number other than MO in the work order set containing unprocessed station data. n If the transit data exists, the third marking module is executed; if not, the acquisition module is continued; The third marking module is used to mark the work order number as MO n The transit data is processed.

5. The MES transit data tracing system according to claim 4 is characterized in that: The second updating module is also included, which is used to update the finished product barcode in the associated data table to Data M _MO n Finished product barcode; In the second judgment module, if m=M, the data of the Mth process M _MO n Determine whether there is a work order number MO in the associated data table n And if the ID number of the transit data of the Mth production process is empty, in addition to executing the first update module, the second update module will also be executed.

6. The MES transit data tracing system according to claim 4 is characterized by: It also includes a data clearing module for clearing the work order number MO in the associated data table. n And the data of finished product barcode is empty; In the third judgment module, when there is a work order number other than MO in the work order set containing unprocessed station data, n If the data is passed through the station, in addition to executing the third marking module, the data clearing module is also executed.