A method and system for tracing the source of hosiery production problems

By numbering and coding sock production, building a lifecycle tree and blockchain, and combining early warning mechanisms and risk assessments, the inefficiency and human error problems of existing traceability methods have been resolved, fast and accurate traceability and quality control have been achieved, and the yield and stability of sock production have been improved.

CN119168658BActive Publication Date: 2025-09-09ANHUI YAOSHUN INTELLIGENT TECH GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing traceability method for hosiery production relies on manual record-keeping, which is labor-intensive, time-consuming, prone to human errors, and unable to quickly and accurately locate the source of the problem.

Method used

By numbering and coding raw materials, establishing a life cycle chain, building a life cycle tree and blockchain, and combining early warning mechanisms and risk assessments, rapid traceability and exception handling can be achieved.

Benefits of technology

It improves the accuracy and efficiency of traceability, ensures that the quality of finished socks meets standards, improves the yield and stability of production, and enhances the security and credibility of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119168658B_ABST
    Figure CN119168658B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of production traceability technology, and in particular relates to a method and system for tracing the source of sock production problems, the method comprising: determining the raw materials for sock production, and numbering the raw materials, collecting the source data of the raw materials, establishing a corresponding relationship between the raw materials, the source data and the numbers, determining the production links of the raw materials, and recording the equipment parameters and attributes in each production link; creating branch nodes, and configuring the mapping relationship between the production links and the branch nodes. By constructing a life cycle tree, the present invention can more intuitively display the entire cycle of sock production, and can accurately adjust the production links according to the tracing results of sock production to ensure product quality. By constructing an index directory, it can quickly trace the source, greatly improving the traceability efficiency. By generating a blockchain, the security and authenticity of the sock production data are greatly enhanced, the traceability effect is guaranteed, and the efficiency and credibility of the traceability process are improved.
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 traceability, and in particular to a method and system for tracing the source of production problems in the hosiery industry. Background Art

[0002] The quality inspection data after sock production can provide feedback on bottlenecks and weak links in production, and can effectively guide sock manufacturers to improve production processes. However, how to quickly locate the source of the problem based on unqualified sock products requires traceability, which can ensure that each sock product meets quality standards.

[0003] However, the existing traceability method is generally carried out by staff recording and coordinating production data from multiple departments. This traceability method is not only labor-intensive and time-consuming, but also prone to human errors. Therefore, "how to establish a life cycle chain for hosiery production and quickly trace it" is the technical problem that the present invention needs to solve. Summary of the Invention

[0004] The purpose of the present invention is to provide a method and system for tracing the source of hosiery production problems, so as to solve the problem raised in the above background technology of "how to establish a life cycle chain of hosiery production and quickly trace it back".

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A method for tracing the source of production problems in the hosiery industry, the method comprising:

[0007] Identify the raw materials for hosiery production, number the raw materials, collect the source data of the raw materials, establish a corresponding relationship between the raw materials, source data and numbers, determine the production links of the raw materials, and record the equipment parameters and properties in each production link;

[0008] Create a branch node, configure the mapping relationship between the production link and the branch node, classify the equipment parameters into the branch node, attach the pre-built leaf node to the branch node, transfer the attributes to the leaf node, integrate the branch node and leaf node, and create a lifecycle tree;

[0009] Obtaining the code of the finished hosiery product, using the code to generate a root node, integrating the root node into a lifecycle tree, embedding a growth termination mechanism into the lifecycle tree, and iterating the lifecycle tree to construct a cycle forest;

[0010] The codes are aggregated into an index directory, and the index directory is mounted into the cycle forest. Blocks are inserted into the root node, and all blocks are integrated to generate a blockchain.

[0011] Furthermore, the steps of determining the raw materials for hosiery production, numbering the raw materials, collecting source data of the raw materials, establishing a correspondence between the raw materials, source data, and numbers, determining the production links of the raw materials, and recording equipment parameters and attributes in each production link include:

[0012] Obtain monitoring data of the production process, determine the intermediate state diagram of hosiery production, and introduce an early warning mechanism into the production process;

[0013] The number is linked to the intermediate state diagram, and the number is marked using the early warning mechanism.

[0014] Furthermore, the steps of creating a branch node, configuring a mapping relationship between the production link and the branch node, classifying the equipment parameters into the branch node, hanging the pre-built leaf node into the branch node, and transferring the attributes into the leaf node include:

