CN117593023B - Commodity tracing method, system, equipment and medium based on distributed network - Google Patents

Commodity tracing method, system, equipment and medium based on distributed network Download PDF

Info

Publication number
CN117593023B
CN117593023B CN202410068360.9A CN202410068360A CN117593023B CN 117593023 B CN117593023 B CN 117593023B CN 202410068360 A CN202410068360 A CN 202410068360A CN 117593023 B CN117593023 B CN 117593023B
Authority
CN
China
Prior art keywords
commodity
raw material
information
production
identification
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.)
Active
Application number
CN202410068360.9A
Other languages
Chinese (zh)
Other versions
CN117593023A (en
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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202410068360.9A priority Critical patent/CN117593023B/en
Publication of CN117593023A publication Critical patent/CN117593023A/en
Application granted granted Critical
Publication of CN117593023B publication Critical patent/CN117593023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a commodity tracing method, a commodity tracing system, commodity tracing equipment and commodity tracing media based on a distributed network, which belong to the technical field of decentralized industrial Internet, wherein a commodity production system generates at least one raw material purchase order aiming at a production order and respectively sends the raw material purchase order to each raw material management system, and the at least one raw material purchase order is recorded in the related information of the production order; uploading the association relationship between the raw material identification code of the target raw material and the equipment identification code of the target commodity production equipment to the related information of the production order; commodity production is carried out based on the target raw materials by using target commodity production equipment, commodity identification codes are generated, and commodity identification codes are respectively assigned to single commodities; and packaging the plurality of commodities into a packaging unit, associating the commodity identification codes of the plurality of commodities to generate the unit identification codes of the packaging unit, and uploading the association relation between the unit identification codes and the unit identification codes to the related information of the production order, so that distributed commodity traceability information can be formed based on the related information of the production order.

Description

Commodity tracing method, system, equipment and medium based on distributed network
Technical Field
The application relates to an industrial internet technology for decentralization, in particular to a commodity tracing method, a commodity tracing system, commodity tracing equipment and commodity tracing media based on a distributed network.
Background
Web3.0 is used to describe the potential next phase of the internet, a de-centralized internet running on top of blockchain technology. Web3.0 makes the internet more decentralised and safer by designing new technology protocols and building new infrastructure. The Web3.0 enables the information in the website to directly interact with other related information of the website, and the information of a plurality of websites can be integrated and used simultaneously through a third-party information platform; the user has own data on the Internet and can use the data on different websites; based on the world wide Web (Web), a browser can be used to implement system functions that can only be implemented by complex system programs.
With the progress and development of science and technology and the refinement of division, the types of goods circulated in the life of people are increasingly abundant, and links involved before the goods reach consumers are also increasingly more and more, for example, the raw material production, raw material purchase, goods production, logistics and the like are included, and problems occur in any link, so that the quality of the goods can be possibly influenced, and especially the goods with higher requirements on the quality of the raw materials, the production requirements, the quality guarantee period and the like, such as food, are more and more influenced; and, once any one presents a problem, similar problems may occur with the same lot of merchandise.
In the prior art, links involved before the commodity arrives at the consumer are respectively responsible by different enterprises, the data of each link responsible enterprise are mutually isolated, when the consumer finds that a certain purchased commodity has quality problems, the distributor only processes the commodity of the example with the quality problems, but cannot trace the source of the commodity, determine the links of the commodity with the quality problems and the commodities of the same batch possibly having similar quality problems.
Disclosure of Invention
The embodiment of the application provides a commodity tracing method, a commodity tracing system, commodity tracing equipment and commodity tracing media based on a distributed network, which are used for realizing data collection of a commodity production industry chain by utilizing a Web3.0 technology and are beneficial to realizing tracing of commodities.
In one aspect of the embodiment of the application, a commodity tracing method based on a distributed network is provided, which comprises the following steps:
in the raw material purchasing process, after a commodity producer logs in a commodity production system, creating a production order of a commodity in the commodity production system; wherein the manufacturer has registered on a blockchain, the production order comprising: commodity identification information, commodity number, raw material identification information of at least one raw material, and the number of various raw materials;
the commodity production system generates at least one raw material purchase order for the production order based on pre-configuration, records the at least one raw material purchase order in the related information of the production order, and sends each raw material purchase order to a raw material management system of each raw material supplier respectively; wherein each raw material supplier is registered on the blockchain, and each raw material purchase order is used for correspondingly purchasing one raw material;
In the commodity production link, a first identification scanning device associated with the commodity production system is utilized to scan a raw material identification code of a target raw material currently used for commodity production and a device identification code of target commodity production equipment, and the association relationship between the raw material identification code of the target raw material and the device identification code of the target commodity production equipment is uploaded to relevant information of the production order; the target raw materials are produced by each raw material supplier based on corresponding raw material purchase orders, and the raw material identification codes are generated by identification generating equipment registered on a blockchain based on the raw material identification and production information of the target raw materials and the production date;
commodity production is carried out by utilizing the target commodity production equipment based on the target raw materials, commodity identification codes are generated by utilizing commodity coding equipment registered on a blockchain based on production information and production date of commodities, and the commodity identification codes are respectively given to single produced commodities;
In the commodity packaging link, when a plurality of commodities are packaged into a packaging unit, the commodity identification codes of the plurality of commodities are associated, a unit identification code of the packaging unit is generated, and the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code is uploaded to the related information of the production order;
And forming distributed commodity traceability information based on the related information of the production order.
Optionally, in any method embodiment of the present application, after sending each raw material purchase order to the raw material management system of each raw material supplier, the method further includes:
And in the raw material production link, raw material production is carried out based on corresponding raw material purchase orders, and in the production process of corresponding raw materials, the identification generating equipment is utilized to generate the raw material identification codes of the corresponding raw materials based on the raw material identification and production information of the corresponding raw materials, and the raw material identification codes are given to the corresponding raw materials.
Optionally, in any method embodiment of the present application, after generating the raw material identifier code of the corresponding raw material and assigning the raw material identifier code to the corresponding raw material, the method further includes:
In a raw material delivery and transportation link, carrying out corresponding raw material delivery, and correlating corresponding raw material purchase orders, raw material identification codes of corresponding raw materials and first logistics information in a raw material management system to obtain first correlation information; wherein the first logistics information comprises: carrier information, vehicle information, driver information, and shipping time;
forming distributed commodity traceability information based on the related information of the production order, including:
and forming distributed commodity traceability information based on the related information of the production order and the first related information.
Optionally, in any method embodiment of the present application, after the corresponding raw material shipment is performed, the method further includes:
in a raw material warehousing link, when each raw material is warehoused by a manufacturer, raw material warehousing information of the warehoused raw material is recorded in relevant information of a corresponding raw material purchase order in the commodity production system, and the raw material warehousing information comprises a raw material identification code and second stream information of the warehoused raw material; wherein the second stream information includes: carrier information, vehicle information, driver information, and warehouse entry time;
forming distributed commodity traceability information based on the related information of the production order, including:
and forming distributed commodity traceability information based on the related information of the production order, the related information of the raw material purchase order and the first related information.
Optionally, in any method embodiment of the present application, creating a production order of the commodity in the commodity production system includes:
In a commodity ordering link, according to the real-time production and marketing state of commodities and commodity purchase orders sent by a dealer through a commodity ordering system, creating production orders of the commodities in the commodity production system, and recording the commodity purchase orders in related information of the production orders;
After the commodity packaging link, the method further comprises the following steps:
In the commodity delivery and transportation link, generating an invoice according to the commodity purchase order in the commodity production system;
Based on the packaging unit number in the commodity purchase order, scanning a unit identification code of a packaging unit of the packaging unit number by using a second identification scanning device associated with the commodity production system to carry out commodity shipment, and associating the commodity purchase order, the unit identification code of the packaging unit number and third logistics information in the commodity production system to obtain third association information; wherein the third stream information comprises: carrier information, vehicle information, driver information, and shipping time;
in a commodity warehousing link, a third identification scanning device associated with the commodity ordering system is utilized to select the commodity purchase order, then the unit identification codes of the packaging units of the packaging unit number are scanned, commodity warehousing information of warehoused commodities is recorded in relevant information of the commodity purchase order in the commodity ordering system, and the commodity warehousing information comprises the unit identification codes of the warehoused commodities and fourth logistics information; wherein the fourth logistics information comprises: carrier information, vehicle information, driver information, and warehouse entry time;
forming distributed commodity traceability information based on the related information of the production order, including:
And forming distributed commodity traceability information based on the related information of the production order, the related information of the raw material purchase order, the first related information, the third related information and the fourth logistics information.
Optionally, in any method embodiment of the present application, after the unit identifier code of the packaging unit number is scanned for commodity shipment, the method further includes:
the commodity production system pushes the third associated information to the commodity ordering system;
The commodity ordering system records the third associated information in the related information of the commodity purchase order;
In the commodity warehousing link, after the unit identification code of the packaging unit number of the packaging unit is scanned after the commodity purchase order is selected by using a third identification scanning device associated to the commodity ordering system, the method further comprises the following steps:
Uploading the scanned unit identification code and the fourth logistics information to the commodity ordering system;
the commodity ordering system compares the scanned unit identification code with the fourth logistics information and judges whether the scanned unit identification code is matched with the third association information;
And if the commodity information is matched with the commodity information, automatically confirming the receiving commodity, and executing the operation of recording commodity warehousing information of the warehoused commodity in the related information of the commodity purchase order in the commodity ordering system.
Optionally, in any method embodiment of the present application, after forming distributed commodity traceability information based on the related information of the production order, the method further includes:
in the commodity circulation consumption link, a user scans commodity identification codes on commodities through a consumer terminal and sends a query request;
And the commodity production system acquires the tracing information corresponding to the commodity identification code in the inquiry request and returns the tracing information to the consumer terminal.
In one aspect of the embodiment of the present application, there is provided a commodity tracing system based on a distributed network, including:
The commodity production system is used for receiving a production order of a commodity created after a commodity producer logs in the commodity production system in a raw material purchasing link; wherein the manufacturer has registered on a blockchain, the production order comprising: commodity identification information, commodity number, raw material identification information of at least one raw material, and the number of various raw materials; generating at least one raw material purchase order for the production order based on the pre-configuration, recording the at least one raw material purchase order in the related information of the production order, and respectively sending each raw material purchase order to a raw material management system of each raw material supplier; wherein each raw material supplier is registered on the blockchain, and each raw material purchase order is used for correspondingly purchasing one raw material;
The first identification scanning device is associated with the commodity production system and is used for scanning a raw material identification code of a target raw material currently used for commodity production and a device identification code of target commodity production equipment in a commodity production link, and uploading an association relationship between the raw material identification code of the target raw material and the device identification code of the target commodity production equipment to related information of the production order; the target raw materials are produced by each raw material supplier based on corresponding raw material purchase orders, and the raw material identification codes are generated by identification generating equipment registered on a blockchain based on the raw material identification and production information of the target raw materials and the production date;
a target commodity production apparatus for producing commodity based on the target raw material;
The commodity coding device is used for generating commodity identification codes based on the production information and the production date of the commodity by utilizing the commodity coding device registered on the blockchain, and respectively giving the commodity identification codes to single-piece commodities produced by the target commodity production device;
the commodity packaging equipment is used for respectively packaging a plurality of commodities into a packaging unit in a commodity packaging link;
the unit coding device is used for associating the commodity identification codes of the plurality of commodities when the commodity packaging device packages the plurality of commodities into a packaging unit, generating a unit identification code of the packaging unit, and uploading the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code to the related information of the production order;
and the traceability information forming device is used for forming distributed commodity traceability information based on the related information of the production order.
In still another aspect of the embodiment of the present application, there is provided an electronic device including:
A memory for storing a computer program product;
a processor for executing the computer program product stored in the memory, and when the computer program product is executed, implementing the method according to any of the embodiments of the application.
In yet another aspect of embodiments of the present application, a computer-readable storage medium is provided, on which computer program instructions are stored, which, when executed by a processor, implement a method according to any of the embodiments of the present application.
The embodiment of the application provides an implementation scheme for forming commodity traceability information based on a distributed network based on a Web3.0 technology, wherein in a raw material purchasing process, after a commodity producer logs in a commodity production system, a commodity production order is created in the commodity production system, the commodity production system generates at least one raw material purchasing order for the production order based on pre-configuration, at least one raw material purchasing order is recorded in relevant information of the production order, and each raw material purchasing order is respectively sent to a raw material management system of each raw material provider; in the commodity production link, a first identification scanning device associated with a commodity production system is utilized to scan a raw material identification code of a target raw material currently used for commodity production and a device identification code of target commodity production equipment, the association relationship between the raw material identification code of the target raw material and the device identification code of the target commodity production equipment is uploaded to relevant information of a production order, commodity production is carried out by utilizing the target commodity production equipment based on the target raw material, commodity identification codes are generated by utilizing commodity coding equipment registered on a blockchain based on production information and production date of the commodity, and commodity identification codes are respectively assigned to single produced commodities; in the commodity packaging link, when a plurality of commodities are packaged into a packaging unit, the commodity identification codes of the plurality of commodities are associated, a unit identification code of the packaging unit is generated, and the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code is uploaded to the related information of a production order; thus, distributed commodity traceability information is formed based on the related information of the production order. Therefore, the Web3.0 technology is utilized to realize data collection of the whole industrial chain of commodity production from raw material purchase, raw material production, commodity production and commodity packaging, and form distributed commodity traceability information, when quality problems occur to a certain commodity, commodity traceability can be realized based on the commodity traceability information, and links of rapidly and accurately determining the quality problems of the commodity and the commodities in the same batch, which are likely to have similar quality problems, are facilitated.
The technical scheme of the application is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The application may be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of one embodiment of a distributed network-based commodity tracing method of the present application;
FIG. 2 is a flow chart of another embodiment of a distributed network-based commodity tracing method according to the present application;
FIG. 3 is a flow chart of yet another embodiment of a distributed network-based commodity tracing method according to the present application;
FIG. 4 is a schematic diagram of a distributed network-based commodity tracing system according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another embodiment of a distributed network-based commodity tracing system according to the present application;
fig. 6 is a schematic structural diagram of an application embodiment of the electronic device of the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present application are used merely to distinguish between different steps, devices or modules, etc., and do not represent any particular technical meaning nor necessarily logical order between them.
It should also be understood that in embodiments of the present application, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in an embodiment of the application may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in the present application is merely an association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In the present application, the character "/" generally indicates that the front and rear related objects are an or relationship.
It should also be understood that the description of the embodiments of the present application emphasizes the differences between the embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the application are operational with numerous other general purpose or special purpose computing system environments or configurations with electronic devices, such as terminal devices, computer systems, servers, etc. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the foregoing, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
Fig. 1 is a flowchart of an embodiment of a commodity tracing method based on a distributed network according to the present application. As shown in fig. 1, the commodity tracing method based on the distributed network of this embodiment includes:
102, in the raw material purchasing process, after the commodity producer logs in the commodity production system, creating a production order of the commodity in the commodity production system.
Wherein the manufacturer is registered on a blockchain (blockchain) as an enterprise user. The block chain is a distributed account book technology based on a point-to-point network, each Node (Node) in the block chain network has the same complete data, and the nodes realize the data consistency on the chain of each Node through a consensus mechanism. Nodes in a blockchain network, commonly referred to as computing devices in the blockchain network, that is, any computing device connected to the blockchain network (including cell phones, servers, etc.) are referred to as nodes, wherein the nodes may be used to store, run, validate, etc. blockdata in the blockchain network.
Production orders therein may include, for example, but are not limited to: the product Identification (ID) information, the number of products, the raw material identification information of at least one raw material, and the number of various raw materials, and in addition, may further include information such as creation date of a production order, and enterprise identification of the manufacturer, which is not limited in the embodiment of the present application. The commodity identifier is used for uniquely identifying a commodity, and may include, but is not limited to, information about commodity name, type, specification and the like. The stock identification is used to uniquely identify a stock, and may include, for example, but not limited to, information on the name of the stock, the type of the stock, the specification, etc.
The commodity in the embodiment of the application can be any field and any kind of product, for example, can be food, beverage, various office supplies, electronic products and the like, and the field, the type and the like of the commodity are not limited by the embodiment of the application.
Based on this operation 102, the commodity production system may generate a production order from a creation instruction of a commodity producer, or may generate a production order from a sent commodity purchase order sent by other nodes of the commodity production system that are in communication in the distributed network, which embodiments of the present application are not limited in this respect.
In the embodiment of the application, each production order is created in the commodity production system, and the relevant information template of the production order can be automatically generated according to the system configuration, and the relevant information template can comprise a plurality of information input interfaces for inputting or uploading corresponding item information, wherein the corresponding item information such as raw material purchase orders, raw material identification codes, equipment identification codes, commodity identification codes, unit identification codes and other information needing to be recorded can be added or deleted according to the needs, and the embodiment of the application is not limited to the information input interfaces included in the relevant information template and the information needing to be recorded correspondingly.
104, The commodity production system generates at least one raw material purchase order for the production order based on the pre-configuration, records the at least one raw material purchase order in the related information of the production order, and sends each raw material purchase order to the raw material management system of each raw material supplier respectively.
Wherein each raw material supplier has registered on the blockchain, each raw material purchase order is for a corresponding purchase of one raw material, and each raw material purchase order may include, for example, but not limited to, raw material identification information of the raw material, quantity, date of generation of the raw material purchase order, and the like.
Based on the operation 104, the at least one raw material purchase order is recorded in the relevant information of the production order, enabling an information correlation between the production order and the raw material purchase order.
In the operation 104, the web3.0 technology is utilized, so that the commodity production system can directly interact with the raw material management system of each raw material supplier, thereby realizing the integrated use of the information of the producer and the raw material suppliers.
106, In the commodity production link, scanning the raw material identification code of the target raw material currently used for commodity production and the equipment identification code of the target commodity production equipment by using a first identification scanning equipment associated with the commodity production system, and uploading the association relationship between the raw material identification code of the target raw material and the equipment identification code of the target commodity production equipment to the related information of the production order.
The target raw materials refer to raw materials currently used for commodity production, and comprise at least one raw material, wherein the target raw materials are produced by each raw material supplier based on corresponding raw material purchase orders. The raw material identification code is generated by an identification generating device that has been registered on the blockchain based on the raw material identification and production information of the target raw material, and the production date. The same manufacturer may have a plurality of production lines, each of which may have a plurality of commodity production apparatuses, the target commodity production apparatus referring to the commodity production apparatus currently used for commodity production.
The identifier scanning device in the embodiment of the present application may include, but is not limited to, a Palm DIGITAL ASSISTANT (PDA), a mobile phone terminal, and the like, which is not limited to the embodiment of the present application.
Based on this operation 106, the association between the raw material identification code of the target raw material and the device identification code of the target commodity production device is uploaded into the relevant information of the production order, and the association between the commodity, the raw material, and the production device is achieved.
108, Commodity production is carried out based on the target raw materials by using target commodity production equipment, commodity identification codes are generated based on production information and production date of the commodities by using commodity coding equipment registered on a blockchain, and the commodity identification codes are respectively assigned to the produced single commodities.
The commodity identification codes can comprise production information and production date of commodities, the commodity identification codes can be two-dimensional codes or bar codes and the like, each commodity identification code is used for uniquely identifying one commodity, and commodity identification codes of different commodities are different. The production information of the commodity may include, for example, but is not limited to, any one or more of the following in a preset format: a manufacturer (i.e., manufacturer) identification of the commodity, production equipment information, production lot, raw material information, manufacturing process information, and the like. The manufacturer identification is used to uniquely identify a business, and may be, for example, a business name, an organization code, etc.
The commodity coding equipment can be communicated with the identification registration analysis system, and can generate commodity identification codes based on the production information of commodities input by a manufacturer and the current production date acquired by automatic networking, and correspondingly store the commodity identification codes, the production information and the production date in the identification registration analysis system; or the commodity coding device can also send the production information of the commodity input by the manufacturer and the current production date acquired by automatic networking to the identification registration analysis system, so that the identification registration analysis system is requested to generate a corresponding commodity identification code, and the subsequent identification registration analysis system can analyze the commodity identification code according to the analysis request sent by the user for the commodity identification code to obtain the corresponding production information and production date.
110, In the commodity packaging link, when a plurality of commodities are packaged into a packaging unit, the commodity identification codes of the plurality of commodities are associated, a unit identification code of the packaging unit is generated, and the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code is uploaded to the related information of the production order.
For example, in a specific implementation example, the commodity identification codes of the multiple commodities may be spliced sequentially by using preset characters (for example-) to obtain a unit identification code of a packaging unit.
Based on the operation 110, a unit identification code of a packaging unit is generated by associating the commodity identification codes of the plurality of commodities, and the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code is uploaded to the related information of the production order, so that the association between a single commodity and the commodity packaged as a packaging unit in the same batch produced by adopting batch raw materials and production equipment is realized.
And 112, forming distributed commodity traceability information based on the related information of the production order.
Based on the embodiment, an implementation scheme for forming commodity traceability information based on a distributed network based on a Web3.0 technology is provided, after a commodity producer logs in a commodity production system in a raw material purchasing link, a commodity production order is created in the commodity production system, the commodity production system generates at least one raw material purchasing order for the production order based on pre-configuration, at least one raw material purchasing order is recorded in relevant information of the production order, and each raw material purchasing order is respectively sent to a raw material management system of each raw material provider; in the commodity production link, a first identification scanning device associated with a commodity production system is utilized to scan a raw material identification code of a target raw material currently used for commodity production and a device identification code of target commodity production equipment, the association relationship between the raw material identification code of the target raw material and the device identification code of the target commodity production equipment is uploaded to relevant information of a production order, commodity production is carried out by utilizing the target commodity production equipment based on the target raw material, commodity identification codes are generated by utilizing commodity coding equipment registered on a blockchain based on production information and production date of the commodity, and commodity identification codes are respectively assigned to single produced commodities; in the commodity packaging link, when a plurality of commodities are packaged into a packaging unit, the commodity identification codes of the plurality of commodities are associated, a unit identification code of the packaging unit is generated, and the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code is uploaded to the related information of a production order; thus, distributed commodity traceability information is formed based on the related information of the production order. Therefore, the Web3.0 technology is utilized, the data island is broken, the resource sharing and information coordination among different enterprises are realized, the data collection of the whole industrial chain from raw material purchasing, raw material production, commodity production and commodity packaging is realized, the distributed commodity tracing information is formed, when a certain commodity has a quality problem, the commodity tracing can be realized based on the commodity tracing information, and the links of the commodity with the quality problem and the commodities with the same batch and similar quality problems possibly can be rapidly and accurately determined.
Fig. 2 is a flowchart of another embodiment of a commodity tracing method based on a distributed network according to the present application. As shown in fig. 2, following operation 104, on the basis of the embodiment shown in fig. 1, it may further include:
202, in the raw material production process, each raw material supplier may perform raw material production based on a corresponding raw material purchase order by using a raw material production device, and in the production process of the corresponding raw material, generate a raw material identification code of the corresponding raw material based on the raw material identification and production information of the corresponding raw material by using an identification generation device, and assign the raw material identification code to the corresponding raw material.
The raw material identification code may include a raw material identification code of a raw material and production information, the raw material identification code may be a two-dimensional code or a bar code, etc., and the production information of the raw material may include, for example, but not limited to, any one or more of the following in a preset format: the manufacturing enterprise identification of the raw materials, production equipment information, production batch, production date, raw material information, manufacturing process information, and the like. The manufacturer identification is used to uniquely identify a business, and may be, for example, a business name, an organization code, etc.
When the production information of the raw materials comprises production dates, the commodity identification codes also carry the production dates of the commodities, so that the tracing of the dates of all links of the commodities can be realized based on commodity tracing information, and especially, commodities with higher requirements on quality guarantee period such as food, beverage and the like with higher quality guarantee period requirements can be effectively prevented from flowing into the market based on the tracing information, and the quality supervision of the commodities is facilitated.
The identification generating equipment can be communicated with the identification registration analysis system, can generate a raw material identification code based on raw material identification and production information input by a raw material production enterprise, and correspondingly stores the raw material identification and the production information in the identification registration analysis system; or the identifier generating device can also send the raw material identifier and the production information input by the production enterprise to the identifier registration analysis system, and request the identifier registration analysis system to generate a corresponding raw material identifier code, and the subsequent identifier registration analysis system can analyze the raw material identifier code according to an analysis request sent by a user for the raw material identifier code to obtain the corresponding raw material identifier and the corresponding production information.
Optionally, referring back to fig. 2, after operation 202, it may further include:
204, in the raw material delivery and transportation link, each raw material supplier performs corresponding raw material delivery, and correlates the corresponding raw material purchase order, the raw material identification code of the corresponding raw material and the first logistics information in the raw material management system to obtain first correlation information.
Wherein the first logistics information may include, for example, but is not limited to: carrier information, vehicle information, driver information, shipping time, etc. for the corresponding stock.
Based on this operation 204, the corresponding raw material purchase order, the raw material identification code of the corresponding raw material, and the first logistics information are correlated in the raw material management system, thereby achieving the correlation of the raw material purchase order, the raw material identification code, and the logistics information.
Accordingly, in operation 112, distributed commodity traceability information is formed specifically based on the related information of the production order and the first related information, so that information association of commodity from raw material purchase, raw material production, raw material logistics, commodity production, commodity packaging and full production chain of the same unit packaged commodity is realized.
Optionally, referring back to fig. 2, after operation 204, it may further include:
206, in the raw material warehousing link, when each raw material is warehoused by a manufacturer, raw material warehousing information of the warehoused raw material is recorded in relevant information of a corresponding raw material purchase order in a commodity production system, and the raw material warehousing information comprises a raw material identification code and second stream information of the warehoused raw material.
The second stream information may include, for example, but is not limited to: carrier information, vehicle information, driver information, and warehouse time of warehouse-in raw materials, etc.
Accordingly, in operation 112, distributed commodity traceability information is formed specifically based on the related information of the production order, the related information of the raw material purchase order, and the first related information, so that information association of the commodity from raw material purchase, raw material production, raw material flow, raw material warehouse entry, commodity production, commodity packaging, and a whole production chain of the unit packaged commodity is realized.
Fig. 3 is a flowchart of a commodity tracing method based on a distributed network according to another embodiment of the present application. As shown in fig. 3, based on the embodiment shown in fig. 2, the operation 102 may include:
1022, in the commodity ordering link, according to the real-time production and sales state of the commodity and the commodity purchase order sent by the dealer through the commodity ordering system, creating a production order of the commodity in the commodity production system, and recording the commodity purchase order in the related information of the production order. The dealer is registered on the blockchain, and can submit a commodity purchase order through the commodity ordering system after logging in the commodity ordering system.
Accordingly, after the commodity encapsulation step of operation 110, it may further include:
302, in the commodity delivery and transportation link, an invoice is generated in the commodity production system according to the commodity purchase order.
304, Based on the number of packaging units in the commodity purchase order, scanning the unit identification codes of the packaging units in the number of packaging units by using a second identification scanning device associated with the commodity production system to carry out commodity shipment, and associating the commodity purchase order, the unit identification codes of the packaging units in the number of packaging units and third logistics information in the commodity production system to obtain third association information.
Wherein the third stream information may include, for example, but is not limited to: carrier information for shipping goods, vehicle information, driver information, shipping time, and the like.
306, In the commodity warehousing link, using a third identification scanning device associated with the commodity purchasing system, scanning the unit identification codes of the packaging units of the packaging unit number after selecting the commodity purchasing order, and recording commodity warehousing information of the warehoused commodity in the related information of the commodity purchasing order in the commodity purchasing system, wherein the commodity warehousing information comprises the unit identification codes of the warehoused commodity and fourth logistics information.
Wherein the fourth logistics information may include, for example, but is not limited to: carrier information, vehicle information, driver information, and time of warehousing the merchandise;
Accordingly, in operation 112, distributed commodity traceability information is formed specifically based on the related information of the production order, the related information of the raw material purchase order, the first related information, the third related information and the fourth logistics information, so that information association of the commodity from raw material purchase, raw material production, raw material flow, raw material warehouse entry, commodity production, commodity packaging, same-unit packaged commodity, commodity logistics and dealer commodity warehouse entry all-industry chains is realized.
Optionally, after operation 304, on the basis of the embodiment shown in fig. 3, the method may further include: the commodity production system pushes the third associated information to a commodity ordering system; the merchandise ordering system records the third associated information in the associated information of the merchandise purchase order.
Accordingly, in operation 306, in the commodity warehouse-in link, after the unit identifier code of the packaging unit number is scanned after the commodity purchase order is selected by using the third identifier scanning device associated with the commodity ordering system, the scanned unit identifier code and the fourth stream information may be uploaded to the commodity ordering system, and the commodity ordering system compares whether the scanned unit identifier code and the fourth stream information are matched with the third associated information; if the commodity purchase order is matched with the commodity purchase order, the receiving commodity can be automatically confirmed, and commodity storage information of the stored commodity is recorded in the related information of the commodity purchase order in the commodity ordering system.
The scanned unit identification code and the fourth logistics information are matched with the third association information, that is, the scanned unit identification code is the same as the unit identification code in the third association information, the fourth logistics information carrier information, the vehicle information and the driver information are consistent with the carrier information, the vehicle information and the driver information in the third association information, the warehousing time in the fourth logistics information is later than the shipping time in the third association information, and the time difference between the fourth logistics information and the third association information is in a reasonable time range, wherein the reasonable time range can be comprehensively considered and set according to factors such as the distance between the place where the manufacturer is located and the place where the dealer is located, the vehicle speed and the like, and can be changed according to actual demands.
In the embodiment of the application, a distributed network architecture is built based on a blockchain technology, each commodity production system registered by each producer on the blockchain can be used as an enterprise node of each producer in the distributed network, each raw material management system registered by each raw material supplier on the blockchain can be used as an enterprise node of each raw material supplier in the distributed network, each commodity ordering system registered by each distributor on the blockchain can be used as an enterprise node of each distributor in the distributed network, each enterprise node in the distributed network respectively has a respective node identifier, the node identifiers of each enterprise node can adopt corresponding enterprise identifiers or enterprise identifiers to combine other information, and each enterprise node can be interconnected and intercommunicated based on the node identifiers, so that data collection, resource sharing and information coordination in the distributed network are realized. Intelligent contracts are deployed in each enterprise node in the distributed network, and the network can be traced by executing the intelligent contracts and configured consensus algorithm and membership service.
Optionally, after forming the distributed commodity tracing information according to any one of the embodiments of the present application, the method further includes:
in the commodity circulation consumption link, a user scans commodity identification codes on commodities through a consumer terminal (such as a mobile phone terminal and the like) to send a query request, wherein the query request comprises the commodity identification codes to be queried; and the commodity production system acquires the tracing information corresponding to the commodity identification code in the inquiry request and returns the tracing information to the consumer terminal. In a specific implementation, the commodity production system can acquire all information related to the commodity identification code to be queried from the commodity production system, the raw material management system of each raw material supplier and the commodity ordering system of each distributor, and the information is used as the tracing information of the commodity corresponding to the commodity identification code to be queried and returned to the consumer terminal.
Therefore, the method realizes tracing of the information of the whole industrial chain of the commodity by utilizing the Web3.0 technology.
In addition, in the embodiment of the application, as each identifier generating device, commodity coding device, unit coding device and identifier scanning device have completed registration on the blockchain, the use of counterfeit devices to generate identifier codes can be prevented by the blockchain technology, and the objectivity, safety and reliability of the identifier codes are further improved.
Any of the commodity tracing methods based on the distributed network provided by the embodiments of the present application may be executed by any suitable device having data processing capability, including, but not limited to: terminal equipment, servers, etc. Or any commodity tracing method based on the distributed network provided by the embodiment of the present application may be executed by a processor, for example, the processor executes any commodity tracing method based on the distributed network mentioned by the embodiment of the present application by calling corresponding instructions stored in a memory. And will not be described in detail below.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
The embodiment of the application also provides a commodity tracing system based on the distributed network, which can be used for realizing the commodity tracing method embodiments based on the distributed network.
Fig. 4 is a schematic structural diagram of an embodiment of a commodity tracing system based on a distributed network according to the present application. As shown in fig. 4, the commodity tracing system based on the distributed network includes: the system comprises a commodity production system, a first identification scanning device, a target commodity production device, a commodity coding device, a commodity packaging device, a unit coding device and a tracing information forming device.
The commodity production system is used for receiving a production order of a commodity created after a commodity producer logs in the commodity production system in a raw material purchasing link, the producer is registered on a blockchain, and the production order can comprise: commodity identification information, commodity number, raw material identification information of at least one raw material, and the number of various raw materials; based on the pre-configuration, at least one raw material purchase order is generated for the production order, the at least one raw material purchase order is recorded in the related information of the production order, each raw material purchase order is respectively sent to a raw material management system of each raw material supplier, each raw material supplier is registered on a blockchain, and each raw material purchase order is used for correspondingly purchasing one raw material.
And the first identification scanning device is associated with the commodity production system and is used for scanning a raw material identification code of a target raw material currently used for commodity production and an equipment identification code of the target commodity production device in a commodity production link, and uploading an association relationship between the raw material identification code of the target raw material and the equipment identification code of the target commodity production device to related information of the production order, wherein the target raw material is produced by each raw material supplier based on the corresponding raw material purchase order, and the raw material identification code is generated by an identification generating device registered on a blockchain based on raw material identification and production information of the target raw material and production date.
And target commodity production equipment for commodity production based on the target raw material.
And the commodity coding device is used for generating commodity identification codes based on the production information and the production date of the commodity by utilizing the commodity coding device registered on the blockchain and respectively giving the commodity identification codes to the single commodity produced by the target commodity production device.
And the commodity packaging equipment is used for respectively packaging a plurality of commodities into a packaging unit in a commodity packaging link.
And the unit coding device is used for associating the commodity identification codes of the plurality of commodities to generate a unit identification code of a packaging unit when the commodity packaging device packages the plurality of commodities into a packaging unit, and uploading the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code to the related information of the production order.
And the traceability information forming device is used for forming distributed commodity traceability information based on the related information of the production order.
Fig. 5 is a schematic structural diagram of another embodiment of the commodity tracing system based on the distributed network according to the present application. As shown in fig. 5, the commodity tracing system based on the distributed network may further include, based on the embodiment shown in fig. 4:
And the mark generation device is used for generating a raw material mark code of the corresponding raw material based on the raw material mark and production information of the corresponding raw material and endowing the corresponding raw material with the raw material mark code in the production process of the corresponding raw material by each raw material supplier based on the corresponding raw material purchase order respectively in the raw material production link.
Optionally, referring back to fig. 5, in yet another embodiment, the distributed network-based commodity tracing system may further include: and the raw material management system of each raw material supplier is used for carrying out corresponding raw material delivery in a raw material delivery transportation link, correlating a corresponding raw material purchase order, a raw material identification code of a corresponding raw material and first logistics information according to input information to obtain first correlation information, wherein the first logistics information can comprise: carrier information, vehicle information, driver information, shipping time, and the like. Correspondingly, in this embodiment, the traceability information forming device specifically forms distributed commodity traceability information based on the related information and the first related information of the production order.
Optionally, in another embodiment, the commodity production system may be further configured to record, in a raw material warehousing link, raw material warehousing information of the warehousing raw materials in relevant information of the corresponding raw material purchase order according to the input information when each raw material is warehoused by the manufacturer, including a raw material identification code and second stream information of the warehousing raw materials; wherein the second stream information may include: carrier information, vehicle information, driver information, and time of warehouse entry, etc. Accordingly, in this embodiment, the traceability information forming device specifically forms distributed commodity traceability information based on the related information of the production order, the related information of the raw material purchase order, and the first related information.
Optionally, in yet another embodiment, the commodity production system is further configured to, in a commodity ordering link, create a production order of the commodity according to a real-time production and sales state of the commodity and a commodity purchase order sent by a dealer through the commodity ordering system, and record the commodity purchase order in related information of the production order; in the commodity delivery and transportation link, generating an invoice according to the commodity purchase order. Accordingly, referring again to fig. 5, in this embodiment, it may further include: the second identification scanning device, the third identification scanning device and the commodity ordering system of the dealer.
The second identifier scanning device is associated to the commodity production system, and is configured to scan a unit identifier code of a packaging unit of the packaging unit number based on the packaging unit number in the commodity purchase order to perform commodity shipment, and associate the commodity purchase order, the unit identifier code of the packaging unit number, and third stream information in the commodity production system to obtain third associated information, where the third stream information may include: carrier information, vehicle information, driver information, shipping time, and the like.
The third identification scanning device is associated with the commodity ordering system, scans the unit identification codes of the packaging units of the packaging unit number after selecting the commodity purchase order in the commodity warehousing link, and records commodity warehousing information of the warehoused commodity in the related information of the commodity purchase order in the commodity ordering system, wherein the commodity warehousing information comprises the unit identification codes of the warehoused commodity and fourth logistics information, and the fourth logistics information can comprise: carrier information, vehicle information, driver information, and time of warehouse entry, etc.
Correspondingly, in this embodiment, the traceability information forming device specifically forms distributed commodity traceability information based on the related information of the production order, the related information of the raw material purchase order, the first related information, the third related information and the fourth logistics information.
Optionally, in a further embodiment, the commodity production system is further configured to push the third association information to a commodity ordering system. Accordingly, the commodity ordering system records third associated information in the related information of the commodity purchase order. The third identification scanning device is specifically used for scanning unit identification codes of packaging units of the number of packaging units after a commodity purchase order is selected in a commodity warehousing link, and uploading the scanned unit identification codes and the fourth logistics information to a commodity ordering system so that the commodity ordering system can compare whether the scanned unit identification codes and the fourth logistics information are matched with third association information or not; if the commodity purchase order is matched with the commodity purchase order, automatically confirming the receiving commodity, and recording commodity storage information of the storage commodity in the related information of the commodity purchase order in the commodity ordering system.
Optionally, in the commodity tracing system based on the distributed network according to any embodiment of the present application, a consumer terminal (not shown in the figure) may be further included, and the consumer terminal is configured to scan a commodity identification code on a commodity according to a user instruction to send a query request in a commodity circulation consumption link. Correspondingly, in this embodiment, the commodity production system is further configured to obtain the tracing information corresponding to the commodity identifier code in the query request, and return the tracing information to the consumer terminal.
The commodity tracing system based on the distributed network in the embodiment of the application corresponds to the commodity tracing method based on the distributed network in the embodiment of the application, and the related contents can be referred to each other and are not repeated here. The beneficial technical effects corresponding to the commodity tracing system based on the distributed network in the embodiment of the present application can be referred to the corresponding beneficial technical effects of the corresponding exemplary method part, and are not described herein.
In addition, the embodiment of the application also provides electronic equipment, which comprises:
A memory for storing a computer program product;
And the processor is used for executing the computer program product stored in the memory, and when the computer program product is executed, the commodity tracing method based on the distributed network according to any embodiment of the application is realized.
Fig. 6 is a schematic structural diagram of an application embodiment of the electronic device of the present application. Next, an electronic device according to an embodiment of the present application is described with reference to fig. 6. The electronic device may be either or both of the first device and the second device, or a stand-alone device independent thereof, which may communicate with the first device and the second device to receive the acquired input signals therefrom.
As shown in fig. 6, the electronic device includes one or more processors and memory.
The processor may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device to perform the desired functions.
The memory may store one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or nonvolatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program products may be stored on the computer readable storage medium that can be run by a processor to implement the distributed network-based commodity tracing method and/or other desired functions of the various embodiments of the present application described above.
In one example, the electronic device may further include: input devices and output devices, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown).
In addition, the input device may include, for example, a keyboard, a mouse, and the like.
The output device may output various information including the determined distance information, direction information, etc., to the outside. The output device may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device that are relevant to the present application are shown in fig. 6 for simplicity, components such as buses, input/output interfaces, etc. being omitted. In addition, the electronic device may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the application may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in a distributed network-based commodity tracing method according to the various embodiments of the application described in the foregoing sections of this specification.
The computer program product may write program code for performing operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium, having stored thereon computer program instructions, which when executed by a processor, cause the processor to perform the steps in a distributed network-based commodity tracing method according to various embodiments of the present application described in the above section of the present specification.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present application have been described above in connection with specific embodiments, but it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are merely examples and not intended to be limiting, and these advantages, benefits, effects, etc. are not to be construed as necessarily possessed by the various embodiments of the application. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, as the application is not necessarily limited to practice with the above described specific details.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The block diagrams of the devices, apparatuses, devices, systems referred to in the present application are only illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
The method and system of the present application may be implemented in a number of ways. For example, the methods and systems of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present application may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present application. Thus, the present application also covers a recording medium storing a program for executing the method according to the present application.
It is also noted that in the apparatus, devices and methods of the present application, the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the application to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (10)

