A full life cycle traceability supervision method and system for products in MES system

By introducing blockchain technology into the MES system to monitor product production processes and record key data, the problem of traceability failure caused by the batch management server being vulnerable to attacks is solved, and the product production process data can be tamper-proof and traceable at any time.

CN119671583BActive Publication Date: 2025-09-09BEIJING XINGHANG MECHANICAL ELECTRICAL EQUIP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411658301.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-09-09
Estimated Expiration
2044-11-20

AI Technical Summary

Technical Problem

The batch management server in the existing MES system is easily attacked, resulting in the failure of product traceability. Especially in the outsourced factory environment, it is impossible to ensure that the product production process data cannot be tampered with and cannot be queried at any time.

Method used

By introducing blockchain technology, MES servers, DNC servers, CNC machine tools and quality inspection servers are added to the blockchain. The product production process is supervised through accounting nodes, and the production batch number, product number, production program version number and quality inspection data are recorded. When tracing the source, relevant information is queried from the blockchain for comparison.

Benefits of technology

It ensures that product production process data cannot be tampered with and can be queried at any time, effectively solves the problem of product traceability failure after the batch management server is attacked, and provides traceability judgment capabilities under multiple conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119671583B_ABST
    Figure CN119671583B_ABST
Patent Text Reader

Abstract

A method and system for tracing and supervising the full life cycle of products in an MES system relates to the field of product traceability technology and solves the problem of product traceability failure caused by attacks on existing batch management servers. The method includes: constructing a blockchain for tracing and supervising the full life cycle of products, adding an MES server, a DNC server, a CNC machine tool, and a quality inspection server to the blockchain; the accounting nodes in the blockchain interact with the MES server, DNC server, CNC machine tool, and quality inspection server respectively to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number, and quality inspection data of each product; when a customer needs to trace a product, the product traceability client is connected to the blockchain, and the product traceability client obtains the record corresponding to the product number of the product to be traced from the blockchain, and compares the obtained record with the information of the product to be traced to obtain the traceability result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product traceability, and in particular to a method and system for tracing and supervising the full life cycle of a product in an MES system. Background Art

[0002] Product tracking and batch management, as one of the important functions in the MES system, plays a vital role in achieving production traceability.

[0003] The batch management server stores the production process data of the product. However, if the production data records in the batch management server are maliciously tampered with, deleted by internal personnel due to operational errors, or the query process is attacked by a middleman to forge information, the product traceability process will be ineffective.

[0004] Traditional data backup can address the problem of accidental data deletion, while encryption and authentication methods can mitigate man-in-the-middle attacks. However, if factory personnel modify or falsify records in the batch management server, existing product traceability methods become ineffective. How can we ensure that once a product leaves the factory, all production-related process data (including product traceability information, including product numbers) remains tamper-proof and readily accessible? This functionality is particularly important for outsourced factories (i.e., factories where the product manufacturer and owner are not the same). Summary of the Invention

[0005] In view of the above analysis, the embodiments of the present invention aim to provide a method and system for full life cycle traceability supervision of products in an MES system, so as to solve the problem of product traceability failure caused by attacks on existing batch management servers.

[0006] In one aspect, the present invention discloses a method for tracing and supervising a product throughout its life cycle in an MES system, the method comprising:

[0007] Build a blockchain for product lifecycle traceability and supervision, and add MES servers, DNC servers, CNC machine tools, and quality inspection servers to the blockchain;

[0008] The accounting nodes in the blockchain interact with the MES server, DNC server, CNC machine tool and quality inspection server respectively to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product;

[0009] When a customer needs to trace a product, the product traceability client is connected to the blockchain. The product traceability client obtains the record corresponding to the product number of the product to be traced from the blockchain, and compares the obtained record with the information of the product to be traced to obtain the traceability result.

[0010] On the basis of the above solution, the present invention also makes the following improvements:

[0011] Furthermore, the accounting nodes in the blockchain interact with the MES server to monitor the production process of the product and perform:

[0012] The MES server broadcasts the production schedule to the blockchain; each production task in the production schedule includes: a production batch number and a preset product number of the product to be processed;

[0013] The accounting node receives the records published by the MES server and determines whether the production batch number and product number of each production task are recorded in the historical block. If not, the corresponding production task is marked as the first record and written into the blockchain.

[0014] Furthermore, the accounting nodes in the blockchain interact with the DNC server to monitor the production process of the product and perform:

[0015] The DNC server receives the production task from the blockchain, successfully sends the production program of the corresponding production task to the CNC machine tool, and broadcasts the corresponding production task and its production program version number to the blockchain;

[0016] The accounting node receives the record published by the DNC server. If the accounting node finds that the corresponding production task is recorded in the historical block but the production program version number of the corresponding production task is not recorded, the accounting node will mark the corresponding production task and its production program version number published by the DNC server first broadcast in the blockchain as the second record and write it into the blockchain.

[0017] Furthermore, the accounting nodes in the blockchain interact with CNC machine tools to monitor the production process of products and perform:

[0018] The data machine tool processes the product based on the production program and assigns a preset product number to the processed product. Afterwards, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are broadcast to the blockchain.

[0019] The accounting node receives the records released by the CNC machine tool, and determines whether the first record and the second record in the history block include the production batch number released by the CNC machine tool and the product number of the processed product. If so, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are marked as the third record and written into the blockchain.

[0020] Furthermore, the accounting nodes in the blockchain interact with the quality inspection server to monitor the production process of the product and perform:

[0021] The quality inspection server conducts quality inspection on the processed products and obtains quality inspection data; and broadcasts the production batch number, product number of the processed product and its quality inspection data to the blockchain;

[0022] The accounting node receives the records published by the quality inspection server, and determines whether the first record, the second record, and the third record in the history block include the production batch number and the product number of the processed product published by the quality inspection server. If so, the production batch number in the corresponding production task, the product number of the processed product, and its quality inspection data are marked as the fourth record and written into the blockchain.

[0023] Furthermore, the process of obtaining a record corresponding to the product number of the product to be traced from the blockchain and comparing the obtained record with the information of the product to be traced to obtain a traceability result includes:

[0024] Obtain basic information of the product to be traced based on its nameplate, the basic information including at least one of the following: production batch number, production program version number, and CNC machine tool number;

[0025] The records corresponding to the product numbers of the products to be traced are obtained from the blockchain and compared one by one with the basic information of the products to be traced. If all correspond, the traceability of the products to be traced is passed; otherwise, the traceability of the products to be traced is failed.

[0026] Furthermore, the process of obtaining a record corresponding to the product number of the product to be traced from the blockchain and comparing the obtained record with the information of the product to be traced to obtain a traceability result includes:

[0027] Obtain basic information of the product to be traced based on its nameplate, the basic information including at least one of the following: production batch number, production program version number, and CNC machine tool number;

[0028] Perform quality inspection on the product to be traced. The quality inspection standards are the same as those of the quality inspection server, and the quality inspection data of the product to be traced is obtained.

[0029] The records corresponding to the product numbers of the products to be traced are obtained from the blockchain and compared one by one with the basic information and quality inspection data of the products to be traced. If all correspond, the traceability of the products to be traced is passed; otherwise, the traceability of the products to be traced fails.

[0030] Furthermore, each production task is uniquely assigned a production batch number; in each production task, each product to be processed is uniquely assigned a product number; the combination of the production batch number and the product number can uniquely identify a product to be processed.

[0031] On the other hand, the present invention also discloses a full life cycle traceability and supervision system for products in an MES system, the system comprising:

[0032] A blockchain used for product traceability throughout its lifecycle, recording each product's production batch number, product number, production program version number, CNC machine tool number, and quality inspection data.

[0033] The product traceability client is used to access the blockchain when customers need to trace products. The product traceability client obtains the record corresponding to the product number of the product to be traced from the blockchain, and compares the obtained record with the information of the product to be traced to obtain the traceability result.

[0034] On the basis of the above solution, the present invention also makes the following improvements:

[0035] The system also includes an MES server, a DNC server, a CNC machine tool and a quality inspection server; the MES server, the DNC server, the CNC machine tool and the quality inspection server are added to the blockchain, and interact with the MES server, the DNC server, the CNC machine tool and the quality inspection server respectively through the accounting nodes in the blockchain to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product.

