Production material tracing method and system based on MES system

By monitoring and converting production process data in the MES system in real time, and generating process trace data using stored square pictures and preset rules, the data security problem caused by key loss is solved and the security of enterprise production data is improved.

CN119294668AActive Publication Date: 2025-01-10英汇智能(深圳)有限公司

Patent Information

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

AI Technical Summary

Technical Problem

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

Method used

By monitoring production process data in real time in the MES system and converting it into storage square pictures, relying on preset storage conversion rules to generate process trace data, avoiding the use of keys for data management, and using binary numbers and fill areas to build storage parties Pictures are stored and permissions set.

Benefits of technology

It reduces the risk of data insecurity caused by improper key management, improves the security of production data, avoids the insecurity of stored data caused by key leakage, and ensures the security of enterprise production data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119294668A_ABST
    Figure CN119294668A_ABST
Patent Text Reader

Abstract

The invention discloses a production material tracing method and system based on an MES (Manufacturing Execution System), and relates to the technical field of production material tracing management. After a target product is obtained after the last production process is completed, summarizing and processing to obtain process processing data; a data processing unit constructs a storage square chart according to 16 four-bit binary numbers, a tracing management unit converts the storage square chart according to a preset storage conversion rule to obtain process tracing data, the process tracing data is ciphertext data in the process, and the storage square chart in the generation process of the process mainly depends on conversion logic as a basis. In this way, the situation that the monitoring data of the target product is unsafe possibly due to improper management of the secret key when the secret key is used for managing the storage data is avoided, and the risk of leakage of the production process of enterprise products is further reduced.
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 in particular to a production material traceability method and system based on an MES system. Background Art

[0002] MES (Manufacturing Execution System) is a production information management system for the execution layer of the workshop of a manufacturing enterprise. The main purpose of the MES system is to track and record the transformation of 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 about the status of production activities. The MES system monitors and controls the production process of 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 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 ability to trace production materials has become crucial; companies need to accurately grasp the production process information of products, including the details of each production process from the purchase of raw materials to the final product;

[0004] For the target product, the monitoring data of its production process contains a lot of key information; for example, in the raw material processing process, the monitoring data may include the source batch of the raw materials, the equipment parameters during processing (such as temperature, pressure, speed, etc.), processing time, etc.; in the assembly process, there are the assembly sequence of parts, assembly personnel information, and the use of assembly equipment; in the quality inspection process, quality inspection results, parameters of testing equipment and testing time and other data are also recorded; these monitoring data provide important basis for product quality control, optimization of production processes and recall of defective products;

[0005] In order to ensure the security of these process data, enterprises currently usually store them in the form of ciphertext; encrypted storage is an effective means of data protection, which can prevent unauthorized access and tampering of data during storage; in existing encrypted storage solutions, a common method is to rely on keys; keys play a key role in the encryption and decryption process, and only authorized users with the correct keys can decrypt and view the stored ciphertext data;

[0006] However, this encryption storage method that relies on keys has obvious risks. The keys may be lost due to a variety of reasons, such as storage device failure, human operation errors, malicious attacks that cause key file damage, etc. Once the keys are lost, the data for the production process cannot be decrypted normally, which makes the process data in an unsafe state. The insecurity of process data will further affect the security of the entire enterprise's production data.

[0007] In order to solve the above problems, the present invention proposes a solution. Summary of the invention

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

[0009] The purpose of the present invention can be achieved through the following technical solutions:

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

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

[0012] Step 2: performing binary conversion on the process monitoring data of the target product, recalibrating the converted data into process processing data of the target product, and transmitting the process processing data of the target product to a data processing unit;

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

[0014] Step 4: Based on the storage square map of the target product, the data processing unit 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;

[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] Furthermore, the process of converting raw materials into target finished products includes several production processes, each of which has clear inputs and outputs. The input is the product of the previous production process or directly the initial raw materials, while the output becomes the input of the next production process or is directly a part of the target finished product.

[0018] Furthermore, in step 3, the construction rules of the storage square map of the target product are as follows:

[0019] S11: Create a blank image of P1*P1, select a blank area in 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, and A3 respectively, where P1 is the total number of preset square image benchmark pixels;

[0020] S12: 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 a median filling area, and mark them as B0, B1, B2, B3, respectively, wherein the center point of the median filling area B0 and the corner filling areas A0 and A1 are located on the same straight line, and the median filling areas B1, B2, B3 are marked accordingly;

