CN111652663B - Agricultural product invoice issuing method and system based on blockchain technology - Google Patents

Agricultural product invoice issuing method and system based on blockchain technology Download PDF

Info

Publication number
CN111652663B
CN111652663B CN202010423889.XA CN202010423889A CN111652663B CN 111652663 B CN111652663 B CN 111652663B CN 202010423889 A CN202010423889 A CN 202010423889A CN 111652663 B CN111652663 B CN 111652663B
Authority
CN
China
Prior art keywords
agricultural product
invoice
data
request
requester
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
CN202010423889.XA
Other languages
Chinese (zh)
Other versions
CN111652663A (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.)
Zhongsui Technology Co ltd
Original Assignee
Zhongsui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongsui Technology Co ltd filed Critical Zhongsui Technology Co ltd
Priority to CN202010423889.XA priority Critical patent/CN111652663B/en
Publication of CN111652663A publication Critical patent/CN111652663A/en
Application granted granted Critical
Publication of CN111652663B publication Critical patent/CN111652663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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

Abstract

The invention provides a method and a system for issuing agricultural product invoices based on a blockchain technology. A blockchain-based agricultural product invoice method, the method comprising: storing and synchronizing information of online member nodes and newly added member nodes of the blockchain service network; acquiring basic information of an invoicing requester, agricultural product information data reported by the invoicing requester, basic information change of the invoicing requester and agricultural product information data change reported by the invoicing requester; acquiring an invoice issuing request and an invoice changing request; executing a corresponding program according to the request acquired by the data acquisition unit, wherein the program comprises the following steps: agricultural product productivity ledger program, invoice issuing program and invoice changing program. The invention greatly improves the reliability of tracing the agricultural product by the invoice data, opens up the information island of the invoice data in the agricultural product tracing system, reduces the data burden, reduces the repeatability of the block data and ensures the safety and the privacy of the invoice data.

Description

