CN112435039A - Commodity tracing method and system based on block chain and readable storage medium - Google Patents

Commodity tracing method and system based on block chain and readable storage medium Download PDF

Info

Publication number
CN112435039A
CN112435039A CN202011282455.9A CN202011282455A CN112435039A CN 112435039 A CN112435039 A CN 112435039A CN 202011282455 A CN202011282455 A CN 202011282455A CN 112435039 A CN112435039 A CN 112435039A
Authority
CN
China
Prior art keywords
commodity
traceability
block chain
application system
enterprise application
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.)
Pending
Application number
CN202011282455.9A
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.)
Shenzhen Castelits Intelligent Technology Co ltd
Original Assignee
Shenzhen Castelits Intelligent 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 Shenzhen Castelits Intelligent Technology Co ltd filed Critical Shenzhen Castelits Intelligent Technology Co ltd
Priority to CN202011282455.9A priority Critical patent/CN112435039A/en
Publication of CN112435039A publication Critical patent/CN112435039A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • 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
    • G06F16/275Synchronous replication

Abstract

The invention discloses a commodity tracing method based on a block chain, which comprises the following steps: the method comprises the steps of constructing an enterprise application system, constructing the enterprise application system, synchronizing the traceability information of the commodity to a block chain platform through the enterprise application system, and realizing the butt joint of an enterprise ERP system and the block chain platform; generating a traceability code corresponding to the commodity according to the traceability information of the commodity and the enterprise ERP system data; and scanning the traceability codes of the commodities to acquire all traceability information of the commodities, marking the commodities, and synchronously sending marking data to a block chain platform. The invention also discloses a commodity traceability system and a readable storage medium based on the block chain. The invention realizes the decentralization and authenticity of the commodity traceability data by utilizing the traceability and the unforgeability of the block chain technology, and a complete commodity traceability information chain is completed by both a consumer and an enterprise, thereby ensuring the transparency, the openness and the comprehensiveness of the commodity traceability information.

Description