1. A commodity tracing method based on a distributed network is characterized by comprising the following steps:
in the raw material purchasing process, after a commodity producer logs in a commodity production system, creating a production order of a commodity in the commodity production system; wherein the manufacturer has registered on a blockchain, the production order comprising: commodity identification information, commodity number, raw material identification information of at least one raw material, and the number of various raw materials;
the commodity production system generates at least one raw material purchase order for the production order based on pre-configuration, records the at least one raw material purchase order in the related information of the production order, and sends each raw material purchase order to a raw material management system of each raw material supplier respectively; wherein each raw material supplier is registered on the blockchain, and each raw material purchase order is used for correspondingly purchasing one raw material;
In the commodity production link, a first identification scanning device associated with the commodity production system is utilized to scan a raw material identification code of a target raw material currently used for commodity production and a device identification code of target commodity production equipment, and the association relationship between the raw material identification code of the target raw material and the device identification code of the target commodity production equipment is uploaded to relevant information of the production order; the target raw materials are produced by each raw material supplier based on corresponding raw material purchase orders, and the raw material identification codes are generated by identification generating equipment registered on a blockchain based on the raw material identification and production information of the target raw materials and the production date;
commodity production is carried out by utilizing the target commodity production equipment based on the target raw materials, commodity identification codes are generated by utilizing commodity coding equipment registered on a blockchain based on production information and production date of commodities, and the commodity identification codes are respectively given to single produced commodities;
In the commodity packaging link, when a plurality of commodities are packaged into a packaging unit, the commodity identification codes of the plurality of commodities are associated, a unit identification code of the packaging unit is generated, and the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code is uploaded to the related information of the production order;
And forming distributed commodity traceability information based on the related information of the production order.
2. The method of claim 1, further comprising, after each raw material purchase order is sent to the raw material management system of each raw material supplier, respectively:
And in the raw material production link, raw material production is carried out based on corresponding raw material purchase orders, and in the production process of corresponding raw materials, the identification generating equipment is utilized to generate the raw material identification codes of the corresponding raw materials based on the raw material identification and production information of the corresponding raw materials, and the raw material identification codes are given to the corresponding raw materials.
3. The method of claim 2, further comprising, after generating the feedstock identification code for the corresponding feedstock and assigning the feedstock identification code to the corresponding feedstock:
In a raw material delivery and transportation link, carrying out corresponding raw material delivery, and correlating corresponding raw material purchase orders, raw material identification codes of corresponding raw materials and first logistics information in a raw material management system to obtain first correlation information; wherein the first logistics information comprises: carrier information, vehicle information, driver information, and shipping time;
forming distributed commodity traceability information based on the related information of the production order, including:
and forming distributed commodity traceability information based on the related information of the production order and the first related information.
4. The method of claim 3, further comprising, after the corresponding raw material shipment:
in a raw material warehousing link, when each raw material is warehoused by a manufacturer, raw material warehousing information of the warehoused raw material is recorded in relevant information of a corresponding raw material purchase order in the commodity production system, and the raw material warehousing information comprises a raw material identification code and second stream information of the warehoused raw material; wherein the second stream information includes: carrier information, vehicle information, driver information, and warehouse entry time;
forming distributed commodity traceability information based on the related information of the production order, including:
and forming distributed commodity traceability information based on the related information of the production order, the related information of the raw material purchase order and the first related information.
5. The method of claim 4, wherein creating a production order for an item in the item production system comprises:
In a commodity ordering link, according to the real-time production and marketing state of commodities and commodity purchase orders sent by a dealer through a commodity ordering system, creating production orders of the commodities in the commodity production system, and recording the commodity purchase orders in related information of the production orders;
After the commodity packaging link, the method further comprises the following steps:
In the commodity delivery and transportation link, generating an invoice according to the commodity purchase order in the commodity production system;
Based on the packaging unit number in the commodity purchase order, scanning a unit identification code of a packaging unit of the packaging unit number by using a second identification scanning device associated with the commodity production system to carry out commodity shipment, and associating the commodity purchase order, the unit identification code of the packaging unit number and third logistics information in the commodity production system to obtain third association information; wherein the third stream information comprises: carrier information, vehicle information, driver information, and shipping time;
in a commodity warehousing link, a third identification scanning device associated with the commodity ordering system is utilized to select the commodity purchase order, then the unit identification codes of the packaging units of the packaging unit number are scanned, commodity warehousing information of warehoused commodities is recorded in relevant information of the commodity purchase order in the commodity ordering system, and the commodity warehousing information comprises the unit identification codes of the warehoused commodities and fourth logistics information; wherein the fourth logistics information comprises: carrier information, vehicle information, driver information, and warehouse entry time;
forming distributed commodity traceability information based on the related information of the production order, including:
And forming distributed commodity traceability information based on the related information of the production order, the related information of the raw material purchase order, the first related information, the third related information and the fourth logistics information.
6. The method of claim 5, further comprising, after scanning the unit identification code of the packaging unit number for shipment of the commodity:
the commodity production system pushes the third associated information to the commodity ordering system;
The commodity ordering system records the third associated information in the related information of the commodity purchase order;
In the commodity warehousing link, after the unit identification code of the packaging unit number of the packaging unit is scanned after the commodity purchase order is selected by using a third identification scanning device associated to the commodity ordering system, the method further comprises the following steps:
Uploading the scanned unit identification code and the fourth logistics information to the commodity ordering system;
the commodity ordering system compares the scanned unit identification code with the fourth logistics information and judges whether the scanned unit identification code is matched with the third association information;
And if the commodity information is matched with the commodity information, automatically confirming the receiving commodity, and executing the operation of recording commodity warehousing information of the warehoused commodity in the related information of the commodity purchase order in the commodity ordering system.
7. The method of any of claims 1-6, further comprising, after forming distributed commodity traceability information based on the information related to the production order:
in the commodity circulation consumption link, a user scans commodity identification codes on commodities through a consumer terminal and sends a query request;
And the commodity production system acquires the tracing information corresponding to the commodity identification code in the inquiry request and returns the tracing information to the consumer terminal.
8. A distributed network-based commodity traceability system, comprising:
The commodity production system is used for receiving a production order of a commodity created after a commodity producer logs in the commodity production system in a raw material purchasing link; wherein the manufacturer has registered on a blockchain, the production order comprising: commodity identification information, commodity number, raw material identification information of at least one raw material, and the number of various raw materials; generating at least one raw material purchase order for the production order based on the pre-configuration, recording the at least one raw material purchase order in the related information of the production order, and respectively sending each raw material purchase order to a raw material management system of each raw material supplier; wherein each raw material supplier is registered on the blockchain, and each raw material purchase order is used for correspondingly purchasing one raw material;
The first identification scanning device is associated with the commodity production system and is used for scanning a raw material identification code of a target raw material currently used for commodity production and a device identification code of target commodity production equipment in a commodity production link, and uploading an association relationship between the raw material identification code of the target raw material and the device identification code of the target commodity production equipment to related information of the production order; the target raw materials are produced by each raw material supplier based on corresponding raw material purchase orders, and the raw material identification codes are generated by identification generating equipment registered on a blockchain based on the raw material identification and production information of the target raw materials and the production date;
a target commodity production apparatus for producing commodity based on the target raw material;
The commodity coding device is used for generating commodity identification codes based on the production information and the production date of the commodity by utilizing the commodity coding device registered on the blockchain, and respectively giving the commodity identification codes to single-piece commodities produced by the target commodity production device;
the commodity packaging equipment is used for respectively packaging a plurality of commodities into a packaging unit in a commodity packaging link;
the unit coding device is used for associating the commodity identification codes of the plurality of commodities when the commodity packaging device packages the plurality of commodities into a packaging unit, generating a unit identification code of the packaging unit, and uploading the association relationship between the commodity identification codes of the plurality of commodities and the unit identification code to the related information of the production order;
and the traceability information forming device is used for forming distributed commodity traceability information based on the related information of the production order.
9. An electronic device, comprising:
A memory for storing a computer program product;
A processor for executing a computer program product stored in said memory, which, when executed, implements the method of any of the preceding claims 1-7.
10. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of the preceding claims 1-7.
CN202410068360.9A 2024-01-17 2024-01-17 Commodity tracing method, system, equipment and medium based on distributed network Active CN117593023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410068360.9A CN117593023B (en) 2024-01-17 2024-01-17 Commodity tracing method, system, equipment and medium based on distributed network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410068360.9A CN117593023B (en) 2024-01-17 2024-01-17 Commodity tracing method, system, equipment and medium based on distributed network

Publications (2)

Publication Number Publication Date
CN117593023A CN117593023A (en) 2024-02-23
CN117593023B true CN117593023B (en) 2024-05-10

Family

ID=89913651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410068360.9A Active CN117593023B (en) 2024-01-17 2024-01-17 Commodity tracing method, system, equipment and medium based on distributed network

Country Status (1)

Country Link
CN (1) CN117593023B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319998A (en) * 2018-02-02 2018-07-24 江苏融昱药业有限公司 A kind of product traceability system
CN109146514A (en) * 2018-07-27 2019-01-04 程烨 Livestock products is traced to the source information recording method, device, equipment and storage medium
CN109523349A (en) * 2018-10-28 2019-03-26 北京工业大学 A kind of agricultural product electric business platform traced to the source based on block chain and implementation method
CN112287025A (en) * 2020-10-28 2021-01-29 河北科技师范学院 Wine product whole life process tracing and supervision method and system based on block chain
CN115641182A (en) * 2022-08-22 2023-01-24 东莞盟大集团有限公司 Commodity production monitoring method and node based on block chain technology and adopting identification analysis
WO2023020491A1 (en) * 2021-08-19 2023-02-23 西门子(中国)有限公司 Product traceability management method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319998A (en) * 2018-02-02 2018-07-24 江苏融昱药业有限公司 A kind of product traceability system
CN109146514A (en) * 2018-07-27 2019-01-04 程烨 Livestock products is traced to the source information recording method, device, equipment and storage medium
CN109523349A (en) * 2018-10-28 2019-03-26 北京工业大学 A kind of agricultural product electric business platform traced to the source based on block chain and implementation method
CN112287025A (en) * 2020-10-28 2021-01-29 河北科技师范学院 Wine product whole life process tracing and supervision method and system based on block chain
WO2023020491A1 (en) * 2021-08-19 2023-02-23 西门子(中国)有限公司 Product traceability management method and system
CN115641182A (en) * 2022-08-22 2023-01-24 东莞盟大集团有限公司 Commodity production monitoring method and node based on block chain technology and adopting identification analysis

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冷链物流公共信息服务平台中物品编码标识设计原则;张秋霞;;中国自动识别技术;20180615(第03期);56-63 *
基于区块链的农产品溯源系统;张延华;杨兆鑫;杨睿哲;金凯;林波;司鹏搏;;情报工程;20180615(第03期);5-14 *