[0015] Establish a data transmission link between device parameters and branch nodes, classify the monitoring data into branch nodes, and insert traceability tags into the branch nodes;

[0016] Attributes are transferred to leaf nodes via the data transfer link.

[0017] Furthermore, the step of integrating the branch nodes and leaf nodes to create a lifecycle tree includes:

[0018] Determine a hierarchical structure, integrate the branch nodes and leaf nodes into the hierarchical structure, and create a lifecycle tree;

[0019] The sequence of the production links is traversed, an arrangement rule is defined, the position of the branch node in the life cycle tree is located, and the position is updated using the arrangement rule.

[0020] Furthermore, the steps of obtaining the code of the finished hosiery product, generating a root node using the code, integrating the root node into the lifecycle tree, embedding a growth termination mechanism into the lifecycle tree, and iterating the lifecycle tree to construct a cycle forest include:

[0021] Establishing a coordinated relationship between the root node, branch nodes, and leaf nodes;

[0022] According to the sequence, the growth direction of the lifecycle tree is determined, and the trigger relationship of the growth termination mechanism is mined;

[0023] Obtain tasks for hosiery production, and determine the number of lifecycle trees based on the tasks and numbers.

[0024] Furthermore, the steps of aggregating the codes into an index directory, mounting the index directory into the cycle forest, inserting blocks into the root node, integrating all blocks, and generating a blockchain include:

[0025] Receive a user's query request, cross the index directory, retrieve the lifecycle tree corresponding to the query request, extract branch nodes and leaf nodes, and transfer them to the block;

[0026] Based on a preset judgment strategy, abnormal blocks are marked in the blockchain.

[0027] Furthermore, the method further comprises:

[0028] Compare the monitoring data with the pre-built risk comparison table to determine the risk factors, and calculate the risk level of the production process in combination with the preset risk level calculation formula;

[0029] The risk level calculation formula is:

[0030]

[0031] Where L is the risk level, n is the number of risk factors, F i is the specific value of the i-th risk factor, W i is the weight of the i-th risk factor, F Max is the maximum value of the risk factor;

[0032] If the risk level exceeds a preset threshold, a pre-built emergency plan is retrieved, a disposal measure is determined, and the disposal measure is transferred to the abnormal block;

[0033] Open the adjustment authority of the production link to the abnormal blocks.

[0034] Furthermore, the recording module is used to determine the raw materials for hosiery production, number the raw materials, collect the source data of the raw materials, establish a corresponding relationship between the raw materials, source data and numbers, determine the production links of the raw materials, and record the equipment parameters and properties in each production link;

[0035] A creation module is used to create branch nodes, configure the mapping relationship between the production links and branch nodes, classify the equipment parameters into the branch nodes, attach the pre-built leaf nodes to the branch nodes, transfer the attributes to the leaf nodes, integrate the branch nodes and leaf nodes, and create a lifecycle tree;

[0036] An iteration module is used to obtain the code of the finished hosiery product, generate a root node using the code, integrate the root node into the life cycle tree, embed a growth termination mechanism into the life cycle tree, and iterate the life cycle tree to construct a cycle forest;

[0037] A generation module is used to summarize the codes into an index directory, mount the index directory into the cycle forest, insert blocks into the root node, integrate all blocks, and generate a blockchain.

[0038] Furthermore, the recording module includes:

[0039] An introduction unit is used to obtain monitoring data of the production process, determine the intermediate state diagram of hosiery production, and introduce an early warning mechanism into the production process;

[0040] A marking unit is used to link the number and the intermediate state diagram, and mark the number using the early warning mechanism.

[0041] Furthermore, the creation module includes:

[0042] An insertion unit is used to establish a data transmission link between device parameters and branch nodes, classify the monitoring data into branch nodes, and insert a traceability tag into the branch nodes;

[0043] The transfer unit is configured to transfer the attribute to the leaf node via the data transmission link.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] 1. By numbering and coding raw materials and finished hosiery products, it can help track and manage the flow of raw materials and finished products, ensure the accuracy and efficiency of production and traceability management, and at the same time, it can also perform more accurate quality comparison and control to ensure that the finished hosiery products meet quality standards. By building a life cycle tree, the entire cycle of hosiery production can be more intuitively displayed, and according to the traceability results of hosiery production, the hosiery production links can be accurately adjusted to improve the yield rate of hosiery production. By building an index directory, the traceability efficiency is further improved. By generating a blockchain, the security and authenticity of hosiery production data are greatly enhanced, the traceability effect is guaranteed, and the traceability efficiency and credibility are improved.