Commodity tracing method and system based on block chain and readable storage medium
Technical Field
The invention relates to the field of computer network communication, in particular to a commodity tracing method and system based on a block chain and a readable storage medium.
Background
The establishment of a commodity traceability system is promoted to ensure the authenticity and quality safety of products, which are advocated and required by the government to enterprises in recent years, a real and reliable commodity traceability system can improve the conscious and normative production and quality level of the enterprises, and consumers can purchase traceable commodities more confidently. A regional traceability platform is built, a traceability system is built through industry consensus by using a block chain technology, and great promotion effects are provided for aspects of standardizing shop purchasing channels, expanding sales of merchants, protecting rights and interests of consumers, efficiently supervising governments and the like. Most of the existing commodity traceability systems adopt a centralized database mode, main bodies of the systems are used, commodity traceability link information is added to a centralized database through uploading link data, and consumers inquire commodities in a traceability link through accessing the centralized database. Most of the traditional commodity traceability systems use a centralized database mode or separate and isolate data. And the centralized data is easy to be maliciously damaged, the centralized data which is maintained in a benefit-related way is not credible, and the central system has the defects and weaknesses of opaque information, easy data tampering, poor safety, relative closure and the like. Therefore, how to organically combine the block chain technology and the product traceability system to create a brand-new multi-industry ecosystem and satisfy various traceable decentralized traceability systems is a technical difficulty and needs to be further improved and developed.
Disclosure of Invention
The invention mainly aims to provide a commodity traceability system based on a block chain, and aims to solve the technical problems of opaqueness, easiness in tampering and poor safety of the conventional commodity traceability system.
In order to achieve the above object, the present invention provides a commodity tracing method based on a block chain, which comprises the following steps:
an enterprise application system is built, the traceability information of the commodities is synchronized to the block chain platform through the enterprise application system, and the butt joint of an enterprise ERP system and the block chain platform is realized;
generating a traceability code corresponding to the commodity according to the traceability information of the commodity and the enterprise ERP system data;
and scanning the traceability codes of the commodities to acquire all traceability information of the commodities, marking the commodities, and synchronously sending marking data to a block chain platform.
Preferably, the constructing an enterprise application system comprises:
constructing a public enterprise application system and a private enterprise application system;
and the enterprise ERP system can be docked with the block chain platform only through the private enterprise application system.
Preferably, the step of synchronizing the traceability information of the goods to the blockchain platform through the enterprise application system and the step of realizing the docking between the enterprise ERP system and the blockchain platform includes:
writing the production information of the commodity and a production enterprise ERP system into a block chain platform through the enterprise application system;
and the enterprise application system creates a traceability ledger of the commodity on a block chain platform and associates the traceability ledger of the commodity with the traceability code of the commodity.
Preferably, the creating a commodity traceability ledger comprises:
writing an ERP system of an enterprise in the commodity circulation process into a node of the commodity source-tracing account book through the private enterprise application system;
and writing the commodity circulation information into the nodes of the commodity source-tracing account book through the enterprise application system.
Preferably, the step of scanning the traceability codes of the commodities to acquire all traceability information of the commodities, labeling the commodities, and synchronously sending labeling data to the block chain platform comprises:
marking the commodities according to the obtained traceability information of the commodities and user experience, and sending marking data to a block chain platform in real time;
and associating the marking data with the source tracing code of the commodity.
In addition, in order to achieve the above object, the present invention further provides a commodity traceability system based on a block chain, wherein the commodity traceability system comprises: an enterprise application system and an operation platform,
the enterprise application system is used for synchronously transmitting the traceability information of the commodities to the block chain platform and realizing the butt joint of the block chain platform of the enterprise ERP system;
the enterprise application system is also used for generating a tracing two-dimensional code of the commodity;
the operation platform is pre-established with a block chain platform and used for receiving the tracing information of the commodities sent by the enterprise application system;
the operation platform is also used for user registration login management and system data index display;
the operation platform is also used for providing an interface for commodity source tracing inquiry and receiving the labeling data of the commodities.
Preferably, the enterprise application system comprises:
the public enterprise application system is used for synchronously transmitting the traceability information of the commodity to the block chain platform and generating the traceability code of the commodity;
and the private enterprise application system is used for synchronously transmitting the traceability information of the commodities to the block chain platform and generating traceability codes of the commodities and is used for realizing the butt joint of the enterprise ERP system and the block chain platform.
Preferably, the operation platform comprises:
the panoramic display module is used for displaying the overall data index and the real-time data index of the system;
the basic management module is used for enterprise management, personal management and unified login management;
and the query statistic module is used for commodity traceability query, commodity traceability book query and associated code assignment query.
Preferably, the base management module includes:
and the unified registration management unit is used for distinguishing the public enterprise application system users from the private enterprise application system users.
In addition, in order to achieve the above object, the present invention further provides a computer-readable storage medium, where a commodity tracing program based on a blockchain is stored on the computer-readable storage medium, and when the commodity tracing program based on a blockchain is executed, the commodity tracing program based on a blockchain is executed by a processor to implement the steps of the commodity tracing method based on a blockchain as described above.
According to the method, an enterprise application system is built, traceability information of the commodity is synchronized to a block chain platform, an enterprise ERP system is in butt joint with the block chain platform, and a traceability code corresponding to the commodity is generated according to the traceability information of the commodity and data of the enterprise ERP system; and scanning the traceability codes of the commodities to acquire all traceability information of the commodities, marking the commodities, and synchronously sending marking data to a block chain platform. In addition, after the commodity traceability information is acquired by a consumer, the commodity is labeled, the interaction between the information of the merchant and the information of the consumer is realized, and a more complete commodity traceability chain is obtained.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a first embodiment of a block chain-based commodity tracing method according to the present invention;
FIG. 3 is a flowchart illustrating a commodity tracing method based on a blockchain according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a commodity tracing method based on a block chain according to a third embodiment of the present invention;
fig. 5 is a functional module diagram of a commodity traceability system based on a block chain according to a first embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: synchronizing the traceability information of the commodity to a block chain platform by constructing an enterprise application system, realizing the butt joint of an enterprise ERP system and the block chain platform, and generating a traceability code corresponding to the commodity according to the traceability information of the commodity and data of the enterprise ERP system; and scanning the traceability codes of the commodities to acquire all traceability information of the commodities, marking the commodities, and synchronously sending marking data to a block chain platform. The method comprises the following steps that a merchant realizes the butt joint with a block chain platform commodity traceability information and an enterprise ERP system through an enterprise application system, so that the real-time and accurate report of data of commodities in the production and circulation processes is realized, the data is written into the block chain platform, the decentralized storage of the commodity traceability data is realized, and the public trust of the traceability system is guaranteed; in addition, the method and the system also provide that the consumer marks the commodity after finishing the query of the commodity traceability information, and synchronizes the marking data to the block chain platform to obtain more complete commodity traceability circulation process data, so that the whole commodity traceability system is more complete, real and transparent and has public trust.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal structure of an execution terminal of a real-name registration method for an account according to an embodiment of the present invention.
The operation terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal architecture shown in fig. 1 is not intended to be limiting of the operational terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to FIG. 1, memory 1005, which is one type of computer storage medium in FIG. 1, may include an operating system, a network communication module, a user interface module, and programs. The operating system is a program for managing and controlling the commodity tracing method and device based on the block chain and software resources, and supports the operation of a network communication module, a user interface module, a real-name registration program of an account and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the product tracing system shown in fig. 1, the product tracing system calls a block chain-based product tracing program stored in a memory 1005 through a processor 1001, and executes the block chain-based product tracing method provided in the embodiment of the present invention.
Based on the hardware structure of the commodity tracing system, the embodiments of the commodity tracing method based on the block chain are provided.
The invention provides a commodity tracing method based on a block chain, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the invention.
In this embodiment, the commodity tracing method based on the blockchain includes:
step S10, an enterprise application system is constructed, the traceability information of the commodities is synchronized to the block chain platform through the enterprise application system, and the butt joint of the enterprise ERP system and the block chain platform is realized;
specifically, in this embodiment, the constructed enterprise application system includes a wechat applet and a web client, where the web client is configured to: the method realizes traceability ledger management, commodity management, coding management and link management, wherein the traceability ledger management realizes: tracing commodities, adding tracing links, associating codes, printing codes and the like; the method comprises the steps that creating traceable commodities mainly achieves creating traceable information, the operation is generally executed by a source enterprise of commodity circulation, and when the production of the commodities is finished and the commodities start to circulate in the market, a production enterprise creates traceable commodities; the adding traceability link realizes the function of adding a commodity circulation link, and the operation is generally executed by enterprises in the circulation process, such as logistics enterprises operating in a transportation link and storage enterprises operating in and out of a warehouse; the code assigning management realizes the function of printing or associating the two-dimension code, a selling enterprise or a personal retail store pastes the traceability two-dimension code on the commodity before selling, and a consumer can inquire the traceability information of the commodity by scanning the two-dimension code.
Further, data interfacing between the enterprise ERP system and the blockchain platform is realized on the constructed enterprise application system, and in this embodiment, the enterprise ERP system data includes, but is not limited to, data related to the traceable commodity, such as enterprise qualification, enterprise scale, production line of the commodity, and raw material source of the commodity.
Step S20, generating a traceability code corresponding to the commodity according to the traceability information of the commodity and the enterprise ERP system data;
specifically, in this embodiment, the traceability information of the product includes: commodity name, commodity quality inspection report, production date, production batch number, serial number, commodity shelf life, commodity raw materials, commodity raw material production place, raw material growth cycle and other commodity related data;
and associating the traceability information of the commodity with ERP system data of all related enterprises in the commodity production and circulation process to obtain the traceability code of the commodity.
And step S30, scanning the traceability codes of the commodities to obtain all traceability information of the commodities, labeling the commodities, and synchronously sending labeling data to a block chain platform.
Specifically, a consumer queries the traceability information of the commodity through a wechat scanning or other code scanning mode, wherein before the consumer queries the traceability information using the wechat, the wechat needs to pull user identity information such as a head portrait and a nickname of the user, the consumer views the complete circulation link information of the commodity through a wechat applet, and can directly query the traceability information and the basic traceability information of the commodity through the wechat scanning, in this embodiment, the traceability information of the commodity includes: the production information, the logistics information, the retail information, the warehousing information and the circulation information of the commodities; the basic traceability information of the produced commodity of the commodity comprises: tracing times, tracing scores, tracing commodity information and tracing marking information. Meanwhile, the consumer scores the traceability of the traceability commodity and marks the quality of the commodity according to the traceability result and the user experience of the commodity, the data are synchronously transmitted to the block chain platform, and the follow-up consumer inquires that the commodity traceability information comprises the marking data of the time.
In the embodiment, the traceability information of the goods and the enterprise ERP system are accessed to the block chain platform by constructing an enterprise application system; generating a source tracing code corresponding to the commodity according to the source tracing information of the commodity and the enterprise ERP system data; and scanning the traceability codes of the commodities to acquire all traceability information of the commodities, marking the commodities, and synchronously sending marking data to a block chain platform. The decentralization of the whole commodity traceability data and the reality and reliability of the whole commodity traceability process are realized, meanwhile, the consumers label the commodities, the whole commodity traceability information is more complete and real, and the commodity traceability information reliability is improved.
Further, referring to fig. 3, fig. 3 is a diagram illustrating a second embodiment of the commodity tracing method based on the blockchain according to the present invention based on the first embodiment.
Step S201, a public enterprise application system and a private enterprise application system are constructed;
and the enterprise ERP system can be docked with the block chain platform only through the private enterprise application system.
Specifically, the constructed enterprise application system comprises a public enterprise application system and a private enterprise application system, wherein the public enterprise application system is used for creating traceability information of commodities, adding traceability links of the commodities, displaying traceability information of the commodities and the like; the private enterprise application system is used for uploading the secret data to the block chain platform by an enterprise in the commodity production and circulation process. In addition, the enterprise can register an account in the public enterprise application system and can also register an account in the private enterprise application system, the account registered by the public enterprise application system does not have the login authority of the private enterprise application system, and certainly, the account of the private enterprise application system can only be logged in the private enterprise application system.
Step S202, writing the production information of the commodity and a production enterprise ERP system into a block chain platform through the enterprise application system;
specifically, in this embodiment, a manufacturing enterprise writes production information of a commodity into a blockchain platform through an enterprise application system, where the production information of the commodity includes raw materials of the commodity, a raw material production place, a raw material growth cycle, a commodity production line, a production date, a quality inspection report, a commodity shelf life, and a traceability code for producing the commodity in association with data of an ERP system of the manufacturing enterprise; the source code may be one object code or multiple object codes. The one-object-one-code means that each tracing code printed by the one-object-one-code is different, and the method is suitable for a batch of commodities with metering levels, such as a batch of notebooks. The multiple objects and one code mean that the tracing codes printed in batches are the same, and the method is suitable for non-metering bulk commodities such as rice and meat in bulk in supermarkets.
Step S203, the enterprise application system creates a traceability statement book of the commodity on a blockchain platform, and associates the traceability statement book of the commodity with the traceability code of the commodity.
Specifically, the enterprise application system creates a traceability book of the commodity on a block chain platform, and the traceability book of the commodity records traceability source information and commodity circulation information of the commodity; specifically, in the circulation process of the commodity, a merchant in each circulation link writes circulation information of the commodity into a node corresponding to a traceability statement of the commodity through an enterprise application system, and simultaneously, the merchant also writes an enterprise ERP system in the circulation process into the node corresponding to the traceability statement of the commodity through a private enterprise application system. The commodity circulation information referred to in this embodiment includes: logistics information, warehousing information and retail information of the commodities in the circulation process.
The embodiment provides a commodity traceability method based on a block chain, which is characterized in that a private enterprise application system is used for realizing the butt joint of an ERP (enterprise resource planning) system of an enterprise and a block chain platform, an enterprise application system is used for generating a traceability statement book of a commodity, traceability information is correspondingly written in the commodity traceability statement book and submitted to the ERP system of the enterprise in each circulation link of the commodity, and the traceability statement book of the commodity is associated with traceability codes of the commodity. Therefore, the reality and the transparency of the commodity traceability process are realized, the safety of enterprise ERP system data is ensured while the traceability data is not tamperproof, and the design requirements of the commodity traceability method are better met.
Still further, referring to fig. 4, fig. 4 is a block chain-based product tracing method according to a third embodiment of the present invention based on the first and second embodiments,
wherein the third embodiment comprises the steps of:
step S301, labeling the commodity according to the obtained tracing information of the commodity and user experience, and sending labeling data to a block chain platform in real time;
specifically, a consumer scans a traceability code of a commodity to obtain traceability information of the commodity and commodity-related information such as sales volume and traceability information query times of the commodity, the consumer evaluates the traceability result and commodity quality through visual user experience, and meanwhile, commodity-related data labeled by the consumer is synchronously transmitted to a block chain platform in real time.
Step S302, associating the annotation data with the source tracing code of the commodity;
specifically, in this embodiment, the consumer obtains the traceability information of the commodity and labels the commodity through code scanning, and the labeling data at this time is synchronously transmitted to the blockchain platform, so that the labeling data is stored in the traceability book of the commodity and is associated with the traceability code of the commodity, so that the subsequent firemen can obtain the labeling data of the commodity when performing traceability information query on the similar commodity.
In this embodiment, the commodity is labeled according to the traceability information of the commodity and the user experience, and the labeled data is sent to the block chain platform in real time; and associating the marking data with the source tracing code of the commodity. All information in the whole and real commodity tracing process is obtained, and the marking data of the consumer is associated to the tracing code of the commodity, so that the data in the whole commodity tracing process is more real and has public credibility.
In addition, the invention also provides a commodity traceability system based on the block chain.
Referring to fig. 5, fig. 5 is a schematic block diagram of a commodity traceability system based on a block chain according to the present invention.
In this embodiment, the commodity tracing system based on the blockchain includes:
the enterprise application system 20 is used for synchronously transmitting the traceability information of the commodities to the block chain platform and realizing the butt joint of the enterprise ERP system and the block chain platform 102;
the enterprise application system 20 is further configured to generate a source tracing code of the commodity;
the operation platform 10 is pre-established with a block chain platform 102, and is used for receiving commodity traceability information sent by the enterprise application system 20;
the operation platform 10 is also used for user registration login management and system data index display;
the operation platform 10 is further configured to improve a commodity source tracing query interface, and receive labeling data of a commodity;
specifically, the enterprise application system 20 is used for traceability ledger management, commodity management, coding management and link management, wherein the enterprise application system traceability ledger management includes: creating commodity tracing links, adding tracing links, associating codes and printing codes.
In addition, the blockchain platform 102 may be a customized development based on a Hyperridge fabric (Enterprise-level blockchain platform) open source project.
The enterprise application system 20 includes a public enterprise application system 201 and a private enterprise application system 202;
the public enterprise application system 201 is used for synchronously transmitting the traceability information of the commodity to the block chain platform 102;
the private enterprise application system 202 is configured to synchronously transmit the traceability information of the commodity to the blockchain platform 102 and interface the enterprise ERP system with the blockchain platform 102;
the operation platform 10 further includes a consumer terminal 101, a panorama display module 103, a basic management module 104, and an inquiry statistic module 105;
the consumer end 101 is configured to query the traceability information of the commodity and label the quality of the commodity, and synchronously transmit the label data to the block chain platform 102.
The panorama display module 103 is used for displaying various system data indexes in a graph mode,
specifically, the various system data indexes comprise overall indexes and real-time indexes; the integral index comprises the condition of the quantity of historical account book establishment; the adding quantity condition of the history traceability link, the distribution quantity condition of enterprise participation traceability types, the assigning quantity condition of history traceability codes and the like, wherein in the embodiment, the real-time indexes comprise: and (3) scanning the tracing accumulated quantity by the consumers on the same day, assigning a code quantity condition on the same day, newly adding the attention condition of the consumers on the same day, newly adding the consumption label quantity condition on the same day and the like.
The basic management module 104 is used for enterprise management, individual registration and unified login management;
specifically, the enterprise management mainly implements an enterprise registration function and an enterprise user authorization function, wherein the enterprise registration function implements enterprise registration information submission, and after the enterprise registration is successful, the enterprise user authorization function can be used to authorize the user in the current enterprise. The personal registration management mainly realizes the account registration of the public enterprise application system of the personal retailer or the supermarket, and after the registration is successful, the public enterprise application system can be directly logged in and the functions of the public enterprise application system can be used. The unified login management mainly distinguishes private enterprise application systems and public enterprise application system users, platform accounts registered through the public enterprise application systems cannot log in the private enterprise application systems, and do not have the use permission of the private enterprise application systems, platform accounts registered through the private enterprise application systems can log in at two ends, and the platform accounts have the use permission of the public enterprise application systems.
The query statistics module 105 is used for enterprise query, commodity query, account book query, source tracing query and code number assignment query
Specifically, in this embodiment, the query statistics module 105 is used for an enterprise query function, and mainly implements query statistics of an enterprise application system registered by an operation platform. The commodity query function mainly realizes the checking and counting of the operation platform on all the recorded commodities of the enterprise application system. The account book query function mainly realizes the check of the added commodity traceability link information of the enterprise application system by the operation platform. The source tracing inquiry function mainly realizes inquiry statistics of the operation platform on the source tracing records of the consumers. The code assigning query function mainly realizes query statistics of all code assigning operation records of the enterprise application system by the operation platform.
Specifically, the enterprise application system 20 includes a WeChat applet and a web server, and is used for enterprise application system source-tracing account book management, commodity management, code assignment management and link management. The enterprise application system traceability ledger management comprises commodity traceability creation, traceability addition, association code assignment and printing code assignment; the enterprise application system link management is used for recording link names of commodity circulation links and transmitting link data to the block chain platform 102; the enterprise application system commodity management is used for recording commodity data and transmitting the data to the block chain platform 102; the enterprise application system is used for creating a commodity source tracing, a first link of the commodity source tracing is generally created by a commodity manufacturer, and data is transmitted to the block chain platform 102; and the addition traceability link of the enterprise application system is used for adding new commodity circulation link information. Acquiring first commodity circulation link data created by tracing commodities created by an enterprise application system from the block chain platform 102 through an account book number or a user-defined number, modifying commodity circulation link information on the basis of the first commodity circulation link data, adding a new commodity circulation link, and transmitting the added circulation link data to the block chain platform 102; in addition, the code assigning management function of the enterprise application system 20 is configured to generate a source-tracing two-dimensional code association code and a printing association two-dimensional code, generate or print a unique association code, and provide the unique association code for the associated code assigning function of the enterprise application system 20;
the enterprise application system associated code assignment is used for associating the traceability two-dimensional code generated or printed by enterprise application system code assignment management with the book created by the enterprise application system book management function, data can be transmitted to the operation platform 10 after association is successful, and a consumer scans the associated two-dimensional code through the code scanning traceability query function of the WeChat applet and can directly query traceability circulation link information of a specified commodity.
And the enterprise application system prints the assigned codes and is used for quickly generating the traceability two-dimensional codes and associating the generated traceability two-dimensional codes with the specified account book. And querying the traceable account book information created by the enterprise application system traceable account book management function through the commodity bar code and the batch number, and selecting the printing type to complete the printing and coding function. After the printing is successful, the consumer can scan the associated two-dimensional code through the code scanning and tracing inquiry function of the WeChat applet and can directly inquire the tracing circulation link information of the specified commodity.
The WeChat applet is used for user authorization, platform account correlation and code scanning traceability query;
in particular, among others, the use of,
and the WeChat applet user authorization is used for consumer information recording. Before the user uses the micro messenger to use the invention, the user needs to pull the information such as the head portrait, the nickname and the like of the user and transmit the information of the consumer to the operation platform.
And the WeChat applet is associated with the platform account number and is used for associating the WeChat user with the user successfully registered in the basic management of the operation platform. The mobile phone numbers bound by the WeChat are directly associated, so that the user can modify the mobile phone numbers into account numbers corresponding to the platform user while authorizing to obtain the mobile phone numbers, and the purpose of associating accounts is achieved.
And the WeChat small program code scanning and source tracing inquiry is used for a consumer to check the complete circulation link information of the commodity. Through a WeChat scanning or a tracing two-dimensional code generated by scanning enterprise application system tracing account book management or WeChat applet code scanning tracing function, all commodity circulation link information of the commodity and basic tracing information of the account book can be directly inquired, wherein the tracing information comprises tracing times, tracing scoring, tracing commodity information and tracing marking information. The consumer can grade and label the source tracing at this time through the quality labeling function of the invention, and directly transmit the data to the operation platform and the block chain platform.
And the WeChat applet traceability link, the associated code assigning and the printing code assigning functions are consistent with the corresponding functions of the enterprise application system. And the WeChat applet associated code center has the same code assigning management function with the enterprise application system.
Further, the panoramic display module 103 in the operation platform 10 is used for account book management of an enterprise application system, code scanning and source tracing inquiry of a wechat applet and visual icon display of a consumer new situation, and main data of the panoramic display module is derived from a public enterprise application system 202;
further, based on the first embodiment of the commodity traceability system based on the block chain, a second embodiment of the commodity traceability system based on the block chain is provided;
in a second embodiment of the commodity traceability system based on the blockchain, the method includes:
when the printing code assigning operation is executed, different printing choices are provided for adapting to the business scene modes of different enterprises or individual merchants, so that the code assigning rate is improved;
in the embodiment, the method comprises the steps that the WeChat applet interacts with the printer and the enterprise application system interacts with the printer;
specifically, the WeChat applet interacts with the printer and is used for printing the code and the source tracing two-dimensional code by the associated code center. The WeChat applet in the embodiment transmits the printing data to a printing interface of the portable printer, searches and connects with the Bluetooth printing equipment through the Bluetooth API, self-checks the state of the Bluetooth printing equipment, and if the state of the Bluetooth printing equipment is normal, the WeChat applet sends the tracing two-dimensional code information to the Bluetooth printing equipment, and the Bluetooth printing equipment executes a printing task after receiving the tracing two-dimensional code;
and the printer interaction of the enterprise application system is used for assigning codes of the enterprise application system, managing and printing the assigning codes and printing the tracing two-dimensional codes. The enterprise application system firstly checks whether the printing drive is normally started or not, and if the printing drive is normally started, the source tracing two-dimensional code is firstly generated and connected with the printing drive. The connection is successful, the printing data of the tracing two-dimensional code is transmitted to the printing driver, and the printing driver calls the default printer connected with the current PC after receiving the tracing two-dimensional code data to finish the printing of the tracing two-dimensional code.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A commodity tracing method based on a block chain is characterized by comprising the following steps:
an enterprise application system is built, the traceability information of the commodities is synchronized to the block chain platform through the enterprise application system, and the butt joint of an enterprise ERP system and the block chain platform is realized;
generating a traceability code corresponding to the commodity according to the traceability information of the commodity and the enterprise ERP system data;
and scanning the traceability codes of the commodities to acquire all traceability information of the commodities, marking the commodities, and synchronously sending marking data to a block chain platform.
2. The commodity tracing method based on the blockchain according to claim 1, wherein the building of the enterprise application system comprises: constructing a public enterprise application system and a private enterprise application system;
and the enterprise ERP system can be docked with the block chain platform only through the private enterprise application system.
3. The method for tracing the commodity based on the blockchain according to claim 1, wherein the step of synchronizing the tracing information of the commodity to the blockchain platform through the enterprise application system and the step of interfacing the enterprise ERP system with the blockchain platform includes:
writing the production information of the commodity and a production enterprise ERP system into a block chain platform through the enterprise application system;
and the enterprise application system creates a traceability ledger of the commodity on a block chain platform and associates the traceability ledger of the commodity with the traceability code of the commodity.
4. The blockchain-based commodity traceability method of claim 3, wherein said creating a traceability ledger of said commodity on said enterprise application system comprises:
writing an ERP system of an enterprise in the commodity circulation process into a node of a source-tracing account book of the commodity through the private enterprise application system;
and writing the commodity circulation information into the nodes of the source-tracing account book of the commodity through the enterprise application system.
5. The method for tracing the commodity based on the blockchain according to claim 1, wherein the step of scanning the tracing code of the commodity to obtain all tracing information of the commodity, labeling the commodity, and synchronously sending labeling data to the blockchain platform comprises the steps of:
marking the commodities according to the obtained traceability information of the commodities and user experience, and sending marking data to a block chain platform in real time;
and associating the marking data with the source tracing code of the commodity.
6. A commodity traceability system based on a block chain is characterized by comprising: an enterprise application system and an operation platform, wherein,
the enterprise application system is used for synchronously transmitting the traceability information of the commodities to the block chain platform and realizing the butt joint of the enterprise ERP system and the block chain platform;
the enterprise application system is also used for generating a source tracing code of the commodity;
the operation platform is pre-established with a block chain platform and used for receiving the tracing information of the commodities sent by the enterprise application system;
the operation platform is also used for user registration login management and system data index display;
the operation platform is also used for providing an interface for commodity source tracing inquiry and receiving the labeling data of the commodities.
7. The blockchain-based commodity traceability system of claim 5, wherein the enterprise application system comprises:
the public enterprise application system is used for synchronously transmitting the traceability information of the commodity to the block chain platform and generating the traceability code of the commodity;
and the private enterprise application system is used for synchronously transmitting the traceability information of the commodities to the block chain platform and generating traceability codes of the commodities and is used for realizing the butt joint of the enterprise ERP system and the block chain platform.
8. The blockchain-based commodity traceability system of claim 5, wherein the operation platform comprises:
the panoramic display module is used for displaying the overall data index and the real-time data index of the system;
the basic management module is used for enterprise management, personal management and unified login management;
and the query statistic module is used for commodity traceability query, commodity traceability book query and associated code assignment query.
9. The blockchain-based commodity traceability system of claim 8, wherein the base management module comprises:
and the unified registration management unit is used for distinguishing the public enterprise application system users from the private enterprise application system users.
10. A computer-readable storage medium, wherein a commodity tracing program based on a blockchain is stored on the computer-readable storage medium, and the commodity tracing program based on a blockchain realizes the steps of the commodity tracing method based on a blockchain as recited in claims 1 to 5 when executed by a processor.
CN202011282455.9A 2020-11-16 2020-11-16 Commodity tracing method and system based on block chain and readable storage medium Pending CN112435039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011282455.9A CN112435039A (en) 2020-11-16 2020-11-16 Commodity tracing method and system based on block chain and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011282455.9A CN112435039A (en) 2020-11-16 2020-11-16 Commodity tracing method and system based on block chain and readable storage medium

Publications (1)

Publication Number Publication Date
CN112435039A true CN112435039A (en) 2021-03-02

Family

ID=74700239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011282455.9A Pending CN112435039A (en) 2020-11-16 2020-11-16 Commodity tracing method and system based on block chain and readable storage medium

Country Status (1)

Country Link
CN (1) CN112435039A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114023014A (en) * 2021-11-04 2022-02-08 苏州工业园区报关有限公司 Origin management information service platform based on block chain

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108428141A (en) * 2018-03-15 2018-08-21 华中农业大学 A kind of foodstuff traceability information management system based on ERP system Yu block chain
CN109325785A (en) * 2018-09-29 2019-02-12 中山大学 A kind of multi-model source tracing method based on alliance's chain
US20190370816A1 (en) * 2018-05-29 2019-12-05 Alibaba Group Holding Limited Blockchain-based merchandise tracing methods and apparatus
CN110675171A (en) * 2019-09-29 2020-01-10 匿名科技(重庆)集团有限公司 Anti-counterfeiting tracing method based on block chain
CN110992058A (en) * 2019-11-21 2020-04-10 山东爱城市网信息技术有限公司 Cosmetic tracing method, device and medium based on block chain
CN111047335A (en) * 2019-12-24 2020-04-21 天津理工大学 Article circulation system tracing method and system
CN111242650A (en) * 2020-02-28 2020-06-05 山东爱城市网信息技术有限公司 Mobile phone accessory tracing method based on block chain
CN111275449A (en) * 2018-11-16 2020-06-12 顺丰科技有限公司 Commodity tracing method and system
CN111427960A (en) * 2020-04-08 2020-07-17 成都波霎科技有限公司 Commodity traceability system based on block chain
CN111612479A (en) * 2020-05-14 2020-09-01 程烨 Fermented bean curd product quality management method and system
WO2021238063A1 (en) * 2020-05-26 2021-12-02 广东正迪科技股份有限公司 Blockchain-based product information dynamic management system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108428141A (en) * 2018-03-15 2018-08-21 华中农业大学 A kind of foodstuff traceability information management system based on ERP system Yu block chain
US20190370816A1 (en) * 2018-05-29 2019-12-05 Alibaba Group Holding Limited Blockchain-based merchandise tracing methods and apparatus
CN109325785A (en) * 2018-09-29 2019-02-12 中山大学 A kind of multi-model source tracing method based on alliance's chain
CN111275449A (en) * 2018-11-16 2020-06-12 顺丰科技有限公司 Commodity tracing method and system
CN110675171A (en) * 2019-09-29 2020-01-10 匿名科技(重庆)集团有限公司 Anti-counterfeiting tracing method based on block chain
CN110992058A (en) * 2019-11-21 2020-04-10 山东爱城市网信息技术有限公司 Cosmetic tracing method, device and medium based on block chain
CN111047335A (en) * 2019-12-24 2020-04-21 天津理工大学 Article circulation system tracing method and system
CN111242650A (en) * 2020-02-28 2020-06-05 山东爱城市网信息技术有限公司 Mobile phone accessory tracing method based on block chain
CN111427960A (en) * 2020-04-08 2020-07-17 成都波霎科技有限公司 Commodity traceability system based on block chain
CN111612479A (en) * 2020-05-14 2020-09-01 程烨 Fermented bean curd product quality management method and system
WO2021238063A1 (en) * 2020-05-26 2021-12-02 广东正迪科技股份有限公司 Blockchain-based product information dynamic management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114023014A (en) * 2021-11-04 2022-02-08 苏州工业园区报关有限公司 Origin management information service platform based on block chain

Similar Documents

Publication Publication Date Title
US11475176B2 (en) Method and system for automatically ordering and fulfilling architecture, design and construction product sample requests
US20160344740A1 (en) System and method for access and management of things over a communication network related thereto
US20150347888A1 (en) Systems, methods, and apparatuses for associating flexible internet based information with physical objects
US20120330707A1 (en) Web-based communication platform
US20130226699A1 (en) Methods and systems for improved customer relationship management
JP2018055499A (en) Information processing system, information processing unit, program, and report formation method
JP5494730B2 (en) Management server and information distribution system
US20140052578A1 (en) Promoter system and method for processing product and service data
CN106875170A (en) A kind of method and device for business processing of intermediate business system
JP6087452B1 (en) Paper document management system
US8190461B2 (en) Logically centralized scrap management using planning operations
KR101872933B1 (en) Production management system
CN106384255B (en) Method and device for creating information code popularization information
CN107632971A (en) Method and apparatus for generating multidimensional form
US20140172490A1 (en) System, method, and apparatus for managing and performing geographically distributed cell-based manufacturing and/or assembly
CN112435039A (en) Commodity tracing method and system based on block chain and readable storage medium
CN112465467A (en) Business cooperation method and device, computer equipment and storage medium
AU2014100210A4 (en) A method and system for assigning and customising hosted network resources
KR20210020360A (en) The online shopping mall platform connected with influencer site
US11126570B1 (en) System for providing an alternative control interface to specialty devices
US20170200237A1 (en) Manufacturing Accountability and Quality Assurance System and Method
US20200111135A1 (en) Marketing campaign collaboration system and method
US11848984B1 (en) System for providing remote interoperation between devices
JPH11195023A (en) System for generating leaflet, catalogue and the like
CN113706183A (en) Label authentication method, system, electronic device and storage medium

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