[0036] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0037] The present invention provides a full life cycle traceability and supervision method for products in the MES system. The accounting nodes in the blockchain interact with the MES server, DNC server, CNC machine tool and quality inspection server to supervise the production process of the product, record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product, and provide conditions for product traceability. Since the relevant information in the product production process is recorded in the blockchain, when product traceability is required, data query is directly performed from the blockchain, which effectively solves the problem of product traceability failure caused by attacks on the existing batch management server. At the same time, according to the conditions of product traceability, traceability judgment of basic information and combined traceability judgment of basic information and quality inspection data can be performed, which can meet the traceability judgment under different conditions.

[0038] The full life cycle traceability and supervision system of products in the corresponding MES system is implemented based on the same technical concept as the above method and has corresponding technical effects.

[0039] In the present invention, the above-mentioned technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of the present invention will be described in the following description, and some advantages will become apparent from the description or be learned through practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are only used for the purpose of illustrating specific embodiments and are not to be considered as limiting the present invention. Throughout the drawings, the same reference symbols denote the same components.

[0041] Figure 1 Flowchart of the method for tracing and supervising the entire life cycle of a product in an MES system provided in Example 1 of the present invention;

[0042] Figure 2 This is a structural diagram of the product life cycle traceability and supervision system in the MES system provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0043] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.

[0044] To solve the above problems, the embodiment of the present invention introduces blockchain into the production batch management and traceability management process of the product. From production scheduling, DNC server to issuing production programs, to CNC machine tools starting production, and then to final product quality inspection and acceptance, the process data generated in the entire product production process are uploaded to the blockchain for storage. At the same time, the traceability query client is connected to the blockchain. When the traceability query is received, the relevant data can be obtained from the blockchain for traceability verification, thereby obtaining the traceability verification result and presenting it to the inquiring party. Based on the above technical concept, this embodiment forms the technical solution in this embodiment, which is described in detail as follows.

[0045] A specific embodiment 1 of the present invention discloses a method for tracing and supervising the entire life cycle of a product in an MES system, as shown in the flowchart. Figure 1 As shown, the implementation steps of this method are described in detail as follows.

[0046] Step S1: Build a blockchain for product lifecycle traceability and supervision, and add the MES server, DNC server, CNC machine tools, and quality inspection server to the blockchain;

[0047] Step S2: The accounting nodes in the blockchain interact with the MES server, DNC server, CNC machine tool and quality inspection server respectively to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product;

[0048] Step S3: When the customer needs to trace the product, the product traceability client is connected to the blockchain. The product traceability client obtains the record corresponding to the product number of the product to be traced from the blockchain, and compares the obtained record with the information of the product to be traced to obtain the traceability result.

[0049] Compared to existing technologies, in this embodiment, the blockchain's accounting nodes interact with MES servers, DNC servers, CNC machine tools, and quality inspection servers to monitor the production process and record each product's batch number, product number, production program version number, CNC machine tool number, and quality inspection data, thus facilitating product traceability. Since relevant information about the production process is recorded on the blockchain, when product traceability is required, data can be directly queried from the blockchain, effectively resolving the issue of product traceability failure caused by attacks on existing batch management servers.

[0050] In this embodiment, the blockchain monitors the production process of products by interacting with the MES server, DNC server, CNC machine tools, and quality inspection server. The specific process is described as follows.

[0051] First, the accounting nodes in the blockchain interact with the MES server to monitor the production process of the product and perform:

[0052] Step S21: The MES server broadcasts the production schedule to the blockchain. Each production task in the schedule includes a production batch number and a preset product number for the product to be processed. It should be noted that in this embodiment, each production task uniquely identifies a production batch number, and within each production task, each product to be processed uniquely identifies a product number. The combination of the production batch number and product number uniquely identifies a product to be processed.

[0053] Step S22: The accounting node receives the records published by the MES server and determines whether the production batch number and product number of each production task are recorded in the history block. If not, the corresponding production task is marked as the first record and written into the blockchain.

[0054] During the specific implementation process, the accounting node needs to ensure the global uniqueness of the production batch number and product number. If the production batch number and product number already exist in the blockchain, the corresponding production task will not be written into the blockchain.

[0055] After the production task is written into the blockchain, the DNC server can select the appropriate production task from the blockchain according to its own situation. At this time, the accounting node in the blockchain interacts with the DNC server to monitor the production process of the product and perform:

[0056] Step S23: The DNC server receives the production task from the blockchain, successfully sends the production program of the corresponding production task to the CNC machine tool, and broadcasts the corresponding production task and its production program version number to the blockchain;

[0057] Step S24: The accounting node receives the record published by the DNC server. If the accounting node finds that the corresponding production task is recorded in the historical block, but the production program version number of the corresponding production task is not recorded, the accounting node marks the corresponding production task and its production program version number published by the DNC server first broadcast on the blockchain as the second record and writes it to the blockchain. Otherwise, the record published by the DNC server is invalid and directly ignored.

[0058] After the DNC server successfully writes the corresponding production task and its production program version number into the blockchain, the CNC machine tool can begin processing the product. During this process, the accounting node in the blockchain interacts with the CNC machine tool to monitor the production process of the product and perform:

[0059] Step S25: The data machine tool processes the product based on the production program and assigns a preset product number to the processed product. The production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are then broadcast to the blockchain.

[0060] Step S26: The accounting node receives the record published by the CNC machine tool, and determines whether the first record and the second record in the history block include the production batch number published by the CNC machine tool and the product number of the processed product. If so, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are marked as the third record and written into the blockchain; otherwise, the record published by the CNC machine tool is invalid and is directly ignored.

[0061] After the product is processed, it needs to be inspected for quality. At this time, the accounting node in the blockchain interacts with the quality inspection server to monitor the production process of the product and perform:

[0062] Step S27: The quality inspection server performs quality inspection on the processed product and obtains quality inspection data; and broadcasts the production batch number, the product number of the processed product and its quality inspection data to the blockchain;

[0063] Step S28: The accounting node receives the record published by the quality inspection server and determines whether the first, second, and third records in the history block include the production batch number and product number of the processed product published by the quality inspection server. If so, the accounting node marks the production batch number, product number of the processed product, and its quality inspection data in the corresponding production task as the fourth record and writes it to the blockchain. Otherwise, the record published by the quality inspection server is invalid and directly ignored.

[0064] It should be noted that, compared to the accounting nodes in traditional blockchains, the accounting nodes in the blockchain for product lifecycle traceability supervision need to be able to identify whether the received record is a valid product-related record (i.e., product batch and traceability management record). If so, it is successfully included in the blockchain; otherwise, the message is ignored. During the normal production process of the product, the above steps S21 to S28 are executed in sequence to obtain the product's production batch number, product number, production program version number, CNC machine tool number, and quality inspection data for subsequent product traceability.

[0065] In step S3, product traceability can be performed in the following two ways.

[0066] First, obtain the record corresponding to the product number of the product to be traced from the blockchain, and compare the obtained record with the information of the product to be traced to obtain the traceability results, including:

[0067] Obtain basic information of the product to be traced based on its nameplate, the basic information including at least one of the following: production batch number, production program version number, and CNC machine tool number;

[0068] The records corresponding to the product numbers of the products to be traced are obtained from the blockchain and compared one by one with the basic information of the products to be traced. If all correspond, the traceability of the products to be traced is passed; otherwise, the traceability of the products to be traced is failed.

[0069] Second, obtain the record corresponding to the product number of the product to be traced from the blockchain, and compare the obtained record with the information of the product to be traced to obtain the traceability results, including:

[0070] Obtain basic information of the product to be traced based on its nameplate, the basic information including at least one of the following: production batch number, production program version number, and CNC machine tool number;

[0071] Perform quality inspection on the product to be traced. The quality inspection standards are the same as those of the quality inspection server, and the quality inspection data of the product to be traced is obtained.

[0072] The records corresponding to the product numbers of the products to be traced are obtained from the blockchain and compared one by one with the basic information and quality inspection data of the products to be traced. If all correspond, the traceability of the products to be traced is passed; otherwise, the traceability of the products to be traced fails.

[0073] The first method can achieve product traceability based on basic information. The second method, when quality inspection conditions are available, can combine basic information and quality inspection data to conduct more accurate traceability verification of traceable products.

[0074] In summary, this embodiment incorporates blockchain into the production batch and traceability management process. From production scheduling and DNC server processing to issuing production programs, initiating production on CNC machine tools, and ultimately product quality inspection and acceptance, data from the entire production process is uploaded to the blockchain for storage. Once the product traceability client is connected to the blockchain, upon receiving a traceability query from a customer, it retrieves relevant data from the blockchain for traceability verification, generating a traceability verification result and presenting it to the inquiring party.

[0075] Specific embodiment 2 of the present invention discloses a full life cycle traceability supervision system for products in an MES system, the structural diagram of which is shown in FIG. Figure 2 As shown, the system includes:

[0076] Blockchain for product life cycle traceability supervision (i.e., Figure 2 "Product Batch and Traceability Management Blockchain" in the , which is used to record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product;

[0077] The product traceability client is used to access the blockchain when customers need to trace products. The product traceability client obtains the record corresponding to the product number of the product to be traced from the blockchain, and compares the obtained record with the information of the product to be traced to obtain the traceability result.

[0078] Preferably, the system also includes an MES server, a DNC server, a CNC machine tool (ie, Figure 2 The MES server, DNC server, CNC machine tool and quality inspection server are added to the blockchain, and interact with the MES server, DNC server, CNC machine tool and quality inspection server respectively through the accounting nodes in the blockchain to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product.

[0079] The specific implementation process of the embodiment of the present invention can be referred to the above method embodiment, which will not be described in detail in this embodiment. Since the principle of this embodiment is the same as that of the above method embodiment, the system also has the corresponding technical effects of the above method embodiment.

[0080] Those skilled in the art will appreciate that all or part of the process steps of the above-described embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a magnetic disk, an optical disk, a read-only memory, or a random access memory.

[0081] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed in the present invention should be covered by the scope of protection of the present invention.

Claims

1. A method for tracing and supervising the entire life cycle of a product in an MES system, characterized in that: The method comprises: Build a blockchain for product lifecycle traceability and supervision, and add MES servers, DNC servers, CNC machine tools, and quality inspection servers to the blockchain; The accounting nodes in the blockchain interact with the MES server, DNC server, CNC machine tool and quality inspection server respectively to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product; When a customer needs to trace a product, they connect the product traceability client to the blockchain. The client then obtains the record corresponding to the product number of the product to be traced from the blockchain and compares the obtained record with the information of the product to be traced to obtain the traceability result. The accounting nodes in the blockchain interact with the DNC server to monitor the production process of the product and perform: The DNC server receives the production task from the blockchain, successfully sends the production program of the corresponding production task to the CNC machine tool, and broadcasts the corresponding production task and its production program version number to the blockchain; The accounting node receives the record published by the DNC server. If the accounting node finds that the corresponding production task is recorded in the historical block, but the production program version number of the corresponding production task is not recorded, the accounting node marks the corresponding production task and its production program version number published by the DNC server first broadcast in the blockchain as the second record and writes it into the blockchain. The accounting nodes in the blockchain interact with CNC machine tools to monitor the production process of products and perform: The data machine tool processes the product based on the production program and assigns a preset product number to the processed product. Afterwards, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are broadcast to the blockchain. The accounting node receives the records released by the CNC machine tool, and determines whether the first record and the second record in the history block include the production batch number released by the CNC machine tool and the product number of the processed product. If so, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are marked as the third record and written into the blockchain.

2. The method for tracing and supervising the entire life cycle of a product in an MES system according to claim 1, characterized in that: The accounting nodes in the blockchain interact with the MES server to monitor the production process of the product and perform: The MES server broadcasts the production schedule to the blockchain; Each production task in the production schedule includes: a production batch number and a preset product number of the product to be processed; The accounting node receives the records published by the MES server and determines whether the production batch number and product number of each production task are recorded in the historical block. If not, the corresponding production task is marked as the first record and written into the blockchain.

3. The method for tracing and supervising the entire life cycle of a product in an MES system according to claim 2, characterized in that: The accounting nodes in the blockchain interact with the quality inspection server to monitor the production process of the product and perform: The quality inspection server conducts quality inspection on the processed products and obtains quality inspection data; and broadcasts the production batch number, product number of the processed product and its quality inspection data to the blockchain; The accounting node receives the records published by the quality inspection server, and determines whether the first record, the second record, and the third record in the history block include the production batch number and the product number of the processed product published by the quality inspection server. If so, the production batch number in the corresponding production task, the product number of the processed product, and its quality inspection data are marked as the fourth record and written into the blockchain.

4. The method for tracing and supervising a product throughout its life cycle in an MES system according to any one of claims 1 to 3, characterized in that: The process of obtaining a record corresponding to the product number of the product to be traced from the blockchain and comparing the obtained record with the information of the product to be traced to obtain a traceability result includes: Obtain basic information of the product to be traced based on its nameplate, the basic information including at least one of the following: production batch number, production program version number, and CNC machine tool number; The records corresponding to the product numbers of the products to be traced are obtained from the blockchain and compared one by one with the basic information of the products to be traced. If all correspond, the traceability of the products to be traced is passed; otherwise, the traceability of the products to be traced is failed.

5. The method for tracing and supervising a product throughout its life cycle in an MES system according to any one of claims 1 to 3, characterized in that: The process of obtaining a record corresponding to the product number of the product to be traced from the blockchain and comparing the obtained record with the information of the product to be traced to obtain a traceability result includes: Obtain basic information of the product to be traced based on its nameplate, the basic information including at least one of the following: production batch number, production program version number, and CNC machine tool number; Perform quality inspection on the product to be traced. The quality inspection standards are the same as those of the quality inspection server, and the quality inspection data of the product to be traced is obtained. The records corresponding to the product numbers of the products to be traced are obtained from the blockchain and compared one by one with the basic information and quality inspection data of the products to be traced. If all correspond, the traceability of the products to be traced is passed; otherwise, the traceability of the products to be traced fails.

6. The method for tracing and supervising the entire life cycle of a product in an MES system according to claim 4, characterized in that: Each production task is uniquely assigned a production batch number; In each production task, each product to be processed is uniquely assigned a product number; The combination of production batch number and product number can uniquely identify a product to be processed.

7. A product life cycle traceability and supervision system in an MES system, characterized by: The system comprises: A blockchain used for product traceability throughout its lifecycle, recording each product's production batch number, product number, production program version number, CNC machine tool number, and quality inspection data. The product traceability client is used to access the blockchain when customers need to trace products. The product traceability client obtains the record corresponding to the product number of the product to be traced from the blockchain and compares the obtained record with the information of the product to be traced to obtain the traceability result; The system also includes an MES server, a DNC server, a CNC machine tool and a quality inspection server; The MES server, DNC server, CNC machine tool and quality inspection server are added to the blockchain. Through the accounting nodes in the blockchain, they interact with the MES server, DNC server, CNC machine tool and quality inspection server respectively to supervise the production process of the products and record the production batch number, product number, production program version number, CNC machine tool number and quality inspection data of each product; The accounting nodes in the blockchain interact with the DNC server to monitor the production process of the product and perform: The DNC server receives the production task from the blockchain, successfully sends the production program of the corresponding production task to the CNC machine tool, and broadcasts the corresponding production task and its production program version number to the blockchain; The accounting node receives the record published by the DNC server. If the accounting node finds that the corresponding production task is recorded in the historical block, but the production program version number of the corresponding production task is not recorded, the accounting node marks the corresponding production task and its production program version number published by the DNC server first broadcast in the blockchain as the second record and writes it into the blockchain. The accounting nodes in the blockchain interact with CNC machine tools to monitor the production process of products and perform: The data machine tool processes the product based on the production program and assigns a preset product number to the processed product. Afterwards, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are broadcast to the blockchain. The accounting node receives the records released by the CNC machine tool, and determines whether the first record and the second record in the history block include the production batch number released by the CNC machine tool and the product number of the processed product. If so, the production batch number in the corresponding production task, the product number of the processed product, and the data machine tool number of the corresponding production task are marked as the third record and written into the blockchain.

Citation Information

Patent Citations

  • Product tracing method and system based on industrial internet identification analysis technology

    CN114493627A