CN113077311B - Whole-course traceable transaction system for agricultural products - Google Patents

Whole-course traceable transaction system for agricultural products Download PDF

Info

Publication number
CN113077311B
CN113077311B CN202110361884.3A CN202110361884A CN113077311B CN 113077311 B CN113077311 B CN 113077311B CN 202110361884 A CN202110361884 A CN 202110361884A CN 113077311 B CN113077311 B CN 113077311B
Authority
CN
China
Prior art keywords
intelligent contract
transaction
matching
supply
demand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110361884.3A
Other languages
Chinese (zh)
Other versions
CN113077311A (en
Inventor
陈怡男
陈惠芬
梁琳
李婕
吕园园
杨先凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southwest Petroleum University
Original Assignee
Southwest Petroleum University
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 Southwest Petroleum University filed Critical Southwest Petroleum University
Priority to CN202110361884.3A priority Critical patent/CN113077311B/en
Publication of CN113077311A publication Critical patent/CN113077311A/en
Application granted granted Critical
Publication of CN113077311B publication Critical patent/CN113077311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Primary Health Care (AREA)
  • Library & Information Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Agronomy & Crop Science (AREA)
  • Animal Husbandry (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Mining & Mineral Resources (AREA)
  • Human Resources & Organizations (AREA)
  • Artificial Intelligence (AREA)
  • Tourism & Hospitality (AREA)
  • Technology Law (AREA)
  • Computational Linguistics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a whole-course traceable transaction system for agricultural products, and relates to the field of agricultural block chains. The intelligent contract trading platform is based on the intelligent contracts of the block chains of the alliances, all trading data are stored in each node on the block chains of the alliances and can be traced through Merkle trees, intelligent contract trading is customized through a visual trading intelligent contract customization end installed on a client through a contract template, a user only needs to fill in key information completely and is concentrated on practical application without paying attention to the code problem of the intelligent contracts; the supply and demand matching end of the invention pushes by calculating the matching degree of the supplier and the buyer, the pushing rank is more advanced for the high matching degree, in addition, when the matching degree is measured, the calculation model optimization is carried out aiming at each matching degree influence factor, so that the calculation result is more persuasive; the application scene of the block chain is refined, and the problems of difficult supervision, difficult right maintenance, difficult communication and the like in the spot transaction of agricultural products are solved.

Description

Whole-course traceable transaction system for agricultural products
Technical Field
The invention relates to the field of agricultural block chains, in particular to a whole-course traceable transaction system for agricultural products.
Background
The agricultural product transaction is generally divided into spot transaction and forward spot transaction, and as the name suggests, the spot transaction is a form of delivering money by one hand and delivering money by one hand, but when the transaction scale is larger and larger or the short-time delivery cannot be achieved due to factors such as planting period, the inconvenience of the transaction mode is more and more prominent.
The forward spot transaction means that two parties agree in a negotiation mode, when the two parties agree with a transaction condition on the agreement, the spot transaction is started, and the buyer and the seller can flexibly sign a contract according to the self requirement and arrange the production by utilizing the pre-signed contract.
The traditional agricultural product transaction agreement is usually carried out in the form of a paper contract or oral agreement, and due to the characteristics of difficult evidence obtaining and low legal benefit of the oral agreement, the mode is usually only used under the conditions of acquaintance transaction and small-amount transaction, the paper contract has good legal benefit, but the paper contract generally exists:
1. when one party is not fulfilled, the right of maintenance is difficult, and the tracing and the collection of the certificate are difficult;
2. a case of multiple sales of one item;
3. a condition of delinquent payment;
4. the bidirectional contract needs to introduce a third party to verify the authenticity of the contract;
5. the credibility of both parties is not transparent;
6. there is a risk of the contract being tampered with
7. Long maintenance period, etc.
Due to the space-time periodicity of agricultural products, when the transaction between two parties is in a problem, the storage cost of the agricultural products is high, and if the agricultural products are not sold in time, the agricultural products are in a risk of being damaged, and at the moment, if a supplier cannot find a new buyer in a short time, the agricultural products are either sold to the buyer in a reduced price or the agricultural products are damaged.
In order to solve the problems, the invention application with the patent publication number of CN110992145A provides a method for the forward transaction of agricultural products, wherein two transaction parties of the method are peasant households and buyers, a transaction center supervises the transaction process, the transaction modes comprise quantitative non-pricing and quantitative pricing, and the peasant households and the buyers participating in the transaction select the transaction mode of the agricultural products after negotiation and agreement; the buyer fills in the agricultural product transaction information and forms a forward transaction order of the agricultural product after the agricultural product transaction information is confirmed by the peasant household; the trading center audits the long-term trading order of the agricultural products and forms a formal contract after the audit is passed; detecting agricultural products on the delivery date; after the detection, the peasant household and the buyer carry out delivery, and return the deposit to the peasant household and the buyer. The invention provides a method for agricultural product forward trading between farmers and buyers, which reduces the uncertainty of the agricultural product trading process, reduces the risk of agricultural product trading and protects the benefits of both trading parties. However, due to the high frequency of agricultural product transaction, the transaction center needs lots of human resources to maintain normal transaction supervision, and the transaction center cannot have a powerful means when expanding the maintenance right, and the problem of transaction neutralization exists
Therefore, there is a need to provide a new agricultural product whole-course traceable transaction system which can be monitored by less manpower, can automatically execute automatic right maintenance and can trace the whole course to solve the above problems.
Disclosure of Invention
In order to solve the technical problem, the invention provides a whole-process traceable transaction system for agricultural products, and relates to the field of agricultural block chains. The intelligent contract trading platform is based on the intelligent contracts of the block chains of the alliances, all trading data are stored in each node on the block chains of the alliances and can be traced through Merkle trees, intelligent contract trading is customized through a visual trading intelligent contract customization end installed on a client through a contract template, a user only needs to fill in key information completely and is concentrated on practical application without paying attention to the code problem of the intelligent contracts; the supply and demand matching end of the invention pushes by calculating the matching degree of the supplier and the buyer, the pushing rank is more advanced for the high matching degree, in addition, when the matching degree is measured, the calculation model optimization is carried out aiming at each matching degree influence factor, so that the calculation result is more persuasive; the application scene of the block chain is refined, and the problems of difficult supervision, difficult right maintenance, difficult communication and the like in the spot transaction of agricultural products are solved.
The invention provides a whole-course traceability transaction system for agricultural products, which comprises a supplier and a buyer, wherein the supplier and the buyer carry out spot transaction through an intelligent contract transaction platform, and the intelligent contract transaction platform is arranged on a user terminal; the transaction flow of the intelligent contract transaction platform comprises a supply and demand matching stage, transaction intention establishment of both parties, transaction detail drafting, transaction intelligent contract making, contract clause execution, money and goods clearing and transaction completion; the intelligent contract transaction platform is based on an intelligent contract of an alliance block chain, all transaction data are stored in each node on the alliance block chain, the intelligent contract transaction platform comprises a supply and demand matching end, an intention confirming end, a detail exchange end, a transaction intelligent contract making end and an opinion feedback end, and the supply and demand matching end is used for mutually pushing a matched supplier and a buyer in a supply and demand matching stage; the intention confirming end is used for the supplier and the buyer to confirm the preliminary transaction intention, and if the two parties reach the preliminary transaction intention, the detail transaction end is opened to the two parties; the detail communication end is used for communication between two parties and agreeing on the transaction details; after the agreement is finished, if both parties still have trading intentions, opening a trading intelligent contract making end for both parties; the supplier or the purchaser can initiate and establish an intelligent contract through the transaction intelligent contract establishment end, the other party waits for the intelligent contract content to be reviewed after the intelligent contract establishment is completed, the transaction intelligent contract establishment end compiles the transaction intelligent contract into an intelligent contract digital file after the review is completed and the dispute does not exist in the intelligent contract content, and the intelligent contract digital file is deployed to all nodes of the alliance block chain.
As a more specific solution, the supply and demand matching end comprises a supplier issuing end, a purchaser issuing end and a supply and demand matching end, and the supplier issuing end is used for issuing supply products to be sold, product producing areas, maximum supply amount and minimum receiving price; the purchaser issuing end is used for issuing a required product to be purchased, an expected origin, a required expected value and an expected price interval; the supply and demand matching end is used for establishing matching between supply and demand information issued by the supplier issuing end and the purchaser issuing end and mutually pushing the supply and the purchaser according with the matching degree.
As a more specific solution, the supply and demand matching end implements matching between a supplier and a buyer through matching degree evaluation, and a matching degree calculation formula is as follows:
Figure GDA0003492676170000031
where § denotes a degree of matching, ST denotes a state of matching between the supplied product and the demanded product, PA denotes a degree of matching between the product origin and the desired origin, DE denotes a degree of matching between the maximum supply quantity and the desired demand value, TD denotes a degree of matching between the minimum acceptance price and the desired price interval, λ denotes a weight of matching between the product origin and the desired origin, μ denotes a weight of matching between the maximum supply quantity and the desired demand value, and ω denotes a weight of matching between the minimum acceptance price and the desired price interval.
As a more specific solution, the supply and demand matching end comprises a participle extracting end, a semantic recognizing end, a semantic matching end and a supply and demand matching library; the participle extracting end is used for extracting user input information and obtaining participles, the semanteme recognizing end is used for semanteme recognition of the participles and marking clustering labels for the participles, and the semanteme matching end is matched with a semanteme tree through the clustering labels; the supply and demand matching library is used for storing supply information of a supplier and demand information of a buyer.
As a more specific solution, the product matching state ST is whether an agricultural product provided by a supplier is an agricultural product required by a buyer, and a state value of the product matching state ST is calculated by a supply and demand matching terminal; the semantic recognition end is used for extracting agricultural product participles in the participles and marking clustering labels for the agricultural product participles; and the semantic matching end searches whether an agricultural product demand relation exists in the supply and demand matching library or not through the clustering label, if the demand relation exists, the matching state value ST is 1, and if the demand relation does not exist, the matching state value ST is 0.
As a more specific solution, the origin matching degree PA is whether the origin of the agricultural product provided by the supplier is the origin of the agricultural product required by the buyer, and the origin matching degree PA is calculated by the supply and demand matching terminal; the semantic recognition end is used for extracting the agricultural product origin participles in the participles and marking origin clustering labels for the agricultural product origin participles; the semantic matching end searches for a supply and demand relation matched with a place of origin in a supply and demand matching library through a place of origin clustering label, and the calculation formula of the place of origin matching degree PA is as follows:
Figure GDA0003492676170000041
where IV denotes an initial value, n denotes a region accuracy level, i denotes a current level,
Figure GDA0003492676170000042
a zone value representing the target zone at the current zone accuracy level,
Figure GDA0003492676170000043
indicating the zone value of the supply zone at the current zone level of accuracy.
As a more specific solution, the supply and demand matching degree DE refers to whether the original yield of the agricultural product provided by a supplier can meet the yield of the agricultural product required by a buyer, the supply and demand matching end calculates the supply and demand matching degree DE for the supply and demand party with a matching state value ST of 1, and the calculation formula of the supply and demand matching degree DE is as follows:
DE=TAN-1(SP-RP)
where SP represents the supply amount and RP represents the demand amount.
As a more specific solution, the price matching degree TD refers to a matching degree between a minimum accepted price of an agricultural product provided by a supplier and an expected price interval of the agricultural product required by a buyer, the supply and demand matching end calculates the price matching degree TD for the supplier and the buyer with a matching state value ST of 1, and the calculation formula of the price matching degree TD is as follows:
Figure GDA0003492676170000044
where, δ is the attenuation factor, FP is the lowest accepted price,
Figure GDA0003492676170000045
is the lower bound of the expected price interval,
Figure GDA0003492676170000046
is the upper bound value of the expected price interval, and OV is the initial value of the supply and demand matching degree.
As a more specific solution, the intelligent transaction contract-making end is a visual intelligent transaction contract-making end and is installed on a user terminal, the intelligent transaction contract-making end includes an intelligent contract visual generation end and an intelligent contract compiling and deploying end, a user makes a visual intelligent contract through the intelligent contract visual generation end, the intelligent contract visual generation end sends intelligent contract key parameters made by the user to the intelligent contract compiling and deploying end, the intelligent contract compiling and deploying end decodes the key parameters and compiles the key parameters into an intelligent contract digital template to generate an intelligent contract digital file, and the compiled intelligent contract digital file is distributed to all block nodes of the block chain of the alliance through the intelligent contract compiling and deploying end.
The intelligent contract visual generation end comprises an item field and an input field, the item field corresponds to a key parameter item name, the input field is used for inputting a value defined by a user to the corresponding key parameter, the item field comprises a transaction agricultural product name field, an agricultural product producing area field, a transaction quantity field, a transaction unit price field, a transaction total amount field, a prepayment field, a first party's pension field, a second party's pension field, a first party's cancellation compensation field, a second party's cancellation compensation field, a delivery time limit field, a delivery address field, a delivery mode field and a quality index field, and the input field is used for inputting a value or a text to the item field.
As a more specific solution, the intelligent contract compiling and deploying end can receive the intelligent contract key parameters input by the user at the intelligent contract visual generating end, and detect whether the intelligent contract key parameters are complete and legal, if the intelligent contract key parameters are complete and legal, the intelligent contract compiling and deploying end will compile the key parameters into the intelligent contract digital template to generate an intelligent contract digital file, and deploy the intelligent contract digital file to the alliance block chain.
The intelligent contract making end encrypts by an asymmetric encryption technology, the making of an intelligent contract is initiated by one of a supplier and a buyer, the other party confirms, after the initiator makes an intelligent contract, the intelligent contract content is encrypted by an ECC encryption algorithm to obtain a public key PK and a private key SK and obtain a Hash value of an encrypted file, the confirming party decodes the encrypted content by the public key PK provided by the initiator, whether the intelligent contract content is tampered or not is verified by the Hash value, the intelligent contract content is displayed to the confirming party after verification, after the confirming party confirms that the intelligent contract is not tampered and agrees to execute, key parameters are compiled into an intelligent contract digital template by an intelligent contract compiling term deploying end to generate an intelligent contract digital file, and the intelligent contract digital file is deployed to a federation block chain.
Compared with the related art, the agricultural product whole-course traceable transaction system provided by the invention has the following beneficial effects:
1. the intelligent contract trading platform is based on the intelligent contracts of the block chains of the alliances, all trading data are stored in each node on the block chains of the alliances and can be traced through Merkle trees, intelligent contract trading is customized through a visual trading intelligent contract customization end installed on a client through a contract template, a user only needs to fill in key information completely and is concentrated on practical application without paying attention to the code problem of the intelligent contracts;
2. the supply and demand matching end of the invention pushes by calculating the matching degree of the supplier and the buyer, the pushing rank is more advanced for the high matching degree, in addition, when the matching degree is measured, the calculation model optimization is carried out aiming at each matching degree influence factor, so that the calculation result is more persuasive;
3. the invention relates to floor application of an intelligent contract, which solves the problems of difficult supervision, difficult right maintenance, difficult communication and the like in the spot transaction of agricultural products for an application scene of refining a block chain.
Drawings
FIG. 1 is a schematic system flow diagram of a whole-process traceability transaction system for agricultural products according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an intelligent contract-making end of a whole-process traceability transaction system for agricultural products according to an embodiment of the present invention;
FIG. 3 is a supply and demand matching degree DE model image of a whole-course traceable transaction system for agricultural products provided by the invention;
fig. 4 is a price matching degree TD model image of the agricultural product whole-course traceable transaction system provided by the present invention.
Detailed Description
The invention is further described with reference to the following figures and embodiments.
As shown in fig. 1 to 4, the agricultural product whole-process traceability transaction system provided by the present invention includes a supplier and a buyer, wherein the supplier and the buyer perform spot transaction through an intelligent contract transaction platform, and the intelligent contract transaction platform is installed on a user terminal; the transaction flow of the intelligent contract transaction platform comprises a supply and demand matching stage, transaction intention establishment of both parties, transaction detail drafting, transaction intelligent contract making, contract clause execution, money and goods clearing and transaction completion; the intelligent contract transaction platform is based on an intelligent contract of an alliance block chain, all transaction data are stored in each node on the alliance block chain, the intelligent contract transaction platform comprises a supply and demand matching end, an intention confirming end, a detail exchange end, a transaction intelligent contract making end and an opinion feedback end, and the supply and demand matching end is used for mutually pushing a matched supplier and a buyer in a supply and demand matching stage; the intention confirming end is used for the supplier and the buyer to confirm the preliminary transaction intention, and if the two parties reach the preliminary transaction intention, the detail transaction end is opened to the two parties; the detail communication end is used for communication between two parties and agreeing on the transaction details; after the agreement is finished, if both parties still have trading intentions, opening a trading intelligent contract making end for both parties; the supplier or the purchaser can initiate and establish an intelligent contract through the transaction intelligent contract establishment end, the other party waits for the intelligent contract content to be reviewed after the intelligent contract establishment is completed, the transaction intelligent contract establishment end compiles the transaction intelligent contract into an intelligent contract digital file after the review is completed and the dispute does not exist in the intelligent contract content, and the intelligent contract digital file is deployed to all nodes of the alliance block chain.
As a more specific solution, the supply and demand matching end comprises a supplier issuing end, a purchaser issuing end and a supply and demand matching end, and the supplier issuing end is used for issuing supply products to be sold, product producing areas, maximum supply amount and minimum receiving price; the purchaser issuing end is used for issuing a required product to be purchased, an expected origin, a required expected value and an expected price interval; the supply and demand matching end is used for establishing matching between supply and demand information issued by the supplier issuing end and the purchaser issuing end and mutually pushing the supply and the purchaser according with the matching degree.
It should be noted that: the supply and demand matching end is the key point whether the supply and demand matching end can establish the transaction, and the transaction can be better completed by accurate matching.
As a more specific solution, the supply and demand matching end implements matching between a supplier and a buyer through matching degree evaluation, and a matching degree calculation formula is as follows:
Figure GDA0003492676170000061
where § denotes a degree of matching, ST denotes a state of matching between the supplied product and the demanded product, PA denotes a degree of matching between the product origin and the desired origin, DE denotes a degree of matching between the maximum supply quantity and the desired demand value, TD denotes a degree of matching between the minimum acceptance price and the desired price interval, λ denotes a weight of matching between the product origin and the desired origin, μ denotes a weight of matching between the maximum supply quantity and the desired demand value, and ω denotes a weight of matching between the minimum acceptance price and the desired price interval.
It should be noted that λ, μ, and ω are set according to actual requirements, and the weight ratio of λ, μ, and ω determines the preference of the matching degree.
As a more specific solution, the supply and demand matching end comprises a participle extracting end, a semantic recognizing end, a semantic matching end and a supply and demand matching library; the participle extracting end is used for extracting user input information and obtaining participles, the semanteme recognizing end is used for semanteme recognition of the participles and marking clustering labels for the participles, and the semanteme matching end is matched with a semanteme tree through the clustering labels; the supply and demand matching library is used for storing supply information of a supplier and demand information of a buyer.
As a more specific solution, the product matching state ST is whether an agricultural product provided by a supplier is an agricultural product required by a buyer, and a state value of the product matching state ST is calculated by a supply and demand matching terminal; the semantic recognition end is used for extracting agricultural product participles in the participles and marking clustering labels for the agricultural product participles; and the semantic matching end searches whether an agricultural product demand relation exists in the supply and demand matching library or not through the clustering label, if the demand relation exists, the matching state value ST is 1, and if the demand relation does not exist, the matching state value ST is 0.
As a more specific solution, the origin matching degree PA is whether the origin of the agricultural product provided by the supplier is the origin of the agricultural product required by the buyer, and the origin matching degree PA is calculated by the supply and demand matching terminal; the semantic recognition end is used for extracting the agricultural product origin participles in the participles and marking origin clustering labels for the agricultural product origin participles; the semantic matching end searches for a supply and demand relation matched with a place of origin in a supply and demand matching library through a place of origin clustering label, and the calculation formula of the place of origin matching degree PA is as follows:
Figure GDA0003492676170000071
where IV denotes an initial value, n denotes a region accuracy level, i denotes a current level,
Figure GDA0003492676170000072
a zone value representing the target zone at the current zone accuracy level,
Figure GDA0003492676170000073
a region value indicating that the supply region is under the current region precision level;
it should be noted that: in this embodiment, all address information is represented by address codes, v1Representing a provincial unit, v2Representing grade units, v3Representing county-level units, v4Representing country units, v1Wherein 510 represents Sichuan province, 330 represents Jiangsu, v2Medium 100 generation metropolitan, v3Zhong 028 denotes a sheep area, v4Middle 4007 represents street cleaning, CA is 5101000280000 if the supply region is the urban sheep region of Sichuan province; if the target region is the starching street in the urban ewe region of Sichuan province, the DA is 5101000284007, the difference between the supply and demand positions is 0000000004007, the reduction on the initial value of IV is very little, so the matching degree of the production area is very high, if the target region is Jiangsu province, the DA is 3300000000000, the difference between the supply and demand positions is 1801000280000, the reduction on the initial value of IV is very large, and the matching degree of the production area is very low.
As a more specific solution, the supply and demand matching degree DE refers to whether the original yield of the agricultural product provided by a supplier can meet the yield of the agricultural product required by a buyer, the supply and demand matching end calculates the supply and demand matching degree DE for the supply and demand party with a matching state value ST of 1, and the calculation formula of the supply and demand matching degree DE is as follows:
DE=TAN-1(SP-RP)
where SP represents the supply amount and RP represents the demand amount.
It should be noted that: when the supply amount SP is larger than the demand amount RP, the supply-demand matching degree DE should be increased, and when the supply amount SP is larger than the demand amount RP, the supply-demand matching degree DE should be decreased, but when the supply amount SP is greatly different from the demand amount RP, there should be upper and lower bounds on the attenuation or enhancement of DE to avoid that the attenuation or enhancement excessively affects the matching degree § the matching degree DE calculation model satisfying this setting.
As a more specific solution, the price matching degree TD refers to a matching degree between a minimum accepted price of an agricultural product provided by a supplier and an expected price interval of the agricultural product required by a buyer, the supply and demand matching end calculates the price matching degree TD for the supplier and the buyer with a matching state value ST of 1, and the calculation formula of the price matching degree TD is as follows:
Figure GDA0003492676170000081
where, δ is the attenuation factor, FP is the lowest accepted price,
Figure GDA0003492676170000082
is the lower bound of the expected price interval,
Figure GDA0003492676170000083
is the upper bound value of the expected price interval, and OV is the initial value of the supply and demand matching degree.
It should be noted that: δ is an attenuation factor which is constant and is set according to an actual attenuation rate, and we should know that the price matching degree TD of the supplier should be highest when the lowest receiving price of the supplier should be close to the median of the expected price interval of the buyer, the price matching degree TD should be decreased when the supplier is far away from the buyer, the matching degree TD should be close to 0 when the supplier is far away from the buyer, and the word supply and demand matching degree DE calculation model satisfies the setting.
As a more specific solution, the intelligent transaction contract-making end is a visual intelligent transaction contract-making end and is installed on a user terminal, the intelligent transaction contract-making end includes an intelligent contract visual generation end and an intelligent contract compiling and deploying end, a user makes a visual intelligent contract through the intelligent contract visual generation end, the intelligent contract visual generation end sends intelligent contract key parameters made by the user to the intelligent contract compiling and deploying end, the intelligent contract compiling and deploying end decodes the key parameters and compiles the key parameters into an intelligent contract digital template to generate an intelligent contract digital file, and the compiled intelligent contract digital file is distributed to all block nodes of the block chain of the alliance through the intelligent contract compiling and deploying end.
It should be noted that: since the construction of intelligent contracts requires extremely professional programming knowledge, in order to enable users to convert contracts signed by negotiations into intelligent contract digital files without knowing about programming, the embodiment adds a visual transaction intelligent contract customization end.
The intelligent contract visual generation end comprises an item field and an input field, the item field corresponds to a key parameter item name, the input field is used for inputting a value defined by a user to the corresponding key parameter, the item field comprises a transaction agricultural product name field, an agricultural product producing area field, a transaction quantity field, a transaction unit price field, a transaction total amount field, a prepayment field, a first party's pension field, a second party's pension field, a first party's cancellation compensation field, a second party's cancellation compensation field, a delivery time limit field, a delivery address field, a delivery mode field and a quality index field, and the input field is used for inputting a value or a text to the item field.
It should be noted that: the visual transaction intelligent contract making end comprises a background intelligent contract standard template, and information filled by a user is input into the template in a standardized form to generate a customized intelligent contract belonging to a client.
As a more specific solution, the intelligent contract compiling and deploying end can receive the intelligent contract key parameters input by the user at the intelligent contract visual generating end, and detect whether the intelligent contract key parameters are complete and legal, if the intelligent contract key parameters are complete and legal, the intelligent contract compiling and deploying end will compile the key parameters into the intelligent contract digital template to generate an intelligent contract digital file, and deploy the intelligent contract digital file to the alliance block chain.
The intelligent contract making end encrypts by an asymmetric encryption technology, the making of an intelligent contract is initiated by one of a supplier and a buyer, the other party confirms, after the initiator makes an intelligent contract, the intelligent contract content is encrypted by an ECC encryption algorithm to obtain a public key PK and a private key SK and obtain a Hash value of an encrypted file, the confirming party decodes the encrypted content by the public key PK provided by the initiator, whether the intelligent contract content is tampered or not is verified by the Hash value, the intelligent contract content is displayed to the confirming party after verification, after the confirming party confirms that the intelligent contract is not tampered and agrees to execute, key parameters are compiled into an intelligent contract digital template by an intelligent contract compiling term deploying end to generate an intelligent contract digital file, and the intelligent contract digital file is deployed to a federation block chain.
It should be noted that: in the process of generating the intelligent contract digital file, each key data is provided with a Hash pointer, the Hash value of the intelligent contract digital file is generated through the Hash pointers, a Merkle tree is generated, encryption is performed through an asymmetric encryption algorithm in the transmission process, and when tampering prevention and source tracing are performed, each key data in the intelligent contract digital file can be traced through the Merkle tree.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A whole-course traceability transaction system for agricultural products comprises a supplier and a buyer, and is characterized in that the supplier and the buyer carry out spot transaction through an intelligent contract transaction platform, and the intelligent contract transaction platform is arranged on a user terminal; the transaction flow of the intelligent contract transaction platform comprises a supply and demand matching stage, transaction intention establishment of both parties, transaction detail drafting, transaction intelligent contract making, contract clause execution, money and goods clearing and transaction completion; the intelligent contract transaction platform is based on an intelligent contract of an alliance block chain, all transaction data are stored in each node on the alliance block chain, the intelligent contract transaction platform comprises a supply and demand matching end, an intention confirming end, a detail exchange end, a transaction intelligent contract making end and an opinion feedback end, and the supply and demand matching end is used for mutually pushing a matched supplier and a buyer in a supply and demand matching stage; the intention confirming end is used for the supplier and the buyer to confirm the preliminary transaction intention, and if the two parties reach the preliminary transaction intention, the detail transaction end is opened to the two parties; the detail communication end is used for communication between two parties and agreeing on the transaction details; after the agreement is finished, if both parties still have trading intentions, opening a trading intelligent contract making end for both parties; a supplier or a purchaser can initiate and establish an intelligent contract through the transaction intelligent contract establishment end, the other party waits for the intelligent contract content to be reviewed after the intelligent contract establishment is completed, the transaction intelligent contract establishment end compiles the transaction intelligent contract into an intelligent contract digital file after the review is completed and the intelligent contract content is confirmed to be free from disputes, and the intelligent contract digital file is deployed into all nodes of the block chain of the alliance;
the supply and demand matching end realizes matching of a supplier and a buyer through matching degree evaluation, and the matching degree calculation formula is as follows:
Figure FDA0003504590790000011
wherein § denotes a degree of matching, ST denotes a state of matching of the supplied product with the demanded product, PA denotes a degree of matching of the product origin with the desired origin, DE denotes a degree of matching between the maximum supply quantity and the desired demand value, TD denotes a degree of matching between the minimum acceptance price and the desired price interval, λ denotes a weight of the degree of matching between the product origin and the desired origin, μ denotes a weight of the degree of matching between the maximum supply quantity and the desired demand value, and ω denotes a weight of the degree of matching between the minimum acceptance price and the desired price interval;
the product matching state ST refers to whether the agricultural product provided by the supplier is the agricultural product required by the buyer; if the demand relationship exists, the matching state value ST is 1, and if the demand relationship does not exist, the matching state value ST is 0;
the calculation formula of the producing area matching degree PA is as follows:
Figure FDA0003504590790000012
where IV denotes an initial value, n denotes a region accuracy level, i denotes a current level,
Figure FDA0003504590790000013
a zone value representing the target zone at the current zone accuracy level,
Figure FDA0003504590790000021
a region value indicating that the supply region is under the current region precision level;
the calculation formula of the supply and demand matching degree DE is as follows:
DE=TAN-1(SP-RP)
wherein SP represents the supply amount and RP represents the demand amount;
the calculation formula of the price matching degree TD is as follows:
Figure FDA0003504590790000022
where, δ is the attenuation factor, FP is the lowest accepted price,
Figure FDA0003504590790000023
is the lower bound of the expected price interval,
Figure FDA0003504590790000024
is the upper bound value of the expected price interval, and OV is the initial value of the supply and demand matching degree.
2. The agricultural product whole-process traceability transaction system of claim 1, wherein the supply and demand matching terminal comprises a supplier issuing terminal, a purchaser issuing terminal and a supply and demand matching terminal, the supplier issuing terminal is used for issuing supply products to be sold, product producing areas, maximum supply amount and minimum acceptance price; the purchaser issuing end is used for issuing a required product to be purchased, an expected origin, a required expected value and an expected price interval; the supply and demand matching end is used for establishing matching between supply and demand information issued by the supplier issuing end and the purchaser issuing end and mutually pushing the supply and the purchaser according with the matching degree.
3. The agricultural product whole-process traceable transaction system according to claim 2, wherein the supply and demand matching end comprises a participle extracting end, a semantic recognizing end, a semantic matching end and a supply and demand matching library; the participle extracting end is used for extracting user input information and obtaining participles, the semanteme recognizing end is used for semanteme recognition of the participles and marking clustering labels for the participles, and the semanteme matching end is matched with a semanteme tree through the clustering labels; the supply and demand matching library is used for storing supply information of a supplier and demand information of a buyer.
4. The agricultural product whole-course traceable transaction system according to claim 3, wherein the transaction intelligent contract-making end is a visual transaction intelligent contract-making end and is installed on a user terminal, the transaction intelligent contract-making end comprises an intelligent contract visual generation end and an intelligent contract compiling and deploying end, a user makes a visual intelligent contract through the intelligent contract visual generation end, the intelligent contract visual generation end sends intelligent contract key parameters made by the user to the intelligent contract compiling and deploying end, the intelligent contract compiling and deploying end decodes the key parameters and compiles the key parameters into an intelligent contract digital template to generate an intelligent contract digital file, and the compiled intelligent contract digital file is issued and deployed to all block nodes of the alliance block chain through the intelligent contract compiling and deploying end.
5. The agricultural product whole-course traceability transaction system of claim 4, wherein the intelligent contract visual generation end comprises an item field and an input field, the item field corresponds to a key parameter item name, the input field is used for a user to input a user-defined value to the corresponding key parameter, the item field comprises a transaction agricultural product name field, an agricultural product producing area field, a transaction quantity field, a transaction unit price field, a transaction total amount field, a prepayment field, a first party's pension field, a second party's pension field, a first party's cancellation compensation field, a second party's cancellation compensation field, a delivery deadline field, a delivery address field, a delivery mode field and a quality index field, and the input field is used for inputting a value or a text to the item field.
6. The agricultural product whole-course traceable transaction system according to claim 5, wherein the intelligent contract compiling and deploying end can receive intelligent contract key parameters input by a user at the intelligent contract visual generating end, detect whether the intelligent contract key parameters are complete and legal, and if the intelligent contract key parameters are complete and legal, the intelligent contract compiling and deploying end compiles the key parameters into an intelligent contract digital template to generate an intelligent contract digital file and deploys the intelligent contract digital file to the alliance block chain.
7. The agricultural product whole-process traceable transaction system according to claim 6, the intelligent contract-making end of the transaction is encrypted by an asymmetric encryption technology, the making of the intelligent contract is initiated by one of a supplier and a buyer, the other party confirms, after the initiator makes the intelligent contract, the intelligent contract content is encrypted by an ECC encryption algorithm to obtain a public key PK and a private key SK and obtain a Hash value of an encrypted file, the confirming party decodes the encrypted content by the public key PK provided by the initiator, verifying whether the intelligent contract content is tampered through the Hash value, displaying the intelligent contract content to a confirming party after the intelligent contract content is verified, after the affirming party confirms that the intelligent contract is correct and agrees to execute the intelligent contract terms, the key parameters are compiled into the intelligent contract digital template through the intelligent contract compiling and deploying end to generate an intelligent contract digital file, and the intelligent contract digital file is deployed on the alliance block chain.
CN202110361884.3A 2021-04-02 2021-04-02 Whole-course traceable transaction system for agricultural products Active CN113077311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110361884.3A CN113077311B (en) 2021-04-02 2021-04-02 Whole-course traceable transaction system for agricultural products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110361884.3A CN113077311B (en) 2021-04-02 2021-04-02 Whole-course traceable transaction system for agricultural products

Publications (2)

Publication Number Publication Date
CN113077311A CN113077311A (en) 2021-07-06
CN113077311B true CN113077311B (en) 2022-03-29

Family

ID=76615028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110361884.3A Active CN113077311B (en) 2021-04-02 2021-04-02 Whole-course traceable transaction system for agricultural products

Country Status (1)

Country Link
CN (1) CN113077311B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113538144B (en) * 2021-07-19 2024-01-05 浙江数秦科技有限公司 Automatic agricultural product checking system based on blockchain
CN113538143B (en) * 2021-07-19 2024-04-05 浙江数秦科技有限公司 Vegetable supply system based on block chain technology
CN115080854A (en) * 2022-06-29 2022-09-20 北京中关村软件园孵化服务有限公司 Digital service platform system for enterprise service
CN116596600B (en) * 2023-07-18 2023-11-14 滕州市中等职业教育中心学校 Mechanical product real-time information pushing system based on big data analysis

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022885A (en) * 2016-05-24 2016-10-12 深圳市赛瑞产业研究有限公司 Material purchase system and using method thereof
CN107464082A (en) * 2017-08-23 2017-12-12 北京惠赢天下网络技术有限公司 The processing method and server of a kind of trading order form
CN108921329A (en) * 2018-06-08 2018-11-30 北京工商大学 A kind of food transaction Method of Optimal Matching based on block chain technology
CN110431591A (en) * 2017-04-19 2019-11-08 古泽洋将 Transaction system and method for commerce
KR20200125116A (en) * 2019-04-26 2020-11-04 호원대학교산학협력단 A method of managing the history of laver based on a block chain and a history management system using the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022885A (en) * 2016-05-24 2016-10-12 深圳市赛瑞产业研究有限公司 Material purchase system and using method thereof
CN110431591A (en) * 2017-04-19 2019-11-08 古泽洋将 Transaction system and method for commerce
CN107464082A (en) * 2017-08-23 2017-12-12 北京惠赢天下网络技术有限公司 The processing method and server of a kind of trading order form
CN108921329A (en) * 2018-06-08 2018-11-30 北京工商大学 A kind of food transaction Method of Optimal Matching based on block chain technology
KR20200125116A (en) * 2019-04-26 2020-11-04 호원대학교산학협력단 A method of managing the history of laver based on a block chain and a history management system using the same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
西湖龙井区块链溯源体系设计;廖金燕;《中国计量大学学报》;20200630;第31卷(第2期);199-207 *
鄱阳湖区居民福祉供需匹配测度及其空间分异特征研究;宋雅宁;《中国优秀硕士学位论文全文数据库-基础科学辑》;20210115(第1期);A008-346 *

Also Published As

Publication number Publication date
CN113077311A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN113077311B (en) Whole-course traceable transaction system for agricultural products
US20190164236A1 (en) Method of matching renewable energy production to end-user consumption via blockchain systems
Andoni et al. Blockchain technology in the energy sector: A systematic review of challenges and opportunities
CN111062805B (en) Financial service management platform for supply chain
CN109416815A (en) Electronic document platform
CN112215558B (en) Purchasing Internet of things cloud platform system
CN111681111A (en) Credit increase and financing platform system, method and storage medium based on block chain
CN102693484A (en) Enterprise one-stop procurement service system
CN109493009A (en) Supply chain financial platform system based on XBRL and block chain
CN103765463A (en) Method and system for efficiently processing large volumes of complex small value financial transactions
KR102199852B1 (en) Private trading system of waste resources and its method
Shu et al. Blockchain-enhanced trading systems for construction industry to control carbon emissions
JP2019185370A (en) Electronic currency management system
CN111178887A (en) Distributed photovoltaic power generation and sale system and method based on block chain
Bosco et al. Blockchain technology for financial services facilitation in RES investments
EP3736760A1 (en) Automated transaction protocol linking renewable energy generation assets to energy power consumers applying distributed digital ledger technology and iot energy meters
CN107705055A (en) Power network technology innovation project backlog control method based on bill of quantities
CN107491936A (en) A kind of intelligent engineering project control platform and method
Coutinho et al. Carbon emission and cost of blockchain mining in a case of peer-to-peer energy trading
CN111275421A (en) Block chain-based financial information chaining method
Hukkinen Reducing blockchain transaction costs in a distributed energy market application
CN113393315A (en) Loan customer recommendation method and system based on power supply chain data
TWM595832U (en) Fund integrated trading system
CN110910104A (en) Block chain virtual currency taking Internet of things equipment data items as mining method
CN111882436A (en) Data processing method, device and equipment based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant