CN110728511A - Commodity transaction method and system based on block chain - Google Patents

Commodity transaction method and system based on block chain Download PDF

Info

Publication number
CN110728511A
CN110728511A CN201810686253.7A CN201810686253A CN110728511A CN 110728511 A CN110728511 A CN 110728511A CN 201810686253 A CN201810686253 A CN 201810686253A CN 110728511 A CN110728511 A CN 110728511A
Authority
CN
China
Prior art keywords
transaction
product
manager
manufacturer
channel
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.)
Granted
Application number
CN201810686253.7A
Other languages
Chinese (zh)
Other versions
CN110728511B (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.)
Benchainless Technology Shenzhen Co ltd
Original Assignee
Xiamen Instinct Blockchain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Instinct Blockchain Technology Co ltd filed Critical Xiamen Instinct Blockchain Technology Co ltd
Priority to CN201810686253.7A priority Critical patent/CN110728511B/en
Publication of CN110728511A publication Critical patent/CN110728511A/en
Application granted granted Critical
Publication of CN110728511B publication Critical patent/CN110728511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q30/0185Product, service or business identity fraud
    • 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]
    • 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

Abstract

The invention discloses a commodity transaction management method based on a block chain, which comprises the steps of issuing a product, selling the product and transferring the product, wherein the issuing of the product comprises manufacturer information input, manufacturing code generation, production data input and finished product issuing, the selling of the product comprises generation of a channel provider identification number, strategy information input and application of sales information input, and the product transferring comprises product issuing information input and finished product transferring, and also discloses a commodity transaction management system based on the block chain, which comprises a product issuing module, a product selling module and a product transferring module, wherein the product issuing module comprises a manufacturer information input sub-module, a manufacturing code generation sub-module, a production data input sub-module and a finished product issuing sub-module, the product selling module comprises a channel provider identification number generation sub-module, a strategy information input sub-module and an application of sales information input sub-module, the product transfer module comprises a product release information input sub-module and is used for completing product transfer.

Description

Commodity transaction method and system based on block chain
Technical Field
The invention relates to the field of block chains, in particular to a commodity transaction management method and system based on a block chain.
Background
In addition to the rapid advance of product sales, the widespread application of electronic commerce also brings the sweepness of counterfeit and inferior products, especially in the second-hand market, and even after the goods in the second-hand market are renewed in one-hand market, the phenomenon is particularly serious in the retail industry of electronic products. In order to solve the problem, many merchants provide services for verifying authenticity and inquiring the number of times of use, but due to frequent hacker events, bad merchants directly copy websites for verifying authenticity, directly buy database administrators or other personnel to modify the number of times of use of inquiry, and the services for relieving counterfeiting and faking become services which cause consumers to lose confidence. More bad merchants use the characteristic that the second merchant serves as a second hand by using four or five hands, and the first merchant serves as a first product by using defective products, returned products and second products; therefore, the problem that the product can be effectively traced back, the number of times of product hand turning is really recorded in the second-hand market, and the situation that the product is controlled and tampered by a bad merchant to be urgently needed to be solved is solved.
Disclosure of Invention
The invention aims to provide a commodity transaction method and a commodity transaction system based on a block chain.
In order to solve the technical problems, the technical solution of the invention is as follows:
a commodity transaction management method based on a block chain is characterized by comprising the following steps:
(1) issuing products, specifically including:
(1.1) manufacturer information entry: the manufacturer generates a pair of keys on the blockchain through the account manager, retains a private key, fills in manufacturer information through the product producer, converts the information into blockchain transactions, and attaches a digital certificate of the manufacturer as an attachment to the blockchain transactions, then the manufacturer signs the transactions through the transaction manager using the private key and submits the transactions to the blockchain, the blockchain checks whether the transactions contain the signature through the transaction manager, the blockchain checks whether the transactions contain a name, whether the credit codes match the digital certificate through the product producer, and whether the credit codes are used by others, the transaction manager discards the transactions when any of the check items are passed, accepts the transactions when all the check items are passed, if the transactions are received, the blockchain types the transactions into blocks through the blockchain through the blockswager, generating a unique serial number of a manufacturer, and repeating the steps to complete more manufacturer information input;
(1.2) production code generation: the manufacturer obtains the unique number generated in the step (1.1) through the product producer, generates a special private key of a manufacturing link based on the unique number, fills out manufacturing link information including codes, converts the manufacturing link information into blockchain transaction, signs the transaction through a transaction manager by using the private key, submits the transaction to a blockchain, then the blockchain checks whether the manufacturer code is used through the product producer, discards the transaction if the manufacturer code is used, receives the transaction if the manufacturer code is not used, types the transaction into a block through a blockforge device through the blockchain, generates the unique code of the manufacturing link, and simultaneously creates the unique number for the product if the link is the first link of manufacturing, and repeats the steps to generate more manufacturing codes;
(1.3) production data entry: the manufacturer obtains the unique code of the manufacturing link generated in the step (1.2) through the product producer and implants the code into the production equipment, the production equipment generates production data by using a production data management module and converts the production data into blockchain transaction, then the production equipment signs the transaction by using the private key generated in the step (1.2) through the transaction manager and sends the signed transaction to a blockchain, the blockchain checks whether the transaction is signed or not through the transaction manager, then the product producer checks whether the signature is matched with the manufacturer, the transaction manager discards the transaction when any item of the check items is failed, the transaction is accepted when all checks are passed, if the transaction is received, the blockchain injects the transaction into a block through a block forging device, if the link is the last one of the manufacturing, the product producer adds the product stock in a product stock warehouse of the manufacturer, the product producer repeats the steps to submit data of more manufacturing links to the block chain, when the data recording of all the manufacturing links is finished, the production data recording of one product is finished, and the product producer repeats all the steps to record more production data;
(1.4) completing product release: the manufacturer acquires the product unique number created in the step (1.2) through the product producer, registers product release information through the product circulation manager, wherein the product release information comprises input of product name, product type, product serial number, selection of participating channel provider, selection of channel provider authority, selection of channel circulation strategy and the like, the registered product release information is converted into blockchain transaction, the manufacturer signs the transaction through the transaction manager by using a private key of the manufacturer and sends the transaction to a blockchain, the blockchain checks the transaction signature through the transaction manager, the product circulation manager checks whether the product serial number is repeated or not, the transaction manager discards the transaction when any item of the check items is not passed, the transaction is accepted when all the check items are passed, if the transaction is accepted, the blockchain injects the transaction into a block through the block forging device, the product circulation manager freezes the product stock in a manufacturer product warehouse, repeats the steps to release more products, and finally completes the product release;
(2) the selling product specifically comprises:
(2.1) generating a channel identifier: the channel manager creates a key on the block chain through the sales channel manager, keeps a private key and fills in information of the channel, wherein the information comprises a name, a credit code, a digital certificate, a participation range and the like, the sales channel manager converts the filled information into block chain transaction, the channel manager uses the private key of the channel manager to sign the transaction and submits the transaction to the block chain, then the block chain checks whether the name is used or not through the sales channel manager and whether the credit code is used or not through the block chain, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, and if the transaction is received, the block chain types the transaction into a block through the block forging device and generates a unique identification number of the channel;
(2.2) policy information entry: the channel trader fills in the strategic information through the sale channel manager, and converts the information into the block chain transaction, then the channel trader uses the secret key of the channel trader to sign the transaction through the transaction manager, and then submits the transaction to the block chain, the block chain checks whether the channel trader uses the channel code through the sale channel manager, if the channel code is used, the transaction manager discards the transaction, if the channel code is not used, the transaction is accepted, and the transaction is typed into the block through the block forge device;
(2.3) applying for sales information entry: the distributor fills in information of applying for selling products such as product numbers, strategy numbers and the like through the selling channel manager, converts the applying information into blockchain transaction, uses a private key of the distributor to sign the transaction, the distributor sends the signed transaction to the manufacturer through the transaction manager, if the distributor is the manufacturer, the transaction is not required to be sent, the manufacturer carries out approval through the selling channel manager according to business requirements after receiving the transaction, when the approval is refused, the transaction manager discards the transaction, if the approval is passed, the manufacturer signs the application through the private key of the manufacturer, then the manufacturer submits the transaction to a blockchain through the selling channel manager, the blockchain checks whether the transaction has the signature of the manufacturer and the channel manager through the selling channel manager, and whether the product indicated by the transaction is the product of the manufacturer, and whether the strategy number of the trading post is the number of the channel trader or not, the trading manager discards the trading when any item of the check items is passed, the trading is accepted when all the check items are passed, if the trading is accepted, the block chain inputs the trading into the block through the block forging device, and the channel trader obtains the selling right of the product after the flow is completed;
(3) the product transfer specifically comprises:
(3.1) product release information input: the participator registers the product release information through the product circulation manager, including inputting the product name, the product type, the product serial number, selecting the participation channel provider, selecting the channel provider authority, selecting the channel circulation strategy and the like, and the product release information is converted into blockchain transaction, the participant signs the transaction by using the private key of the participant through the transaction manager, the transaction is sent to the blockchain, the blockchain checks whether the transaction signature and the product serial number are repeated through the product circulation manager, when any item of the check item is failed, discarding the transaction, accepting the transaction when all the checks pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, freezing the product stock in a participant product warehouse by a product circulation manager, and repeating the steps to input more product release information;
(3.2) completing product transfer: the other participants obtain the product release information in step (3.1) through the product circulation manager, when the participants want to buy the product, the product circulation manager fills in the order based on the release information, the order comprises the product number, the release information number and the like, then the purchaser converts the order into the block chain transaction through the product circulation manager, the transaction manager signs the transaction by using the private key of the purchaser, the signed transaction is sent to the block chain, the block chain checks the signature information of the transaction through the transaction manager, the financial manager checks whether the balance of the purchaser is sufficient, the product circulation manager checks whether the product exists and the latest attribution of the product is a product publisher, the block chain unfreezes the product through the product circulation manager, the product owner is converted into the purchaser, the block chain checks the balance of the purchaser through the financial manager according to the transaction rate policy, And calculating the income of each participant through the commission strategy, paying the account amount of each participant, and sequentially paying the account amount of each participant according to the allocation strategy, discarding the transaction by the transaction manager when any item fails, receiving the transaction when all items pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, and repeating the steps to continue transferring more products.
Further, the manufacturer information in the step (1.1) comprises full names, credit codes and the like.
Further, the manufacturing link information in the step (1.2) further includes a name, a data template, whether it is the first link, and the like.
Further, the policy information in step (2.2) includes a name, a code, a selling price, a rate, a commission, a point, and the like.
A commodity transaction management system based on a block chain is characterized by comprising a product issuing module, a product selling module and a product transferring module, wherein the product issuing module further comprises a manufacturer information input sub-module, a manufacturing code generation sub-module, a production data input sub-module and a product issuing completion sub-module;
the work flow of the manufacturer information entry submodule is as follows: the manufacturer generates a pair of keys on the blockchain through the account manager, retains a private key, fills in manufacturer information through the product producer, converts the information into blockchain transactions, and attaches a digital certificate of the manufacturer as an attachment to the blockchain transactions, then the manufacturer signs the transactions through the transaction manager using the private key and submits the transactions to the blockchain, the blockchain checks whether the transactions contain the signature through the transaction manager, the blockchain checks whether the transactions contain a name, whether the credit codes match the digital certificate through the product producer, and whether the credit codes are used by others, the transaction manager discards the transactions when any of the check items are passed, accepts the transactions when all the check items are passed, if the transactions are received, the blockchain types the transactions into blocks through the blockchain through the blockswager, generating a unique serial number of a manufacturer, and repeating the steps to complete more manufacturer information input;
the work flow of the manufacture code generation submodule is as follows: the manufacturer obtains the unique number through a product producer, generates a special private key of a manufacturing link based on the unique number, fills in manufacturing link information including codes, the product producer converts the manufacturing link information into blockchain transaction, the manufacturer signs the transaction through a transaction manager by using the private key and submits the transaction to a blockchain, then the blockchain checks whether the manufacturer codes are used through the product producer, if the manufacturer codes are used, the transaction manager discards the transaction, if the manufacturer codes are not used, the transaction is received, the blockchain types the transaction into blocks through a blockforge device to generate the unique codes of the manufacturing link, if the link is the first link of manufacturing, the unique number is also created for the product at the same time, and the steps are repeated to generate more manufacturing codes;
the production data entry submodule has the working process that: the manufacturer obtains the unique code of the produced manufacturing link through the product producer and implants the code into the production equipment, the production equipment uses the production data management module to produce production data and converts the production data into blockchain transaction, then the production equipment uses a private key to sign the transaction through a transaction manager and sends the signed transaction to a blockchain, the blockchain checks whether the transaction is signed through the transaction manager and checks whether the signature is matched with the manufacturer through the product producer, the transaction manager discards the transaction when any item of the check item is not passed, the transaction is accepted when all items of the check item are passed, if the transaction is received, the blockchain injects the transaction block into a transaction block through a blockforge device, if the link is the last link of the manufacturing, the product producer adds the product stock in a product warehouse of the manufacturer, the product producer repeats the steps to submit data of more manufacturing links to the block chain, when the data recording of all the manufacturing links is finished, the production data recording of one product is finished, and the product producer repeats all the steps to record more production data;
the work flow for completing the product release submodule is as follows: the manufacturer obtains the product unique number through the product producer, registers product release information through the product circulation manager, the product release information comprises product name input, product type, product serial number, selective participation channel provider, selective channel provider authority, selective channel circulation strategy and the like, the registered product release information is converted into block chain transaction, then the manufacturer signs the transaction through a transaction manager by using a private key of the manufacturer and sends the transaction to a block chain, the block chain checks the transaction signature through the transaction manager, the product circulation manager checks whether the product serial number is repeated or not, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, if the transaction is accepted, the block chain injects the transaction into a block through a block forging device, and the product circulation manager freezes the product stock in a manufacturer product warehouse, repeating the steps to release more products, and finally completing product release;
the workflow of the channel merchant identification number sub-module is as follows: the channel manager creates a key on the block chain through the sales channel manager, keeps a private key and fills in information of the channel, wherein the information comprises a name, a credit code, a digital certificate, a participation range and the like, the sales channel manager converts the filled information into block chain transaction, the channel manager uses the private key of the channel manager to sign the transaction and submits the transaction to the block chain, then the block chain checks whether the name is used or not through the sales channel manager and whether the credit code is used or not through the block chain, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, and if the transaction is received, the block chain types the transaction into a block through the block forging device and generates a unique identification number of the channel;
the strategy information entry submodule has the working process that: the channel trader fills in the strategic information through the sale channel manager, and converts the information into the block chain transaction, then the channel trader uses the secret key of the channel trader to sign the transaction through the transaction manager, and then submits the transaction to the block chain, the block chain checks whether the channel trader uses the channel code through the sale channel manager, if the channel code is used, the transaction manager discards the transaction, if the channel code is not used, the transaction is accepted, and the transaction is typed into the block through the block forge device;
the work flow of applying for the sales information input submodule is as follows: the distributor fills in information of applying for selling products such as product numbers, strategy numbers and the like through the selling channel manager, converts the applying information into blockchain transaction, uses a private key of the distributor to sign the transaction, the distributor sends the signed transaction to the manufacturer through the transaction manager, if the distributor is the manufacturer, the transaction is not required to be sent, the manufacturer carries out approval through the selling channel manager according to business requirements after receiving the transaction, when the approval is refused, the transaction manager discards the transaction, if the approval is passed, the manufacturer signs the application through the private key of the manufacturer, then the manufacturer submits the transaction to a blockchain through the selling channel manager, the blockchain checks whether the transaction has the signature of the manufacturer and the channel manager through the selling channel manager, and whether the product indicated by the transaction is the product of the manufacturer, and whether the strategy number of the trading post is the number of the channel trader or not, the trading manager discards the trading when any item of the check items is passed, the trading is accepted when all the check items are passed, if the trading is accepted, the block chain inputs the trading into the block through the block forging device, and the channel trader obtains the selling right of the product after the flow is completed;
the work flow of the product release information input submodule is as follows: the participator registers the product release information through the product circulation manager, including inputting the product name, the product type, the product serial number, selecting the participation channel provider, selecting the channel provider authority, selecting the channel circulation strategy and the like, and the product release information is converted into blockchain transaction, the participant signs the transaction by using the private key of the participant through the transaction manager, the transaction is sent to the blockchain, the blockchain checks whether the transaction signature and the product serial number are repeated through the product circulation manager, when any item of the check item is failed, discarding the transaction, accepting the transaction when all the checks pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, freezing the product stock in a participant product warehouse by a product circulation manager, and repeating the steps to input more product release information;
the work flow for completing the product transfer submodule is as follows: the other participants obtain the product release information through the product circulation manager, when the participants want to buy the product, the product circulation manager fills in an order based on the release information, the order comprises a product number, a release information number and the like, then the purchaser converts the order into a block chain transaction through the product circulation manager, the transaction manager signs the transaction with a private key of the purchaser and sends the signed transaction to a block chain, the block chain checks the signature information of the transaction through the transaction manager, the financial manager checks whether the balance of the purchaser is sufficient, the product circulation manager checks whether the product exists and whether the latest attribution of the product is a product publisher, the block chain unfreezes the product through the product circulation manager and converts the owner of the product into the purchaser, and the block chain checks, through the financial manager, the product distribution information according to a transaction rate policy, And calculating the income of each participant through the commission strategy, paying the account amount of each participant, and sequentially paying the account amount of each participant according to the allocation strategy, discarding the transaction by the transaction manager when any item fails, receiving the transaction when all items pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, and repeating the steps to continue transferring more products.
Further, the manufacturer information in the workflow of the manufacturer information entry sub-module includes full names, credit codes and the like.
Furthermore, the manufacturing link information in the workflow of the manufacturing code generation submodule also includes a name, a data template, whether the manufacturing link is the first link, and the like.
Furthermore, the strategy information in the strategy information entry submodule workflow comprises a name, a code, a selling price, a rate, a commission, a point and the like.
The invention has the beneficial effects that: the method realizes the credible tracking function from production to circulation of the product, and solves the problems of counterfeit products, old products and new products.
Drawings
FIG. 1 is a flow chart of a corresponding method of the present invention;
fig. 2 is a structural framework diagram of a corresponding system of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. It should be noted that the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, the embodiment discloses a commodity transaction method based on a block chain, wherein links such as production, sale, transfer and the like of a product are placed on the block chain based on the block chain, data are recorded by using the characteristic that the block chain cannot be forged and cannot be repudiated, and each link of the product production is recorded by using a product producer in the invention; the marketing of the products is managed by using the marketing channel manager, the flow of the products to each link of the market is fully controlled, and identity authentication service is provided for participants of each link; by using the product circulation manager provided by the invention, products can be circulated secondarily among consumers, each link experienced in the product circulation process is fully tracked and recorded, credible data is provided for participants in each link as a reference for participation, and consumers can fully know how the products are circulated to hands of the consumers, so that the authenticity of the products, the product sale channel and whether the products are used by one hand or multiple hands can be directly and respectively output.
The sales channel manager in the embodiment mainly comprises three core modules, a channel dealer management module, a sales strategy management module and an account management module. The channel provider management module is mainly used for managing channel provider information, defining participatory channel providers and carrying out authentication and authorization on the channel providers; in the sales strategy management module, the system is mainly used for defining the strategies of products in the sales link, including pricing strategies and the like, and the authority scope of each grade of service provider which can participate; the account management module is used for managing the account information of all participants in each link from production to sale of the product and providing a basis for automatic allocation of profits.
The product circulation manager in this embodiment mainly includes three core modules, a consumer management module, a holding warehouse management module, and a product release module. The consumer management module is mainly used for managing consumer information, identifying a holder of a product and establishing accurate tracking information for the product; the information management system is mainly used for managing product information held by participants in a holding warehouse management module, wherein the product information comprises holding information of manufacturers, channel merchants and consumers, and the information is the only basis for releasing products; the product release module is mainly used for managing the display information and the shelving state of the product, and the product in the shelving state can be handed over by other people.
Specifically, the steps of this embodiment are:
(1) issuing products, specifically including:
(1.1) manufacturer information entry: the manufacturer generates a pair of keys on the blockchain through the account manager, retains a private key, fills in manufacturer information including a full name, a credit code, etc. through the product producer, converts the information into blockchain transactions, and attaches a digital certificate of the manufacturer as an attachment to the blockchain transactions, then the manufacturer signs the transactions through the transaction manager using the private key, and submits the transactions to the blockchain, the blockchain checks through the transaction manager whether the transactions include the signature, the blockchain checks through the product producer whether the transactions include the name, the credit code matches the digital certificate, and the credit code has been used by others, the transaction manager discards the transactions when any of the above checks are not passed, accepts the transactions when all checks are passed, the blockchain, if the transactions are received, types the transactions into blocks through the blockchain through the blockswager, generating a unique serial number of a manufacturer, and repeating the steps to complete more manufacturer information input;
(1.2) production code generation: the manufacturer acquires the unique number generated in the step (1.1) through the product producer, generates a private key unique to the manufacturing link based on the unique number, and filling in manufacturing link information including codes, name, data template, whether it is the first link, etc., the product producer converts the manufacturing link information into block chain transaction, the manufacturer signs the transaction by the transaction manager using the private key, and submit the transaction to the blockchain, which, in turn, checks through the product producer whether the manufacturer code has been used, the transaction manager discards the transaction if used, receives the transaction if not used, punches the transaction into a block through the block swager by the blockchain, generates a manufacturing link unique code, if the link is the first link of manufacturing, a unique number is created for the product at the same time, and the steps are repeated to generate more manufacturing codes;
(1.3) production data entry: the manufacturer obtains the unique code of the manufacturing link generated in the step (1.2) through the product producer and implants the code into the production equipment, the production equipment generates production data by using a production data management module and converts the production data into blockchain transaction, then the production equipment signs the transaction by using the private key generated in the step (1.2) through the transaction manager and sends the signed transaction to a blockchain, the blockchain checks whether the transaction is signed or not through the transaction manager, then the product producer checks whether the signature is matched with the manufacturer, the transaction manager discards the transaction when any item of the check items is failed, the transaction is accepted when all checks are passed, if the transaction is received, the blockchain injects the transaction into a block through a block forging device, if the link is the last one of the manufacturing, the product producer adds the product stock in a product stock warehouse of the manufacturer, the product producer repeats the steps to submit data of more manufacturing links to the block chain, when the data recording of all the manufacturing links is finished, the production data recording of one product is finished, and the product producer repeats all the steps to record more production data;
(1.4) completing product release: the manufacturer acquires the product unique number created in the step (1.2) through the product producer, registers product release information through the product circulation manager, wherein the product release information comprises input of product name, product type, product serial number, selection of participating channel provider, selection of channel provider authority, selection of channel circulation strategy and the like, the registered product release information is converted into blockchain transaction, the manufacturer signs the transaction through the transaction manager by using a private key of the manufacturer and sends the transaction to a blockchain, the blockchain checks the transaction signature through the transaction manager, the product circulation manager checks whether the product serial number is repeated or not, the transaction manager discards the transaction when any item of the check items is not passed, the transaction is accepted when all the check items are passed, if the transaction is accepted, the blockchain injects the transaction into a block through the block forging device, the product circulation manager freezes the product stock in a manufacturer product warehouse, repeats the steps to release more products, and finally completes the product release;
(2) the selling product specifically comprises:
(2.1) generating a channel identifier: the channel manager creates a key on the block chain through the sales channel manager, keeps a private key and fills in information of the channel, wherein the information comprises a name, a credit code, a digital certificate, a participation range and the like, the sales channel manager converts the filled information into block chain transaction, the channel manager uses the private key of the channel manager to sign the transaction and submits the transaction to the block chain, then the block chain checks whether the name is used or not through the sales channel manager and whether the credit code is used or not through the block chain, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, and if the transaction is received, the block chain types the transaction into a block through the block forging device and generates a unique identification number of the channel;
(2.2) policy information entry: the channel trader fills in the tactics information through the manager of the sale channel, include name, code, selling price, rate, commission, point, etc., and change the information into the trade of the block chain, then, the channel trader uses the key of oneself to sign the trade through the manager of the trade, submit the trade to the block chain, the block chain checks whether the channel trader has already used the code of the channel through the manager of the sale channel, if have used, the trade manager discards the trade, if have not used, accept the trade, and type the trade into the block through the forger of the block;
(2.3) applying for sales information entry: the distributor fills in information of applying for selling products such as product numbers, strategy numbers and the like through the selling channel manager, converts the applying information into blockchain transaction, uses a private key of the distributor to sign the transaction, the distributor sends the signed transaction to the manufacturer through the transaction manager, if the distributor is the manufacturer, the transaction is not required to be sent, the manufacturer carries out approval through the selling channel manager according to business requirements after receiving the transaction, when the approval is refused, the transaction manager discards the transaction, if the approval is passed, the manufacturer signs the application through the private key of the manufacturer, then the manufacturer submits the transaction to a blockchain through the selling channel manager, the blockchain checks whether the transaction has the signature of the manufacturer and the channel manager through the selling channel manager, and whether the product indicated by the transaction is the product of the manufacturer, and whether the strategy number of the trading post is the number of the channel trader or not, the trading manager discards the trading when any item of the check items is passed, the trading is accepted when all the check items are passed, if the trading is accepted, the block chain inputs the trading into the block through the block forging device, and the channel trader obtains the selling right of the product after the flow is completed;
(3) the product transfer specifically comprises:
(3.1) product release information input: the participator registers the product release information through the product circulation manager, including inputting the product name, the product type, the product serial number, selecting the participation channel provider, selecting the channel provider authority, selecting the channel circulation strategy and the like, and the product release information is converted into blockchain transaction, the participant signs the transaction by using the private key of the participant through the transaction manager, the transaction is sent to the blockchain, the blockchain checks whether the transaction signature and the product serial number are repeated through the product circulation manager, when any item of the check item is failed, discarding the transaction, accepting the transaction when all the checks pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, freezing the product stock in a participant product warehouse by a product circulation manager, and repeating the steps to input more product release information;
(3.2) completing product transfer: the other participants obtain the product release information in step (3.1) through the product circulation manager, when the participants want to buy the product, the product circulation manager fills in the order based on the release information, the order comprises the product number, the release information number and the like, then the purchaser converts the order into the block chain transaction through the product circulation manager, the transaction manager signs the transaction by using the private key of the purchaser, the signed transaction is sent to the block chain, the block chain checks the signature information of the transaction through the transaction manager, the financial manager checks whether the balance of the purchaser is sufficient, the product circulation manager checks whether the product exists and the latest attribution of the product is a product publisher, the block chain unfreezes the product through the product circulation manager, the product owner is converted into the purchaser, the block chain checks the balance of the purchaser through the financial manager according to the transaction rate policy, And calculating the income of each participant through the commission strategy, paying the account amount of each participant, and sequentially paying the account amount of each participant according to the allocation strategy, discarding the transaction by the transaction manager when any item fails, receiving the transaction when all items pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, and repeating the steps to continue transferring more products.
The embodiment shown in fig. 2 discloses a commodity transaction system based on a block chain, which comprises a product issuing module, a product selling module and a product transferring module, wherein the product issuing module further comprises a manufacturer information entry submodule, a manufacturing code generation submodule, a production data entry submodule and a product issuing completion submodule, the product selling module further comprises a channel merchant identification number generation submodule, a strategy information entry submodule and a sales application information entry submodule, and the product transferring module is further divided into a product issuing information entry submodule and a product transferring completion submodule;
the work flow of the manufacturer information entry submodule is as follows: the manufacturer generates a pair of keys on the blockchain through the account manager, retains a private key, fills in manufacturer information including a full name, a credit code, etc. through the product producer, converts the information into blockchain transactions, and attaches a digital certificate of the manufacturer as an attachment to the blockchain transactions, then the manufacturer signs the transactions through the transaction manager using the private key, and submits the transactions to the blockchain, the blockchain checks through the transaction manager whether the transactions include the signature, the blockchain checks through the product producer whether the transactions include the name, the credit code matches the digital certificate, and the credit code has been used by others, the transaction manager discards the transactions when any of the above checks are not passed, accepts the transactions when all checks are passed, the blockchain, if the transactions are received, types the transactions into blocks through the blockchain through the blockswager, generating a unique serial number of a manufacturer, and repeating the steps to complete more manufacturer information input;
the work flow of the manufacture code generation submodule is as follows: the manufacturer obtains the unique number through the product producer, generates a private key special for the manufacturing link based on the unique number, and filling in manufacturing link information including codes, name, data template, whether it is the first link, etc., the product producer converts the manufacturing link information into block chain transaction, the manufacturer signs the transaction by the transaction manager using the private key, and submit the transaction to the blockchain, which, in turn, checks through the product producer whether the manufacturer code has been used, the transaction manager discards the transaction if used, receives the transaction if not used, punches the transaction into a block through the block swager by the blockchain, generates a manufacturing link unique code, if the link is the first link of manufacturing, a unique number is created for the product at the same time, and the steps are repeated to generate more manufacturing codes;
the production data entry submodule has the working process that: the manufacturer obtains the unique code of the produced manufacturing link through the product producer and implants the code into the production equipment, the production equipment uses the production data management module to produce production data and converts the production data into blockchain transaction, then the production equipment uses a private key to sign the transaction through a transaction manager and sends the signed transaction to a blockchain, the blockchain checks whether the transaction is signed through the transaction manager and checks whether the signature is matched with the manufacturer through the product producer, the transaction manager discards the transaction when any item of the check item is not passed, the transaction is accepted when all items of the check item are passed, if the transaction is received, the blockchain injects the transaction block into a transaction block through a blockforge device, if the link is the last link of the manufacturing, the product producer adds the product stock in a product warehouse of the manufacturer, the product producer repeats the steps to submit data of more manufacturing links to the block chain, when the data recording of all the manufacturing links is finished, the production data recording of one product is finished, and the product producer repeats all the steps to record more production data;
the work flow for completing the product release submodule is as follows: the manufacturer obtains the product unique number through the product producer, registers product release information through the product circulation manager, the product release information comprises product name input, product type, product serial number, selective participation channel provider, selective channel provider authority, selective channel circulation strategy and the like, the registered product release information is converted into block chain transaction, then the manufacturer signs the transaction through a transaction manager by using a private key of the manufacturer and sends the transaction to a block chain, the block chain checks the transaction signature through the transaction manager, the product circulation manager checks whether the product serial number is repeated or not, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, if the transaction is accepted, the block chain injects the transaction into a block through a block forging device, and the product circulation manager freezes the product stock in a manufacturer product warehouse, repeating the steps to release more products, and finally completing product release;
the workflow of the channel merchant identification number sub-module is as follows: the channel manager creates a key on the block chain through the sales channel manager, keeps a private key and fills in information of the channel, wherein the information comprises a name, a credit code, a digital certificate, a participation range and the like, the sales channel manager converts the filled information into block chain transaction, the channel manager uses the private key of the channel manager to sign the transaction and submits the transaction to the block chain, then the block chain checks whether the name is used or not through the sales channel manager and whether the credit code is used or not through the block chain, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, and if the transaction is received, the block chain types the transaction into a block through the block forging device and generates a unique identification number of the channel;
the strategy information entry submodule has the working process that: the channel trader fills in the tactics information through the manager of the sale channel, include name, code, selling price, rate, commission, point, etc., and change the information into the trade of the block chain, then, the channel trader uses the key of oneself to sign the trade through the manager of the trade, submit the trade to the block chain, the block chain checks whether the channel trader has already used the code of the channel through the manager of the sale channel, if have used, the trade manager discards the trade, if have not used, accept the trade, and type the trade into the block through the forger of the block;
the work flow of applying for the sales information input submodule is as follows: the distributor fills in information of applying for selling products such as product numbers, strategy numbers and the like through the selling channel manager, converts the applying information into blockchain transaction, uses a private key of the distributor to sign the transaction, the distributor sends the signed transaction to the manufacturer through the transaction manager, if the distributor is the manufacturer, the transaction is not required to be sent, the manufacturer carries out approval through the selling channel manager according to business requirements after receiving the transaction, when the approval is refused, the transaction manager discards the transaction, if the approval is passed, the manufacturer signs the application through the private key of the manufacturer, then the manufacturer submits the transaction to a blockchain through the selling channel manager, the blockchain checks whether the transaction has the signature of the manufacturer and the channel manager through the selling channel manager, and whether the product indicated by the transaction is the product of the manufacturer, and whether the strategy number of the trading post is the number of the channel trader or not, the trading manager discards the trading when any item of the check items is passed, the trading is accepted when all the check items are passed, if the trading is accepted, the block chain inputs the trading into the block through the block forging device, and the channel trader obtains the selling right of the product after the flow is completed;
the work flow of the product release information input submodule is as follows: the participator registers the product release information through the product circulation manager, including inputting the product name, the product type, the product serial number, selecting the participation channel provider, selecting the channel provider authority, selecting the channel circulation strategy and the like, and the product release information is converted into blockchain transaction, the participant signs the transaction by using the private key of the participant through the transaction manager, the transaction is sent to the blockchain, the blockchain checks whether the transaction signature and the product serial number are repeated through the product circulation manager, when any item of the check item is failed, discarding the transaction, accepting the transaction when all the checks pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, freezing the product stock in a participant product warehouse by a product circulation manager, and repeating the steps to input more product release information;
the work flow for completing the product transfer submodule is as follows: the other participants obtain the product release information through the product circulation manager, when the participants want to buy the product, the product circulation manager fills in an order based on the release information, the order comprises a product number, a release information number and the like, then the purchaser converts the order into a block chain transaction through the product circulation manager, the transaction manager signs the transaction with a private key of the purchaser and sends the signed transaction to a block chain, the block chain checks the signature information of the transaction through the transaction manager, the financial manager checks whether the balance of the purchaser is sufficient, the product circulation manager checks whether the product exists and whether the latest attribution of the product is a product publisher, the block chain unfreezes the product through the product circulation manager and converts the owner of the product into the purchaser, and the block chain checks, through the financial manager, the product distribution information according to a transaction rate policy, And calculating the income of each participant through the commission strategy, paying the account amount of each participant, and sequentially paying the account amount of each participant according to the allocation strategy, discarding the transaction by the transaction manager when any item fails, receiving the transaction when all items pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, and repeating the steps to continue transferring more products.
The above-mentioned embodiments are only preferred embodiments of the present invention, and do not limit the technical scope of the present invention, so that the changes and modifications made by the claims and the specification of the present invention should fall within the scope of the present invention.