[0021] S13: according to the four-bit binary numbers of the numbers 0 to 15, the four-bit binary numbers of the numbers 0, 1, ..., 7 are sequentially filled into A0, A1, A2, A3, B0, B1, B2, B3, and similarly, the four-bit binary numbers of the numbers 8, 9, ..., 15 are sequentially filled into A0, A1, A2, A3, B0, B1, B2, B3. After the filling is completed, for any corner filling area or middle filling area, the four-bit binary numbers of the numbers filled twice are separated by " / ";

[0022] The blank image after filling is calibrated as a storage square image of the target product. At this time, according to the position of each corner filling area or median filling area in the storage square image, all corner filling areas and median filling areas are numbered in sequence with corner filling area A1 as the starting point, and the digital numbering starts from number 1 and goes onwards.

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

[0024] S21: specifying a cutting step length of 4, cutting the process traceability data from left to right to obtain a plurality of groups of process arrays, and marking all the obtained groups of process arrays as C1, C2, ..., Cc from left to right in sequence according to the position of each process array in the process traceability data before cutting, 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 C1 as the second identification array, and 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;

[0026] 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;

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

[0028] 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;

[0029] 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;

[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. According to S22 to S26, obtain c - 1 same - area conversion arrays;

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

[0032] Advantages of the present invention:

[0033] (1) 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 summarizes and processes the monitoring data of all monitored processes after the last production process is completed to obtain process processing data; the data processing unit constructs a storage square diagram based on 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. By this way, it avoids the management of stored data using a secret key, 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 map, the present invention uses 16 four-bit binary numbers as the construction basis, introduces corner filling areas and median filling areas, and stores two two-bit binary numbers in the corner filling areas and the median filling areas. Each corner filling area and the median filling area has a corresponding digital number. Based on the established digital number, the data conversion process is located based on the cutting process array and the rule selection is performed. In this way, the same character has a different mapping string because the process array arranged in front of it. In this way, on the one hand, the security of the data used for traceability storage is guaranteed, and on the other hand, the final converted array depends on the storage orientation map, but the dependence on it is not too high, thereby avoiding the occurrence of storage data insecurity caused by the leakage of the storage orientation map, and further ensuring the security of the enterprise production data. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 It is a flow chart of the method of the present invention

[0037] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] like Figure 1 , 2 As 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 of raw materials to target finished products in real time for later tracing;

[0041] The process of converting raw materials into target finished products involves several production processes, each of which has clear inputs and outputs. The input is the product of the previous production process or directly the initial raw materials, while the output becomes the input of the next production process or directly a part of the target finished product.

[0042] Each production process from raw materials to target finished products 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. The monitoring data includes input product characteristics, equipment operation data, production environment data, and product quality data;

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

[0044] Equipment operation data includes but is not limited to the equipment temperature, pressure, speed, equipment operation time and equipment failure alarm information used in the generation process;

[0045] Production environment data includes the temperature, humidity, cleanliness, etc. of the environment in which the equipment used in the production process is located; product quality data refers to the product quality of the production process evaluated by comparing it with the standard products of the preset production process;

[0046] When 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 the production processes of the target product, performs binary conversion on the process monitoring data of the target product, recalibrates the converted data into 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 to store and manage the process data of the target product, and 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 image of the target product according to a preset construction rule, then converts and generates 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;

[0049] The traceability management unit pre-stores a plurality of authorized user whitelists, one of which contains a plurality of authorized users. One of the authorized user whitelists 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 authorization. Different authorization levels represent the categories of data and the amount of data that the corresponding authorized user 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 the permission whitelist;

[0051] The construction rules for building the storage square slice map of the target product are as follows:

[0052] S11: Create a blank image of P1*P1, select a blank area in the upper left corner, upper right corner, lower right corner, and lower left corner of the blank image as a corner filling area, marked as A0, A1, A2, and A3 respectively, and the length and width of one corner filling area are both P2, where P1 is a preset square image benchmark pixel total amount, and P2 is a preset area benchmark side length;

[0053] S12: Select a blank area between the corner filling areas A0 and A1, A1 and A2, A2 and A3, and A3 and A0 on the blank image as a median filling area, which are marked as B0, B1, B2, and B3 respectively. Specifically, the center point of the median filling area B0 and the corner filling areas A0 and A1 are located on the same straight line, and the median filling areas B1, B2, and B3 are marked as such;

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

[0055] S13: according to the four-bit binary numbers of the numbers 0 to 15, the four-bit binary numbers of the numbers 0, 1, ..., 7 are sequentially filled into A0, A1, A2, A3, B0, B1, B2, B3, and similarly, the four-bit binary numbers of the numbers 8, 9, ..., 15 are sequentially filled into A0, A1, A2, A3, B0, B1, B2, B3. After the filling is completed, for any corner filling area or middle filling area, the four-bit binary numbers of the numbers filled twice are separated by " / ". For example, 0000 / 1000 is displayed in the corner filling area A0;

[0056] The blank image after filling is marked as a storage square image of the target product. At this time, according to the position of each corner filling area or median filling area in the storage square image, all corner filling areas and median filling areas are numbered in sequence, starting from the corner filling area A1, and the numbering starts from number 1 and goes on.

[0057] In this embodiment, the numbers 1, 2, ..., 8 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 on the storage square image;

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

[0059] S21: specifying a cutting step length of 4, cutting the process traceability data from left to right to obtain a plurality of groups of process arrays, and marking all the obtained groups of process arrays as C1, C2, ..., Cc from left to right in sequence according to the position of each process array in the process traceability data before cutting, where c≥1;

[0060] S22: firstly, in the order of C1, C2, ..., Cc, 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 into the corner filling area or the middle filling area of ​​the first identification array and the second identification array in the storage square slice diagram of the target product;

[0061] S23: D1 and D2 are compared in size. If D2-D1>2 or D2-D1≤0, a same-area array E1 is generated according to a preset first generation rule. The first generation rule is as follows:

[0062] SS11: If the area filled into the first identification array in the storage square image is a corner filling area, the number 0 is used as the area identifier of the first identification array. On the contrary, if the area filled into the first identification array is a middle filling area, the number 1 is used 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 region identifiers of the first identification array and the second identification array for consistency. If the region identifiers of the first identification array and the second identification array are consistent, obtain the two-digit binary numbers of the mark subscripts filled in the corner filling area or the middle filling area of ​​the first identification array and the second identification array in turn, and splice them. The result obtained after splicing is spliced ​​with the region identifier of the first identification array again to obtain the same area array E1, wherein the splicing order refers to the order of the mark subscripts filled in the corner filling area or the middle filling area of ​​the first identification array and the second identification array, and the region identifier is spliced ​​at the leftmost end;

[0064] For example, if the first identification array is 0000 and the second identification array is 0110, the first identification array and the second identification array are stored in the storage square slice map respectively, so the two binary numbers of the subscripts are 00 and 11 respectively. At this time, the same area array E1 obtained by splicing the area identifiers of the first identification array is 00011;

[0065] S13: 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, splice them, and splice 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;

[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 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 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 process arrays C2, C3, ..., Cc-1 as the first identification array, and correspondingly sequentially select process arrays C3, C4, ..., Cc as the second identification array to obtain c-1 same-area conversion arrays according to S22 to S26;

[0073] S28: according to the order in which the same-area conversion arrays are generated, all the same-area conversion arrays are concatenated using “ / ” 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 checking the monitoring data of each process in the process traceability data of the target product.

[0075] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0076] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

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

Claims

1. The production material traceability method based on the MES system is characterized by: The following steps are involved: Step 1: The manufacturing monitoring module performs real-time monitoring on each production process from raw material processing to target finished product to obtain monitoring data of the corresponding production process. When the last production process is completed to obtain the target product, the manufacturing monitoring module generates process monitoring data of the target product based on the monitoring data of all production processes of the target product; Step 2: performing binary conversion on the process monitoring data of the target product, recalibrating the converted data into process processing data of the target product, and transmitting the process processing data of the target product to a data processing unit; Step 3: After receiving the transmitted process data of the target product, the data processing unit constructs a storage square map of the target product according to a preset construction rule; Step 4: Based on the storage square map of the target product, the data processing unit 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; 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 tracing method based on the MES system according to claim 1 is characterized in that: The process of converting raw materials into target finished products includes several production processes. Each production process has clear input and output. The input is the product of the previous production process or directly the initial raw materials, while the output becomes the input of the next production process or directly a part of the target finished product.

3. The production material tracing method based on the MES system according to claim 1 is 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 tracing method based on the MES system according to claim 1 is characterized in that: In step 3, the construction rules of the storage square map of the target product are as follows: S11: Create a blank image of P1*P1, select a blank area in 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, and A3 respectively, where P1 is the total number of preset square image benchmark pixels; S12: 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 a median filling area, and mark them as B0, B1, B2, B3, respectively, wherein the center point of the median filling area B0 and the corner filling areas A0 and A1 are located on the same straight line, and the median filling areas B1, B2, B3 are marked accordingly; S13: according to the four-bit binary numbers of the numbers 0 to 15, the four-bit binary numbers of the numbers 0, 1, ..., 7 are sequentially filled into A0, A1, A2, A3, B0, B1, B2, B3, and similarly, the four-bit binary numbers of the numbers 8, 9, ..., 15 are sequentially filled into A0, A1, A2, A3, B0, B1, B2, B3. After the filling is completed, for any corner filling area or middle filling area, the four-bit binary numbers of the numbers filled twice are separated by " / "; Calibrate the blank image after filling 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, number all the corner filling areas and middle filling areas clockwise. The digital numbering starts from the number 1 and continues sequentially.

