CN115270172A - Traceability system for commodity holders on block chain - Google Patents

Traceability system for commodity holders on block chain Download PDF

Info

Publication number
CN115270172A
CN115270172A CN202210635928.1A CN202210635928A CN115270172A CN 115270172 A CN115270172 A CN 115270172A CN 202210635928 A CN202210635928 A CN 202210635928A CN 115270172 A CN115270172 A CN 115270172A
Authority
CN
China
Prior art keywords
commodity
block chain
holder
user
holders
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202210635928.1A
Other languages
Chinese (zh)
Inventor
袁豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yancheng Internet Technology Co ltd
Original Assignee
Shanghai Yancheng Internet Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yancheng Internet Technology Co ltd filed Critical Shanghai Yancheng Internet Technology Co ltd
Priority to CN202210635928.1A priority Critical patent/CN115270172A/en
Publication of CN115270172A publication Critical patent/CN115270172A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Probability & Statistics with Applications (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A traceability system for a commodity holder on a block chain comprises the following steps: establishing an enterprise-level alliance chain; a user generates a public and private key pair through an asymmetric encryption technology; the user imports own identity, and the public key is uploaded to the server in the process and then stored in the block chain network; a manufacturer uses a Web management end to mark the commodity generation number, and stores the commodity number and the commodity holder into a block chain; the commodity circulation requires the change of the commodity holder, and only the commodity holder can circulate the commodity. The invention overcomes the defects of the prior art, and enables each manufacturer and user to master own data through the alliance chain technology in the block chain, thereby ensuring the ownership of the data. And the business privacy data of the user can be protected from being accessed by irrelevant nodes, and the isolation and privacy of the data are guaranteed. And the producer can inquire and count the destination of the commodity through the system, so that the management efficiency of the supply and sale chain is improved qualitatively.

Description

Traceability system for commodity holders on block chain
Technical Field
The invention relates to the technical field of a block chain, in particular to a tracing system for commodity holders on the block chain.
Background
The commodity circulation system has the advantages that no counterfeit goods are the topics since history, the change of the holders is recorded from the shipment circulation of manufacturers to the commodity, the commodity can be circulated only by the commodity holder, the counterfeit goods cannot flow into the market, the source of the commodity holder can be traced, and the problem of the commodity can be traced as to which circulation link goes out. Trust not pass is a problem which hinders the development of the business since history, the counterfeit goods of the goods are reduced, and the business can be further greatly prosperous.
In the traditional supply and marketing structure, a manufacturer does not know the flow direction of commodities, the supply and marketing chain is difficult to manage, the inventory is difficult to manage, and the phenomena of channel conflict and the like also exist.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a commodity holder tracing system on a block chain, which overcomes the defects of the prior art, and can be used for dividing the acquired user information and the verification user by using an asymmetric encryption technology in the block chain, so that the operator can be judged to be the user without acquiring the user information, and the problem of user privacy can be solved. Through the alliance chain technology in the block chain, each manufacturer and each user can establish a node of the manufacturer and each user to join the block chain network, and each manufacturer and each user can master data of the manufacturer and each user, so that the ownership of the data is guaranteed. And the business privacy data of the user can be protected from being accessed by irrelevant nodes, and the isolation and privacy of the data are guaranteed. And the producer can inquire and count the destination of the commodity through the system, so that the management efficiency of the supply and sale chain is improved qualitatively.
In order to realize the purpose, the invention is realized by the following technical scheme:
a traceability system for a commodity holder on a block chain comprises the following steps:
step S1: establishing an enterprise-level alliance chain, and supporting manufacturers and users to establish own child nodes or a child node network to be added into a main node block chain network;
step S2: a user generates a public and private key pair through an asymmetric encryption technology;
and step S3: the user imports own identity, and the public key is uploaded to the server in the process and then stored in the block chain network;
and step S4: a manufacturer uses a Web management end to mark the commodity generation number, and stores the commodity number and the commodity holder into a block chain;
step S5: the commodity circulation requires the change of the commodity holder, and only the commodity holder can circulate the commodity.
Preferably, in the step S1, an enterprise cascading union block link network is built by using Hyperridge-Fabric; and supporting the user to set up own child nodes or add the child node network into the main node block chain network.
Preferably, in step S2, the process of generating the public-private key pair is completed locally without going through the server, where the public key is an identity of the public key, and the private key is used to verify the identity.
Preferably, in step S4, the manufacturer prints the two-dimensional code on the product, the two-dimensional code stores an access link for accessing an h5 page of the product, and the tracing information of the holder of the product is displayed in the h5 page.
Preferably, in the step S5, when the commodity is circulated, the commodity state has two states of release and non-release, and when the current holder of the commodity verifies the identity with the private key, the release operation is executed, and the commodity state is modified into the release state; and the receiver executes receiving operation, the commodity holder is modified into a receiver as a new commodity holder, meanwhile, the commodity state is modified into a non-release state, and the commodity circulation is finished.
Preferably, after the commodity circulation is completed, the circulation data is statistically displayed to the Web management side, and the quantity of commodities currently held by the commodity holder and the circulation quantity of the commodities, which are circulated to other commodity holders by the commodity holder, are displayed.
The invention provides a traceability system for commodity holders on a block chain. The method has the following beneficial effects: by using the asymmetric encryption technology in the block chain, the acquired user information and the verification user are divided, and the operator can be judged to be the user without acquiring the user information, so that the problem of user privacy can be solved. Through the alliance chain technology in the block chain, each manufacturer and each user can establish a node of the manufacturer and each user to join the block chain network, and can master data of the manufacturer and each user, so that the ownership of the data is guaranteed. And by using the channel technology, the business privacy data of the user is protected from being accessed by irrelevant nodes, and the isolation and privacy of the data are guaranteed. And the manufacturer can inquire and count the destination of the commodity through the system, and the management efficiency of the supply and sales chain is improved qualitatively.
Drawings
In order to more clearly illustrate the present invention or the prior art solutions, the drawings that are needed in the description of the prior art will be briefly described below.
FIG. 1 is a schematic block link point network according to the present invention;
FIG. 2 is a schematic diagram illustrating a commodity circulation flow in the present invention;
FIG. 3 is a schematic diagram of traceability information of a merchandise holder in the present invention;
FIG. 4 is a diagram illustrating the number of commodities currently held by a commodity holder and the number of commodities transferred by the commodity holder to other commodity holders.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings.
As shown in fig. 1 to 4, a traceability system for commodity holders on a block chain includes the following steps:
step S1: establishing an enterprise-level alliance chain, and supporting a manufacturer and a user to establish own child nodes or a child node network to be added into a main node block chain network;
step S2: a user generates a public and private key pair through an asymmetric encryption technology;
and step S3: the user imports own identity, and the public key is uploaded to the server in the process and then stored in the block chain network;
and step S4: a manufacturer uses a Web management end to mark the commodity generation number, and stores the commodity number and the commodity holder into a block chain;
step S5: the commodity circulation requires the change of the commodity holder, and only the commodity holder can circulate the commodity.
According to the method and the device, the user information acquisition and verification are divided by using the asymmetric encryption technology in the block chain, and the operator can be judged to be the user without acquiring the user information, so that the user privacy problem can be solved, a centralized credit mechanism is not needed for managing and identifying the identity, and the decentralization is possible.
Through the alliance chain technology in the block chain, each manufacturer and each user can establish a node of the manufacturer and each user to join the block chain network, and each manufacturer and each user can master data of the manufacturer and each user, so that the ownership of the data is guaranteed. And by using the channel technology, the business privacy data of the user is protected from being accessed by irrelevant nodes, and the isolation and privacy of the data are also guaranteed. The data is not only stored in the centralized system, but also has the control right and the use right of the data, and the semi-decentralized or full decentralized system is realized. And the producer can inquire and count the destination of the commodity through the system, so that the management efficiency of the supply and sale chain is improved qualitatively.
Further, in the step S1, a Hyperridge-Fabric is used for building an enterprise cascade alliance block link layer network; and supporting the user to set up own child nodes or add the child node network into the main node block chain network. Therefore, the user can master own data after constructing the child node or the child node network.
Further, in the step S2, the process of generating the public and private key pair is completed locally without going through the server, so that it is ensured that the private key of the user is not revealed; the public key is the identity of the public key, and the private key is used for verifying the identity. The system uses the public key as the product holder identification.
Further, in step S4, the manufacturer prints the two-dimensional code on the commodity, and one object is one code, and the two-dimensional code is stored with the access link of the h5 page for accessing the commodity, and the tracing information of the holder of the commodity is displayed in the h5 page, including the quantity of the commodity currently held by the commodity holder and the circulation quantity of the commodity circulated by the commodity holder to other commodity holders, so that the manufacturer can clearly know the commodity sales condition of the manufacturer, and the quality of the management of the supply chain can be improved.
Further, in the step S5, when the commodity is circulated, the commodity state has two states of release and non-release, when the current holder of the commodity verifies the identity with the private key to execute the release operation, and the commodity state is modified to the release state; and the receiver executes receiving operation, modifies the commodity holder into a receiver as a new commodity holder, modifies the commodity state into a non-release state and finishes the commodity circulation. By analogy, the new product holder also circulates the product in the same manner. Thereby, the history record of the commodity can be inquired according to the commodity number.
Furthermore, after the circulation of the commodities is completed, the circulation data are statistically displayed to the Web management end, and the quantity of the commodities currently held by the commodity holder and the circulation quantity of the commodities, which are circulated to other commodity holders by the commodity holder, are displayed.
The above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A traceability system for a commodity holder on a block chain is characterized in that: the method comprises the following steps:
step S1: establishing an enterprise-level alliance chain, and supporting a manufacturer and a user to establish own child nodes or a child node network to be added into a main node block chain network;
step S2: a user generates a public and private key pair through an asymmetric encryption technology;
and step S3: the user imports own identity, and the public key is uploaded to the server in the process and then stored in the block chain network;
and step S4: a manufacturer uses a Web management end to mark the commodity generation number, and stores the commodity number and the commodity holder into a block chain;
step S5: the commodity circulation requires the change of the commodity holder, and only the commodity holder can circulate the commodity.
2. The system of claim 1, wherein the traceability system for commodity holders on a block chain comprises: in the step S1, a Hyperhedger-Fabric is used for building an enterprise cascading union block link network; and the user is supported to build own child nodes or a child node network to join the main node block chain network.
3. The system of claim 1, wherein the traceability system for commodity holders on a block chain comprises: in step S2, the process of generating the public and private key pair is completed locally without going through the server, where the public key is the own identity and the private key is used to verify the identity.
4. The system of claim 1, wherein the traceability system for commodity holders on a block chain comprises: in the step S4, the manufacturer prints the two-dimensional code on the commodity, the access link of the h5 page for accessing the commodity is stored in the two-dimensional code, and the owner tracing information of the commodity is displayed in the h5 page.
5. The system of claim 1, wherein the traceability system for commodity holders on a block chain comprises: in the step S5, when the commodity is circulated, the commodity state has two states of release and non-release, when the current holder of the commodity verifies the identity with the private key to execute the release operation, the commodity state is modified into the release state; and the receiver executes receiving operation, the commodity holder is modified into a receiver as a new commodity holder, meanwhile, the commodity state is modified into a non-release state, and the commodity circulation is finished.
6. The system of claim 5, wherein: and after the commodity is circulated, counting and displaying the circulation data to a Web management end, and displaying the quantity of the commodities currently held by the commodity holder and the circulation quantity circulated to other commodity holders by the commodity holder.
CN202210635928.1A 2022-06-07 2022-06-07 Traceability system for commodity holders on block chain Withdrawn CN115270172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210635928.1A CN115270172A (en) 2022-06-07 2022-06-07 Traceability system for commodity holders on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210635928.1A CN115270172A (en) 2022-06-07 2022-06-07 Traceability system for commodity holders on block chain

Publications (1)

Publication Number Publication Date
CN115270172A true CN115270172A (en) 2022-11-01

Family

ID=83759635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210635928.1A Withdrawn CN115270172A (en) 2022-06-07 2022-06-07 Traceability system for commodity holders on block chain

Country Status (1)

Country Link
CN (1) CN115270172A (en)

Similar Documents

Publication Publication Date Title
US20190116185A1 (en) Access authority management method, access authority management system, and access authority management apparatus
CN110322269B (en) Internet marketing method
US20170083860A1 (en) Tracking unitization occurring in a supply chain
CN106600403A (en) Asset management method, device and system
US20140244017A1 (en) Determining items to build based on an internet of things (iot) network inventory and building the determined items using a 3d printer
CN104285208A (en) Tagging of assets for content distribution in enterprise management system
CN108769154A (en) Date storage method based on directed acyclic graph and distributed account book
CA2479542A1 (en) System and method for monitoring and managing physical assets using a database
CN110278264B (en) Block chain-based cross-link communication method and device and transaction system
CN110543787A (en) Storage and acquisition method, storage system and acquisition device for commodity traceability data
JP2007193537A (en) Tag information management program, tag information management method, and tag information management device
CN115330400A (en) Block chain tracing method, device, system, computing equipment and storage medium
CN109345159A (en) A kind of method for writing data and device, equipment, storage medium
CN106603727A (en) Method and device for integrating and accessing system data
CN110796457A (en) Central kitchen product traceability system
CN113269565B (en) Anti-counterfeiting identification method and device for preventing identification code from being reused and electronic equipment
CN115270172A (en) Traceability system for commodity holders on block chain
KR20170022446A (en) Subcription based alliance exclusive mall system
CN114866416A (en) Multi-cluster unified management system and deployment method
CN114663110A (en) Block chain information traceability system and method capable of customizing traceability links
CN114511333A (en) Quality supervision and traceability system and method for block chain food
Ioannidis et al. Revenue management in single-stage CONWIP production systems
TWM325678U (en) Wireless inventory-taking device
Singh et al. A conceptual prototype for transparent and traceable supply chain using blockchain
CN111461742A (en) Manufacturing industry data graphic representation management system based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20221101