Claims (8)

1. A commodity transaction management method based on a block chain is characterized by comprising the following steps:
(1) issuing products, specifically including:
(1.1) manufacturer information entry: the manufacturer generates a pair of keys on the blockchain through the account manager, retains a private key, fills in manufacturer information through the product producer, converts the information into blockchain transactions, and attaches a digital certificate of the manufacturer as an attachment to the blockchain transactions, then the manufacturer signs the transactions through the transaction manager using the private key and submits the transactions to the blockchain, the blockchain checks whether the transactions contain the signature through the transaction manager, the blockchain checks whether the transactions contain a name, whether the credit codes match the digital certificate through the product producer, and whether the credit codes are used by others, the transaction manager discards the transactions when any of the check items are passed, accepts the transactions when all the check items are passed, if the transactions are received, the blockchain types the transactions into blocks through the blockchain through the blockswager, generating a unique serial number of a manufacturer, and repeating the steps to complete more manufacturer information input;
(1.2) production code generation: the manufacturer obtains the unique number generated in the step (1.1) through the product producer, generates a special private key of a manufacturing link based on the unique number, fills out manufacturing link information including codes, converts the manufacturing link information into blockchain transaction, signs the transaction through a transaction manager by using the private key, submits the transaction to a blockchain, then the blockchain checks whether the manufacturer code is used through the product producer, discards the transaction if the manufacturer code is used, receives the transaction if the manufacturer code is not used, types the transaction into a block through a blockforge device through the blockchain, generates the unique code of the manufacturing link, and simultaneously creates the unique number for the product if the link is the first link of manufacturing, and repeats the steps to generate more manufacturing codes;
(1.3) production data entry: the manufacturer obtains the unique code of the manufacturing link generated in the step (1.2) through the product producer and implants the code into the production equipment, the production equipment generates production data by using a production data management module and converts the production data into blockchain transaction, then the production equipment signs the transaction by using the private key generated in the step (1.2) through the transaction manager and sends the signed transaction to a blockchain, the blockchain checks whether the transaction is signed or not through the transaction manager, then the product producer checks whether the signature is matched with the manufacturer, the transaction manager discards the transaction when any item of the check items is failed, the transaction is accepted when all checks are passed, if the transaction is received, the blockchain injects the transaction into a block through a block forging device, if the link is the last one of the manufacturing, the product producer adds the product stock in a product stock warehouse of the manufacturer, the product producer repeats the steps to submit data of more manufacturing links to the block chain, when the data recording of all the manufacturing links is finished, the production data recording of one product is finished, and the product producer repeats all the steps to record more production data;
(1.4) completing product release: the manufacturer acquires the product unique number created in the step (1.2) through the product producer, registers product release information through the product circulation manager, wherein the product release information comprises input of product name, product type, product serial number, selection of participating channel provider, selection of channel provider authority, selection of channel circulation strategy and the like, the registered product release information is converted into blockchain transaction, the manufacturer signs the transaction through the transaction manager by using a private key of the manufacturer and sends the transaction to a blockchain, the blockchain checks the transaction signature through the transaction manager, the product circulation manager checks whether the product serial number is repeated or not, the transaction manager discards the transaction when any item of the check items is not passed, the transaction is accepted when all the check items are passed, if the transaction is accepted, the blockchain injects the transaction into a block through the block forging device, the product circulation manager freezes the product stock in a manufacturer product warehouse, repeats the steps to release more products, and finally completes the product release;
(2) the selling product specifically comprises:
(2.1) generating a channel identifier: the channel manager creates a key on the block chain through the sales channel manager, keeps a private key and fills in information of the channel, wherein the information comprises a name, a credit code, a digital certificate, a participation range and the like, the sales channel manager converts the filled information into block chain transaction, the channel manager uses the private key of the channel manager to sign the transaction and submits the transaction to the block chain, then the block chain checks whether the name is used or not through the sales channel manager and whether the credit code is used or not through the block chain, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, and if the transaction is received, the block chain types the transaction into a block through the block forging device and generates a unique identification number of the channel;
(2.2) policy information entry: the channel trader fills in the strategic information through the sale channel manager, and converts the information into the block chain transaction, then the channel trader uses the secret key of the channel trader to sign the transaction through the transaction manager, and then submits the transaction to the block chain, the block chain checks whether the channel trader uses the channel code through the sale channel manager, if the channel code is used, the transaction manager discards the transaction, if the channel code is not used, the transaction is accepted, and the transaction is typed into the block through the block forge device;
(2.3) applying for sales information entry: the distributor fills in information of applying for selling products such as product numbers, strategy numbers and the like through the selling channel manager, converts the applying information into blockchain transaction, uses a private key of the distributor to sign the transaction, the distributor sends the signed transaction to the manufacturer through the transaction manager, if the distributor is the manufacturer, the transaction is not required to be sent, the manufacturer carries out approval through the selling channel manager according to business requirements after receiving the transaction, when the approval is refused, the transaction manager discards the transaction, if the approval is passed, the manufacturer signs the application through the private key of the manufacturer, then the manufacturer submits the transaction to a blockchain through the selling channel manager, the blockchain checks whether the transaction has the signature of the manufacturer and the channel manager through the selling channel manager, and whether the product indicated by the transaction is the product of the manufacturer, and whether the strategy number of the trading post is the number of the channel trader or not, the trading manager discards the trading when any item of the check items is passed, the trading is accepted when all the check items are passed, if the trading is accepted, the block chain inputs the trading into the block through the block forging device, and the channel trader obtains the selling right of the product after the flow is completed;
(3) the product transfer specifically comprises:
(3.1) product release information input: the participator registers the product release information through the product circulation manager, including inputting the product name, the product type, the product serial number, selecting the participation channel provider, selecting the channel provider authority, selecting the channel circulation strategy and the like, and the product release information is converted into blockchain transaction, the participant signs the transaction by using the private key of the participant through the transaction manager, the transaction is sent to the blockchain, the blockchain checks whether the transaction signature and the product serial number are repeated through the product circulation manager, when any item of the check item is failed, discarding the transaction, accepting the transaction when all the checks pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, freezing the product stock in a participant product warehouse by a product circulation manager, and repeating the steps to input more product release information;
(3.2) completing product transfer: the other participants obtain the product release information in step (3.1) through the product circulation manager, when the participants want to buy the product, the product circulation manager fills in the order based on the release information, the order comprises the product number, the release information number and the like, then the purchaser converts the order into the block chain transaction through the product circulation manager, the transaction manager signs the transaction by using the private key of the purchaser, the signed transaction is sent to the block chain, the block chain checks the signature information of the transaction through the transaction manager, the financial manager checks whether the balance of the purchaser is sufficient, the product circulation manager checks whether the product exists and the latest attribution of the product is a product publisher, the block chain unfreezes the product through the product circulation manager, the product owner is converted into the purchaser, the block chain checks the balance of the purchaser through the financial manager according to the transaction rate policy, And calculating the income of each participant through the commission strategy, paying the account amount of each participant, and sequentially paying the account amount of each participant according to the allocation strategy, discarding the transaction by the transaction manager when any item fails, receiving the transaction when all items pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, and repeating the steps to continue transferring more products.
2. The block chain-based commodity transaction management method according to claim 1, wherein the manufacturer information in the step (1.1) includes a full name, a credit code, and the like.
3. The block chain-based commodity transaction management method according to claim 1, wherein the manufacturing link information in the step (1.2) further includes a name, a data template, whether it is the first link, and the like.
4. The block chain-based commodity transaction management method according to claim 1, wherein the policy information in the step (2.2) includes a name, a code, a selling price, a rate, a commission, a point, and the like.
5. A commodity transaction management system based on a block chain is characterized by comprising a product issuing module, a product selling module and a product transferring module, wherein the product issuing module further comprises a manufacturer information input sub-module, a manufacturing code generation sub-module, a production data input sub-module and a product issuing completion sub-module;
the work flow of the manufacturer information entry submodule is as follows: the manufacturer generates a pair of keys on the blockchain through the account manager, retains a private key, fills in manufacturer information through the product producer, converts the information into blockchain transactions, and attaches a digital certificate of the manufacturer as an attachment to the blockchain transactions, then the manufacturer signs the transactions through the transaction manager using the private key and submits the transactions to the blockchain, the blockchain checks whether the transactions contain the signature through the transaction manager, the blockchain checks whether the transactions contain a name, whether the credit codes match the digital certificate through the product producer, and whether the credit codes are used by others, the transaction manager discards the transactions when any of the check items are passed, accepts the transactions when all the check items are passed, if the transactions are received, the blockchain types the transactions into blocks through the blockchain through the blockswager, generating a unique serial number of a manufacturer, and repeating the steps to complete more manufacturer information input;
the work flow of the manufacture code generation submodule is as follows: the manufacturer obtains the unique number through a product producer, generates a special private key of a manufacturing link based on the unique number, fills in manufacturing link information including codes, the product producer converts the manufacturing link information into blockchain transaction, the manufacturer signs the transaction through a transaction manager by using the private key and submits the transaction to a blockchain, then the blockchain checks whether the manufacturer codes are used through the product producer, if the manufacturer codes are used, the transaction manager discards the transaction, if the manufacturer codes are not used, the transaction is received, the blockchain types the transaction into blocks through a blockforge device to generate the unique codes of the manufacturing link, if the link is the first link of manufacturing, the unique number is also created for the product at the same time, and the steps are repeated to generate more manufacturing codes;
the production data entry submodule has the working process that: the manufacturer obtains the unique code of the produced manufacturing link through the product producer and implants the code into the production equipment, the production equipment uses the production data management module to produce production data and converts the production data into blockchain transaction, then the production equipment uses a private key to sign the transaction through a transaction manager and sends the signed transaction to a blockchain, the blockchain checks whether the transaction is signed through the transaction manager and checks whether the signature is matched with the manufacturer through the product producer, the transaction manager discards the transaction when any item of the check item is not passed, the transaction is accepted when all items of the check item are passed, if the transaction is received, the blockchain injects the transaction block into a transaction block through a blockforge device, if the link is the last link of the manufacturing, the product producer adds the product stock in a product warehouse of the manufacturer, the product producer repeats the steps to submit data of more manufacturing links to the block chain, when the data recording of all the manufacturing links is finished, the production data recording of one product is finished, and the product producer repeats all the steps to record more production data;
the work flow for completing the product release submodule is as follows: the manufacturer obtains the product unique number through the product producer, registers product release information through the product circulation manager, the product release information comprises product name input, product type, product serial number, selective participation channel provider, selective channel provider authority, selective channel circulation strategy and the like, the registered product release information is converted into block chain transaction, then the manufacturer signs the transaction through a transaction manager by using a private key of the manufacturer and sends the transaction to a block chain, the block chain checks the transaction signature through the transaction manager, the product circulation manager checks whether the product serial number is repeated or not, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, if the transaction is accepted, the block chain injects the transaction into a block through a block forging device, and the product circulation manager freezes the product stock in a manufacturer product warehouse, repeating the steps to release more products, and finally completing product release;
the workflow of the channel merchant identification number sub-module is as follows: the channel manager creates a key on the block chain through the sales channel manager, keeps a private key and fills in information of the channel, wherein the information comprises a name, a credit code, a digital certificate, a participation range and the like, the sales channel manager converts the filled information into block chain transaction, the channel manager uses the private key of the channel manager to sign the transaction and submits the transaction to the block chain, then the block chain checks whether the name is used or not through the sales channel manager and whether the credit code is used or not through the block chain, the transaction manager discards the transaction when any item of the check item is failed, the transaction is accepted when all the check items are passed, and if the transaction is received, the block chain types the transaction into a block through the block forging device and generates a unique identification number of the channel;
the strategy information entry submodule has the working process that: the channel trader fills in the strategic information through the sale channel manager, and converts the information into the block chain transaction, then the channel trader uses the secret key of the channel trader to sign the transaction through the transaction manager, and then submits the transaction to the block chain, the block chain checks whether the channel trader uses the channel code through the sale channel manager, if the channel code is used, the transaction manager discards the transaction, if the channel code is not used, the transaction is accepted, and the transaction is typed into the block through the block forge device;
the work flow of applying for the sales information input submodule is as follows: the distributor fills in information of applying for selling products such as product numbers, strategy numbers and the like through the selling channel manager, converts the applying information into blockchain transaction, uses a private key of the distributor to sign the transaction, the distributor sends the signed transaction to the manufacturer through the transaction manager, if the distributor is the manufacturer, the transaction is not required to be sent, the manufacturer carries out approval through the selling channel manager according to business requirements after receiving the transaction, when the approval is refused, the transaction manager discards the transaction, if the approval is passed, the manufacturer signs the application through the private key of the manufacturer, then the manufacturer submits the transaction to a blockchain through the selling channel manager, the blockchain checks whether the transaction has the signature of the manufacturer and the channel manager through the selling channel manager, and whether the product indicated by the transaction is the product of the manufacturer, and whether the strategy number of the trading post is the number of the channel trader or not, the trading manager discards the trading when any item of the check items is passed, the trading is accepted when all the check items are passed, if the trading is accepted, the block chain inputs the trading into the block through the block forging device, and the channel trader obtains the selling right of the product after the flow is completed;
the work flow of the product release information input submodule is as follows: the participator registers the product release information through the product circulation manager, including inputting the product name, the product type, the product serial number, selecting the participation channel provider, selecting the channel provider authority, selecting the channel circulation strategy and the like, and the product release information is converted into blockchain transaction, the participant signs the transaction by using the private key of the participant through the transaction manager, the transaction is sent to the blockchain, the blockchain checks whether the transaction signature and the product serial number are repeated through the product circulation manager, when any item of the check item is failed, discarding the transaction, accepting the transaction when all the checks pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, freezing the product stock in a participant product warehouse by a product circulation manager, and repeating the steps to input more product release information;
the work flow for completing the product transfer submodule is as follows: the other participants obtain the product release information through the product circulation manager, when the participants want to buy the product, the product circulation manager fills in an order based on the release information, the order comprises a product number, a release information number and the like, then the purchaser converts the order into a block chain transaction through the product circulation manager, the transaction manager signs the transaction with a private key of the purchaser and sends the signed transaction to a block chain, the block chain checks the signature information of the transaction through the transaction manager, the financial manager checks whether the balance of the purchaser is sufficient, the product circulation manager checks whether the product exists and whether the latest attribution of the product is a product publisher, the block chain unfreezes the product through the product circulation manager and converts the owner of the product into the purchaser, and the block chain checks, through the financial manager, the product distribution information according to a transaction rate policy, And calculating the income of each participant through the commission strategy, paying the account amount of each participant, and sequentially paying the account amount of each participant according to the allocation strategy, discarding the transaction by the transaction manager when any item fails, receiving the transaction when all items pass, driving the transaction into a block by a block chain through a block forging device if the transaction is received, and repeating the steps to continue transferring more products.
6. The blockchain-based merchandise transaction management system of claim 5 wherein the manufacturer information includes full names, credit codes, etc. in the workflow of the manufacturer information entry sub-module.
7. The system for commodity transaction management based on blockchain according to claim 5, wherein the manufacturing link information in the workflow of the manufacturing code generation sub-module further includes a name, a data template, whether it is the first link, and the like.
8. The blockchain-based merchandise transaction management system of claim 5 wherein the policy information entry sub-module workflow includes policy information including name, code, selling price, rate, commission, credit, etc.
CN201810686253.7A 2018-06-28 2018-06-28 Commodity transaction method and system based on block chain Active CN110728511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810686253.7A CN110728511B (en) 2018-06-28 2018-06-28 Commodity transaction method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810686253.7A CN110728511B (en) 2018-06-28 2018-06-28 Commodity transaction method and system based on block chain