[0046] 2. By determining the emergency plan, abnormal problems in hosiery production can be dealt with in a timely manner, thereby greatly improving the product quality and stability of hosiery production. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention.

[0048] Figure 1 A flowchart of a method for tracing the source of hosiery production problems provided by an embodiment of the present invention;

[0049] Figure 2 A block diagram of the first sub-process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention;

[0050] Figure 3 A block diagram of the second sub-process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention;

[0051] Figure 4 A block diagram of the third sub-flow of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention;

[0052] Figure 5 A fourth sub-flow diagram of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention;

[0053] Figure 6 A block diagram of the system for tracing the source of production problems in the hosiery industry provided by an embodiment of the present invention;

[0054] Figure 7 A block diagram of the composition of the recording module in the hosiery production problem tracing system provided by an embodiment of the present invention;

[0055] Figure 8 A block diagram showing the composition of a creation module in the hosiery production problem tracing system provided by an embodiment of the present invention;

[0056] Figure 9 A block diagram of the composition of the iteration module in the hosiery production problem tracing system provided by an embodiment of the present invention;

[0057] Figure 10 This is a block diagram of the composition of the generation module in the hosiery production problem tracing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0059] In Example 1, Figure 1 The implementation process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention is shown and described in detail below:

[0060] S100: Determine the raw materials for hosiery production, number the raw materials, collect source data of the raw materials, establish a corresponding relationship between the raw materials, source data and numbers, determine the production links of the raw materials, and record the equipment parameters and properties in each production link.

[0061] Determine the raw materials for sock production, where the raw materials are the raw materials of the sock industry, such as synthetic fibers, wool and cotton, bamboo fibers, etc., and number the raw materials. At the same time, determine the source data of the raw materials. According to the production process, determine the process of sock production, and record the equipment parameters and specific production data of each process. The specific production data is also the attributes.

[0062] In actual production, after receiving a batch of raw materials, the hosiery manufacturer will name the batch of raw materials according to its own naming rules. The source data is the manufacturer, quantity and specific conditions of the raw materials, and then determine the processing flow and production links of the batch of raw materials. At the same time, the equipment parameters and specific production data of each processing process are recorded. The specific production data is the output and production time of each production link.

[0063] S200: Create a branch node, configure the mapping relationship between the production link and the branch node, and classify the equipment parameters into the branch node, hang the pre-built leaf node down to the branch node, transfer the attributes to the leaf node, integrate the branch node and leaf node, and create a life cycle tree.

[0064] Create a corresponding branch node for each production link, classify the equipment parameters obtained in the production link into the branch node, and then classify the attributes into the leaf node. By integrating the branch nodes and leaf nodes, a life cycle tree is created.

[0065] S300: Obtain the code of the finished hosiery product, use the code to generate a root node, integrate the root node into the lifecycle tree, embed a growth termination mechanism into the lifecycle tree, iterate the lifecycle tree, and construct a cycle forest.

[0066] Get the code of the finished socks product. The code here is also the serial number of the finished socks product. In actual production, you can directly use the tag, label, etc. on the finished socks product to determine the code, put the code into the root node, and then integrate the root node into the life cycle tree. It should be noted that each production link corresponds to a branch node. When a production link is completed, a root node is created in the life cycle tree accordingly. After the last production link is completed, the growth termination mechanism is used to end the growth of the life cycle tree. The growth termination mechanism can be to create a trigger in the life cycle tree, and end the life cycle tree after receiving the attributes of the last production link.

[0067] In actual production, when a sock manufacturer changes the raw material batch, adjusts the production process, or ends the production plan, it needs to rebuild the lifecycle tree the next time it produces. The advantage of doing so is that it can more intuitively demonstrate the relationship between the quality of the finished socks and the production process and raw material batch, integrate all lifecycle trees, and build a lifecycle forest.

[0068] S400: Aggregate the codes into an index directory, mount the index directory into the cycle forest, insert blocks into the root node, integrate all blocks, and generate a blockchain.

[0069] Each lifecycle tree has its corresponding code. The codes are sorted and summarized to generate an index directory, which is then mounted into the lifecycle forest. This has the advantage of being able to classify the lifecycle trees and quickly locate the lifecycle trees based on the codes.

[0070] In Example 2, Figure 2 The implementation process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention is shown. The following details the steps of determining the raw materials for hosiery production, numbering the raw materials, collecting the source data of the raw materials, establishing a correspondence between the raw materials, source data, and numbers, determining the production links of the raw materials, and recording the equipment parameters and attributes in each production link.

[0071] S101: Acquire monitoring data of the production process, determine the intermediate state diagram of hosiery production, and introduce an early warning mechanism into the production process.

[0072] Obtain monitoring data from the production process, including temperature, humidity, production speed, and machine operating status. Use video surveillance equipment to capture images of sock production and determine them as intermediate state diagrams. By utilizing image processing technology, the status of semi-finished socks products can be determined, and an early warning mechanism can be introduced. If image processing technology is used to detect defects in a semi-finished sock product or abnormalities in the production equipment, the early warning mechanism can be activated.

[0073] S102: Link the number and the intermediate state diagram, and mark the number using the early warning mechanism.

[0074] The early warning mechanism is to mark the corresponding number when there are defects in the semi-finished socks or there are abnormalities in the production equipment, and establish a relationship between the number and the intermediate state diagram; when the early warning mechanism is activated, by tracing back the marked number, the defective product can be quickly located after the production is completed; in addition, during the sock production process, multiple quality inspections can be set up. When defective semi-finished socks are monitored, the corresponding number is recorded and quickly traced after the production is completed. It should be noted that the number here is not the raw material number, but the intermediate number of the semi-finished socks in each production link. The intermediate number here can be pre-determined by the production personnel.

[0075] In Example 3, Figure 3 The following illustrates an implementation process of a method for tracing the source of production problems in the hosiery industry provided by an embodiment of the present invention. The following details the steps of creating a branch node, configuring a mapping relationship between the production link and the branch node, assigning the equipment parameters to the branch node, attaching a pre-built leaf node to the branch node, and transferring the attributes to the leaf node.

[0076] S201: Build a data transmission link between device parameters and branch nodes, classify the monitoring data into branch nodes, and insert traceability tags into the branch nodes.

[0077] Build a data transmission link between equipment parameters and branch nodes, classify the monitoring data into the corresponding branch nodes, and insert traceability tags into the branch nodes. The traceability tags are the names of the production equipment corresponding to the branch nodes.

[0078] S202: Transfer the attributes to the leaf node via the data transmission link.

[0079] The attributes of the production equipment are transferred to the leaf nodes, that is, the entire process of hosiery production is simulated in the life cycle tree.

[0080] In Example 4, Figure 3 The implementation process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention is shown. The steps of integrating the branch nodes and leaf nodes to create a lifecycle tree are described in detail below:

[0081] S203: Determine a hierarchical structure, integrate the branch nodes and leaf nodes into the hierarchical structure, and create a lifecycle tree.

[0082] Determine the hierarchical structure of the lifecycle tree, integrate branch nodes and leaf nodes into the hierarchical structure, and create a lifecycle tree.

[0083] S204: Traverse the sequence of the production links, define an arrangement rule, locate the position of the branch node in the lifecycle tree, and update the position using the arrangement rule.

[0084] Determine the order of the production links and arrange the branches and nodes in the life cycle tree according to this order. The advantage of doing this is that defective hosiery products can be quickly located, and the entire hosiery production process can also be intuitively displayed.

[0085] In Example 5, Figure 4 The following illustrates the implementation process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention. The following details the steps of obtaining the code of the finished hosiery product, using the code to generate a root node, integrating the root node into a lifecycle tree, embedding a growth termination mechanism into the lifecycle tree, and iterating the lifecycle tree to construct a cycle forest.

[0086] S301: Establishing a coordinated relationship between the root node, branch nodes, and leaf nodes.

[0087] The root node is mainly used to coordinate and manage all branch nodes and leaf nodes.

[0088] S302: Determine the growth direction of the lifecycle tree according to the sequence, and mine the triggering relationship of the growth termination mechanism.

[0089] According to the order of the production links, the growth direction of the root node in the lifecycle tree is determined, and the trigger relationship of the growth termination mechanism in the lifecycle tree is determined. The trigger relationship can be to terminate the growth of the lifecycle tree after receiving the attributes of the last production link.

[0090] S303: Acquire tasks for hosiery production, and determine the number of lifecycle trees based on the tasks and numbers.

[0091] According to the tasks of hosiery production, multiple life cycle trees are created using tasks and numbers.

[0092] In Example 6, Figure 5 The implementation process of the method for tracing the source of hosiery production problems provided by an embodiment of the present invention is shown. The following details the steps of aggregating the codes into an index directory, mounting the index directory into a cycle forest, inserting blocks into the root node, integrating all blocks, and generating a blockchain.

[0093] S401: Receive a query request from a user, cross the index directory, retrieve the lifecycle tree corresponding to the query request, extract branch nodes and leaf nodes, and transfer them to the block.

[0094] When the user needs to trace the source, the query request entered by the user is received (that is, the code entered by the user in the finished socks product), and the index directory is retrieved. The crossing here means to use and utilize, find the corresponding life cycle tree in the cycle forest, and transfer the data in the branch nodes and leaf nodes in the life cycle tree to the block, integrate all the blocks, and generate a blockchain.

[0095] S402: Based on a preset judgment strategy, abnormal blocks are marked in the blockchain.

[0096] According to the preset judgment strategy, abnormal blocks are marked in the blockchain, where the preset judgment strategy is the standard of equipment parameters, the standard of intermediate state diagram, etc. Abnormal blocks are marked in the blockchain, and abnormal blocks are abnormal production data in the sock production process.

[0097] In Example 7, different from Example 1, in this embodiment of the present invention, the method further includes:

[0098] Compare the monitoring data with the pre-built risk comparison table to determine the risk factors, and calculate the risk level of the production process in combination with the preset risk level calculation formula;

[0099] The risk level calculation formula is:

[0100]

[0101] Where L is the risk level, n is the number of risk factors, F i is the specific value of the i-th risk factor, W i is the weight of the i-th risk factor, F Max is the maximum value of the risk factor;

[0102] If the risk level exceeds a preset threshold, a pre-built emergency plan is retrieved, a treatment measure is determined, and the treatment measure is transferred to the abnormal block;

[0103] Open the adjustment authority of the production link to the abnormal blocks.

[0104] Conduct a risk assessment on each life cycle tree to determine the risk level of each production link. The risk factors are factors that may affect the normal operation of hosiery production equipment. The specific values ​​of the risk factors can be obtained by querying the risk comparison table. In addition, each risk factor in the risk comparison table also corresponds to the weight of the risk factor. The maximum value of the risk factor needs to be calculated in advance. Through calculation, the risk level of the production link can be determined, and the risk level can be quantified. If the risk level exceeds the preset threshold, emergency measures can be determined according to the emergency plan, and the equipment parameters in the abnormal block can be adjusted by using the abnormal block and adjustment authority to ensure the stable operation of hosiery production.

[0105] Figure 6 The following is a structural block diagram of a socks production problem tracing system according to an embodiment of the present invention. The socks production problem tracing system 1 includes:

[0106] The recording module 11 is used to identify the raw materials for hosiery production, number the raw materials, collect the source data of the raw materials, establish a correspondence between the raw materials, source data and numbers, determine the production links of the raw materials, and record the equipment parameters and properties in each production link;

[0107] A creation module 12 is configured to create branch nodes, configure a mapping relationship between the production links and the branch nodes, classify the equipment parameters into the branch nodes, attach pre-built leaf nodes to the branch nodes, transfer the attributes into the leaf nodes, integrate the branch nodes and leaf nodes, and create a lifecycle tree;

[0108] Iteration module 13 is used to obtain the code of the finished hosiery product, generate a root node using the code, integrate the root node into the life cycle tree, embed a growth termination mechanism into the life cycle tree, and iterate the life cycle tree to construct a cycle forest;

[0109] The generation module 14 is used to summarize the codes into an index directory, mount the index directory into the cycle forest, insert blocks into the root node, integrate all blocks, and generate a blockchain.

[0110] Figure 7 The following is a structural block diagram of the socks production problem tracing system provided by an embodiment of the present invention. The recording module 11 includes:

[0111] The introduction unit 111 is used to obtain monitoring data of the production process, determine the intermediate state diagram of the hosiery production, and introduce an early warning mechanism into the production process;

[0112] The marking unit 112 is used to link the number and the intermediate state diagram, and mark the number using the early warning mechanism.

[0113] Figure 8 The following is a structural diagram of the socks production problem tracing system provided by an embodiment of the present invention. The creation module 12 includes:

[0114] Insertion unit 121, used to establish a data transmission link between device parameters and branch nodes, classify the monitoring data into branch nodes, and insert traceability tags into the branch nodes;

[0115] The transfer unit 122 is used to transfer the attribute to the leaf node via the data transmission link.

[0116] An integration unit 123 is configured to determine a hierarchical structure, integrate the branch nodes and leaf nodes into the hierarchical structure, and create a lifecycle tree;

[0117] The traversal unit 124 is used to traverse the sequence of the production links, define an arrangement rule, locate the position of the branch node in the lifecycle tree, and update the position using the arrangement rule.

[0118] Figure 9 The following is a structural block diagram of the socks production problem tracing system provided by an embodiment of the present invention. The iteration module 13 includes:

[0119] The coordination unit 131 is used to establish a coordination relationship between the root node and the branch nodes and leaf nodes;

[0120] A mining unit 132 is used to determine the growth direction of the lifecycle tree according to the sequence and mine the trigger relationship of the growth termination mechanism;

[0121] The determining unit 133 is configured to obtain tasks related to hosiery production and determine the number of lifecycle trees based on the tasks and numbers.

[0122] Figure 10 The following is a structural block diagram of the socks production problem tracing system provided by an embodiment of the present invention. The generation module 14 includes:

[0123] The retrieval unit 141 is configured to receive a user's query request, search the index directory, retrieve the lifecycle tree corresponding to the query request, extract the branch nodes and leaf nodes, and transfer them to the block;

[0124] The judgment unit 142 is configured to mark abnormal blocks in the blockchain based on a preset judgment strategy.

[0125] The recording module 11 is mainly used to complete step S100, the creating module 12 is mainly used to complete step S200, the iterating module 13 is mainly used to complete step S300, and the generating module 14 is mainly used to complete step S400;

[0126] The introducing unit 111 is mainly used to complete step S101, and the marking unit 112 is mainly used to complete step S102;

[0127] The inserting unit 121 is mainly used to complete step S201, the transferring unit 122 is mainly used to complete step S202, the integrating unit 123 is mainly used to complete step S203, and the traversing unit 124 is mainly used to complete step S204;

[0128] The coordination unit 131 is mainly used to complete step S301, the mining unit 132 is mainly used to complete step S302, and the overall determination unit 133 is mainly used to complete step S303;

[0129] The retrieval unit 141 is mainly used to complete step S401, and the judgment unit 142 is mainly used to complete step S402.

[0130] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for tracing the source of production problems in the hosiery industry, characterized in that: The method comprises: Identify the raw materials for hosiery production, number the raw materials, collect the source data of the raw materials, establish a corresponding relationship between the raw materials, source data and numbers, determine the production links of the raw materials, and record the equipment parameters and properties in each production link; Among them, the attributes are production data; Create a branch node, configure the mapping relationship between the production link and the branch node, classify the equipment parameters into the branch node, attach the pre-built leaf node to the branch node, transfer the attributes to the leaf node, integrate the branch node and leaf node, and create a lifecycle tree; Obtaining the code of the finished hosiery product, using the code to generate a root node, integrating the root node into a lifecycle tree, embedding a growth termination mechanism into the lifecycle tree, and iterating the lifecycle tree to construct a cycle forest; The growth termination mechanism is as follows: a trigger is created in the lifecycle tree, and after receiving the attributes of the last production link, the lifecycle tree is terminated; Aggregating the codes into an index directory, mounting the index directory into the cycle forest, inserting blocks into the root node, integrating all blocks, and generating a blockchain; The steps of determining the production links of the raw materials and recording the equipment parameters and properties in each production link include: Obtain monitoring data of the production process, determine the intermediate state diagram of hosiery production, and introduce an early warning mechanism into the production process; linking the number and the intermediate state diagram, and marking the number using the early warning mechanism; The step of transferring the attribute to the leaf node includes: Establish a data transmission link between device parameters and branch nodes, classify the monitoring data into branch nodes, and insert traceability tags into the branch nodes; Attributes are transferred to leaf nodes via the data transfer link.

2. The method for tracing the source of hosiery production problems according to claim 1 is characterized in that: The step of integrating the branch nodes and leaf nodes to create a lifecycle tree includes: Determine a hierarchical structure, integrate the branch nodes and leaf nodes into the hierarchical structure, and create a lifecycle tree; The sequence of the production links is traversed, an arrangement rule is defined, the position of the branch node in the life cycle tree is located, and the position is updated using the arrangement rule.

3. The method for tracing the source of hosiery production problems according to claim 2 is characterized in that: The steps of obtaining the code of the finished hosiery product, generating a root node using the code, integrating the root node into the lifecycle tree, embedding a growth termination mechanism into the lifecycle tree, and iterating the lifecycle tree to construct a cycle forest include: Establishing a coordinated relationship between the root node, branch nodes, and leaf nodes; According to the sequence, the growth direction of the lifecycle tree is determined, and the trigger relationship of the growth termination mechanism is mined; Obtain tasks for hosiery production, and determine the number of lifecycle trees based on the tasks and numbers.

4. The method for tracing the source of hosiery production problems according to claim 1 is characterized in that: The steps of aggregating the codes into an index directory, mounting the index directory into the cycle forest, inserting blocks into the root node, integrating all blocks, and generating a blockchain include: Receive a user's query request, cross the index directory, retrieve the lifecycle tree corresponding to the query request, extract branch nodes and leaf nodes, and transfer them to the block; Based on a preset judgment strategy, abnormal blocks are marked in the blockchain.

5. The method for tracing the source of hosiery production problems according to claim 1 is characterized in that: The method further comprises: Compare the monitoring data with the pre-built risk comparison table to determine the risk factors, and calculate the risk level of the production process in combination with the preset risk level calculation formula; The risk level calculation formula is: Where L is the risk level, is the number of risk factors, For the The specific value of each risk factor, For the The weight of the risk factors, is the maximum value of the risk factor; If the risk level exceeds a preset threshold, a pre-built emergency plan is retrieved, a treatment measure is determined, and the treatment measure is transferred to the abnormal block; Open the adjustment authority of the production link to the abnormal blocks.

6. A socks production problem tracing system, characterized by: The system comprises: A recording module is used to identify the raw materials for hosiery production, number the raw materials, collect the source data of the raw materials, establish a corresponding relationship between the raw materials, source data and numbers, determine the production links of the raw materials, and record the equipment parameters and properties in each production link; Among them, the attributes are production data; The recording module includes: An introduction unit is used to obtain monitoring data of the production process, determine the intermediate state diagram of hosiery production, and introduce an early warning mechanism into the production process; a marking unit, configured to link the number and the intermediate state diagram, and mark the number using the early warning mechanism; A creation module is used to create branch nodes, configure the mapping relationship between the production links and branch nodes, classify the equipment parameters into the branch nodes, attach the pre-built leaf nodes to the branch nodes, transfer the attributes to the leaf nodes, integrate the branch nodes and leaf nodes, and create a lifecycle tree; Wherein, the creation module includes: An insertion unit is used to establish a data transmission link between device parameters and branch nodes, classify the monitoring data into branch nodes, and insert a traceability tag into the branch nodes; a transfer unit, configured to transfer the attribute to the leaf node via the data transmission link; An iteration module is used to obtain the code of the finished hosiery product, generate a root node using the code, integrate the root node into the life cycle tree, embed a growth termination mechanism into the life cycle tree, and iterate the life cycle tree to construct a cycle forest; The growth termination mechanism is as follows: a trigger is created in the lifecycle tree, and after receiving the attributes of the last production link, the lifecycle tree is terminated; A generation module is used to summarize the codes into an index directory, mount the index directory into the cycle forest, insert blocks into the root node, integrate all blocks, and generate a blockchain.

Citation Information

Patent Citations

  • Industrial product traceability information storage method, traceability method and device based on block chain

    CN114612115A

  • Block chain multi-chain-based fruit and vegetable whole-course holographic information management model construction method

    CN117875975A