Agricultural product invoice issuing method and system based on blockchain technology
Technical Field
The invention relates to a method and a system for issuing an agricultural product invoice, in particular to a method and a system for issuing an agricultural product invoice based on a blockchain technology.
Background
The existing agricultural product invoice issuing system is single in general function, and management operation modes are all centralized, so that the invoice issuing system becomes a data island in an agricultural product tracing system, and agricultural product tracing cannot be realized at all by taking invoice information as basic data. Therefore, the existing agricultural product traceability system can only use a centralized traditional management operation mode, the data information is difficult to maintain and integrate, and meanwhile, the trust problem of different links of agricultural products exists.
To address these issues, introducing blockchain techniques is a better solution. By combining the timestamp technology, the tamper-proof technology, the encryption technology and the consensus mechanism, an agricultural product traceability system under the blockchain technology is constructed, the data input, the data inquiry and the system link application are researched from a data acquisition layer, a data layer, a network layer and an application layer, tamper-proof and traceability of information records of agricultural products in production, processing, supervision, transportation and retail links can be realized, and the problem of data island in the agricultural product traceability system is solved through the network characteristics of decentralization. The research on how to combine the blockchain technology to realize the decentralization and maintain the data security of the agricultural product invoice is the foundation established by the system and the problem to be solved in the field.
Disclosure of Invention
The invention aims to provide an agricultural product invoice issuing method based on a blockchain technology, which solves the problems in the background technology.
It is another object of the present invention to provide a system for invoicing agricultural products based on blockchain technology.
The technical scheme adopted for solving the technical problems is as follows:
a blockchain-based agricultural product invoice method, the method comprising:
storing and synchronizing information of online member nodes and newly added member nodes of the blockchain service network;
acquiring basic information of an invoicing requester, agricultural product information data reported by the invoicing requester, basic information change of the invoicing requester and agricultural product information data change reported by the invoicing requester;
acquiring an invoice issuing request and an invoice changing request;
executing a corresponding program according to the request acquired by the data acquisition unit, wherein the program comprises the following steps: agricultural product productivity ledger program, invoice issuing program and invoice changing program.
Preferably, the executing the agricultural product productivity ledger program includes:
generating an agricultural product capacity account with a limit according to the basic information of the billing requester and the reported agricultural product information data;
and notifying a storage synchronization unit to package the agricultural product productivity ledger data into blocks for data uplink.
Preferably, the executing the invoice issuing program includes:
comparing the invoice issuing request with the agricultural product productivity ledger;
if the invoice issuing request does not exceed the agricultural product productivity account amount, issuing an invoice and notifying a storage synchronization unit to package invoice data into blocks for data uplink;
if the invoice issuing request exceeds the agricultural product productivity account amount, the notification data acquisition unit prompts the issuing requester to change the reported agricultural product information data and resubmit the invoice issuing request, and simultaneously notifies the storage synchronization unit to package the change data into blocks for data uplink.
Preferably, the execution of the invoice modification program includes:
comparing the invoice change request with the agricultural product productivity ledger;
if the invoice change request releases the agricultural product capacity ledger line, changing the invoice and informing a storage synchronization unit to package the changed data into blocks for data uplink;
and if the invoice change request consumes the agricultural product capacity account amount, comparing the agricultural product capacity account again, if the agricultural product capacity account amount is positive after being consumed, changing the invoice and notifying the storage synchronization unit to package the change data into blocks for data uplink, and if the agricultural product capacity account amount is negative after being consumed, notifying the data acquisition unit to prompt an invoicing requester to change the reported agricultural product information data and resubmit the invoice change request, and simultaneously notifying the storage synchronization unit to package the change data into the blocks for data uplink.
A blockchain-based agricultural product invoice issuing system, the system comprising:
the storage synchronization unit is used for storing and synchronizing the information of the online member nodes and the newly added member nodes of the block chain service network and performing data interaction with the block chain service network to achieve data uplink;
the data acquisition unit is used for acquiring basic information of the invoicing requester, agricultural product information data reported by the invoicing requester, basic information change of the invoicing requester and agricultural product information data change reported by the invoicing requester; acquiring an invoice issuing request and an invoice changing request;
a program execution unit, configured to execute a corresponding program according to the request acquired by the data acquisition unit, where the program includes: agricultural product productivity ledger program, invoice issuing program and invoice changing program.
Preferably, the member nodes of the blockchain service network include an agricultural product producer, an agricultural product operator, and a tax authority.
Preferably, the program execution unit is further configured to:
executing an agricultural product productivity account procedure;
generating an agricultural product capacity account with a limit according to the basic information of the billing requester and the reported agricultural product information data;
and notifying a storage synchronization unit to package the agricultural product productivity ledger data into blocks for data uplink.
Preferably, the program execution unit is further configured to:
executing an invoice issuing program;
comparing the invoice issuing request with the agricultural product productivity ledger;
if the invoice issuing request does not exceed the agricultural product productivity account amount, issuing an invoice and notifying a storage synchronization unit to package invoice data into blocks for data uplink;
if the invoice issuing request exceeds the agricultural product productivity account amount, the notification data acquisition unit prompts the issuing requester to change the reported agricultural product information data and resubmit the invoice issuing request, and simultaneously notifies the storage synchronization unit to package the change data into blocks for data uplink.
Preferably, the program execution unit is further configured to:
executing an invoice changing program;
comparing the invoice change request with the agricultural product productivity ledger;
if the invoice change request releases the agricultural product capacity ledger line, changing the invoice and informing a storage synchronization unit to package the changed data into blocks for data uplink;
and if the invoice change request consumes the agricultural product capacity account amount, comparing the agricultural product capacity account again, if the agricultural product capacity account amount is positive after being consumed, changing the invoice and notifying the storage synchronization unit to package the change data into blocks for data uplink, and if the agricultural product capacity account amount is negative after being consumed, notifying the data acquisition unit to prompt an invoicing requester to change the reported agricultural product information data and resubmit the invoice change request, and simultaneously notifying the storage synchronization unit to package the change data into the blocks for data uplink.
The beneficial effects of the invention are as follows:
according to the agricultural product invoice issuing method and system based on the blockchain technology, data of each link of agricultural product invoice issuing are subjected to data uplink, so that the reliability of agricultural product tracing by using invoice data is greatly improved, information islands of the invoice data in an agricultural product tracing system are opened, the data burden is reduced, the block data repeatability is reduced, and in addition, each entity organization of the agricultural product is used as a alliance chain to ensure the safety and privacy of the invoice data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a blockchain-based agricultural product invoice method in accordance with embodiment 1 of the present invention;
FIG. 2 is a block diagram of a system for invoicing agricultural products based on a blockchain in accordance with embodiment 2 of the present invention.
In the figure: 101. the system comprises a storage synchronization unit 102, a data acquisition unit 103, a program execution unit 104, online member nodes 105 and newly added member nodes.
Detailed Description
The technical scheme of the invention is further specifically described below through specific embodiments and with reference to the accompanying drawings. It should be understood that the practice of the invention is not limited to the following examples, but is intended to be within the scope of the invention in any form and/or modification thereof.
In the present invention, unless otherwise specified, all parts and percentages are by weight, and the equipment, materials, etc. used are commercially available or are conventional in the art. The methods in the following examples are conventional in the art unless otherwise specified. The components and devices in the following examples are, unless otherwise indicated, all those components and devices known to those skilled in the art, and their structures and principles are known to those skilled in the art from technical manuals or by routine experimentation.
Example 1:
the agricultural product invoice issuing method based on the blockchain technology as shown in fig. 1 comprises the following steps:
a1, storing and synchronizing information of online member nodes and newly-added member nodes of a blockchain service network, wherein the member nodes of the blockchain service network comprise an agricultural product producer, an agricultural product operator and a tax authority;
a2, acquiring basic information of the invoicing requester, agricultural product information data reported by the invoicing requester, basic information change of the invoicing requester and agricultural product information data change reported by the invoicing requester;
a3, executing a corresponding agricultural product productivity ledger program according to the request acquired by the data acquisition unit, wherein the method specifically comprises the following steps:
a3a, generating an agricultural product capacity account with a limit according to the basic information of the billing requester and the reported agricultural product information data;
a3b, notifying a storage synchronization unit to pack the agricultural product productivity ledger data into blocks for data uplink;
a4, acquiring an invoice issuing request and an invoice changing request;
a5, when receiving the invoice issuing request, executing a corresponding invoice issuing program according to the request acquired by the data acquisition unit, wherein the invoice issuing program specifically comprises the following steps:
a5a, comparing the invoice issuing request with the agricultural product productivity ledger;
a5b, if the invoice issuing request does not exceed the agricultural product capacity account amount, issuing an invoice and notifying a storage synchronization unit to package invoice data into blocks for data uplink;
a5c, if the invoice issuing request exceeds the agricultural product capacity account amount, notifying a data acquisition unit to prompt an issuing requester to change the reported agricultural product information data and resubmit the invoice issuing request, and notifying a storage synchronization unit to package the changed data into blocks for data uplink;
a6, when receiving the invoice change request, executing a corresponding invoice change program according to the request acquired by the data acquisition unit, wherein the invoice change program specifically comprises:
a6a, comparing the invoice change request with the agricultural product productivity ledger;
a6b, if the invoice change request releases the agricultural product capacity account, changing the invoice and notifying a storage synchronization unit to package the changed data into blocks for data uplink;
and A6c, comparing the agricultural product productivity account again if the invoice change request consumes the agricultural product productivity account, changing the invoice and notifying the storage synchronization unit to package the change data into blocks for data uplink if the agricultural product productivity account is positive after the invoice change request consumes the agricultural product productivity account, notifying the data acquisition unit to prompt an invoicing requester to change the reported agricultural product information data and resubmitting the invoice change request, and notifying the storage synchronization unit to package the change data into blocks for data uplink if the agricultural product productivity account is negative after the invoice change request consumes the agricultural product productivity account.
In the method, the basic information of the billing requester comprises identity information, management information and tax registration information of the agricultural product producer and the management party, wherein the identity information comprises producer identity documents, business license information and the like, the management information comprises production occupied area, agricultural product types, measurement units, estimated output in the present period, upper-period inventory and the like, and the tax registration information comprises contact phones, belonging tax authorities and the like.
The method carries out data uplink on data generated in the agricultural product invoice issuing and changing process to form a block chain, wherein the data structure of each block comprises a last block, a hash value of the last block, a Merkle tree root of the last block, a timestamp and a Nonce value of the last block and stored data in the block. According to the method, the basic information, registration information, change records and other link data of the agricultural product invoice are subjected to data uplink, so that the reliability of tracing the agricultural product by invoice data is greatly improved, meanwhile, in order to reduce the burden of data quantity formation, judgment is firstly made by a corresponding program, and after the judgment is finished, the data uplink action is performed, so that the repeatability of block data is reduced.
The invention is based on alliance chain in the blockchain technology, agricultural product producer, agricultural product operator and tax authority are used as each node of the alliance chain, the organization of the entity organization corresponds to the node, and the network can be added and withdrawn after authorization, so that the invention has the characteristic of decentralization, and on the other hand, the read authority of sensitive information such as invoice information, tax information and the like can be selectively opened to the outside according to the requirement, and the privacy of the information is ensured. The entity organizations form benefit-related federations that collectively maintain normal operation of the entire blockchain.
Example 2
For the method for invoicing agricultural products based on the blockchain provided in the above embodiment 1, embodiment 2 of the present invention provides a system for invoicing agricultural products based on the blockchain, as shown in fig. 2, where the system includes:
the storage synchronization unit 101 is configured to store and synchronize information of the online member node 104 and the newly added member node 105 of the blockchain service network, and perform data interaction with the blockchain service network to achieve data uplink;
the data acquisition unit 102 is configured to acquire basic information of the billing requester, agricultural product information data reported by the billing requester, basic information change of the billing requester, and agricultural product information data change reported by the billing requester; acquiring an invoice issuing request and an invoice changing request;
a program execution unit 103, configured to execute a corresponding program according to the request acquired by the data acquisition unit, where the program includes: agricultural product productivity ledger program, invoice issuing program and invoice changing program.
Further, the member nodes of the blockchain service network include an agricultural product producer, an agricultural product operator, and a tax authority.
Further, the program execution unit is further configured to:
executing an agricultural product productivity account procedure;
generating an agricultural product capacity account with a limit according to the basic information of the billing requester and the reported agricultural product information data;
and notifying a storage synchronization unit to package the agricultural product productivity ledger data into blocks for data uplink.
Further, the program execution unit is further configured to:
executing an invoice issuing program;
comparing the invoice issuing request with the agricultural product productivity ledger;
if the invoice issuing request does not exceed the agricultural product productivity account amount, issuing an invoice and notifying a storage synchronization unit to package invoice data into blocks for data uplink;
if the invoice issuing request exceeds the agricultural product productivity account amount, the notification data acquisition unit prompts the issuing requester to change the reported agricultural product information data and resubmit the invoice issuing request, and simultaneously notifies the storage synchronization unit to package the change data into blocks for data uplink.
Further, the program execution unit is further configured to:
executing an invoice changing program;
comparing the invoice change request with the agricultural product productivity ledger;
if the invoice change request releases the agricultural product capacity ledger line, changing the invoice and informing a storage synchronization unit to package the changed data into blocks for data uplink;
and if the invoice change request consumes the agricultural product capacity account amount, comparing the agricultural product capacity account again, if the agricultural product capacity account amount is positive after being consumed, changing the invoice and notifying the storage synchronization unit to package the change data into blocks for data uplink, and if the agricultural product capacity account amount is negative after being consumed, notifying the data acquisition unit to prompt an invoicing requester to change the reported agricultural product information data and resubmit the invoice change request, and simultaneously notifying the storage synchronization unit to package the change data into the blocks for data uplink.
The data acquisition unit of the embodiment of the invention can select a computer website terminal or a mobile phone APP terminal, and an invoice requester can perform agricultural product productivity account information inquiry, agricultural product invoice registration, registered invoice inquiry, registration information inquiry and the like, and can also perform registration and login and real name registration, report registration information and business information, register information change, business information change application and the like through the computer website terminal or the mobile phone APP terminal.
In the description of embodiments of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be noted that in the embodiments provided in the present invention, it should be understood that the disclosed system and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the destination of the embodiment.
In addition, each functional unit in the embodiments provided in the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device, which may be a personal computer, a server, or a network device, to perform all or part of the steps of the method according to the embodiments of the present invention.
And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, the above-described embodiment is only a preferred embodiment of the invention, and is not intended to limit the invention in any way, but is capable of other modifications and variations without departing from the scope of the invention as set forth in the following claims.

Claims (2)

1. A block chain-based agricultural product invoice issuing method is characterized in that: the agricultural product invoice issuing method based on the block chain comprises the following steps of,
storing and synchronizing information of online member nodes and newly added member nodes of the blockchain service network;
acquiring basic information of an invoicing requester, agricultural product information data reported by the invoicing requester, basic information change of the invoicing requester and agricultural product information data change reported by the invoicing requester;
acquiring an invoice issuing request and an invoice changing request;
executing a corresponding program according to the request acquired by the data acquisition unit, wherein the program comprises the following steps: agricultural product productivity account setting program, invoice issuing program and invoice changing program;
the executing the agricultural product productivity ledger program includes,
generating an agricultural product capacity account with a limit according to the basic information of the billing requester and the reported agricultural product information data;
notifying a storage synchronization unit to package the agricultural product productivity ledger data into blocks for data uplink;
the execution of the invoice program includes,
comparing the invoice issuing request with the agricultural product productivity ledger;
if the invoice issuing request does not exceed the agricultural product productivity account amount, issuing an invoice and notifying a storage synchronization unit to package invoice data into blocks for data uplink;
if the invoice issuing request exceeds the agricultural product productivity account amount, notifying a data acquisition unit to prompt an issuing requester to change the reported agricultural product information data and resubmit the invoice issuing request, and notifying a storage synchronization unit to package the changed data into blocks for data uplink;
the execution of the invoice altering program includes,
comparing the invoice change request with the agricultural product productivity ledger;
if the invoice change request releases the agricultural product capacity ledger line, changing the invoice and informing a storage synchronization unit to package the changed data into blocks for data uplink;
if the invoice change request consumes the agricultural product capacity account amount, comparing the agricultural product capacity account again, if the agricultural product capacity account amount is positive after being consumed, changing the invoice and notifying a storage synchronization unit to package the change data into blocks for data uplink, if the agricultural product capacity account amount is negative after being consumed, notifying a data acquisition unit to prompt an invoicing requester to change the reported agricultural product information data and resubmit the invoice change request, and simultaneously notifying the storage synchronization unit to package the change data into the blocks for data uplink;
the data structure of each block includes the hash value of the last block and the current block, the Merkle tree root of the current block, the timestamp of the current block, the Nonce value, and the stored data within the block.
2. Agricultural product invoice issuing system based on block chain, its characterized in that: the blockchain-based agricultural product invoice system includes,
the storage synchronization unit is used for storing and synchronizing the information of the online member nodes and the newly added member nodes of the block chain service network and performing data interaction with the block chain service network to achieve data uplink;
the data acquisition unit is used for acquiring basic information of the invoicing requester, agricultural product information data reported by the invoicing requester, basic information change of the invoicing requester and agricultural product information data change reported by the invoicing requester; acquiring an invoice issuing request and an invoice changing request;
a program execution unit, configured to execute a corresponding program according to the request acquired by the data acquisition unit, where the program includes: agricultural product productivity account setting program, invoice issuing program and invoice changing program;
the member nodes of the blockchain service network comprise agricultural product producers, agricultural product operators and tax authorities;
the program execution unit is further adapted to,
executing an agricultural product productivity account procedure;
generating an agricultural product capacity account with a limit according to the basic information of the billing requester and the reported agricultural product information data;
notifying a storage synchronization unit to package the agricultural product productivity ledger data into blocks for data uplink;
the program execution unit is further configured to:
executing an invoice issuing program;
comparing the invoice issuing request with the agricultural product productivity ledger;
if the invoice issuing request does not exceed the agricultural product productivity account amount, issuing an invoice and notifying a storage synchronization unit to package invoice data into blocks for data uplink;
if the invoice issuing request exceeds the agricultural product productivity account amount, notifying a data acquisition unit to prompt an issuing requester to change the reported agricultural product information data and resubmit the invoice issuing request, and notifying a storage synchronization unit to package the changed data into blocks for data uplink;
the program execution unit is further adapted to,
executing an invoice changing program;
comparing the invoice change request with the agricultural product productivity ledger;
if the invoice change request releases the agricultural product capacity ledger line, changing the invoice and informing a storage synchronization unit to package the changed data into blocks for data uplink;
if the invoice change request consumes the agricultural product capacity account amount, comparing the agricultural product capacity account again, if the agricultural product capacity account amount is positive after being consumed, changing the invoice and notifying a storage synchronization unit to package the change data into blocks for data uplink, if the agricultural product capacity account amount is negative after being consumed, notifying a data acquisition unit to prompt an invoicing requester to change the reported agricultural product information data and resubmit the invoice change request, and simultaneously notifying the storage synchronization unit to package the change data into the blocks for data uplink;
the data structure of each block includes the hash value of the last block and the current block, the Merkle tree root of the current block, the timestamp of the current block, the Nonce value, and the stored data within the block.
CN202010423889.XA 2020-05-19 2020-05-19 Agricultural product invoice issuing method and system based on blockchain technology Active CN111652663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010423889.XA CN111652663B (en) 2020-05-19 2020-05-19 Agricultural product invoice issuing method and system based on blockchain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010423889.XA CN111652663B (en) 2020-05-19 2020-05-19 Agricultural product invoice issuing method and system based on blockchain technology

Publications (2)

Publication Number Publication Date
CN111652663A CN111652663A (en) 2020-09-11
CN111652663B true CN111652663B (en) 2023-12-29

Family

ID=72348271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010423889.XA Active CN111652663B (en) 2020-05-19 2020-05-19 Agricultural product invoice issuing method and system based on blockchain technology

Country Status (1)

Country Link
CN (1) CN111652663B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949108A (en) * 2018-12-12 2019-06-28 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110458633A (en) * 2019-08-20 2019-11-15 东莞市盟大塑化科技有限公司 Invoice data generation method, system and computer equipment based on block chain technology
CN110599275A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device based on block chain network and storage medium
CN110956474A (en) * 2019-01-29 2020-04-03 深圳市智税链科技有限公司 Electronic invoice system based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10970669B2 (en) * 2018-06-18 2021-04-06 General Electric Company Blockchain enabled transaction processing for an industrial asset supply chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949108A (en) * 2018-12-12 2019-06-28 阿里巴巴集团控股有限公司 Invoice creation method and device, electronic equipment based on block chain
CN110956474A (en) * 2019-01-29 2020-04-03 深圳市智税链科技有限公司 Electronic invoice system based on block chain
CN110443660A (en) * 2019-08-15 2019-11-12 上海天地汇供应链科技有限公司 A kind of electronic invoice device, system and implementation method based on block chain
CN110458633A (en) * 2019-08-20 2019-11-15 东莞市盟大塑化科技有限公司 Invoice data generation method, system and computer equipment based on block chain technology
CN110599275A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device based on block chain network and storage medium

Also Published As

Publication number Publication date
CN111652663A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN109522735B (en) Data permission verification method and device based on intelligent contract
CN109034833B (en) Product tracing information management system and method based on block chain
AU2012252388B2 (en) Method for handling privacy data
CN107203344A (en) A kind of date storage method and data-storage system
CN112863629A (en) Block chain-based medical electronic medical record distributed management system and preparation method thereof
EP1850233A1 (en) Authentication method, authentication system, and tag device thereof, information reference client, authentication server, and information server
CN109117660A (en) A kind of data sharing method and system based on block chain and intelligent contract
CN112003858A (en) Block chain-based platform docking method, electronic device and storage medium
CN109493224A (en) A kind of block chain picture social intercourse system
CN109379360A (en) Auditing method, electronic device and computer readable storage medium
CN109284333A (en) Industrial chain data maintaining method and platform based on block chain
CN111652663B (en) Agricultural product invoice issuing method and system based on blockchain technology
CN101408955A (en) Method and system determining obligation base on tactic
CN112699136B (en) Cross-link certificate storage method and related device
CN104079325B (en) A kind of method of information sharing and electronic equipment
CN111476666B (en) Asset interaction information tracing method and device based on block chain
CN105741444B (en) Application authentication method and device based on linux system financial self-service equipment
CN106779124A (en) That intelligently lends bookshelf lends method and system
CN109615742A (en) A kind of wireless entrance guard control method and device based on LoRaWAN
CN110021393A (en) A kind of safety-type clinic electronic medical recorder system
CN109901521A (en) Refrigerating plant, its controller, subscriber access termination, mobile terminal, management terminal and maintenance data management system
CN115600168A (en) Safe type database system
CN116846555A (en) Data access method and device
CN101431742B (en) Communication service access method and system
CN113344333A (en) Configurable enterprise credit investigation early warning method, device, equipment and storage medium

Legal Events

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