Also Published As

Publication number Publication date
CN117593023A (en) 2024-02-23

Similar Documents

Publication Publication Date Title
Kärkkäinen et al. Intelligent products—a step towards a more effective project delivery chain
US7797203B2 (en) Collaborative product taxonomy instantiation
US11328237B2 (en) End-to-end commodity and commodity marking tracking
Gharaei et al. Modeling and optimization the four-level integrated supply chain: sequential quadratic programming
CN113888064B (en) Product quality tracing method, device and equipment in food and beverage industry
CN103886444A (en) Provenance-oriented agricultural capital invoicing system
CN116402446B (en) Cargo management method, device, medium and electronic equipment
Cupek et al. Knowledge integration via the fusion of the data models used in automotive production systems
CN111597777A (en) Material data processing method and device and electronic equipment
CN108648064A (en) The method and apparatus of the quick restocking of product information
Brüel Grönberg et al. E-commerce packaging as an embedded resource in three network settings
WO2022007593A1 (en) E-commerce platform shop-opening method and apparatus based on robot process automation
Chinnaraj et al. A new methodology for secured inventory management by average fitness‐based colliding bodies optimization integrated with block chain under cloud
CN104376472A (en) Cross-website shopping server and cross-website online shopping realization method
CN117593023B (en) Commodity tracing method, system, equipment and medium based on distributed network
Ramezani et al. Big data, small data, and getting products right first time
CN115545617A (en) ERP e-commerce order inventory management method, device, equipment and readable storage medium
CN116228257A (en) Method and device for acquiring article traceability data, computer equipment and storage medium
JP6480376B2 (en) Industry application standard data processing program
Tröger et al. Design options for supply chain visibility services: Learnings from three EPCIS implementations
CN115222256A (en) Supply chain management method and device, electronic equipment and readable storage medium
Zheng et al. Editorial notes: Industrial Internet-of-Things (IIoT)-enabled digital servitisation
Ahmad et al. Real-Time Information Flow Across the Supply Chain—An Overview
CN109767115B (en) Service management method, device, computer equipment and readable storage medium
CN112785186A (en) Product model, and method and device for analyzing product model identification

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
GR01 Patent grant
GR01 Patent grant