5. The production material tracing method based on the MES system according to claim 1 is characterized in that: Step 4, the storage conversion rule for generating the process traceability data of the target product is as follows: S21: Specify the cutting step length as 4, cut the process traceability data in the order from left to right to obtain several groups of process arrays, and sequentially mark all the obtained groups of process arrays as C1, C2,..., Cc from left to right according to the positions of each process array in the process traceability data before cutting, where c≥1; S22: In the order of C1, C2,..., Cc, first select the process array C1 as the first identification array and the process array C1 as the second identification array, and sequentially obtain the digital numbers D1 and D2 of the corner filling area or middle filling area filled with 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-region array E1 according to the preset first generation rule; S24: If 0<D2 - D1≤2, generate the same-region array E1 according to the preset second generation rule; 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; 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; 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-region conversion arrays according to S22 to S26; S28: Concatenate all the obtained same-region conversion arrays with " / " in the order of the generation sequence of the same-region conversion arrays to obtain the process traceability data of the target product.

6. The production material tracing method based on the MES system according to claim 5 is characterized in that: In S23, the first generation rule for generating the same-region array E1 is as follows: SS11: In the storage square diagram, if the corner filling area is filled with the first identification array, 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 middle filling area filled with 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 again to obtain the same-region array E1; SS13: If the region identifiers of the first identification array and the second identification array are inconsistent, then the two-digit binary numbers of the marking subscripts filled into the corner filling areas or the middle filling areas of the first identification array and the second identification array are obtained in turn, and they are spliced, and the result obtained after splicing is combined with the region identifiers of the first identification array and the second identification array to obtain the same-area array E1. It should be noted here that the arrangement order in the same-area array E1 is the region identifier of the first identification array, the region identifier of the second identification array, the two-digit binary numbers of the marking subscripts of the corner filling area or the middle filling area of ​​the first identification array, and the two-digit binary numbers of the marking subscripts of the corner filling area or the middle filling area of ​​the second identification array.

7. The production material tracing method based on the MES system according to claim 5 is characterized in that: S24, generating a second generation rule for the same-area array E1 is as follows: SS21: If the area filled into the first identification array in the storage square image is a corner filling area, the number 0 is used as the area identification of the first identification array, otherwise the number 1 is used as the area identification of the first identification array, and the area identification of the second identification array can be obtained in the same way; SS22: Compare the region identifiers of the first identification array and the second identification array for consistency. If the region identifiers of the first identification array and the second identification array are consistent, it indicates that D2-D1=2. At this time, obtain the two-bit binary number of the marking subscript filled into the corner filling area or the middle filling area of ​​the first identification array, and splice the two-bit binary number 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; If the area identifiers of the first identification array and the second identification array are inconsistent, it indicates that D2-D1=1. At this time, the two-digit binary number of the marking subscript filled in the corner filling area or the middle filling area of ​​the first identification array is obtained, and the two-digit binary number and the two-digit binary number 01 are spliced ​​to obtain the same-area array E1. During the splicing process, 01 is at the rightmost end of the same-area array E1.

8. The production material traceability system based on the MES system is characterized by: include: Manufacturing monitoring module, used to track and record the transformation process of raw materials to target finished products in real time for later traceability; Each production process from raw materials to target finished products 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 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 of the target product, performs binary conversion on the process monitoring data of the target product, and recalibrates the converted data into the process processing data of the target product; A traceability management module, which is used to store and manage the process 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 transmitted process processing data of the target product, the data processing unit first constructs a storage square map of the target product according to a preset construction rule, then converts and generates 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; After receiving the transmitted process traceability data of the target product, the traceability management unit stores it and sets permissions.

Citation Information

Patent Citations

  • Production traceability system and working method thereof

    CN108183923A

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

    CN111353559A

  • Full-information tracing system and method for continuous materials and detection system

    CN114460909A

  • Intelligent management system for sewage draining exit entering river

    CN118054975A

  • Cipher conversion method, cipher conversion apparatus, decoding method, decoding apparatus, and data communication system

    JP1999109853A

Cited By

  • A material tracing and management system and method in an enameled wire production process

    CN122945572A