Production Material Traceability Method and System Based on MES System

Through the production material traceability method of the MES system, the storage square picture is constructed using the manufacturing monitoring module and data processing unit, and converted into process traceability data, solving the data insecurity problem caused by key loss, and realizing the secure storage and traceability of production data.

CN119294668BActive Publication Date: 2025-07-11英汇智能(深圳)有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411393669.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-07-11
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

The existing encryption storage method that relies on keys causes production process data to be decrypted normally when the key is lost, affecting the security of enterprise production data.

Method used

Through the production material traceability method based on the MES system, the manufacturing monitoring module is used to monitor and generate process monitoring data in real time. The data processing unit constructs the storage square picture and converts it into process traceability data. The traceability management unit performs permission settings to avoid relying on key management. It uses 16-bit four-bit binary numbers to build the storage square picture for data security storage.

Benefits of technology

It reduces the risk of data insecurity caused by improper key management, improves the security and traceability of enterprise production data, and ensures the integrity and security of production process data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119294668B_ABST
    Figure CN119294668B_ABST
Patent Text Reader

Abstract

The present invention discloses a production material traceability method and system based on the MES system, which relates to the technical field of production material traceability management. The present invention sets up a manufacturing monitoring module to monitor each production process from raw material processing to the target finished product in real time, and after the last production process is completed to obtain the target product, summarizes and processes to obtain process processing data; the data processing unit constructs a storage square diagram according to 16 four-bit binary numbers, and the traceability management unit converts the process traceability data according to the storage square diagram according to the preset storage conversion rules. In this process, the process traceability data is ciphertext data, and the generation process of the storage square diagram as the basis mainly depends on the conversion logic. In this way, the management of stored data by using a secret key is avoided, which may lead to the occurrence of unsafe monitoring data of the target product due to improper management of the secret key, and further reduces the risk of leakage of the enterprise product production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of production material traceability management, and particularly to a production material traceability method and system based on the MES system. Background Art

[0002] The MES system (Manufacturing Execution System) is a production information management system for the workshop execution layer of manufacturing enterprises. The main purpose of the MES system is to track and record the transformation from raw materials to finished products in real time. By capturing data from various sources (including machines, sensors, and operators), it provides accurate and up-to-date information on the status of production activities. The MES system monitors and controls the production processes in the workshop during the manufacturing process, acting as a bridge between the enterprise's planning and control systems (such as the enterprise resource planning ERP system) and the actual manufacturing operations.

[0003] In modern manufacturing, with the intensification of market competition and the continuous improvement of consumers' requirements for product quality and safety, the production material traceability ability has become crucial. Enterprises need to accurately master the production process information of products, including the details of each production process from raw material procurement to the final finished product.

[0004] For the target product, the monitoring data of its production processes contains numerous key information. For example, in the raw material processing process, the monitoring data may include the source batch of raw materials, equipment parameters during processing (such as temperature, pressure, rotation speed, etc.), processing time, etc. In the assembly process, there are the assembly sequence of components, assembly personnel information, and the usage of assembly equipment. In the quality inspection process, data such as inspection results, parameters of inspection equipment, and inspection time are also recorded. These monitoring data provide important bases for product quality control, production process optimization, and the recall of defective products.

[0005] In order to ensure the security of these process data, currently enterprises usually store them in the form of ciphertext. Encrypted storage is an effective data protection means, which can prevent data from being accessed and tampered with without authorization during storage. In the existing encrypted storage solutions, a common method is to rely on keys. Keys play a crucial role in the encryption and decryption processes, and only authorized users with the correct key can decrypt and view the stored ciphertext data.

[0006] However, this key-dependent encrypted storage method has obvious risks; the key may be lost for various reasons, such as storage device failures, human operation errors, malicious attacks causing damage to the key file, etc.; once the key is lost, the data for the production processes cannot be decrypted properly, which results in these process data being in an insecure state; the insecurity of the process data will further affect the security of the entire enterprise's production data;

[0007] To solve the above problems, the present invention proposes a solution. Summary of the Invention

[0008] The object of the present invention is to provide a production material traceability method and system based on the MES system to solve the problems raised in the above background technology.

[0009] The object of the present invention can be achieved by the following technical solutions:

[0010] A production material traceability method based on the MES system includes the following steps:

[0011] Step 1: The manufacturing monitoring module monitors each production process from raw material processing to the target finished product in real time to obtain the monitoring data of the corresponding production process. When the target product is obtained after the last production process is completed, the manufacturing monitoring module generates the process monitoring data of the target product based on the monitoring data of all production processes for producing the target product;

[0012] Step 2: Perform binary conversion on the process monitoring data of the target product, re-calibrate the converted data as the process processing data of the target product, and transmit the process processing data of the target product to the data processing unit;

[0013] Step 3: After receiving the transmitted process processing data of the target product, the data processing unit constructs a storage square diagram of the target product according to a preset construction rule;

[0014] Step 4: According to the storage square diagram of the target product, the data processing unit converts and generates the process traceability data of the target product according to a preset storage conversion rule, and transmits the process traceability data of the target product to the traceability management unit;

[0015] Step 5: After receiving the transmitted process traceability data of the target product, the traceability management unit stores it and sets permissions.

[0016] Furthermore, the monitoring data of a production process includes input product characteristics, equipment operation data, production environment data, and product quality data.

[0017] Further, in the process of converting raw materials into target finished products, there are several production processes. Each production process has clear inputs and outputs. The input is the product of the previous production process or directly the initial raw material, and the output becomes the input of the next production process or directly a part of the target finished product.

[0018] Further, in step three, the construction rules for the storage square diagram of the target product are as follows:

[0019] S11: Create a blank image of P1*P1. Sequentially select a blank area at the upper left corner, upper right corner, lower right corner, and lower left corner of the blank image as the corner filling areas, and mark them as A0, A1, A2, A3 respectively, where P1 is the total number of preset benchmark pixels of the square diagram.

[0020] S12: Respectively select a blank area between the corner filling areas A0 and A1, A1 and A2, A2 and A3, A3 and A0 on the blank image as the middle filling areas, and mark them as B0, B1, B2, B3 respectively. Among them, the center point of the middle filling area B0 and the corner filling areas A0 and A1 are on the same straight line, and the same applies to the middle filling areas B1, B2, B3.

[0021] S13: According to the four-bit binary numbers of the numbers 0 to 15, sequentially fill the four-bit binary numbers of the numbers 0, 1,..., 7 into A0, A1, A2, A3, B0, B1, B2, B3 in sequence. Similarly, fill the four-bit binary numbers of the numbers 8, 9,..., 15 into A0, A1, A2, A3, B0, B1, B2, B3 in sequence. After filling, for any corner filling area or middle filling area, separate the four-bit binary numbers of the two fillings with " / ".

[0022] Calibrate the filled blank image as the storage square diagram of the target product. At this time, according to the positions of each corner filling area or middle filling area in the storage square diagram, starting from the corner filling area A1, sequentially number all the corner filling areas and middle filling areas in a clockwise direction, and the numbering starts from 1 and continues sequentially.

[0023] Further, in step four, the storage conversion rules for generating the process traceability data of the target product are as follows:

[0024] S21: Specify the cutting step size as 4, and cut the process traceability data in the order from left to right to obtain several groups of process arrays. According to the positions of each process array in the process traceability data before cutting, sequentially mark all the obtained groups of process arrays as C1, C2,..., Cc from left to right, where c≥1.

[0025] S22: In the order of C1, C2, ..., Cc, first select the process array C1 as the first identification array, select the process array C2 as the second identification array, and sequentially obtain the digital numbers D1 and D2 filled in the corner filling area or the median filling area of the first identification array and the second identification array in the storage square diagram of the target product;

[0026] S23: Compare the sizes of D1 and D2. If D2 - D1 > 2 or D2 - D1 ≤ 0, generate the same-region array E1 according to the preset first generation rule;

[0027] S24: If 0 < D2 - D1 ≤ 2, generate the same-region array E1 according to the preset second generation rule;

[0028] S25: If the same-region array E1 is generated according to the first generation rule, use the number 0 as the rule character of the same-region array E1. If it is generated according to the second generation rule, use the array 1 as the rule character of the same-region array E1;

[0029] S26: Concatenate the rule character of the same-region array E1 to the leftmost end of the same-region array E1 to obtain the same-region conversion array;

[0030] S27: Sequentially select the process arrays C2, C3, ..., Cc-1 as the first identification arrays, and correspondingly select the process arrays C3, C4, ..., Cc as the second identification arrays in sequence to obtain c - 1 same-region conversion arrays according to S22 to S26;

[0031] S28: According to the sequence of generation of the same-region conversion arrays, splice all the obtained same-region conversion arrays with " / " to obtain the process traceability data of the target product.

[0032] Advantages of the present invention:

[0033] (1) In the present invention, a manufacturing monitoring module is set to monitor each production process from raw material processing to the target finished product in real time, and after the last production process is completed to obtain the target product, the monitoring data of all monitored processes are summarized and processed to obtain process processing data; the data processing unit constructs a storage square diagram according to 16 four-bit binary numbers, and the traceability management unit converts it into process traceability data according to the preset storage conversion rule, and the traceability management unit stores it and sets permissions. In this process, the process traceability data is ciphertext data and its generation process is based on the storage square diagram, mainly relying on the conversion logic. In this way, the management of stored data using a secret key is avoided, which may lead to the insecurity of the monitoring data of the target product due to improper management of the secret key, and further reduces the risk of leakage of the enterprise product production process;

[0034] (2) In the process of constructing the storage square diagram of the present invention, 16-bit four-digit binary numbers are used as the construction basis, and corner filling areas and median filling areas are introduced. Two two-digit binary numbers are stored in both the corner filling areas and the median filling areas. For each corner filling area and median filling area, there is a corresponding digital number. Based on the established digital numbers, during the data conversion process, positioning is performed based on the cutting process array and rules are selected. In this way, the same characters have different mapped strings due to the different process arrays arranged in front of them. In this way, on the one hand, the security of the data stored for traceability is ensured, and on the other hand, the finally converted array depends on the storage orientation diagram, but the dependence is not too high, avoiding the occurrence of the problem of insecure stored data caused by the leakage of the storage orientation diagram, and further ensuring the security of enterprise production data. Brief Description of the Drawings

[0035] The present invention will be further described below with reference to the accompanying drawings.

[0036] Figure 1 is the flowchart of the method of the present invention

[0037] Figure 2 is the system block diagram of the present invention. Detailed Embodiments

[0038] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying 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. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0039] As Figure 1 、 2 shown, the production material traceability method and system based on the MES system include a manufacturing monitoring module and a traceability management module;

[0040] The manufacturing monitoring module is used to track and record the transformation process from raw materials to target finished products in real time for later traceability;

[0041] In the process of converting raw materials to target finished products, there are several production processes. Each production process has clear inputs and outputs. The input is the product of the previous production process or directly the initial raw materials, and the output becomes the input of the next production process or directly a part of the target finished product;

[0042] Each production process of converting raw materials into target finished products is monitored in real time by a manufacturing monitoring module, and the monitoring data of the corresponding production process is collected after each production process is completed. The monitoring data includes input product characteristics, equipment operation data, production environment data, and product quality data;

[0043] Among them, the input product characteristics refer to the physical and chemical characteristics of the product in the previous production process. The physical characteristics may include size, weight, density, etc., and the chemical characteristics may include chemical composition, pH value, etc.;

[0044] The equipment operation data includes, but is not limited to, the equipment temperature, pressure, rotation speed, equipment operation duration, and equipment fault alarm information used in the production process, etc.;

[0045] The production environment data includes the environmental temperature, humidity, cleanliness, etc. of the equipment used in the production process; the product quality data refers to the product quality of the production process evaluated by comparing with the standard product of the preset production process;

[0046] After the target product is obtained after the last production process is completed, the manufacturing monitoring module generates the process monitoring data of the target product according to the monitoring data of all production processes for producing the target product, performs binary conversion on the process monitoring data of the target product, re - calibrates the converted data as the process processing data of the target product, and transmits the process processing data of the target product to the traceability management module;

[0047] The traceability management module is used for storing and managing the process processing data of the target product. The traceability management module includes a data processing unit and a traceability management unit;

[0048] After receiving the transmitted process processing data of the target product, the traceability management module first constructs a square diagram of the target product according to the preset construction rules, then converts and generates the process traceability data of the target product according to the preset storage conversion rules, and transmits the process traceability data of the target product to the traceability management unit;

[0049] A number of white lists of authorized users are pre - stored in the traceability management unit. Each white list of authorized users contains a number of authorized users, and each white list of authorized users corresponds to an authorization level. In this embodiment, the authorization levels are divided into level 1, level 2, and level 3. The larger the number, the higher the authority; the different authorization levels represent the categories and amounts of data that the corresponding authorized users can view;

[0050] After receiving the transmitted process traceability data of the target product, the traceability management unit sets permissions for the process traceability data of the target product according to the authorized users in a number of white lists of permissions;

[0051] The construction rules for constructing the storage square diagram of the target product are as follows:

[0052] S11: Create a blank image of P1*P1. Select a blank area as the corner filling area at the upper left corner, upper right corner, lower right corner, and lower left corner of the blank image in sequence, and mark them as A0, A1, A2, and A3 respectively. The length and width within one corner filling area are both P2, where P1 is the total number of benchmark pixels of the preset square diagram, and P2 is the preset benchmark side length of the area;

[0053] S12: Select a blank area as the middle filling area between the corner filling areas A0 and A1, A1 and A2, A2 and A3, and A3 and A0 on the blank image respectively, and mark them as B0, B1, B2, and B3. Specifically, the center point of the middle filling area B0 and the corner filling areas A0 and A1 are on the same straight line, and the same applies to the middle filling areas B1, B2, and B3;

[0054] It should be noted here that the length and width of the middle filling areas B0, B1, B2, and B3 are also both P2;

[0055] S13: According to the four-bit binary numbers of the numbers 0 to 15, fill the four-bit binary numbers of the numbers 0, 1,..., 7 into A0, A1, A2, A3, B0, B1, B2, and B3 in sequence. Similarly, fill the four-bit binary numbers of the numbers 8, 9,..., 15 into A0, A1, A2, A3, B0, B1, B2, and B3 in sequence. After filling, for any corner filling area or middle filling area, separate the four-bit binary numbers of the two fills with " / ". For example, in the corner filling area A0, it is displayed as 0000 / 1000;

[0056] Calibrate the filled blank image as the storage square diagram of the target product. At this time, according to the position of each corner filling area or middle filling area in the storage square diagram, starting from the corner filling area A1, number all the corner filling areas and middle filling areas clockwise, and the numbering starts from the number 1 and continues sequentially;

[0057] In this embodiment, the numbers 1, 2,..., 8 on the storage square diagram correspond to the corner filling area A0, the middle filling area B0, the corner filling area A1, the middle filling area B1, the corner filling area A2, the middle filling area B2, the corner filling area A3, and the middle filling area B3 in sequence;

[0058] After constructing the storage square diagram of the target product, the storage conversion rules for generating the process traceability data of the target product are as follows:

[0059] S21: Specify the cutting step size as 4, and cut the process trace data in the order from left to right to obtain several groups of process arrays. Mark all the obtained groups of process arrays as C1, C2, ..., Cc in sequence from left to right according to the positions of each process array in the process trace data before cutting, where c≥1;

[0060] S22: In the order of C1, C2, ..., Cc, first select the process array C1 as the first identification array, and select the process array C2 as the second identification array. Then, sequentially obtain the digital numbers D1 and D2 filled in the corner filling area or the middle filling area of the first identification array and the second identification array in the storage square diagram of the target product;

[0061] S23: Compare the sizes of D1 and D2. If D2 - D1 > 2 or D2 - D1 ≤ 0, generate the same - area array E1 according to the preset first generation rule. The first generation rule is as follows:

[0062] SS11: In the storage square diagram, if the area filled with the first identification array is the corner filling area, use the number 0 as the area identifier of the first identification array. Conversely, if the area filled with the first identification array is the middle filling area, use the number 1 as the area identifier of the first identification array. Similarly, the area identifier of the second identification array can be obtained;

[0063] SS12: Compare the consistency of the area identifiers of the first identification array and the second identification array. If the area identifiers of the first identification array and the second identification array are consistent, sequentially obtain the two - bit binary numbers of the marker subscripts filled in the corner filling area or the middle filling area of the first identification array and the second identification array, and splice them. Then splice the result obtained after splicing with the area identifier of the first identification array again to obtain the same - area array E1. The splicing order refers to splicing according to the order of the marker subscripts filled in the corner filling area or the middle filling area of the first identification array and the second identification array, and the area identifier is spliced at the leftmost end;

[0064] For example, if the first identification array is 0000 and the second identification array is 0110, at this time, the areas stored with the first identification array and the second identification array in the storage square diagram are the corner filling area A0 and A3 respectively. Therefore, the two - bit binary numbers of the marker subscripts are 00 and 11 respectively. At this time, the same - area array E1 obtained after splicing with the area identifier of the first identification array is 00011;

[0065] S13: If the area identifiers of the first identifier array and the second identifier array are not consistent, then sequentially obtain the two-bit binary numbers of the marker subscripts of the corner filling area or the middle filling area filled into the first identifier array and the second identifier array, and splice them. Combine the result obtained after splicing with the area identifiers of the first identifier array and the second identifier array to obtain the same-area array E1. It should be noted here that in the same-area array E1, the arrangement order is the area identifier of the first identifier array, the area identifier of the second identifier array, the two-bit binary number of the marker subscript of the corner filling area or the middle filling area of the first identifier array, and the two-bit binary number of the marker subscript of the corner filling area or the middle filling area of the second identifier array;

[0066] S24: If 0 < D2 - D1 ≤ 2, then generate the same-area array E1 according to the preset second generation rule. The second generation rule is as follows:

[0067] SS21: In the storage square diagram, if the corner filling area is filled into the first identifier array, then use the number 0 as the area identifier of the first identifier array. Conversely, if the middle filling area is filled into the first identifier array, then use the number 1 as the area identifier of the first identifier array. Similarly, the area identifier of the second identifier array can be obtained;

[0068] SS22: Compare the consistency of the area identifiers of the first identifier array and the second identifier array. If the area identifiers of the first identifier array and the second identifier array are consistent, it indicates that D2 - D1 = 2. At this time, obtain the two-bit binary number of the marker subscript of the corner filling area or the middle filling area filled into the first identifier array, and splice the two-bit binary and the two-bit binary number 10 to obtain the same-area array E1. During the splicing process, 10 is at the rightmost end of the same-area array E1;

[0069] If the area identifiers of the first identifier array and the second identifier array are not consistent, it indicates that D2 - D1 = 1. At this time, obtain the two-bit binary number of the marker subscript of the corner filling area or the middle filling area filled into the first identifier array, and splice the two-bit binary and the two-bit binary number 01 to obtain the same-area array E1. During the splicing process, 01 is at the rightmost end of the same-area array E1;

[0070] S25: If the same-area array E1 is generated according to the first generation rule, then use the number 0 as the rule character of the same-area array E1. If it is generated according to the second generation rule, then use the array 1 as the rule character of the same-area array E1;

[0071] S26: Splice the rule character of the same-area array E1 to the leftmost end of the same-area array E1 to obtain the same-area conversion array;

[0072] S27: Sequentially select the process arrays C2, C3, ..., Cc-1 as the first identification array, and correspondingly select the process arrays C3, C4, ..., Cc as the second identification array in sequence. Obtain c-1 same-region conversion arrays according to S22 to S26;

[0073] S28: According to the sequence of generation of the same-region conversion arrays, splice all the obtained same-region conversion arrays with " / " to obtain the process traceability data of the target product;

[0074] In this embodiment, the permission setting includes operations such as adding, deleting, modifying, and querying the monitoring data of each process in the process traceability data of the target product.

[0075] In the description of the specification, the descriptions referring to terms such as "one embodiment", "example", "specific example", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0076] The above content is only an example and explanation of the present invention. Those skilled in the art of this technology can make various modifications or supplements to the described specific embodiments or use similar methods to replace them. As long as they do not deviate from the invention or exceed the scope defined by this claims, they should all belong to the protection scope of the present invention.

[0077] The above has described a detailed description of an embodiment of the present invention, but the described content is only the preferred embodiment of the present invention and cannot be considered as used to limit the scope of implementation of the present invention. All equivalent changes and improvements made according to the scope of the present invention application should still fall within the scope covered by the patent of the present invention.

Claims

1. A production material traceability method based on the MES system, characterized in that, Including the following steps: Step 1: The manufacturing monitoring module monitors each production process from raw materials to the target finished product in real time to obtain the monitoring data of the corresponding production process. After the last production process is completed to obtain the target product, the manufacturing monitoring module generates the process monitoring data of the target product based on the monitoring data of all production processes for producing the target product; Step 2: Perform binary conversion on the process monitoring data of the target product, re-calibrate the obtained data as the process processing data of the target product, and transmit the process processing data of the target product to the data processing unit; Step 3: After receiving the transmitted process processing data of the target product, the data processing unit constructs a storage square diagram of the target product according to a preset construction rule; Step 4: According to the storage square diagram of the target product, the data processing unit converts and generates the process traceability data of the target product according to a preset storage conversion rule, and transmits the process traceability data of the target product to the traceability management unit; The construction method of the storage square diagram is: S11: Create a blank image of P1*P1, and successively select a blank area at the upper left corner, upper right corner, lower right corner, and lower left corner of the blank image as the corner filling area, and mark them as A0, A1, A2, A3 respectively, where P1 is the preset total number of reference pixels of the square diagram; S12: Respectively select a blank area between the corner filling areas A0 and A1, A1 and A2, A2 and A3, A3 and A0 on the blank image as the middle filling area, and mark them as B0, B1, B2, B3 respectively. Among them, the center point of the middle filling area B0 and the corner filling areas A0, A1 are on the same straight line, and the middle filling areas B1, B2, B3 are the same by analogy; S13: According to the four-bit binary numbers of the numbers 0 to 15, successively fill the four-bit binary numbers of the numbers 0, 1,..., 7 into A0, A1, A2, A3, B0, B1, B2, B3. Similarly, fill the four-bit binary numbers of the numbers 8, 9,..., 15 into A0, A1, A2, A3, B0, B1, B2, B3. After filling, for any corner filling area or middle filling area, separate the four-bit binary numbers of the two filled numbers with " / "; Calibrate the filled blank image as the storage square diagram of the target product. At this time, according to the position of each corner filling area or middle filling area in the storage square diagram, starting from the corner filling area A1, number all the corner filling areas and middle filling areas clockwise, and the digital number starts from the number 1 and continues to increase; Step 5: After receiving the transmitted process traceability data of the target product, the traceability management unit stores it and sets permissions.

2. The production material traceability method based on the MES system according to claim 1, wherein In the process of converting raw materials to the target finished product, there are several production processes. Each production process has clear inputs and outputs. The input is the product of the previous production process or directly the initial raw materials, and the output becomes the input of the next production process or directly a part of the target finished product.

3. The production material traceability method based on the MES system according to claim 1, characterized in that The monitoring data of one of the production processes includes input product characteristics, equipment operation data, production environment data, and product quality data.

4. The production material traceability method based on the MES system according to claim 1, characterized in that Step 4, the storage conversion rules for generating the process traceability data of the target product are as follows: S21: Specify the cutting step size as 4, and cut the process traceability data in the order from left to right to obtain several groups of process arrays. According to the positions of each process array in the process traceability data before cutting, all the obtained groups of process arrays are sequentially marked as C1, C2,..., Cc from left to right, where c≥1; S22: In the order of C1, C2,..., Cc, first select the process array C1 as the first identification array, select the process array C2 as the second identification array, and sequentially obtain the digital numbers D1, D2 filled in the corner filling area or the middle filling area of the first identification array and the second identification array in the storage square diagram of the target product; S23: Compare the sizes of D1 and D2. If D2 - D1 > 2 or D2 - D1 ≤ 0, generate the same - area array E1 according to the preset first generation rule; S24: If 0 < D2 - D1 ≤ 2, generate the same - area array E1 according to the preset second generation rule; S25: If the same - area array E1 is generated according to the first generation rule, use the number 0 as the rule character of the same - area array E1. If it is generated according to the second generation rule, use the array 1 as the rule character of the same - area array E1; S26: Concatenate the rule character of the same - area array E1 to the left - most end of the same - area array E1 to obtain the same - area conversion array; S27: Sequentially select the process arrays C2, C3,..., Cc - 1 as the first identification arrays, and correspondingly select the process arrays C3, C4,..., Cc as the second identification arrays in turn, and obtain c - 1 same - area conversion arrays according to S22 to S26; S28: According to the order of generation of the same - area conversion arrays, concatenate all the obtained same - area conversion arrays with " / " to obtain the process traceability data of the target product.

5. The production material traceability method based on the MES system according to claim 4, characterized in that In S23, the first generation rule for generating the same - area array E1 is as follows: SS11: In the storage square diagram, if the area filled with the first identification array is the corner filling area, use the number 0 as the area identifier of the first identification array. Otherwise, use the number 1 as the area identifier of the first identification array. Similarly, the area identifier of the second identification array can be obtained; SS12: Compare the consistency of the area identifiers of the first identification array and the second identification array. If the area identifiers of the first identification array and the second identification array are consistent, sequentially obtain the two - bit binary numbers of the marked subscripts of the corner filling area or the middle filling area filled in the first identification array and the second identification array, and concatenate them. Then concatenate the result obtained after concatenation with the area identifier of the first identification array to obtain the same - area array E1; SS13: If the area identifiers of the first identifier array and the second identifier array are inconsistent, then sequentially obtain the two-bit binary numbers of the marker subscripts of the corner filling area or the middle filling area filled into the first identifier array and the second identifier array, and splice them. Combine the result obtained after splicing with the area identifiers of the first identifier array and the second identifier array to obtain the same-area array E1. It should be noted here that in the same-area array E1, the arrangement order is sequentially the area identifier of the first identifier array, the area identifier of the second identifier array, the two-bit binary number of the marker subscript of the corner filling area or the middle filling area of the first identifier array, and the two-bit binary number of the marker subscript of the corner filling area or the middle filling area of the second identifier array.

6. The production material traceability method based on the MES system according to claim 4, characterized in that, S24, the second generation rule for generating the same-area array E1 is as follows: SS21: In the stored square diagram, if the area filled with the first identifier array is the corner filling area, then use the number 0 as the area identifier of the first identifier array; otherwise, use the number 1 as the area identifier of the first identifier array. Similarly, the area identifier of the second identifier array can be obtained. SS22: Compare the consistency of the area identifiers of the first identifier array and the second identifier array. If the area identifiers of the first identifier array and the second identifier array are consistent, it indicates that D2 - D1 = 2. At this time, obtain the two-bit binary number of the marker subscript of the corner filling area or the middle filling area filled into the first identifier array, and splice the two-bit binary number with the two-bit binary number 10 to obtain the same-area array E1, and 10 is at the rightmost end of the same-area array E1 during the splicing process. If the area identifiers of the first identifier array and the second identifier array are inconsistent, it indicates that D2 - D1 = 1. At this time, obtain the two-bit binary number of the marker subscript of the corner filling area or the middle filling area filled into the first identifier array, and splice the two-bit binary number with the two-bit binary number 01 to obtain the same-area array E1, and 01 is at the rightmost end of the same-area array E1 during the splicing process.

7. The production material traceability system based on the MES system is characterized in that This system is used to implement the production material traceability method described in any one of claims 1 - 6, and includes: A manufacturing monitoring module, which is used to track and record the transformation process from raw materials to the target finished product in real time for later traceability; Each production process from raw material conversion to the target finished product is monitored in real time by the manufacturing monitoring module, and the monitoring data of the corresponding production process is collected after each production process is completed. When the target product is obtained after the last production process is completed, the manufacturing monitoring module generates the process monitoring data of the target product based on the monitoring data of all production processes for producing the target product, performs binary conversion on the process monitoring data of the target product, and recalibrates the data obtained after conversion as the process processing data of the target product. A traceability management module, which is used to store and manage the process processing data of the target product for later traceability. The traceability management module includes a data processing unit and a traceability management unit. After receiving the process data of the target product transmitted, the data processing unit first constructs the storage square diagram of the target product according to the preset construction rules, and then converts and generates the process traceability data of the target product according to the preset storage conversion rules, and transmits the process traceability data of the target product to the traceability management unit; After receiving the process traceability data of the target product transmitted, the traceability management unit stores it and sets permissions.

Citation Information

Patent Citations

  • Data acquisition and tracing system for whole production process of PVC decorative film

    CN111353559A

  • Intelligent management system for sewage draining exit entering river

    CN118054975A