A blockchain-based method and system for preventing tampering of supply chain information in the textile industry

By establishing a blockchain traceability system in the textile industry supply chain and using symbolic social network algorithms to mark block information, the problems of information traceability and tampering in the textile industry have been solved, efficient data traceability and tampering location have been achieved, and the transparency and security of the supply chain have been ensured.

CN115525931BActive Publication Date: 2025-09-19HUBEI UNIV OF ARTS & SCI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211253115.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-13
Publication Date
2025-09-19
Estimated Expiration
2042-10-13

AI Technical Summary

Technical Problem

The supply chain structure of the textile industry is complex and opaque, which makes information traceability difficult and easy to be tampered with, affecting consumer rights and commercial information security.

Method used

Establish a supply chain traceability system based on blockchain, use the dynamic smart contract algorithm of symbolic social network to mark the link relationship of block information, judge the consistency of block information between parent and child nodes, and discover and update tampering behavior.

Benefits of technology

It achieves efficient traceability of textile industry supply chain data and rapid location of tampering, ensuring data security, preventing the spread of tampering, and improving supply chain transparency and visualization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115525931B_ABST
    Figure CN115525931B_ABST
Patent Text Reader

Abstract

The present application discloses a blockchain-based textile industry supply chain information tamper-proof method and system, the method comprising: establishing a supply chain traceability blockchain with multiple links in the textile industry supply chain as nodes; wherein, block information is used between nodes of the traceability blockchain to transmit interactive data; block information is marked with a preset symbol marking algorithm for link relationships; it is determined whether the block information between two adjacent parent-child nodes is consistent; when the block information is inconsistent, it is determined that the parent node of the two adjacent parent-child nodes has undergone information tampering, and the link relationship mark in the block information is updated. The present invention constructs a traceability blockchain for the textile industry supply chain, realizes the transparency of supply chain data; uses a preset symbol marking algorithm to mark the link relationship of block information, and when tampering occurs in the blockchain, it can efficiently locate the location where the tampering occurred, thereby ensuring the information security of the supply chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of textile industry supply chain traceability technology, and specifically to a blockchain-based textile industry supply chain information tamper-proofing method and system. Background Art

[0002] In recent years, the textile industry has been plagued by instability in consumer demand, leading to increased competition and numerous product recalls and counterfeit and inferior products. In addition, the industry is plagued by issues such as incorrect worker practices and the use of toxic materials.

[0003] Currently, the process from spinning to finished product is extremely long, forming an extremely complex network. Precisely because of the complex structure and wide geographical distribution of the supply chain, key companies often face problems in monitoring supply chain sustainability risks. This is often manifested in the following: the behavior of partners such as suppliers, contractors, and sub-suppliers is difficult to track. This opacity can cause upstream suppliers to deviate from standard practices to reduce costs and maximize profits. On the one hand, due to the lack of traceability, most of these product recalls cannot be traced to the source, and consumer rights cannot be guaranteed. On the other hand, for stakeholders (such as production, logistics, and sales parties), sharing key information in an unsecured environment also poses data manipulation risks, and the leakage of certain core information can lead to the loss of business information advantages. Therefore, the demand for building a transparent and secure material and product supply chain and strengthening the operational transparency of the textile industry supply chain is increasing.

[0004] Therefore, it is necessary to provide a supply chain information traceability and anti-tampering method that can trace the supply chain information in the textile industry, and achieve efficient search and positioning of the location of data tampering behavior to prevent the spread of tampering behavior. Summary of the Invention

[0005] In view of this, it is necessary to provide a blockchain-based textile industry supply chain information tamper-proof method and system to solve the problem in the existing textile industry that due to the complex supply chain structure, information cannot be traced, resulting in malicious tampering of information and damage to the rights and interests of consumers and suppliers.

[0006] In order to solve the above problems, the present invention provides a blockchain-based textile industry supply chain information tamper-proof method, comprising:

[0007] A supply chain traceability blockchain is established with multiple links in the textile industry supply chain as nodes; wherein the nodes of the traceability blockchain use block information to transmit interactive data;

[0008] Using a preset symbol marking algorithm to mark the link relationship of the block information;

[0009] Determine whether the block information between two adjacent linked parent-child nodes is consistent. When the block information is inconsistent, determine that the parent node of the two adjacent parent-child nodes has information tampering, and update the link relationship mark in the block information.

[0010] Furthermore, the preset symbol marking algorithm is a dynamic smart contract algorithm for symbolic social link relationships based on symbolic social networks; when no information tampering occurs on the node, the link relationship is marked with a first marking symbol; when information tampering occurs on the node, the link relationship is marked with a second marking symbol.

[0011] Furthermore, the method also includes: when a second mark symbol appears in the link relationship mark of any node in the supply chain traceability blockchain, checking whether there is any tampering behavior on the node and the nodes that have a direct link relationship with the node.

[0012] Furthermore, the block information includes: block number, traceability code number, block content and block attributes; wherein, the block number is used to distinguish different block information, the traceability code number is used to link the traceability relationship between upstream and downstream nodes, the block content is used to describe the weaving process, and the block attributes are used to record the data of the weaving process.

[0013] Furthermore, the block attributes include a parent hash value for preventing the previous level block from being tampered with and a new hash value for preventing the local block from being tampered with;

[0014] The parent hash value is used to describe the tracing process of the previous parent node, and the new hash value is used to describe the tracing process of the current block.

[0015] Furthermore, the parent hash value and the new hash value are both obtained through the SHA-256 algorithm according to the block number, the traceability code number and the block content.

[0016] Furthermore, the block content includes at least raw material information, fabric information and weaving process information.

[0017] The present invention also provides a blockchain-based textile industry supply chain information tamper-proof system, comprising:

[0018] A blockchain establishment module is used to establish a supply chain traceability blockchain using multiple links in the textile industry supply chain as nodes; wherein the nodes of the traceability blockchain use block information to transmit interactive data;

[0019] A link relationship marking module, configured to mark the link relationship of the block information using a preset symbol marking algorithm;

[0020] The tampering behavior judgment module is used to judge whether the block information between two adjacent linked parent-child nodes is consistent. When the block information is inconsistent, it is determined that the parent node of the two adjacent parent-child nodes has been tampered with, and the link relationship mark in the block information is updated.

[0021] The present invention also provides an electronic device, including a processor and a memory, wherein a computer program is stored on the memory. When the computer program is executed by the processor, a blockchain-based textile industry supply chain information tamper-proof method as described in any of the above technical solutions is implemented.

[0022] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements a blockchain-based textile industry supply chain information tamper-proof method as described in any of the above technical solutions.

[0023] Compared with the prior art, the beneficial effects of the present invention include: first, establishing a supply chain traceability blockchain with multiple links in the textile industry supply chain as nodes; second, using a preset symbol marking algorithm to mark the link relationship of block information between nodes; finally, judging whether the block information between two adjacent parent-child nodes is consistent. When the block information is inconsistent, it is determined that the parent node of the two adjacent parent-child nodes has undergone information tampering, and the link relationship mark is updated. The present invention has customized the construction of a traceability blockchain for the textile industry supply chain, tracking various transaction data in the textile industry supply chain, and realizing data sharing while ensuring data security; using a preset symbol marking algorithm to mark the link relationship of block information, when there is tampering in the blockchain, it can efficiently find and locate the location where the tampering occurred, and prevent the tampered data from spreading further. By tracing the data of the textile industry supply chain, the present invention enables effective monitoring of the operation process and real-time data collection, ensuring the transparency and visualization of the supply chain. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of an embodiment of a typical supply chain model in the textile industry provided by the present invention;

[0025] Figure 2 A flowchart of an embodiment of a blockchain-based textile industry supply chain information tamper-proof method provided by the present invention;

[0026] Figure 3 A schematic diagram of the structure of an embodiment of a blockchain-based textile industry supply chain traceability framework provided by the present invention;