Publications (2)

Publication Number Publication Date
CN110728511A true CN110728511A (en) 2020-01-24
CN110728511B CN110728511B (en) 2022-08-09

Family

ID=69216711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810686253.7A Active CN110728511B (en) 2018-06-28 2018-06-28 Commodity transaction method and system based on block chain

Country Status (1)

Country Link
CN (1) CN110728511B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861761A (en) * 2020-07-22 2020-10-30 重庆新致金服信息技术有限公司 Block chain based insurance product distribution and automatic docking method, system and equipment
CN111899072A (en) * 2020-08-06 2020-11-06 厦门资缘信息科技有限公司 Block chain based product sale method and system
CN112950117A (en) * 2021-03-05 2021-06-11 杭州复杂美科技有限公司 Transaction method, computer device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570710A (en) * 2016-10-27 2017-04-19 纸飞机(北京)科技有限公司 Commodity anti-counterfeiting method and device
CN106920169A (en) * 2017-03-07 2017-07-04 中钞信用卡产业发展有限公司北京智能卡技术研究院 A kind of digital ticket method of commerce and system based on block chain and digital cash
CN107633414A (en) * 2017-10-18 2018-01-26 上海唯链信息科技有限公司 A kind of case and bag based on block chain technology are false proof and traceability system
CN107679876A (en) * 2017-10-18 2018-02-09 上海唯链信息科技有限公司 A kind of medicine equipment based on block chain technology is false proof and traceability system
CN107767142A (en) * 2017-10-18 2018-03-06 上海唯链信息科技有限公司 A kind of drug production process traceability system based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570710A (en) * 2016-10-27 2017-04-19 纸飞机(北京)科技有限公司 Commodity anti-counterfeiting method and device
CN106920169A (en) * 2017-03-07 2017-07-04 中钞信用卡产业发展有限公司北京智能卡技术研究院 A kind of digital ticket method of commerce and system based on block chain and digital cash
CN107633414A (en) * 2017-10-18 2018-01-26 上海唯链信息科技有限公司 A kind of case and bag based on block chain technology are false proof and traceability system
CN107679876A (en) * 2017-10-18 2018-02-09 上海唯链信息科技有限公司 A kind of medicine equipment based on block chain technology is false proof and traceability system
CN107767142A (en) * 2017-10-18 2018-03-06 上海唯链信息科技有限公司 A kind of drug production process traceability system based on block chain technology

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861761A (en) * 2020-07-22 2020-10-30 重庆新致金服信息技术有限公司 Block chain based insurance product distribution and automatic docking method, system and equipment
CN111899072A (en) * 2020-08-06 2020-11-06 厦门资缘信息科技有限公司 Block chain based product sale method and system
CN111899072B (en) * 2020-08-06 2024-02-02 厦门道至数字信息有限公司 Block chain-based product sales method and system
CN112950117A (en) * 2021-03-05 2021-06-11 杭州复杂美科技有限公司 Transaction method, computer device and storage medium
CN112950117B (en) * 2021-03-05 2022-07-15 杭州复杂美科技有限公司 Transaction method, computer device and storage medium

Also Published As

Publication number Publication date
CN110728511B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN109544160B (en) Transaction authenticity verification method and system based on block chain and intelligent contract
CN109829824B (en) Commodity transaction information sharing method based on block chain technology
JP6669368B2 (en) A distributed ledger protocol that encourages transactional and non-transactional commerce
CN111062805B (en) Financial service management platform for supply chain
US20210390549A1 (en) Systems and methods for building blockchains for verifying assets for smart contracts
CN110443701A (en) The logical card management method of one kind, supply chain financial system and electronic equipment
CN107844978A (en) A kind of staple commodities transaction processing method and system based on block chain
CN107679976A (en) A kind of auction system based on block chain
CN110458700A (en) The logical card generation method of one kind, supply chain financial system and electronic equipment
CN110728511B (en) Commodity transaction method and system based on block chain
US20080243662A1 (en) System and method for electronic contracting
CN104838407B (en) A kind of electronic certificate generating apparatus and system
CN111369245A (en) Alliance chain system for financial product sales
CN101510288A (en) Electronic contract operation system based on digital property right certificate
CN111260459B (en) Method for packaging loan based on blockchain and computer readable storage medium
CN111784254A (en) Block chain-based bulk commodity electronic warehouse receipt issuing system
CN109242697A (en) The method and related system of the realization of supply chain, supply chain finance
CN111986022A (en) Transaction quota processing method and system based on block chain and each node
US20200184565A1 (en) Computer method for real estate futures trading using a distributed ledger and gui
CN111768302B (en) Patent securitization transaction support system based on blockchain and transaction method thereof
CN111666335A (en) Anti-counterfeiting system and method for recording quantity-limited commodity circulation data based on block chain technology
CN116862431A (en) Enterprise purchasing SaaS platform based on blockchain and privacy calculation
CN109785067A (en) A kind of marketing method and system based on block chain
CN111460507A (en) Block chain-based security service system and application thereof in autonomous community
CN109544342A (en) A kind of e-commerce based on block chain is bartered platform solution to disputes method and system

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
TA01 Transfer of patent application right

Effective date of registration: 20210331

Address after: Room 2201, 703c, Desai science and technology building, 9789 Shennan Avenue, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Benchainless Technology (Shenzhen) Co.,Ltd.

Address before: 361000 unit 11, 201, building B, 86 Haijing Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Applicant before: XIAMEN INSTINCT BLOCKCHAIN TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant