CN110223063A - Supply chain data managing method and device based on zero-knowledge proof - Google Patents

Supply chain data managing method and device based on zero-knowledge proof Download PDF

Info

Publication number
CN110223063A
CN110223063A CN201910382454.2A CN201910382454A CN110223063A CN 110223063 A CN110223063 A CN 110223063A CN 201910382454 A CN201910382454 A CN 201910382454A CN 110223063 A CN110223063 A CN 110223063A
Authority
CN
China
Prior art keywords
account
buyer
order
commodity
seller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910382454.2A
Other languages
Chinese (zh)
Inventor
陆陈一帆
王梦寒
赵达悦
张宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910382454.2A priority Critical patent/CN110223063A/en
Publication of CN110223063A publication Critical patent/CN110223063A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/04Billing or invoicing, e.g. tax processing in connection with a sale
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping
    • G06Q30/0605Supply or demand aggregation
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the present application discloses a kind of supply chain data managing method and device based on zero-knowledge proof, this method comprises: buyer creates the order account book of commodity in block chain network, buyer's order account is created on order account book by SCC, and the commodity total value of order account book is arranged by SCC and commodity total value is injected into buyer's order account;Buyer is that the seller creates seller's order account on order account book, and is transferred to commodity total value for seller's order account by SCC;The transfer order of logistics account book from commodity to SCC and invoice account book that buyer signs for commodity and initiates is received with confirming;When the product of encryption unit price of the buyer by SCC based on transfer shares and commodity on 3D zero-knowledge proof verifying logistics account book is equal to the transfer shares of invoice account book, update the total volume of commodities of buyer's logistics account in logistics account book, and invoice account book is updated, the data management flexibility of each participant in supply chain can be improved.

Description

Supply chain data managing method and device based on zero-knowledge proof
Technical field
This application involves block chain technical field more particularly to a kind of supply chain data management sides based on zero-knowledge proof Method and device.
Background technique
Block chain technology is concerned at present, and increasing confidence level by data sharing is to be said at most in block chain technology One of benefit, the application especially in supply chain.However, realizing data sharing between each organization of supply in supply chain Substantially it is difficult mechanism is supplied and is received, realizes the number between each organization of supply in such a way that data sharing increases confidence level Big, the poor feasibility according to the realization difficulty of management.How in the business processing flow in supply chain, in the hidden of each organization of supply Private data realize that the data between each organization of supply are followed in the case where can not sharing be current technical problem urgently to be resolved One of.
Summary of the invention
The embodiment of the present application provides a kind of supply chain data managing method based on zero-knowledge proof, can be improved in privacy number The feasibility that the data in supply chain between each participant are followed is realized in the case where according to that can not share, and is improved each in supply chain The data management flexibility of a participant, applicability are stronger.
In a first aspect, the embodiment of the present application provides a kind of supply chain data managing method based on zero-knowledge proof, on It states method and realizes commodity data management supply chain suitable for buyer, the above method includes:
It is generated in link in the order of supply chain, buyer creates the order account book of commodity in block chain network, passes through intelligence It can encrypt and about SCC creates buyer's order account on the above order account book, the commodity that the above order account book is arranged by SCC are total Above-mentioned commodity total value is simultaneously injected above-mentioned buyer's order account by volume;
It is generated in link in the above order, above-mentioned buyer creates the seller by SCC for the seller on the above order account book and orders Single account, and above-mentioned commodity total value is transferred to for above-mentioned seller's order account;
Receive in link in confirmation, above-mentioned buyer sign for above-mentioned commodity and to SCC initiate above-mentioned commodity logistics account book and The transfer order of invoice account book is received with confirming, and provides the transfer shares of above-mentioned logistics account book and above-mentioned invoice account book to SCC For the 3D zero-knowledge proof with the encryption unit price of above-mentioned commodity for multiplier;
When above-mentioned buyer by SCC based on above-mentioned 3D zero-knowledge proof verify transfer shares on above-mentioned logistics account book with it is upper When encrypting transfer shares of the monovalent product equal to above-mentioned invoice account book of commodity is stated, above-mentioned buyer updates in above-mentioned logistics account book The total volume of commodities of buyer's logistics account, and update above-mentioned invoice account book with by the commodity total value under above-mentioned buyer's order account from buying Square invoice account is transferred to seller invoice account.
Second aspect, the embodiment of the present application provide a kind of supply chain data managing method based on zero-knowledge proof, on It states method and realizes commodity data management supply chain suitable for the seller, the above method includes:
It is generated in link in the order of supply chain, the seller is by intelligent encryption and about SCC to being transferred to selling on order account book The commodity total value of square order account is digitally signed to confirm the above order account book;
In commodity cargo transport link, the above-mentioned seller creates the logistics account book of commodity, is created on above-mentioned logistics account book by SCC Seller's logistics account is built, and the total volume of commodities of above-mentioned logistics account book is arranged by SCC and the above-mentioned total volume of commodities is injected into above-mentioned sell Square object stream account, and be equal in above-mentioned seller's order account to the product that SCC provides the above-mentioned total volume of commodities and above-mentioned encryption unit price Above-mentioned commodity total value 3D zero-knowledge proof;
When the above-mentioned seller verifies the above-mentioned total volume of commodities and above-mentioned encryption unit price based on above-mentioned 3D zero-knowledge proof by SCC When product is equal to above-mentioned commodity total value, logistics square object stream account, storage square object stream account are created on above-mentioned logistics account book by SCC Family and buyer's logistics account;
The above-mentioned seller starts to freight and the above-mentioned total volume of commodities is transferred to above-mentioned logistics square object stream account to pass through object by SCC The above-mentioned total volume of commodities is transferred to above-mentioned storage square object stream account and is transferred to above-mentioned buyer's object when above-mentioned buyer confirmation is received by stream side Flow account.
The third aspect, the embodiment of the invention provides a kind of supply chain data administrator based on zero-knowledge proof, on It states device and realizes commodity data management supply chain suitable for buyer, above-mentioned apparatus includes:
Creating unit creates the order account of commodity for generating in link in the order of supply chain in block chain network This, creates buyer's order account by intelligent encryption and about SCC on the above order account book, the above order account is arranged by SCC Above-mentioned commodity total value is simultaneously injected above-mentioned buyer's order account by this commodity total value;
Above-mentioned creating unit is also used to generate in link in the above order, is the seller on the above order account book by SCC Seller's order account is created, and is transferred to above-mentioned commodity total value for above-mentioned seller's order account;
Confirmation unit is initiated above-mentioned for receiving in link in confirmation when above-mentioned buyer signs for above-mentioned commodity and to SCC The logistics account book of commodity and the transfer order of invoice account book are received with confirming, and provide above-mentioned logistics account book and above-mentioned hair to SCC The transfer shares of ticket account book is the 3D zero-knowledge proof with the encryption unit price of above-mentioned commodity for multiplier;
Updating unit, for verifying above-mentioned logistics when above-mentioned confirmation unit is based on above-mentioned 3D zero-knowledge proof by SCC When the product of the encryption unit price of transfer shares and above-mentioned commodity on account book is equal to the transfer shares of above-mentioned invoice account book, in update The total volume of commodities of buyer's logistics account in logistics account book is stated, and updates above-mentioned invoice account book with will be under above-mentioned buyer's order account Commodity total value is transferred to seller invoice account from buyer invoice account.
Fourth aspect, the embodiment of the present application provide a kind of supply chain data administrator based on zero-knowledge proof, on It states device and realizes commodity data management supply chain suitable for the seller, above-mentioned apparatus includes:
Confirmation unit, for being generated in link in the order of supply chain, by intelligent encryption and about SCC to being transferred to order account The commodity total value of seller's order account in sheet is digitally signed to confirm the above order account book;
Creating unit, for the logistics account book of commodity being created, by SCC in above-mentioned logistics account in commodity cargo transport link Seller's logistics account is created in sheet, and the total volume of commodities of above-mentioned logistics account book is arranged by SCC and injects the above-mentioned total volume of commodities Above-mentioned seller's logistics account, and it is equal to above-mentioned seller's order to the product that SCC provides the above-mentioned total volume of commodities and above-mentioned encryption unit price The 3D zero-knowledge proof of above-mentioned commodity total value in account;
Above-mentioned creating unit, be also used to by SCC be based on above-mentioned 3D zero-knowledge proof verify the above-mentioned total volume of commodities with it is upper State encryption unit price product be equal to above-mentioned commodity total value when, created on above-mentioned logistics account book by SCC logistics square object stream account, Square object stream account of storing in a warehouse and buyer's logistics account;
Data processing unit, for the above-mentioned total volume of commodities to be transferred to above-mentioned object by SCC when the above-mentioned seller starts cargo transport Stream square object stream account is to be transferred to above-mentioned storage square object stream account for the above-mentioned total volume of commodities by logistics side and confirm in above-mentioned buyer Above-mentioned buyer's logistics account is transferred to from above-mentioned storage square object stream account when receiving.
5th aspect, the embodiment of the present application provide a kind of terminal, including processor and memory, above-mentioned processor and deposit Reservoir is connected with each other, wherein and for above-mentioned memory for storing computer program, above-mentioned computer program includes program instruction, on It states processor to be configured for calling above procedure instruction, execute any possible in above-mentioned first aspect and first aspect The method that implementation provides.
6th aspect, the embodiment of the present application provide a kind of terminal, including processor and memory, above-mentioned processor and deposit Reservoir is connected with each other, wherein and for above-mentioned memory for storing computer program, above-mentioned computer program includes program instruction, on It states processor to be configured for calling above procedure instruction, execute any possible in above-mentioned second aspect and second aspect The method that implementation provides.
7th aspect, the embodiment of the present application provide a kind of computer readable storage medium, above-mentioned computer-readable storage Media storage has computer program, and above-mentioned computer program includes program instruction, and above procedure instructs when being executed by a processor Above-mentioned processor is set to execute the method that any possible implementation provides in above-mentioned first aspect and first aspect.
Eighth aspect, the embodiment of the present application provide a kind of computer readable storage medium, above-mentioned computer-readable storage Media storage has computer program, and above-mentioned computer program includes program instruction, and above procedure instructs when being executed by a processor Above-mentioned processor is set to execute the method that any possible implementation provides in above-mentioned second aspect and second aspect.
In the embodiment of the present application, the data management that each participant in supply chain is realized based on zero-knowledge proof, can mention Height realizes the feasibility that the data in supply chain between each participant are followed in the case where private data can not be shared, and improves The data management flexibility of each participant, applicability are stronger in supply chain.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the interaction signal of the supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof Figure;
Fig. 2 is the process signal of the supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof Figure;
Fig. 3 is that another process of the supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof is shown It is intended to;
Fig. 4 is a structural representation of the supply chain data administrator provided by the embodiments of the present application based on zero-knowledge proof Figure;
Fig. 5 is that another structure of the supply chain data administrator provided by the embodiments of the present application based on zero-knowledge proof is shown It is intended to;
Fig. 6 is a schematic block diagram of terminal provided by the embodiments of the present application;
Fig. 7 is another schematic block diagram of terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
The embodiment of the present application provide it is a kind of based on zero-knowledge proof supply chain data managing method (for convenience of describe, May be simply referred to as method provided by the embodiments of the present application), can by zero-knowledge proof in conjunction with the data of participant each in supply chain, For realizing the data management of block chain financial in supply chain.It can be realized in supply chain based on method provided by the embodiments of the present application Data in financial block chain between each participant are followed, and are solved the data in the case where data-privacy can not be shared and are handed over Fork verifying, improves and realizes that the data between each participant are chased after in the case where the private data of each participant can not be shared With feasibility, operate in supply chain more flexible in the data management processes of each participant, applicability is stronger.
Method provided by the embodiments of the present application is applicable to include in the supply chain of multiple participants, wherein above-mentioned participant It may include buyer, the seller, logistics side and storage side etc..Wherein, above-mentioned buyer can be the buyer of purchase commodity, including but not It is limited to nature human consumer or consumption mechanism, can be specifically determined according to practical application scene, herein with no restrictions.The above-mentioned seller It can be the seller of merchandising, the including but not limited to retailer of commodity, the whole seller of commodity or (producer, commodity production producer Sell directly to households), it can specifically be determined according to practical application scene, herein with no restrictions.Wherein, above-mentioned logistics can be in the dealing of commodity The logistics side of Commodity Transportation, such as logistics company, express company or the exclusive transport establishment of commodity are participated in the process, it specifically can root It is determined according to practical application scene, herein with no restrictions.Above-mentioned storage can buy in the dealings of commodity, transportational process in commodity Side goes back warehouse or store company under the scenes such as arrearage for storing the commodity of logistics side's transmission etc., specifically can be according to reality Border application scenarios are determining, herein with no restrictions.It, below will be with the buyer of commodity, the seller, logistics side and storage for convenience of description It is illustrated for side.
It, below will be to provided by the embodiments of the present application for convenience of describing and/or understand method provided by the embodiments of the present application Multiple terms involved in method are simply introduced:
One, intelligent encryption contract (smartcryptocontract, SCC)
Intelligent encryption contract or intelligent encryption contract will be carried out by taking intelligent encryption contract as an example below for convenience of describing Explanation.SCC is a kind of intelligent contract for having processing ciphertext data, and one of critical function is exactly to be demonstrate,proved using various Zero Knowledges Bright technology detects ciphertext.Wherein, zero-knowledge proof refers to that certifier can not provide any useful information to verifier In the case where, so that verifier is believed that some judgement is correct.Certifier proved to verifier and make its believe oneself know or Person possesses a certain message, but proof procedure cannot be leaked to verifier it is any about the information for being proved to message.As its name suggests, zero Knowledge proof be exactly can sufficiently prove oneself be certain equity lawful owner (or insider of some message) and Related information leakage is gone out --- it is " zero " to extraneous " knowledge ".
Two, total value, share, total amount, and/or other any numbers
In the embodiment of the present application, total value of each user's (i.e. each participant) on any account book, share, total amount, And/or the blocks chain transaction data such as other any numbers is all encrypted by different code keys, total value, share, total amount on all account books, And/or other any numbers increase, successively decrease and/or shift and all realize under homomorphic cryptography state.Here, homomorphic cryptography skill is utilized Calculating of no key side to ciphertext may be implemented in art, and cryptogram computation can not only reduce communication cost without key side, but also can To shift calculating task, the calculating cost of each side thus can be balanced.It may be implemented to allow decryption side can only using homomorphic cryptography technology Know it is last as a result, and the message of each ciphertext can not be obtained, it is total on any account book that each participant can be improved The safety of the blocks chain transaction data such as volume, share, total amount, and/or other any numbers, strong applicability.
Three, 3D zero-knowledge proof
3D zero-knowledge proof is one of zero-knowledge proof technology, and a variety of zero-knowledge proofs are contained in 3D zero-knowledge proof and are calculated Method.The characteristics of 3D zero-knowledge proof is can to support multiple and different attribute account books, and can pass through the verification mode of zero-knowledge proof Verify the relationship between the account book of each different attribute.Wherein, above-mentioned different attribute account book may include that the embodiment of the present application provides Order account book, logistics account book, invoice account book and financing account book etc., for details, reference can be made to provided by following each embodiment Implementation, herein with no restrictions.
Method and device provided by the embodiments of the present application is illustrated below in conjunction with Fig. 1 to Fig. 7.For convenience of description, The embodiment of the present application will order the 10000 pairs of shoes (or commodity of other classifications, based on can be according to practical application from the seller with buyer Scene determines, herein with no restrictions), the unit prices of every double shoes is 100 yuan, commodity total value be the total volume of commodities and cargo price at It hands over, i.e., commodity total value is followed and is illustrated to the data interaction of participant each in supply chain and data for being 1000000. For convenience of description, the shoes that above-mentioned buyer orders from the seller will be illustrated by taking commodity as an example, and the unit price of above-mentioned every double shoes is 100 yuan It will be illustrated by taking the unit price of commodity as an example, above-mentioned 10000 (double shoes) will be illustrated by taking the total volume of commodities as an example.
It is the friendship of the supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof referring to Fig. 1, Fig. 1 Mutual schematic diagram.Supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof may include following steps:
S1 is generated in link in the order of supply chain, and buyer creates the order account book of commodity in block chain network, passes through SCC creates buyer's order account on order account book, and the commodity total value of order account book is arranged by SCC and injects commodity total value Buyer's order account.
S2 is generated in link in the order of supply chain, and buyer is that the seller creates seller's order on order account book by SCC Account, and above-mentioned commodity total value is transferred to for seller's order account.
In some possible embodiments, realize that commodity data management may include multiple rings during commodity transaction Section, the including but not limited to order of supply chain generate link, commodity cargo transport link, commodity and confirm receive link and commodity transaction Order finance link, specifically can according to practical application scene determine, herein with no restrictions.
In some possible embodiments, it is generated in link in the order of supply chain, buyer can be in block chain network It is encrypted for the unit price of commodity to obtain the encryption of commodity unit price, and the encryption unit price of commodity is stored to block chain network In.For example, buyer can be encrypted to obtain shoes by the private key and/or digital signature of oneself to the unit price of every 100 yuan of double shoes Encryption unit price, then the encryption unit price is stored into block chain network.
It is generated in link in the order of supply chain, buyer can create the order account book of commodity in block chain network.Here, Each merchandise classification in each order can correspond to an order account book.For example, 10000 may be contained in the same order Double shoes and 10000 french heels, wherein 10000 pairs of shoes and 10000 french heel can respectively generate an order account book.Specifically may be used It is determined according to practical application scene, herein with no restrictions, for convenience of describing, here with the corresponding order account book of 10000 pairs of shoes It is illustrated for (abbreviation order account book).In addition, above-mentioned buyer is while creating an order account book in block chain network It can also carry out following steps:
S11, buyer initialize order account book by SCC.
Here, buyer can be found in each generic attribute account book in supply chain by the implementation that SCC initializes order account book Implementation is initialized, herein with no restrictions.
S12, buyer are oneself to generate account on the above order account book by SCC.
Here, for convenience of describing, buyer is that the account cocoa oneself generated on the above order account book is denoted as and buys by SCC Square order account.
S13, the commodity total value of the above order account book is arranged by SCC by buyer, and the commodity total value of setting is injected into It states in buyer's order account.
Wherein, above-mentioned commodity total value can meet:
Commodity total value=total volume of commodities * cargo price=10000*100=1000000 (1)
The commodity total value that the above order account book can be arranged in buyer by SCC is 1000000, and the commodity total value of setting is infused Enter into above-mentioned buyer's order account, at this point, the commodity total value in buyer's order account is then 1000000.
In some possible embodiments, it is generated in link in the order of supply chain, buyer can also carry out following steps:
S21, buyer are the seller in order account book generation account by SCC.
Here, for convenience of description, buyer is that the account that the seller creates on the above order account book can be denoted as seller's order account Family.In some possible embodiments, the seller needs in advance to provide oneself account information (can be regarded as vendor identification information) To buyer.Wherein, the account information (i.e. vendor identification information) of the above-mentioned seller may include public key and digital certificate of the seller etc. Deng, it specifically can be determining according to practical application scene, herein with no restrictions.Buyer can obtain account information (i.e. seller's mark of the seller Know information), and be that the seller creates seller's order account on the above order account book by the account information of the SCC combination seller.
S22, buyer are transferred to the commodity total value of above-mentioned commodity by SCC for seller's order account.
Here, buyer by SCC be seller's order account be transferred to commodity whole shares (i.e. commodity total value, such as 1000000) this movement represents the share (i.e. commodity total value) that buyer approves the order account book and it.
S3 is generated in link in the order of supply chain, and the seller is by SCC to the seller's order account being transferred on order account book Commodity total value be digitally signed to confirm the above order account book.
In some possible embodiments, the seller is that (i.e. buyer is transferred to sells oneself newly-increased share on order account book The commodity total value of square order account) it is digitally signed and represents the seller and also recognize that the above order account book.Wherein, above-mentioned digital signature It can be the digital signature for being different from the seller and shifting share, including but not limited on the basis of shifting the digital signature of share Increase random number, can specifically be determined according to practical application scene, herein with no restrictions.
S4, in commodity cargo transport link, the seller creates the logistics account book of commodity.
In some possible embodiments, in commodity cargo transport link, the seller starts to freight and create commodity cargo transport ring Logistics account book in section.Wherein, the above-mentioned seller creates executable following steps when the logistics account book of commodity:
S41 creates seller's logistics account by SCC on logistics account book, and total by the commodity that logistics account book is arranged in SCC It measures and the total volume of commodities is injected into seller's logistics account.
In some possible embodiments, the total volume of commodities on above-mentioned logistics account book can be the shoes that buyer orders from the seller Total amount, such as the above-mentioned total volume of commodities can for buyer order shoes total amount 10000 (double).The logistics is arranged by SCC in the seller The total volume of commodities of account book is 10000, and the total volume of commodities is injected into the seller oneself account, i.e., in seller's logistics account.
Here, the product of the encryption unit price of the above-mentioned total volume of commodities and above-mentioned commodity can be provided to SCC by, which selling, is equal to above-mentioned order The 3D zero-knowledge proof of commodity total value in single account book in seller's order account.The seller provides 3D zero-knowledge proof to prove to inject Multiplied by encryption unit price, equal to the seller, (i.e. the seller orders account the total volume of commodities of seller's logistics account on order account book in logistics account book Single account) total value.The seller is verified the total volume of commodities injected on logistics account book by SCC and met:
Total volume of commodities * encrypts the total value (2) of seller's order account on unit price=order account book
If (i.e. the product of the encryption unit price of the total volume of commodities and commodity is not equal to the seller on order account book for SCC verification failure The total value of order account), then the seller creates the failure of logistics account book, and terminates process.If SCC verifies successfully (the i.e. total volume of commodities It is equal to the total value of seller's order account on order account book with the product of the encryption unit price of commodity), the seller can then successfully create logistics Account book and the share for updating the seller account on logistics account book (i.e. seller's logistics account) are the above-mentioned total volume of commodities.
S42 creates logistics square object stream account, storage square object stream account and buyer by SCC on above-mentioned logistics account book Logistics account.
In some possible embodiments, when in the 3D zero-knowledge proof verifying that the seller is provided by SCC based on the seller The product for stating the encryption unit price of the total volume of commodities and above-mentioned commodity is equal to the commodity total value that seller's logistics account is newly-increased in logistics account book When, the seller creates the success of logistics account book, and then can create logistics square object stream account on logistics account book for logistics side, in above-mentioned object Flow buyer's logistics account on account book for storage side creation storage square object stream account and buyer on logistics account book.
Here, logistics side needs oneself account information (can be understood as logistics side's identification information) in advance, including but unlimited The seller is supplied in the public key of logistics side and the digital certificate of logistics side.The seller obtains account information (logistics side's mark of logistics side Know information), and combining above-mentioned logistics side's identification information by SCC is that logistics side creates logistics square object stream on above-mentioned logistics account book Account.Similarly, storage side needs in advance by oneself account information (can be understood as logistics side's identification information), including but not limited to storehouse The public key of Chu Fang and the digital certificate of storage side are supplied to the seller.The seller obtains account information (i.e. storage side's mark of storage side Information), and combining above-mentioned storage side's identification information by SCC is that storage side creates storage square object stream account on logistics account book. Buyer also needs oneself account information (can be understood as logistics side's identification information) in advance, including but not limited to the public key of buyer and The digital certificate of buyer is supplied to the seller.The seller obtains the account information (i.e. buyer identifier information) of buyer, and is combined by SCC Above-mentioned buyer identifier information is that buyer creates buyer's logistics account on above-mentioned logistics account book.
S5, the seller start to freight and the total volume of commodities in above-mentioned seller's logistics account are transferred to logistics square object stream by SCC Account.
In some possible embodiments, it is assumed that the total volume of commodities of seller's delivery is 10000 pairs of shoes, then selling can pass through Oneself total volume of commodities (i.e. 10000 (double shoes)) under the account (i.e. seller's logistics account) on logistics account book is transferred to object by SCC Account (i.e. logistics square object stream account) of the stream side on logistics account book.Here, due to commodity arrearage etc., logistics side needs Commodity transporting to warehouse, and pass through SCC for the total volume of commodities (i.e. 10000 amounts) under oneself account (logistics square object stream account) It is transferred to account of the storage side on logistics account book, i.e. storage square object stream account.After buyer's confirmation is received, logistics side passes through SCC The total volume of commodities (such as 10000 amount) under account (i.e. logistics square object stream account) on oneself logistics account book is transferred to buyer's object Flow account.
S6, in commodity cargo transport link, the seller creates the invoice account book of commodity in block chain network.
In some possible embodiments, in commodity cargo transport link, the seller creates invoice account in block chain network The following steps that this while can also carry out:
S61, the seller initialize invoice account book by SCC.
Here, the seller can be found in each generic attribute account book in supply chain by the implementation that SCC initializes invoice account book Implementation is initialized, herein with no restrictions.
S62, the seller are oneself to generate account on above-mentioned invoice account book by SCC.
Here, for convenience of description, it can be seller invoice account that the seller, which is the account that oneself is generated on invoice account book by SCC, Family.
S63, the seller are that seller invoice account injects initial share, and provides the first of seller invoice account to SCC by SCC Beginning share is equal to the 3D zero-knowledge proof of the commodity total value in seller's order account.
Here, the initial share of above-mentioned seller invoice account is equal to the commodity total value in seller's order account, i.e., above-mentioned to sell The initial share of square invoice account can be 1000000.Sell the initial share that can be verified by SCC in above-mentioned seller invoice account It is equal with the commodity total value in above-mentioned seller's order account, and then complete the creation of invoice account book.
S64, the seller are that buyer generates buyer invoice account on above-mentioned invoice account book by SCC.
S65, the seller are that buyer invoice account is transferred to whole shares by SCC.
Here, sell to be that buyer creates buyer invoice account and by above-mentioned seller invoice on invoice account book by SCC Initial share in account is transferred to buyer invoice account.
S7 receives in link in confirmation, and buyer signs for commodity and initiates the logistics account book and invoice account book of commodity to SCC Transfer order is received with confirming.
It in some possible embodiments, must while logistics account book being updated by SCC after buyer signs for commodity Invoice account book must be updated.Here, the formation of invoice represents buyer and receives, if only updating an account book, SCC will judge entirely to hand over Easily illegally refuse to execute.
In some possible embodiments, after buyer's confirmation is received, logistics side passes through SCC for logistics square object stream account book The total volume of commodities (such as 10000 (amounts of double shoes)) under account is transferred to buyer's logistics account.Here, due to buying on logistics account book There are binding relationship, (commodity i.e. in buyer's logistics account are total in SCC for square object stream account and the seller invoice account of invoice account book Amount and the product of commodity encryption unit price are equal to the initial share in seller invoice account), so buyer must initiate one simultaneously The invoice transfer order of logistics account book transfer is matched, not so trading just will fail.When buyer's confirmation is received, object can be provided to SCC The transfer shares for flowing account book and invoice account book is with the monovalent 3D zero-knowledge proof for multiplier of the encryption of commodity.
In some possible embodiments, buyer can initiate invoice account book transfer by SCC, by oneself in order account The commodity total value (i.e. 10000*100=1000000) under order account (i.e. buyer's order account) in sheet is transferred to seller invoice Under account.Here, the initiation of invoice account book transfer is also that buyer confirms the evidence received.Buyer is by (including the logistics of two account books Account book and invoice account book) the transfer instructions transfer shares issuing SCC simultaneously, and two account books are provided be to be multiplied with encrypting unit price Several 3D zero-knowledge proofs.SCC can judge automatically the transfer shares of invoice account book by the 3D zero-knowledge proof that buyer provides It is not the share of logistics account book transfer multiplied by encryption unit price.If being verified on logistics account book by SCC based on 3D zero-knowledge proof The product of the encryption unit price of transfer shares and commodity is equal to the transfer shares of invoice account book, and buyer can then be successfully updated logistics account book The total volume of commodities of middle buyer's logistics account, and update invoice account book with by the commodity total value under buyer's order account from buyer invoice Account is transferred to seller invoice account, and invoice is formed, i.e., this is traded successfully.If being based on 3D zero-knowledge proof by SCC verifies object The product for flowing the encryption unit price of the transfer shares and commodity on account book is not equal to the transfer shares of invoice account book, then all operationss return Rolling, i.e. invoice account book update failure, that is, this Fail Transaction.
In the embodiment of the present application, it may be implemented in the number of each participant during commodity transaction based on above-mentioned each step According to following, it is not necessarily in data transfer of the participant each in the process of exchange of commodity between the account in each generic attribute account book Shared data content, the data transfer between each account can execute in the state of cargo price encryption, to may be implemented in Guarantee the cross validation that data are completed while the data-privacy of each participant, operation is more flexible, and applicability is stronger.
In the embodiment of the present application, after the transaction completion that the seller orders the goods, both parties can be used buyer Foundation of the order or invoice of the commodity transaction as commodity financing, so as to (for example appoint for realizing with any financier One bank) financing interactive process in data cross verifying.For convenience of description, below by the foundation using order as commodity financing For, the commodity financing of the seller provided by the embodiments of the present application is illustrated.
Referring to fig. 2, Fig. 2 is the one of the supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof Flow diagram.Supply chain data managing method shown in Fig. 2 is applicable to the financing of buyer, and this method may include walking as follows It is rapid:
S81, when buyer needs the order of above-mentioned commodity to finance, buyer creates buyer in above-mentioned block chain network Order financing account book, and buyer's order financing account is created on above-mentioned buyer's order financing account book by SCC.
In some possible embodiments, buyer initializes buyer's order financing account book by SCC, and is by SCC Oneself generates account in buyer's order financing account book.For convenience of description, buyer is melted for oneself in buyer's order by SCC here The account generated on money account book may be simply referred to as buyer's order financing account.
S82, buyer generate the total financing of above-mentioned buyer's order financing account book by SCC, and provide above-mentioned total financing Equal to the 3D zero-knowledge proof of the above-mentioned commodity total value on the above order account book.
S83, if buyer, which is based on above-mentioned 3D zero-knowledge proof by above-mentioned SCC, verifies above-mentioned total financing equal to above-mentioned commodity Above-mentioned total financing is then injected above-mentioned buyer's order financing account by total value.
In some possible embodiments, commodity total value of seller's order account on order account book is in commodity transaction When buyer be transferred to, therefore, buyer it is also known that seller's order account commodity total value, which is what both parties were approved Share.SCC verifies total share (i.e. buyer's order financing account of newly-generated buyer's order financing account book by 3D zero-knowledge proof This total financing) it is equal to the commodity of corresponding order account book (the order account book that i.e. above-mentioned buyer generates when ordering the goods from the seller) Total value.If the total financing that SCC verifies above-mentioned buyer's order financing account book is equal to the commodity total value of corresponding order account book, really Fixed above-mentioned buyer's order financing account book is examined successfully, and then the total financing for account book that the buyer's order of generation can be financed is injected into Buyer is under the account (i.e. buyer's order financing account) of buyer's order financing account book.Melt at this point, SCC can record buyer's order Provide the link of account book and order account book.If the total financing that SCC verifies above-mentioned buyer's order financing account book is ordered not equal to correspondence The commodity total value of single account book, it is determined that above-mentioned buyer's order financing account book examines failure, and then can determine buyer's order financing account This creation failure, buyer will be unable to complete the financing based on the order account book at this time.
S84, when buyer obtains the financing of any financier, buyer melts above-mentioned on above-mentioned buyer's order financing account Money total value is transferred to the account of any of the above-described financier to complete the order of above-mentioned commodity financing.
In some possible embodiments, after buyer's order financing account book creates successfully, when buyer obtains any melt When the financing of capital, the above-mentioned total financing on above-mentioned buyer's order financing account can be then transferred to any of the above-described financing by buyer The account of side is financed with the order for completing above-mentioned commodity.For example, if buyer obtain bank A financing, buyer need will with melt It provides corresponding share (total financing i.e. on buyer's order financing account) to be transferred under the account of bank A, to realize based on upper State the financing of order account book.
In the embodiment of the present application, buyer can realize the commodity financing based on order based on zero-knowledge proof, easy to operate, It is applicable to be unwilling to receive each commercial undertaking of data sharing, applicability is stronger.
It is the another of the supply chain data managing method provided by the embodiments of the present application based on zero-knowledge proof referring to Fig. 3, Fig. 3 One flow diagram.Supply chain data managing method shown in Fig. 3 is applicable to the financing of the seller, and this method may include as follows Step:
S91, when the seller needs the order of above-mentioned commodity to finance, the seller creates the seller in above-mentioned block chain network Order financing account book, and seller's order financing account is created on above-mentioned seller's order financing account book by SCC.
In some possible embodiments, the seller initializes seller's order financing account book by SCC, and is by SCC Oneself generates account in seller's order financing account book.For convenience of description, the seller is melted for oneself in seller's order by SCC here The account generated on money account book may be simply referred to as seller's order financing account.
S92, the seller generate the total financing of above-mentioned seller's order financing account book by SCC, and provide above-mentioned total financing Equal to the 3D zero-knowledge proof of the above-mentioned commodity total value on the above order account book.
S93, if the seller, which is based on above-mentioned 3D zero-knowledge proof by above-mentioned SCC, verifies above-mentioned total financing equal to above-mentioned commodity Above-mentioned total financing is then injected above-mentioned seller's order financing account by total value.
In some possible embodiments, commodity total value of seller's order account on order account book is in commodity transaction When buyer be transferred to, therefore, buyer it is also known that seller's order account commodity total value, i.e. commodity total value in seller's order account The share all approved for both parties.The total financing that selling can be provided to SCC on above-mentioned seller's order financing account book is equal to upper State the 3D zero-knowledge proof of the commodity total value on order account book.SCC verifies newly-generated seller's order by 3D zero-knowledge proof The total share (i.e. the total financing of seller's order financing account book) of account book of financing is equal to corresponding order account book (i.e. above-mentioned buyer is from selling The order account book that generates when side's order goods) commodity total value.If the financing that SCC verifies above-mentioned buyer's order financing account book is total Volume is equal to the commodity total value of corresponding order account book, it is determined that above-mentioned seller's order financing account book is examined successfully, and then can will be generated The seller's order financing account book total financing be injected into the seller the seller's order financing account book account (i.e. seller's order melts Provide account) under.At this point, SCC can record the link of seller's order financing account book and order account book.If SCC verifies the above-mentioned seller The total financing of order financing account book is not equal to the commodity total value of corresponding order account book, it is determined that above-mentioned seller's order financing account book Failure is examined, and then can determine the financing account book creation failure of seller's order, the seller will be unable to complete based on the order account book at this time Financing.
S94, when the above-mentioned seller obtains the financing of any financier, the above-mentioned seller will be on above-mentioned seller's order financing account Above-mentioned total financing be transferred to the account of any of the above-described financier with complete the order of above-mentioned commodity financing.
In some possible embodiments, after seller's order financing account book creates successfully, when the seller obtains any melt When the financing of capital, the above-mentioned total financing on above-mentioned seller's order financing account can be then transferred to any of the above-described financing by the seller The account of side is financed with the order for completing above-mentioned commodity.For example, if the seller obtain bank A financing, the seller need will with melt It provides corresponding share (total financing i.e. on seller's order financing account) to be transferred under the account of bank A, to realize based on upper State the financing of order account book.
In the embodiment of the present application, the commodity financing based on order can be realized based on zero-knowledge proof by selling, easy to operate, It is applicable to be unwilling to receive each commercial undertaking of data sharing, applicability is stronger.
Referring to fig. 4, Fig. 4 is the one of the supply chain data administrator provided by the embodiments of the present application based on zero-knowledge proof Structural schematic diagram.Above-mentioned apparatus realizes commodity data management suitable for buyer supply chain, and above-mentioned apparatus includes:
Creating unit 41 creates the order of commodity for generating in link in the order of supply chain in block chain network Account book creates buyer's order account by intelligent encryption and about SCC on the above order account book, the above order is arranged by SCC Above-mentioned commodity total value is simultaneously injected above-mentioned buyer's order account by the commodity total value of account book.
Above-mentioned creating unit 41 is also used to generate in link in the above order, is the seller in the above order account book by SCC Upper creation seller order account, and above-mentioned commodity total value is transferred to for above-mentioned seller's order account.
Confirmation unit 42, for receiving in link in confirmation, when above-mentioned buyer signs for above-mentioned commodity and in SCC initiation The transfer order of the logistics account book and invoice account book of stating commodity is received with confirming, and provides above-mentioned logistics account book and above-mentioned to SCC The transfer shares of invoice account book is the 3D zero-knowledge proof with the encryption unit price of above-mentioned commodity for multiplier.
Updating unit 43, for verifying above-mentioned object when above-mentioned confirmation unit is based on above-mentioned 3D zero-knowledge proof by SCC When encrypting transfer shares of the monovalent product equal to above-mentioned invoice account book of the transfer shares and above-mentioned commodity on account book is flowed, is updated The total volume of commodities of buyer's logistics account in above-mentioned logistics account book, and above-mentioned invoice account book is updated with will be under above-mentioned buyer's order account Commodity total value be transferred to seller invoice account from buyer invoice account.
In some possible embodiments, above-mentioned apparatus further include:
Encryption unit 44, the unit price in above-mentioned block chain network being above-mentioned commodity are encrypted to obtain above-mentioned quotient The encryption unit price of product, and the encryption unit price of above-mentioned commodity is stored into above-mentioned block chain network.
In some possible embodiments, above-mentioned creating unit 41 is used for:
The vendor identification information of the seller is obtained, and combining above-mentioned vendor identification information by SCC is the above-mentioned seller above-mentioned Seller's order account is created on order account book;
Wherein, above-mentioned vendor identification information includes at least one in the public key of the above-mentioned seller and the digital certificate of the above-mentioned seller Kind.
In some possible embodiments, above-mentioned apparatus further includes financing processing unit 45;
Above-mentioned creating unit 41 is also used to when above-mentioned buyer needs the order of above-mentioned commodity to finance, in above-mentioned area Buyer's order financing account book is created in block chain network, and buyer's order is created on above-mentioned buyer's order financing account book by SCC Financing account;
Above-mentioned financing processing unit 45 for generating the total financing of above-mentioned buyer's order financing account book by SCC, and mentions It is equal to the 3D zero-knowledge proof of the above-mentioned commodity total value on the above order account book for above-mentioned total financing;
Above-mentioned financing processing unit 45 is also used to verifying above-mentioned melt based on above-mentioned 3D zero-knowledge proof by above-mentioned SCC When providing total value equal to above-mentioned commodity total value, above-mentioned total financing is injected into above-mentioned buyer's order financing account;
Above-mentioned financing processing unit 45 is also used to when above-mentioned buyer obtains the financing of any financier, by above-mentioned buyer Above-mentioned total financing on order financing account is transferred to the account of any of the above-described financier and is melted with the order for completing above-mentioned commodity Money.
In the specific implementation, the above-mentioned supply chain data administrator based on zero-knowledge proof can pass through each function built in it Energy unit executes buyer-side implementation provided by each step in above-described embodiment.Optionally, above-mentioned creating unit 41 can The creation institute of each account is right in the creation of each account book and each account book in each step for executing above-described embodiment The implementation answered, for details, reference can be made to implementations provided by above-mentioned each step, and details are not described herein.Above-mentioned confirmation unit 42 can be used for realizing that above-mentioned buyer confirms corresponding implementation in link of receiving, and for details, reference can be made to above-mentioned each steps to be provided Implementation, details are not described herein.Above-mentioned updating unit 43 can be used for executing in above-described embodiment after buyer's confirmation receives Implementation corresponding to the update of logistics account book and/or invoice account book, for details, reference can be made to real provided by above-mentioned each step Existing mode, details are not described herein.Above-mentioned encryption unit 44 can be used for executing realization side corresponding to the encryption of above-mentioned cargo price Formula, for details, reference can be made to implementations corresponding in above-described embodiment, and details are not described herein.Above-mentioned financing processing unit 45 can be used for Implementation corresponding to the financing operation that above-mentioned buyer is carried out based on the order of commodity transaction is executed, for details, reference can be made to above-mentioned realities Corresponding implementation in example is applied, details are not described herein.
In the embodiment of the present application, it may be implemented in the number of each participant during commodity transaction based on above-mentioned each step According to following, it is not necessarily in data transfer of the participant each in the process of exchange of commodity between the account in each generic attribute account book Shared data content, the data transfer between each account can execute in the state of cargo price encryption, to may be implemented in Guarantee the cross validation that data are completed while the data-privacy of each participant, operation is more flexible, and applicability is stronger.In this Shen Please in embodiment, after buyer completes from the transaction that the seller orders the goods, buyer can be used the commodity transaction order or Foundation of the invoice as commodity financing, so as to for realizing with any financier (such as any bank) financing interactive process in Data cross verifying.The commodity financing based on order is realized based on zero-knowledge proof, it is easy to operate, it is applicable to be unwilling to connect By each commercial undertaking of data sharing, applicability is stronger.
It is the another of the supply chain data administrator provided by the embodiments of the present application based on zero-knowledge proof referring to Fig. 5, Fig. 5 One structural schematic diagram.Above-mentioned apparatus realizes commodity data management suitable for the seller supply chain, and above-mentioned apparatus includes:
Confirmation unit 51, for being generated in link in the order of supply chain, by intelligent encryption and about SCC to being transferred to order The commodity total value of seller's order account on account book is digitally signed to confirm the above order account book.
Creating unit 52, for the logistics account book of commodity being created, by SCC in above-mentioned logistics in commodity cargo transport link Seller's logistics account is created on account book, and the total volume of commodities of above-mentioned logistics account book is arranged by SCC and infuses the above-mentioned total volume of commodities Enter above-mentioned seller's logistics account, and is ordered to the product that SCC provides the above-mentioned total volume of commodities and above-mentioned encryption unit price equal to the above-mentioned seller The 3D zero-knowledge proof of above-mentioned commodity total value in single account.
Above-mentioned creating unit 52, be also used to by SCC be based on above-mentioned 3D zero-knowledge proof verify the above-mentioned total volume of commodities with When the product of above-mentioned encryption unit price is equal to above-mentioned commodity total value, logistics square object stream account is created on above-mentioned logistics account book by SCC Family, storage square object stream account and buyer's logistics account.
Data processing unit 53, for being transferred to the above-mentioned total volume of commodities by SCC above-mentioned when the above-mentioned seller starts cargo transport Logistics square object stream account with by logistics side by the above-mentioned total volume of commodities be transferred to above-mentioned storage square object stream account and in above-mentioned buyer it is true Above-mentioned buyer's logistics account is transferred to from above-mentioned storage square object stream account when acknowledging receipt of goods.
In some possible embodiments, in above-mentioned commodity cargo transport link, above-mentioned creating unit 52 is also used to:
The invoice account book that commodity are created in block chain network, creates seller invoice on above-mentioned invoice account book by SCC Account simultaneously injects initial share for above-mentioned seller invoice account, and providing above-mentioned initial share to SCC is above-mentioned seller's order account The 3D zero-knowledge proof of above-mentioned commodity total value in family;
It is that buyer creates buyer invoice account and will be in above-mentioned seller invoice account on above-mentioned invoice account book by SCC Above-mentioned initial share is transferred to above-mentioned buyer invoice account.
In some possible embodiments, above-mentioned creating unit 52 is used for:
Logistics side's identification information of logistics side is obtained, and combining above-mentioned logistics side's identification information by SCC is above-mentioned logistics Side creates logistics square object stream account on above-mentioned logistics account book;
Storage side's identification information of storage side is obtained, and combining above-mentioned storage side's identification information by SCC is above-mentioned storage Side's creation storage square object stream account on above-mentioned logistics account book;
The buyer identifier information of buyer is obtained, and combining above-mentioned buyer identifier information by SCC is above-mentioned buyer above-mentioned Buyer's logistics account is created on logistics account book;
Wherein, above-mentioned vendor identification information includes at least one in the public key of the above-mentioned seller and the digital certificate of the above-mentioned seller Kind, above-mentioned storage side's identification information includes at least one of public key and digital certificate of above-mentioned storage side of above-mentioned storage side, Above-mentioned buyer identifier information includes at least one of public key and digital certificate of above-mentioned buyer of above-mentioned buyer.
In some possible embodiments, above-mentioned apparatus further includes financing processing unit 54;
Above-mentioned creating unit 52 is also used to when the above-mentioned seller needs the order of above-mentioned commodity to finance in above-mentioned block Seller's order financing account book is created in chain network, and creation seller's order melts on above-mentioned seller's order financing account book by SCC Provide account;
Above-mentioned financing processing unit 54 for generating the total financing of above-mentioned seller's order financing account book by SCC, and mentions It is equal to the 3D zero-knowledge proof of the above-mentioned commodity total value on the above order account book for above-mentioned total financing;
Above-mentioned financing processing unit 54 is also used to be based on above-mentioned 3D zero-knowledge proof by above-mentioned SCC in the above-mentioned seller to test When demonstrate,proving above-mentioned total financing equal to above-mentioned commodity total value, above-mentioned total financing is injected into above-mentioned seller's order financing account;
Above-mentioned financing processing unit 54 orders above-mentioned buyer when for obtaining the financing of any financier in the above-mentioned seller Above-mentioned total financing on single financing account is transferred to the account of any of the above-described financier to complete the order of above-mentioned commodity financing.
In the specific implementation, the above-mentioned supply chain data administrator (i.e. seller side device) based on zero-knowledge proof can pass through Each functional unit built in it executes seller side implementation provided by each step in above-described embodiment.Optionally, on State confirmation unit 51 can be used for executing in each step of above-described embodiment to buyer creation order account book digital signature with Confirm the corresponding implementation of the above order account book, for details, reference can be made to implementations corresponding in above-described embodiment, herein no longer It repeats.Above-mentioned creating unit 52 can be used for executing the wound for each account book realized in each step of above-described embodiment based on the seller Build and each account book in each account the corresponding implementation of creation, for details, reference can be made to real provided by above-mentioned each step Existing mode, details are not described herein.Above-mentioned data processing unit 53 can be used for executing the reality that the seller in above-described embodiment starts cargo transport Implementation corresponding to transfer of the total volume of commodities etc. in existing mode, for details, reference can be made to realization sides provided by above-mentioned each step Formula, details are not described herein.Above-mentioned financing processing unit 45 can be used for executing what the above-mentioned seller was carried out based on the order of commodity transaction The corresponding implementation of financing operation, for details, reference can be made to implementations corresponding in above-described embodiment, and details are not described herein.
In the embodiment of the present application, it may be implemented in the number of each participant during commodity transaction based on above-mentioned each step According to following, it is not necessarily in data transfer of the participant each in the process of exchange of commodity between the account in each generic attribute account book Shared data content, the data transfer between each account can execute in the state of cargo price encryption, to may be implemented in Guarantee the cross validation that data are completed while the data-privacy of each participant, operation is more flexible, and applicability is stronger.In this Shen Please in embodiment, after buyer completes from the transaction that the seller orders the goods, the seller can be used the commodity transaction order or Foundation of person's invoice as commodity financing, so as to for realizing with any financier (such as any bank) finance interactive process In data cross verifying.The commodity financing based on order is realized based on zero-knowledge proof, it is easy to operate, it is applicable to be unwilling Receive each commercial undertaking of data sharing, applicability is stronger.
It is a schematic block diagram of terminal provided by the embodiments of the present application referring to Fig. 6, Fig. 6.As shown in fig. 6, the present embodiment In terminal be applicable to middle buyer-side, which may include: one or more processors 601 and memory 602.Above-mentioned place Reason device 601 and memory 602 are connected by bus 603.Memory 602 is for storing computer program, above-mentioned computer program Including program instruction, processor 601 is used to execute the program instruction of the storage of memory 602.Wherein, processor 601 is configured to use In calling, the program instruction is performed the following operations:
It is generated in link in the order of supply chain, the order account book of commodity is created in block chain network, is added by intelligence Closely sealed about SCC creates buyer's order account on the above order account book, and the commodity total value of the above order account book is arranged simultaneously by SCC Above-mentioned commodity total value is injected into above-mentioned buyer's order account;
It is generated in link in the above order, seller's order account is created for the seller on the above order account book by SCC, and Above-mentioned commodity total value is transferred to for above-mentioned seller's order account;
It receives in link in confirmation, signs for above-mentioned commodity and initiate the logistics account book and invoice account book of above-mentioned commodity to SCC Transfer order received with confirming, and to the transfer shares that SCC provides above-mentioned logistics account book and above-mentioned invoice account book be with above-mentioned The encryption unit price of commodity is the 3D zero-knowledge proof of multiplier;
When verifying transfer shares on above-mentioned logistics account book and above-mentioned commodity based on above-mentioned 3D zero-knowledge proof by SCC When the product of encryption unit price is equal to the transfer shares of above-mentioned invoice account book, the quotient of buyer's logistics account in above-mentioned logistics account book is updated Product total amount, and update above-mentioned invoice account book and sold so that the commodity total value under above-mentioned buyer's order account to be transferred to from buyer invoice account Square invoice account.
In some possible embodiments, above-mentioned processor 601 is also used to:
In above-mentioned block chain network it is that the unit prices of above-mentioned commodity is encrypted to obtain the encryption of above-mentioned commodity unit price, and The encryption unit price of above-mentioned commodity is stored into above-mentioned block chain network.
In some possible embodiments, above-mentioned processor 601 is used for:
The vendor identification information of the seller is obtained, and combining above-mentioned vendor identification information by SCC is the above-mentioned seller above-mentioned Seller's order account is created on order account book;
Wherein, above-mentioned vendor identification information includes at least one in the public key of the above-mentioned seller and the digital certificate of the above-mentioned seller Kind.
In some possible embodiments, above-mentioned processor 601 is also used to:
When buyer needs the order of above-mentioned commodity to finance, buyer's order financing is created in above-mentioned block chain network Account book, and buyer's order financing account is created on above-mentioned buyer's order financing account book by SCC;
The total financing of above-mentioned buyer's order financing account book is generated by SCC, and provides above-mentioned total financing equal to above-mentioned The 3D zero-knowledge proof of above-mentioned commodity total value on order account book;
It is equal to above-mentioned commodity total value if being based on above-mentioned 3D zero-knowledge proof by above-mentioned SCC and verifying above-mentioned total financing, Above-mentioned total financing is injected into above-mentioned buyer's order financing account;
It is when above-mentioned buyer obtains the financing of any financier, the above-mentioned financing on above-mentioned buyer's order financing account is total Volume is transferred to the account of any of the above-described financier to complete the order of above-mentioned commodity financing.
It should be appreciated that in some possible embodiments, above-mentioned processor 601 can be central processing unit (central processing unit, CPU), which can also be other general processors, Digital Signal Processing Device (digital signal processor, DSP), specific integrated circuit (application specific integrated Circuit, ASIC), ready-made programmable gate array (field-programmable gate array, FPGA) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor Or the processor is also possible to any conventional processor etc..
The memory 602 may include read-only memory and random access memory, and to processor 601 provide instruction and Data.The a part of of memory 602 can also include nonvolatile RAM.For example, memory 602 can also be deposited Store up the information of device type.
In the specific implementation, base provided by the embodiments of the present application can be performed in processor 601 described in the embodiment of the present application The embodiment of the present application also can be performed in the implementation provided by buyer-side in the supply chain data managing method of zero-knowledge proof The implementation of buyer-side device in the described supply chain data administrator based on zero-knowledge proof, it is no longer superfluous herein It states.
In the embodiment of the present application, it may be implemented in the number of each participant during commodity transaction based on above-mentioned each step According to following, it is not necessarily in data transfer of the participant each in the process of exchange of commodity between the account in each generic attribute account book Shared data content, the data transfer between each account can execute in the state of cargo price encryption, to may be implemented in Guarantee the cross validation that data are completed while the data-privacy of each participant, operation is more flexible, and applicability is stronger.In this Shen Please in embodiment, after buyer completes from the transaction that the seller orders the goods, the seller can be used the commodity transaction order or Foundation of person's invoice as commodity financing, so as to for realizing with any financier (such as any bank) finance interactive process In data cross verifying.The commodity financing based on order is realized based on zero-knowledge proof, it is easy to operate, it is applicable to be unwilling Receive each commercial undertaking of data sharing, applicability is stronger.
It is another schematic block diagram of terminal provided by the embodiments of the present application referring to Fig. 7, Fig. 7.As shown in fig. 7, this implementation Terminal in example is applicable to middle seller side, which may include: one or more processors 701 and memory 702.It is above-mentioned Processor 701 and memory 702 are connected by bus 703.Memory 702 is for storing computer program, above-mentioned computer journey Sequence includes program instruction, and processor 701 is used to execute the program instruction of the storage of memory 602.Wherein, processor 701 is configured For calling the program instruction to perform the following operations:
It generates in link in the order of supply chain, the seller being transferred on order account book is ordered by intelligent encryption and about SCC The commodity total value of single account is digitally signed to confirm the above order account book;
In commodity cargo transport link, the logistics account book of commodity is created, is created on above-mentioned logistics account book by SCC and sells square object Account is flowed, and the total volume of commodities of above-mentioned logistics account book is arranged by SCC and the above-mentioned total volume of commodities is injected into above-mentioned seller's logistics account Family, and the product of the above-mentioned total volume of commodities and above-mentioned encryption unit price is provided equal to the above-mentioned quotient in above-mentioned seller's order account to SCC The 3D zero-knowledge proof of product total value;
When verifying the above-mentioned total volume of commodities based on above-mentioned 3D zero-knowledge proof by SCC and the product of above-mentioned encryption unit price is equal to When above-mentioned commodity total value, logistics square object stream account, storage square object stream account are created on above-mentioned logistics account book by SCC and is bought Square object stream account;
The above-mentioned total volume of commodities is transferred to pass through logistics by above-mentioned logistics square object stream account by SCC when the seller starts cargo transport The above-mentioned total volume of commodities is transferred to above-mentioned storage square object stream account and when above-mentioned buyer confirmation is received from above-mentioned storage square object stream by side Account is transferred to above-mentioned buyer's logistics account.
In some possible embodiments, above-mentioned processor 701 is also used to:
In above-mentioned commodity cargo transport link, the invoice account book of commodity is created in block chain network, by SCC in above-mentioned hair Seller invoice account is created on ticket account book and injects initial share for above-mentioned seller invoice account, and above-mentioned initial to SCC offer Share is the 3D zero-knowledge proof of the above-mentioned commodity total value in above-mentioned seller's order account;
It is that buyer creates buyer invoice account simultaneously on above-mentioned invoice account book by SCC in above-mentioned commodity cargo transport link Above-mentioned initial share in above-mentioned seller invoice account is transferred to above-mentioned buyer invoice account.
In some possible embodiments, above-mentioned processor 701 is used for:
Logistics side's identification information of logistics side is obtained, and combining above-mentioned logistics side's identification information by SCC is above-mentioned logistics Side creates logistics square object stream account on above-mentioned logistics account book;
Storage side's identification information of storage side is obtained, and combining above-mentioned storage side's identification information by SCC is above-mentioned storage Side's creation storage square object stream account on above-mentioned logistics account book;
The buyer identifier information of buyer is obtained, and combining above-mentioned buyer identifier information by SCC is above-mentioned buyer above-mentioned Buyer's logistics account is created on logistics account book;
Wherein, above-mentioned vendor identification information includes at least one in the public key of the above-mentioned seller and the digital certificate of the above-mentioned seller Kind, above-mentioned storage side's identification information includes at least one of public key and digital certificate of above-mentioned storage side of above-mentioned storage side, Above-mentioned buyer identifier information includes at least one of public key and digital certificate of above-mentioned buyer of above-mentioned buyer.
In some possible embodiments, above-mentioned processor 701 is also used to:
When the above-mentioned seller needs the order of above-mentioned commodity to finance, seller's order is created in above-mentioned block chain network Financing account book, and seller's order financing account is created on above-mentioned seller's order financing account book by SCC;
The total financing of above-mentioned seller's order financing account book is generated by SCC, and provides above-mentioned total financing equal to above-mentioned The 3D zero-knowledge proof of above-mentioned commodity total value on order account book;
It is equal to above-mentioned commodity total value if being based on above-mentioned 3D zero-knowledge proof by above-mentioned SCC and verifying above-mentioned total financing, Above-mentioned total financing is injected into above-mentioned seller's order financing account;
It is when the above-mentioned seller obtains the financing of any financier, the above-mentioned financing on above-mentioned seller's order financing account is total Volume is transferred to the account of any of the above-described financier to complete the order of above-mentioned commodity financing.
It should be appreciated that in some possible embodiments, above-mentioned processor 701 can be CPU, the processor 701 is also Can be other general processors, DSP, ASIC, FPGA) either other programmable logic device, discrete gate or transistor are patrolled Collect device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any conventional Processor etc..
The memory 702 may include read-only memory and random access memory, and to processor 701 provide instruction and Data.The a part of of memory 702 can also include nonvolatile RAM.For example, memory 702 can also be deposited Store up the information of device type.
In the specific implementation, base provided by the embodiments of the present application can be performed in processor 701 described in the embodiment of the present application The embodiment of the present application also can be performed in the implementation provided by seller side in the supply chain data managing method of zero-knowledge proof The implementation of seller side device in the described supply chain data administrator based on zero-knowledge proof, it is no longer superfluous herein It states.
In the embodiment of the present application, it may be implemented in the number of each participant during commodity transaction based on above-mentioned each step According to following, it is not necessarily in data transfer of the participant each in the process of exchange of commodity between the account in each generic attribute account book Shared data content, the data transfer between each account can execute in the state of cargo price encryption, to may be implemented in Guarantee the cross validation that data are completed while the data-privacy of each participant, operation is more flexible, and applicability is stronger.In this Shen Please in embodiment, after buyer completes from the transaction that the seller orders the goods, the seller can be used the commodity transaction order or Foundation of person's invoice as commodity financing, so as to for realizing with any financier (such as any bank) finance interactive process In data cross verifying.The commodity financing based on order is realized based on zero-knowledge proof, it is easy to operate, it is applicable to be unwilling Receive each commercial undertaking of data sharing, applicability is stronger.
The embodiment of the present application also provides a kind of computer readable storage medium, which has meter Calculation machine program, the computer program include program instruction, which realizes that above-described embodiment provides when being executed by processor The supply chain data managing method based on zero-knowledge proof in implementation performed by buyer-side, detail please refers to The implementation of embodiment offer is stated, details are not described herein.
The embodiment of the present application also provides a kind of computer readable storage medium, which has meter Calculation machine program, the computer program include program instruction, which realizes that above-described embodiment provides when being executed by processor The supply chain data managing method based on zero-knowledge proof in implementation performed by seller side, detail please refers to The implementation of embodiment offer is stated, details are not described herein.
Above-mentioned computer readable storage medium can be the confession based on zero-knowledge proof provided by aforementioned any embodiment Answer the internal storage unit of chain data administrator or electronic equipment, such as the hard disk or memory of electronic equipment.The computer can It reads storage medium and is also possible to the External memory equipment of the electronic equipment, such as the plug-in type hard disk being equipped on the electronic equipment, Intelligent memory card (smart media card, SMC), secure digital (secure digital, SD) card, flash card (flash Card) etc..Further, which can also both include the internal storage unit of the electronic equipment or wrap Include External memory equipment.The computer readable storage medium is for storing needed for the computer program and the electronic equipment it His program and data.The computer readable storage medium can be also used for temporarily storing the number that has exported or will export According to.
It should be appreciated that the description and claims of this application and term " first " in the attached drawing, " second ", " third ", " 4th " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " tool Have " and their any deformations, it is intended that it covers and non-exclusive includes.Referenced herein " embodiment " it is meant that in conjunction with The a particular feature, structure, or characteristic of embodiment description may be embodied at least one embodiment of the application.In the description Each position show that the phrase might not each mean identical embodiment, nor independent with other embodiments mutual exclusion Or alternative embodiment.Those skilled in the art explicitly and implicitly understand, embodiment described herein can be with Other embodiments combine.Those of ordinary skill in the art may be aware that described in conjunction with the examples disclosed in this document Each exemplary unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clear Ground illustrates the interchangeability of hardware and software, generally describes each exemplary composition according to function in the above description And step.These functions are implemented in hardware or software actually, and the specific application and design depending on technical solution are about Beam condition.Professional technician can use different methods to achieve the described function each specific application, still It is this to realize it is not considered that exceeding scope of the present application.
Although the application is described in conjunction with specific features and embodiment, it is clear that, do not departing from this Shen In the case where spirit and scope please, it can be carry out various modifications and is combined.Correspondingly, the specification and drawings are only institute The exemplary illustration for the application that attached claim is defined, and be considered as covered within the scope of the application any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art the application can be carried out various modification and variations without It is detached from spirit and scope.If in this way, these modifications and variations of the application belong to the claim of this application and its Within the scope of equivalent technologies, then the application is also intended to include these modifications and variations.

Claims (11)

1. a kind of supply chain data managing method based on zero-knowledge proof, which is characterized in that the method is suitable for buyer and exists Commodity data management is realized in supply chain, which comprises
It is generated in link in the order of supply chain, buyer creates the order account book of commodity in block chain network, is added by intelligence Closely sealed about SCC creates buyer's order account on the order account book, and the commodity total value of the order account book is arranged simultaneously by SCC The commodity total value is injected into the buyer's order account;
It is generated in link in the order, the buyer is that the seller creates seller's order account on the order account book by SCC Family, and the commodity total value is transferred to for seller's order account;
It receives in link in confirmation, the buyer signs for the commodity and initiates the logistics account book and invoice of the commodity to SCC The transfer order of account book is received with confirming, and to the transfer shares that SCC provides the logistics account book and the invoice account book be with The encryption unit price of the commodity is the 3D zero-knowledge proof of multiplier;
When the buyer verifies transfer shares on the logistics account book and the quotient based on the 3D zero-knowledge proof by SCC When the product of the encryption unit price of product is equal to the transfer shares of the invoice account book, the buyer updates buyer in the logistics account book The total volume of commodities of logistics account, and the invoice account book is updated to send out the commodity total value under the buyer's order account from buyer Ticket account is transferred to seller invoice account.
2. the method according to claim 1, wherein creating ordering for commodity in block chain network in the buyer Before single account book, the method also includes:
The buyer is that the unit price of the commodity is encrypted to obtain the encryption list of the commodity in the block chain network Valence, and the encryption unit price of the commodity is stored into the block chain network.
3. method according to claim 1 or 2, which is characterized in that the buyer is the seller in the order account by SCC Seller's order account is created in sheet includes:
The buyer obtains the vendor identification information of the seller, and is that the seller exists in conjunction with the vendor identification information by SCC Seller's order account is created on the order account book;
Wherein, the vendor identification information includes at least one of public key and digital certificate of the seller of the seller.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When the buyer needs the order of the commodity to finance, the buyer creates buyer in the block chain network Order financing account book, and buyer's order financing account is created on buyer's order financing account book by SCC;
The buyer generates the total financing of the buyer's order financing account book by SCC, and provides the total financing and be equal to The 3D zero-knowledge proof of the commodity total value on the order account book;
If the buyer is total equal to the commodity based on the 3D zero-knowledge proof verifying total financing by the SCC The total financing is then injected the buyer's order financing account by volume;
When the buyer obtains the financing of any financier, the buyer will melt described on the buyer's order financing account Money total value is transferred to the account of any financier to complete the order of commodity financing.
5. a kind of supply chain data managing method based on zero-knowledge proof, which is characterized in that the method is suitable for the seller and exists Commodity data management is realized in supply chain, which comprises
It is generated in link in the order of supply chain, the seller orders the seller being transferred on order account book by intelligent encryption and about SCC The commodity total value of single account is digitally signed to confirm the order account book;
In commodity cargo transport link, the seller creates the logistics account book of commodity, is created and is sold on the logistics account book by SCC Square object stream account, and the total volume of commodities of the logistics account book is arranged by SCC and square object will be sold described in total volume of commodities injection Account is flowed, and provides the product of the total volume of commodities and the encryption unit price equal to the institute in seller's order account to SCC State the 3D zero-knowledge proof of commodity total value;
When the seller verifies the total volume of commodities and the product for encrypting unit price based on the 3D zero-knowledge proof by SCC When equal to the commodity total value, created on the logistics account book by SCC logistics square object stream account, storage square object stream account with And buyer's logistics account;
The seller starts to freight and the total volume of commodities is transferred to the logistics square object stream account to pass through logistics side by SCC The total volume of commodities is transferred to the storage square object stream account and is transferred to buyer's logistics account when buyer confirmation is received Family.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
In commodity cargo transport link, the seller creates the invoice account book of commodity in block chain network, by SCC in institute It states and creates seller invoice account on invoice account book and inject initial share for the seller invoice account, and to described in SCC offer Initial share is the 3D zero-knowledge proof of the commodity total value in seller's order account;
In commodity cargo transport link, the seller is that buyer creates buyer invoice account on the invoice account book by SCC The initial share in the seller invoice account is simultaneously transferred to the buyer invoice account by family.
7. method according to claim 5 or 6, which is characterized in that described to create object on the logistics account book by SCC Stream square object stream account, storage square object stream account and buyer's logistics account include:
The seller obtains logistics side's identification information of logistics side, and is described in conjunction with logistics side's identification information by SCC Logistics side creates logistics square object stream account on the logistics account book;
The seller obtains storage side's identification information of storage side, and is described in conjunction with storage side's identification information by SCC Storage side creates storage square object stream account on the logistics account book;
The seller obtains the buyer identifier information of buyer, and is that the buyer exists in conjunction with the buyer identifier information by SCC Buyer's logistics account is created on the logistics account book;
Wherein, the vendor identification information includes at least one of public key and digital certificate of the seller of the seller, Storage side's identification information includes at least one of public key and digital certificate of the storage side of the storage side, described Buyer identifier information includes at least one of public key and digital certificate of the buyer of the buyer.
8. a kind of supply chain data administrator based on zero-knowledge proof, which is characterized in that described device is suitable for buyer and exists Commodity data management is realized in supply chain, described device includes:
Creating unit creates the order account book of commodity in block chain network, leads to for generating in link in the order of supply chain It crosses intelligent encryption and about SCC and creates buyer's order account on the order account book, the quotient of the order account book is set by SCC The commodity total value is simultaneously injected the buyer's order account by product total value;
The creating unit is also used to generate in link in the order, is that the seller creates on the order account book by SCC Seller's order account, and the commodity total value is transferred to for seller's order account;
Confirmation unit initiates the commodity when the buyer signs for the commodity and to SCC for receiving in link in confirmation Logistics account book and the transfer order of invoice account book received with confirming, and provide the logistics account book and the invoice account to SCC This transfer shares is the 3D zero-knowledge proof with the encryption unit price of the commodity for multiplier;
Updating unit, for verifying the logistics account book when the confirmation unit is based on the 3D zero-knowledge proof by SCC On transfer shares and the commodity encryption unit price product be equal to the invoice account book transfer shares when, update the object The total volume of commodities of buyer's logistics account in account book is flowed, and updates the invoice account book with by the commodity under the buyer's order account Total value is transferred to seller invoice account from buyer invoice account.
9. a kind of supply chain data administrator based on zero-knowledge proof, which is characterized in that described device is suitable for the seller and exists Commodity data management is realized in supply chain, described device includes:
Confirmation unit, for being generated in link in the order of supply chain, by intelligent encryption and about SCC to being transferred on order account book The commodity total value of seller's order account be digitally signed to confirm the order account book;
Creating unit, for the logistics account book of commodity being created, through SCC on the logistics account book in commodity cargo transport link Create seller's logistics account, and by SCC be arranged the logistics account book the total volume of commodities and will the total volume of commodities inject described in Seller's logistics account, and it is equal to seller's order account to the product that SCC provides the total volume of commodities and the encryption unit price On the commodity total value 3D zero-knowledge proof;
The creating unit is also used to adding based on the 3D zero-knowledge proof verifying total volume of commodities with described by SCC When the product of close unit price is equal to the commodity total value, logistics square object stream account, storage are created on the logistics account book by SCC Square object stream account and buyer's logistics account;
Data processing unit, for the total volume of commodities to be transferred to the logistics side by SCC when the seller starts cargo transport Logistics account is to be transferred to the storage square object stream account for the total volume of commodities by logistics side and receive in buyer confirmation When be transferred to buyer's logistics account.
10. a kind of terminal, which is characterized in that including processor and memory, the processor and memory are connected with each other, In, the memory is for storing computer program, and the computer program includes program instruction, and the processor is configured to use In calling described program instruction, the method according to claim 1 to 7 is executed.
11. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instruction executes the processor such as The described in any item methods of claim 1-7.
CN201910382454.2A 2019-05-07 2019-05-07 Supply chain data managing method and device based on zero-knowledge proof Pending CN110223063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910382454.2A CN110223063A (en) 2019-05-07 2019-05-07 Supply chain data managing method and device based on zero-knowledge proof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910382454.2A CN110223063A (en) 2019-05-07 2019-05-07 Supply chain data managing method and device based on zero-knowledge proof
PCT/CN2019/101950 WO2020224092A1 (en) 2019-05-07 2019-08-22 Zero-knowledge proof-based supply chain data management method and apparatus

Publications (1)

Publication Number Publication Date
CN110223063A true CN110223063A (en) 2019-09-10

Family

ID=67820722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910382454.2A Pending CN110223063A (en) 2019-05-07 2019-05-07 Supply chain data managing method and device based on zero-knowledge proof

Country Status (2)

Country Link
CN (1) CN110223063A (en)
WO (1) WO2020224092A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180232731A1 (en) * 2017-02-14 2018-08-16 Digital Treasury Corporation Supply chain recording method with traceable function by implementing blockchain technique
CN108109017A (en) * 2018-01-11 2018-06-01 杭州秘猿科技有限公司 Commodity trading system based on block chain intelligence contract
CN108389046B (en) * 2018-02-07 2020-08-28 西安交通大学 Privacy protection transaction method based on block chain technology in electronic commerce
CN109102285A (en) * 2018-07-30 2018-12-28 上海淳麒金融信息服务有限公司 Supply chain finance implementation method and its control system based on block chain duplex structure
CN111833186A (en) * 2018-09-20 2020-10-27 创新先进技术有限公司 Transaction method and device based on block chain and node equipment

Also Published As

Publication number Publication date
WO2020224092A1 (en) 2020-11-12

Similar Documents

Publication Publication Date Title
JP2019514089A (en) Registry and Automated Management Method for Sophisticated Trading Enforced by Blockchain
CN108256859B (en) Financial product transaction consensus method, node and system based on block chain
CN105684346B (en) Ensure the method for air communication safety between mobile application and gateway
KR20180114915A (en) Block Chain Based Exchange Using Tokenization
KR20180115282A (en) Method and system for efficient transmission of entities in peer-to-peer distributed books using block chains
JP2018514850A (en) Energy resource network
US10497037B2 (en) System and method for managing cryptocurrency payments via the payment request API
US20170053249A1 (en) Electronic Crypto-Currency Management Method and System
US8195578B2 (en) Electronic currency, electronic wallet therefor and electronic payment systems employing them
CN108701296A (en) The method and system exchanged for offline block chain
CN108604344A (en) Method and system for using digital signature creation Trusted Digital assets transfer
CN108764874A (en) Anonymous refund method, system and storage medium based on block chain
Manchala Trust metrics, models and protocols for electronic commerce transactions
CN107038578A (en) Multi-signature exchange information processing method in data trade platform based on block chain
KR20160132307A (en) Method and storage medium using cryptocurrency for money transfer
US20150046337A1 (en) Offline virtual currency transaction
CN106790431A (en) Cloud manufacturing service Transaction Information record system and method based on block chain
CN108352009A (en) Block chain generating means, block chain generation method, block chain verification device, block chain verification method and program
CN108292396A (en) Method and system for handling the transaction of the block chain in transaction processing network
CN107409002A (en) Method and apparatus of the repeatable encryption key of general certainty to expression are provided for all SKU, canister and article
CN105956923A (en) Asset transaction platform and digital certification and transaction method for assets
US6157920A (en) Executable digital cash for electronic commerce
CN109074564A (en) The method and system of usage record guarantee pay down
Goldfeder et al. Escrow protocols for cryptocurrencies: How to buy physical goods using bitcoin
Parkes et al. Practical secrecy-preserving, verifiably correct and trustworthy auctions

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