[0027] Figure 4 A schematic diagram of an embodiment of the symbolic social network principle provided by the present invention;

[0028] Figure 5 This is a structural diagram of an embodiment of a blockchain-based textile industry supply chain information tamper-proof system provided by the present invention;

[0029] Figure 6 This is a structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

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

[0031] Before describing the embodiments, the current status of the supply chain in the textile industry is first described. Figure 1 As shown, Figure 1 The typical supply chain model in the textile industry is shown. The supply chain model of the textile industry mainly consists of six links: fiber manufacturers, yarn manufacturers, fabric manufacturers, clothing manufacturers, buyers / retailers, and consumers.

[0032] Due to the complex supply chain structure and wide geographical distribution of the textile industry, key companies often face information asymmetry and poor visibility when monitoring supply chain sustainability risks. This makes it difficult for consumers to obtain authentic data that can ensure product quality. At the same time, stakeholders (such as producers, logistics companies, and distributors / retailers) are worried about leaking core information and losing their business information advantages in an unsafe environment. Therefore, it is necessary to provide a supply chain information traceability system suitable for the textile industry to trace information at all links in the supply chain. Once data tampering occurs, it can quickly locate the tampered link and prevent the tampered information from spreading further, thereby achieving transparency and visualization of the supply chain while ensuring supply chain security.

[0033] The embodiment of the present invention provides a blockchain-based method for preventing tampering of supply chain information in the textile industry. Figure 2 As shown, the method includes:

[0034] Step S101: Establishing a supply chain traceability blockchain using multiple links in the textile industry supply chain as nodes; wherein the nodes of the traceability blockchain use block information to transmit interactive data;

[0035] Step S102: using a preset symbol marking algorithm to mark the link relationship of the block information;

[0036] Step S103: determining whether the block information between two adjacent linked parent-child nodes is consistent; if the block information is inconsistent, determining that information tampering has occurred in the parent node of the two adjacent parent-child nodes, and updating the link relationship mark in the block information.

[0037] The blockchain-based method for preventing tampering of textile industry supply chain information provides an embodiment of the present invention. First, a supply chain traceability blockchain is established using multiple links in the textile industry supply chain as nodes. Second, a preset symbol marking algorithm is used to mark the link relationship between block information between nodes. Finally, the block information between two adjacent parent and child nodes is determined to be consistent. If the block information is inconsistent, it is determined that the parent node of the two adjacent parent and child nodes has been tampered with, and the link relationship mark is updated. This embodiment of the present invention constructs a customized traceability blockchain for the textile industry supply chain, tracks various transaction data in the textile industry supply chain, and enables data sharing while ensuring data security. Using a preset symbol marking algorithm to mark the link relationship of block information, when tampering is detected in the blockchain, the location of the tampering can be efficiently found and located, and the tampered data can be prevented from spreading further. By tracing data from the textile industry supply chain, the present invention enables effective monitoring of operational processes and real-time data collection, ensuring transparency and visualization of the supply chain.

[0038] The following combination Figure 3 The supply chain traceability blockchain described in the above technical solution is explained. Figure 3 This paper describes a blockchain-based supply chain traceability framework for the textile industry. In this framework, supply chain information is recorded using a blockchain framework, from fiber supply to retail and sales. Supply chain material information is transmitted along the entire chain, as indicated by dashed arrows. Furthermore, traceability is enabled by following solid arrows, starting from each node involved in each link in the framework. Throughout this information transmission process, supply chain information records transaction data at each link in the order of blocks 1 to 4.

[0039] It should be noted that blockchains designed for supply chains are typically private blockchains. The key difference between them and public blockchains (such as the Bitcoin blockchain) or cryptocurrency applications lies in the need for privacy and access restrictions in supply chain blockchains. The users and objects described by the blockchain should be private, authorized, and identifiable partners. Furthermore, each partner may have different levels of visibility and accessibility requirements. Therefore, in this embodiment, privacy and access restrictions are implemented through public and private classes, further ensuring the security of information data in the supply chain.

[0040] As a preferred embodiment, the block information includes: block number, traceability code number, block content and block attributes; wherein, the block number is used to distinguish different block information, the traceability code number is used to link the traceability relationship between upstream and downstream nodes, the block content is used to describe the weaving process, and the block attributes are used to record the data of the weaving process.

[0041] As a specific embodiment, during the entire process, a string of block identifiers is added after the traceability ID for each link of the material information involved in the supply chain to distinguish it from the upstream and downstream blocks. At the same time, the upstream and downstream relationship of the block information transmission is given on the sending ID and the receiving ID respectively. Figure 3 The supply chain traceability framework shown can be used to derive the block information calculation formula shown in formula (1),

[0042] Block(i)= <TE i ,BC i ,BP i > (1)

[0043] As shown in formula (1), Block(i) indicates that there are i blocks on the traceability blockchain, i represents the block number, which is used to distinguish different blocks; TE represents the block traceability code number, which is used to link the relationship between upstream and downstream traceability blocks; BC represents the block content, and BP represents the block attribute, which is used to indicate the weaving process data recorded by the block.

[0044] As a preferred embodiment, the block content at least includes raw material information, fabric information and weaving process information.

[0045] As a preferred embodiment, the block attributes include a parent hash value for preventing the upper-level block from being tampered with and a new hash value for preventing the local block from being tampered with;

[0046] The parent hash value is used to describe the tracing process of the previous parent node, and the new hash value is used to describe the tracing process of the current block.

[0047] As a specific embodiment, the block content BC in formula (1) is split, and the block content of block i used to describe the weaving process includes the raw material type O i , fabric type ToG i and weaving process type Tm i It consists of three parts, and the formal content is shown in formula (2).

[0048] BC i = <O i ,ToG i ,Tm i > (2)

[0049] Among them, the raw material type O i , Fabric Type ToGi and weaving process type Tm i , which are used to describe the raw material type, fabric type and weaving process type associated with the i-th block.

[0050] In order to describe other aspects of the textile weaving process chain traced by block i, an identification and traceability method for describing the uniqueness of the block is further derived, as shown in formula (3).

[0051] BP i = <PD i ,DD i ,Pbh i ,NbH i > (3)

[0052] Among them, PD i ,DD i They represent the production date and transportation date of the weaving supply chain corresponding to the block identifier, Pbh i ,NbH i It is used to describe the previous parent hash value used in the traceability process and the new hash value generated by this block i. The purpose of these two hash values ​​is to prevent the previous block and the local block from being maliciously tampered with.

[0053] As a preferred embodiment, the parent hash value and the new hash value are both obtained by using the SHA-256 algorithm according to the block number, the traceability code number and the block content.

[0054] As a specific embodiment, the method for obtaining the two hash values ​​and the specific means of using them are described as follows:

[0055] The generation of the two hash values ​​is mainly achieved using the SHA-256 algorithm. The implementation process of the SHA-256 algorithm is described as follows:

[0056] Step 1: Pad the message in the block (such as block number, block content, etc.) so that the final length is a multiple of 512 bits;

[0057] Step 2: Divide the message into M blocks with 512 bits as the unit (1) ,M (2) ,...,M (N) .Message blocks will be processed one by one: starting from a fixed initial hash H (0) To begin, perform the following sequence of calculations:

[0058]

[0059] Where C is the compression function of SHA256, + is mod2 32 Addition, that is, adding two numbers together, if 2 32 Remainder, H(N) Is the hash value of the message block.

[0060] Generally speaking, supply chain tampering can be divided into three situations, namely, chain head tampering, chain tail tampering, and chain middle tampering. Assume that the block head and tail nodes before the tampering are N H , N T , the intermediate nodes are N i , i is a natural number. Under normal circumstances, the correct block header information is After i+1 information transmissions under the action of function F, it can reach the tail node N T Therefore, the whole data transmission process can be described by formula (4).

[0061]

[0062] When block header tampering occurs, the original information was tampered with After i+1 information transmissions under the action of function F, the tail node N can be reached. T The result N' is obtained T ,Right now

[0063]

[0064] Therefore, when the tail node N T Once tampering is discovered, tracing back to the source is necessary to trace the tampering and find the location where the tampering occurred.

[0065] Analysis of the aforementioned traceability process reveals that the efficiency of tracing back where tampering occurred is relatively low in practice. While the location of the tampering can ultimately be identified, the impact is minimal when the blockchain is short. However, tracing back the entire chain becomes unnecessary and inefficient when the blockchain is long.

[0066] In order to solve the above problems, improve the execution efficiency of blockchain traceability, and ensure the security of blockchain-based supply chain traceability methods in the textile industry, the idea of ​​symbolic social networks is combined with existing smart contract algorithms.

[0067] As a preferred embodiment, in step S102, the preset symbol marking algorithm is a dynamic smart contract algorithm for symbolic social link relationships based on symbolic social networks; when no information tampering occurs on the node, the link relationship is marked as a first marking symbol; when information tampering occurs on the node, the link relationship is marked as a second marking symbol.

[0068] As a specific embodiment, the first marking symbol is "+" and the second marking symbol is "-". In a symbolic social network, friends are defined by "+" and enemies are defined by "-". Using this symbolic definition concept, formulas (4) and (5) above can be rewritten to obtain the following formulas (6) and (7).

[0069]

[0070]

[0071] This concept can be used to mark all blocks in a blockchain with symbolic social links. When tampering occurs, regardless of where it occurs, the next-level child node where the tampering occurred can detect the tampering in real time by comparing the block data. The symbolic social link mark can then be modified and traced, effectively completing the above process.

[0072] The principle of symbolic social network is as follows Figure 4 As shown, after the tampering occurs, the identifiers that were originally marked as friend (+) relationships before the tampering occurs will be re-marked as non-friend (-) relationships. Figure 4 In the figure, (A) and (B) represent two stable structural equilibria, and (C) and (D) represent two unstable structural equilibria.

[0073] Before the tampering occurs:

[0074]

[0075] The tampering occurs in the block header, that is, was tampered with Therefore, in F 1 The effect of

[0076] However, when the tampered data is transmitted from the block header to the next-level node, the tampering behavior can be quickly discovered by comparing the data. The data comparison here mainly involves the content of the two adjacent linked parent-child blocks (such as the quantity information and origin of purchased raw materials). If the block content is inconsistent, it means that the previous-level node (that is, the parent node) in the two adjacent parent-child blocks has been tampered with. The reason is that the characteristics and essence of the blockchain is a decentralized accounting method, and the corresponding content of the next-level node will inevitably appear on its previous-level parent node.

[0077] As a specific embodiment, in step S103, the symbolic identifier in the symbolic social network link relationship is updated, that is, when the block header is tampered, Towards The symbol of is updated, thus confirming that the upper level node has been tampered. Similarly, the general situation (including but not limited to the end of the block and the middle of the block) can be deduced. When the node N on the block i When tampering occurs, was tampered with In F i Under the action of By comparing, we know that the previous level node has been tampered with, so we can update the symbol identification of the current level node, that is, Updated to

[0078] As a preferred embodiment, the method also includes: when a second mark symbol appears in the link relationship mark of any node in the supply chain traceability blockchain, checking whether there is any tampering behavior on the node and the nodes that have a direct link relationship with the node.

[0079] As a specific embodiment, the link relationship of the symbolic social network can not only quickly locate the location where the tampering behavior occurs (as mentioned above, since the location and tampering relationship of the two adjacent parent and child nodes where the tampering behavior occurs can be determined, the location where the tampering behavior occurs can naturally be quickly located in the blockchain), but its more important role is to prevent the possibility of tampered data being transmitted to the next level node. When the blockchain system scans and detects the appearance of "-" in a node identifier, it will start a key verification mechanism for the node, and at the same time, the first-level node with a direct link relationship with the node will be checked as the object, thereby preventing the spread of tampering behavior.

[0080] Applying the blockchain-based textile industry supply chain information tamper-proofing method to a specific scenario includes the following steps:

[0081] Step 1: From fiber supply to retail and sales, the entire supply chain involves multiple production or manufacturing plants. Each plant can be regarded as a node. The block information between nodes stores interactive information such as supply chain data transmitted upstream and downstream, and uses traceability IDs to distinguish blocks and identify the access location of traceability information.

[0082] Step 2: Assume that due to internal management negligence, a production or manufacturing plant has tampered with the data on the database. The local database in the factory will be compared with the ledger data on the blockchain (including block information and raw material data backed up in the local database, etc.) within a certain period of time.

[0083] Step 3: When the two data are inconsistent, the location of the tampered information, as well as the adjacent upstream and downstream nodes and their block information, are traced back to quickly determine and locate the tampered information;

[0084] Step 4: Through further anomaly information annotation, the backup data on the blockchain can be used to restore local data. At the same time, by locating the location of data tampering, loopholes in supply chain management can be quickly identified and remedied in a timely manner.

[0085] This embodiment also provides a blockchain-based textile industry supply chain information tamper-proof system. Figure 5 As shown, the blockchain-based textile industry supply chain information tamper-proof system 500 includes:

[0086] The blockchain establishment module 501 is used to establish a supply chain traceability blockchain using multiple links in the textile industry supply chain as nodes; wherein the nodes of the traceability blockchain use block information to transmit interactive data;

[0087] A link relationship marking module 502 is configured to mark the link relationship of the block information using a preset symbol marking algorithm;

[0088] The tampering behavior judgment module 503 is used to judge whether the block information between two adjacent linked parent and child nodes is consistent. When the block information is inconsistent, it is determined that the parent node of the two adjacent parent and child nodes has been tampered with, and the link relationship mark in the block information is updated.

[0089] like Figure 6 As shown, the present invention also provides an electronic device 600 for preventing information tampering in the textile industry supply chain based on blockchain. The electronic device can be a computing device such as a mobile terminal, desktop computer, notebook, PDA, or server. The electronic device includes a processor 601, a memory 602, and a display 603.

[0090] In some embodiments, the memory 602 may be an internal storage unit of the computer device, such as a hard drive or memory of the computer device. In other embodiments, the memory 602 may also be an external storage device of the computer device, such as a plug-in hard drive, a smart media card (SMC), a secure digital (SD) card, a flash memory card, etc. equipped on the computer device. Furthermore, the memory 602 may include both an internal storage unit of the computer device and an external storage device. The memory 602 is used to store application software installed on the computer device and various types of data, such as program code installed on the computer device. The memory 602 may also be used to temporarily store data that has been output or is about to be output. In one embodiment, the memory 602 stores a blockchain-based textile industry supply chain information tamper-proofing method program 604, which can be executed by the processor 601, thereby implementing a blockchain-based textile industry supply chain information tamper-proofing method according to various embodiments of the present invention.

[0091] In some embodiments, the processor 601 can be a central processing unit (CPU), a microprocessor, or other data processing chip, used to run the program code or process data stored in the memory 602, such as executing a blockchain-based textile industry supply chain information tamper-proof method program.

[0092] In some embodiments, the display 603 can be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 603 is used to display information on the computer device and to display a visual user interface. The components 601-603 of the computer device communicate with each other via a system bus.

[0093] This embodiment also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the blockchain-based textile industry supply chain information tamper-proofing method described in any of the above technical solutions.

[0094] The computer-readable storage medium and computing device provided according to the above embodiments of the present invention can be implemented with reference to the specific description of the method for preventing tampering of supply chain information in the textile industry based on blockchain as described above according to the present invention, and have similar beneficial effects as the method for preventing tampering of supply chain information in the textile industry based on blockchain as described above, which will not be repeated here.

[0095] The blockchain-based textile industry supply chain information tamper-proof method and system disclosed in the present invention first establishes a supply chain traceability blockchain with multiple links in the textile industry supply chain as nodes; secondly, a preset symbol marking algorithm is used to mark the link relationship of block information between nodes; finally, it is determined whether the block information between two adjacent parent and child nodes is consistent. When the block information is inconsistent, it is determined that the parent node of the two adjacent parent and child nodes has been tampered with, and the link relationship mark is updated.

[0096] This invention has built a customized traceability blockchain for the textile industry supply chain. This system tracks various transaction data within the supply chain, enabling data sharing while ensuring data security. Using a pre-defined symbolic marking algorithm, it links block information and effectively locates the location of tampering in the blockchain, preventing further spread of the tampered data. By tracing data within the textile industry supply chain, this invention enables effective monitoring of operational processes and real-time data collection, ensuring transparency and visualization of the supply chain.

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

Claims

1. A blockchain-based method for preventing tampering of supply chain information in the textile industry, characterized in that: include; A supply chain traceability blockchain is established with multiple links in the textile industry supply chain as nodes; wherein the nodes of the traceability blockchain use block information to transmit interactive data; The block information is marked with a link relationship using a preset symbol marking algorithm, which is a dynamic smart contract algorithm for symbolic social link relationships based on a symbolic social network; when no information tampering occurs on the node, the link relationship is marked with a first marking symbol; when information tampering occurs on the node, the link relationship is marked with a second marking symbol; when the second marking symbol appears in the link relationship mark of any node in the supply chain traceability blockchain, the node and the nodes with direct links to the node are checked for tampering; Determine whether the block information between two adjacent linked parent and child nodes is consistent. When the block information is inconsistent, determine that the parent node of the two adjacent linked parent and child nodes has information tampering, and update the link relationship mark in the block information.

2. The blockchain-based textile industry supply chain information tamper-proof method according to claim 1 is characterized in that: The block information includes: block number, traceability code number, block content and block attributes; among them, the block number is used to distinguish different block information, the traceability code number is used to link the traceability relationship between upstream and downstream nodes, the block content is used to describe the weaving process, and the block attributes are used to record the data of the weaving process.

3. The blockchain-based textile industry supply chain information tamper-proof method according to claim 2 is characterized in that: The block attributes include a parent hash value used to prevent the previous level block from being tampered with and a new hash value used to prevent the local block from being tampered with; The parent hash value is used to describe the tracing process of the previous parent node, and the new hash value is used to describe the tracing process of the current block.

4. The blockchain-based textile industry supply chain information tamper-proof method according to claim 3 is characterized in that: The parent hash value and the new hash value are both obtained through the SHA-256 algorithm according to the block number, the traceability code number and the block content.

5. The blockchain-based textile industry supply chain information tamper-proof method according to claim 4 is characterized in that: The block content includes at least raw material information, fabric information and weaving process information.

6. A blockchain-based textile industry supply chain information tamper-proof system, characterized by: include: A blockchain establishment module is used to establish a supply chain traceability blockchain using multiple links in the textile industry supply chain as nodes; wherein the nodes of the traceability blockchain use block information to transmit interactive data; A link relationship marking module is used to mark the link relationship of the block information using a preset symbol marking algorithm, where the preset symbol marking algorithm is a dynamic smart contract algorithm for symbolic social link relationships based on a symbolic social network; when no information tampering occurs on the node, the link relationship is marked with a first marking symbol; when information tampering occurs on the node, the link relationship is marked with a second marking symbol; when the second marking symbol appears in the link relationship mark of any node in the supply chain traceability blockchain, the node and the nodes with direct links to the node are checked for tampering; The tampering behavior judgment module is used to judge whether the block information between two adjacent linked parent and child nodes is consistent. When the block information is inconsistent, it is determined that the parent node of the two adjacent linked parent and child nodes has been tampered with, and the link relationship mark in the block information is updated.

7. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, a blockchain-based textile industry supply chain information tamper-proof method as described in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements a blockchain-based textile industry supply chain information tamper-proof method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Block chain, block chain tamper-proofing method, electronic equipment and storage medium

    CN114996742A