CN111476584A - Public welfare consumption method, equipment and storage medium - Google Patents

Public welfare consumption method, equipment and storage medium Download PDF

Info

Publication number
CN111476584A
CN111476584A CN202010270958.8A CN202010270958A CN111476584A CN 111476584 A CN111476584 A CN 111476584A CN 202010270958 A CN202010270958 A CN 202010270958A CN 111476584 A CN111476584 A CN 111476584A
Authority
CN
China
Prior art keywords
public
commodity
donation
merchant
public welfare
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010270958.8A
Other languages
Chinese (zh)
Inventor
彭军
袁海雷
吴思进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Benchain Information Technology Co ltd
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Nanjing Benchain Information Technology Co ltd
Hangzhou Fuzamei 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 Nanjing Benchain Information Technology Co ltd, Hangzhou Fuzamei Technology Co Ltd filed Critical Nanjing Benchain Information Technology Co ltd
Priority to CN202010270958.8A priority Critical patent/CN111476584A/en
Publication of CN111476584A publication Critical patent/CN111476584A/en
Pending legal-status Critical Current

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/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0279Fundraising management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a public welfare consumption method, equipment and a storage medium, wherein the method comprises the following steps: receiving a first public welfare commodity registration transaction which is sent by a merchant terminal of a first merchant and comprises first public welfare commodity information, executing the first public welfare commodity registration transaction, and recording a corresponding relation between a first address of the first merchant and the first public welfare commodity information on a block; receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; and when the corresponding relation between the second address and the second public goods exists on the block chain, calculating a first donation money and a first non-donation money according to the pre-configured public consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public account. The method and the system ensure public and transparent public welfare consumption records, so that a common user can clearly know whether the donations generated by the purchased public welfare commodities enter the public welfare account of the system so as to be used for public welfare charities.

Description

Public welfare consumption method, equipment and storage medium
Technical Field
The present application relates to the field of block chains and the like, and in particular, to a public welfare consumption method, device, and storage medium.
Background
In the scheme in real life, the behavior of equity consumption is not transparent, and the centralized producer is excessively depended on to fulfill the commitment of equity donation. Ordinary users cannot know whether the donation generated by purchasing the product by themselves is really for fair charity.
Disclosure of Invention
In view of the foregoing deficiencies or inadequacies in the prior art, it would be desirable to provide a decentralized, public welfare consumption record, publicly transparent public welfare consumption method, apparatus, and storage medium.
In a first aspect, the present invention provides a public welfare consumption method for blockchain nodes, where the method includes:
receiving a first public welfare commodity registration transaction which is sent by a merchant terminal of a first merchant and comprises first public welfare commodity information, executing the first public welfare commodity registration transaction, and recording a corresponding relation between a first address of the first merchant and the first public welfare commodity information on a block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
and when the corresponding relation between the second address and the second public goods exists on the block chain, calculating a first donation money and a first non-donation money according to the pre-configured public consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public account.
In a second aspect, the present invention provides a public welfare consumption method suitable for a merchant terminal, where the method includes:
generating a first public welfare commodity registration transaction comprising first public welfare commodity information, and sending the first public welfare commodity registration transaction to the block chain node for the block chain node:
recording the corresponding relation between the first address of the current merchant and the first public service commodity information on a block chain;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
and when the corresponding relation between the second address and the second public goods exists on the block chain, calculating a first donation money and a first non-donation money according to the pre-configured public consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public account.
In a third aspect, the present invention provides a public welfare consumption method suitable for a user terminal, in which a block chain records a correspondence between an address of a merchant and public welfare commodity information, the method including:
generating a first public good purchase transaction comprising a second address of a second merchant, second public good information of a second public good to be purchased and a first transfer amount;
and sending the first public welfare commodity purchase transaction to a block chain node, so that when the block chain node has a corresponding relation between a second address and a second public welfare commodity on a block chain, calculating a first donation item and a first non-donation item according to a pre-configured public welfare consumption donation rule and a first transfer amount, transferring the first transfer amount non-donation item to a user account of a second merchant, and transferring the first donation item to a system public welfare account.
In a fourth aspect, the present invention provides another method for equity consumption of a blockchain node, the method including:
receiving a first public good commodity registration transaction which is sent by a first merchant terminal of a first merchant and comprises first public good commodity information, first public good commodity unit price and first donation cost generated by purchasing a single piece of first public good commodity, executing the first public good commodity registration transaction, and recording a corresponding relation between a first address of the first merchant and the first public good commodity information, the first public good commodity unit price and the first donation cost on a block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
and when the block chain has a corresponding relation between a second address and second public good information, a second public good unit price and second donation cost generated by purchasing a single piece of second public good, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of a second merchant, and transferring the first donation item to a system public good account.
In a fifth aspect, the present invention provides another equity consumption method suitable for a merchant terminal, where the method includes:
generating a first public welfare commodity registration transaction comprising first public welfare commodity information, a first public welfare commodity unit price and first donation cost generated by purchasing a single piece of first public welfare commodity, and sending the first public welfare commodity registration transaction to a block chain node for the block chain node:
recording the corresponding relation between the first address of the current merchant and the information of the first public service commodity, the unit price of the first public service commodity and the first donation cost on the block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
and when the block chain has a corresponding relation between a second address and second public good information, a second public good unit price and second donation cost generated by purchasing a single piece of second public good, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of a second merchant, and transferring the first donation item to a system public good account.
In a sixth aspect, the present invention provides another public welfare consumption method suitable for a user terminal, in which a block chain records a correspondence between an address of a merchant and information of a public welfare commodity, a unit price of the public welfare commodity, and a donation fee generated when a single public welfare commodity is purchased, the method including:
generating a first public good purchase transaction comprising a second address of a second merchant, second public good information of a second public good to be purchased and a first transfer amount;
and sending the first public good purchase transaction to the block chain node, so that when the block chain node has a corresponding relation between a second address and second public good information, a second public good unit price and second donation cost generated by purchasing a single piece of second public good on the block chain, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of a second merchant, and transferring the first donation item to a system public good account.
In a seventh aspect, the present invention also provides an apparatus comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a equity consumption method provided in accordance with embodiments of the present invention.
In an eighth aspect, the present invention also provides a storage medium storing a computer program that causes a computer to execute the equity consumption method provided according to the embodiments of the present invention.
The public welfare consumption method, the equipment and the storage medium provided by the embodiments of the invention execute the first public welfare commodity registration transaction by receiving the first public welfare commodity registration transaction including the first public welfare commodity information sent by the merchant terminal of the first merchant, and record the corresponding relation between the first address of the first merchant and the first public welfare commodity information on the block; receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; when the corresponding relation between the second address and the second public welfare commodity exists on the block chain, the first donation money and the first non-donation money are calculated according to the pre-configured public welfare consumption donation rule and the first transfer amount, the first non-donation money is transferred to the user account of the second merchant, and the first donation money is transferred to the system public welfare account.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a public welfare consumption method according to an embodiment of the present invention.
Fig. 2 is a flowchart of another equity consumption method according to an embodiment of the present invention.
Fig. 3 is a flowchart of another equity consumption method according to an embodiment of the present invention.
Fig. 4 is a flowchart of another equity consumption method according to an embodiment of the present invention.
Fig. 5 is a flowchart of another equity consumption method according to an embodiment of the present invention.
Fig. 6 is a flowchart of another equity consumption method according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a flowchart of a public welfare consumption method according to an embodiment of the present invention. As shown in fig. 1, in this embodiment, the present invention provides a public welfare consumption method suitable for a blockchain node, where the method includes:
s12: receiving a first public welfare commodity registration transaction which is sent by a merchant terminal of a first merchant and comprises first public welfare commodity information, executing the first public welfare commodity registration transaction, and recording a corresponding relation between a first address of the first merchant and the first public welfare commodity information on a block;
s14: receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
s16: and when the corresponding relation between the second address and the second public goods exists on the block chain, calculating a first donation money and a first non-donation money according to the pre-configured public consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public account.
Specifically, the public welfare consumption donation rule is taken as an example that 10% of the transfer amount of the collected public welfare commodities is taken as a donation money, and the rest is taken as a non-donation money; supposing that the merchant A sells a commonweal commodity a, the merchant B sells a commonweal commodity B, the user A purchases the commonweal commodity a from the merchant A, and the paid amount is m; the user B purchases a public good commodity C from the merchant C, and the paid amount is n;
the merchant A sells the commonweal commodity a, the merchant terminal of the merchant A generates the commonweal commodity registration transaction tx1 including information a, and the tx1 is sent to the block chain node;
the block chain node executes step S12, receives tx1, executes tx1, and records the corresponding relationship between the address addr (a) of a and the a information on the block;
the merchant B sells a commonweal commodity B, the merchant terminal of the merchant B generates a commonweal commodity registration transaction tx2 including information B, and tx2 is sent to the block chain node;
the block chain node performs step S12, receives tx2, performs tx2, and records the corresponding relationship between the address addr (B) of B and the B information on the block;
the user A purchases a public good commodity a from a merchant A, and the paid first amount is m; the user terminal of the user A generates a public service commodity purchase transaction tx3 comprising addr (A), a information and m;
the blockchain node performs step S14, receiving tx 3;
and the block chain node executes the step S16, calculates the donation items and the non-donation items according to the pre-configured public welfare consumption donation rule and the first transfer amount due to the fact that the block chain has the corresponding relation between addr (A) and the information a, calculates the first donation item to be 0.1m and the first non-donation item to be 0.9m, transfers 0.9m to the user account of the merchant A, and transfers 0.1m to the system public welfare account.
The user B purchases a public good commodity C from the merchant C, and the paid amount is n; the user terminal of the user A generates a public service commodity purchase transaction tx4 comprising addr (C), c information and n;
the blockchain node performs step S14, receiving tx 4;
since the block chain does not have the corresponding relation between addr (A) and the information a, the block chain node processes tx4 as a common transfer transaction, and transfers n to the user account of the merchant C.
In more embodiments, the public welfare consumption donation rule may be configured according to actual requirements, for example, 5% of the transfer amount of the received public welfare goods is used as the donation money, and the rest is used as the non-donation money, so that the same technical effect may be achieved.
The embodiment ensures that the public welfare consumption records are public and transparent, so that a common user can clearly know whether the donations generated by purchasing products enter the public welfare account of the system, and the public welfare consumption records are used for public welfare charities.
Fig. 2 is a flowchart of another equity consumption method according to an embodiment of the present invention. As shown in fig. 2, in this embodiment, the present invention provides a public welfare consumption method suitable for a merchant terminal, where the method includes:
s22: generating a first public welfare commodity registration transaction comprising first public welfare commodity information, and sending the first public welfare commodity registration transaction to the block chain node for the block chain node:
recording the corresponding relation between the first address of the current merchant and the first public service commodity information on a block chain;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
and when the corresponding relation between the second address and the second public goods exists on the block chain, calculating a first donation money and a first non-donation money according to the pre-configured public consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public account.
The public interest consumption principle of the above embodiment can refer to the method shown in fig. 1, and is not described herein again.
Fig. 3 is a flowchart of another equity consumption method according to an embodiment of the present invention. As shown in fig. 3, in this embodiment, the present invention provides a public welfare consumption method suitable for a user terminal, where a block chain records a corresponding relationship between an address of a merchant and public welfare commodity information, and the method includes:
s32: generating a first public good purchase transaction comprising a second address of a second merchant, second public good information of a second public good to be purchased and a first transfer amount;
s34: and sending the first public welfare commodity purchase transaction to a block chain node, so that when the block chain node has a corresponding relation between a second address and a second public welfare commodity on a block chain, calculating a first donation item and a first non-donation item according to a pre-configured public welfare consumption donation rule and a first transfer amount, transferring the first transfer amount non-donation item to a user account of a second merchant, and transferring the first donation item to a system public welfare account.
The public interest consumption principle of the above embodiment can refer to the method shown in fig. 1, and is not described herein again.
Fig. 4 is a flowchart of another equity consumption method according to an embodiment of the present invention. As shown in fig. 4, in this embodiment, the present invention provides a public welfare consumption method for blockchain nodes, where the method includes:
s42: receiving a first public good commodity registration transaction which is sent by a first merchant terminal of a first merchant and comprises first public good commodity information, first public good commodity unit price and first donation cost generated by purchasing a single piece of first public good commodity, executing the first public good commodity registration transaction, and recording a corresponding relation between a first address of the first merchant and the first public good commodity information, the first public good commodity unit price and the first donation cost on a block;
s44: receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
s46: and when the block chain has a corresponding relation between a second address and second public good information, a second public good unit price and second donation cost generated by purchasing a single piece of second public good, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of a second merchant, and transferring the first donation item to a system public good account.
Suppose that the merchant D sells the public welfare commodity D, the unit price of the public welfare commodity D is P _ D, and the donation cost generated by purchasing a single public welfare commodity D is 0.1P _ D; the merchant E sells the public welfare commodity E, the unit price of the public welfare commodity E is P _ E, and the donation cost generated by purchasing a single public welfare commodity E is 0.2P _ E; the third user purchases a public good D from the merchant D, and the paid amount is m'; the user D purchases a public good commodity F from the merchant F, and the paid amount is n';
the merchant D sells the commonweal commodity D, the merchant terminal of the merchant D generates a commonweal commodity registration transaction tx1 'comprising D information, P _ D and 0.1P _ D, and the tx1' is sent to the block chain node;
the block chain node performs step S42, receives tx1', performs tx1, and records the corresponding relationship between the address addr (D) of D and the D information, P _ D, and 0.1P _ D on the block;
a merchant E sells a commonweal commodity E, a merchant terminal of the merchant E generates a commonweal commodity registration transaction tx2 'comprising E information, P _ E and 0.2P _ E, and the tx2' is sent to a block chain node;
the block chain node performs step S42, receives tx2', performs tx2', and records the corresponding relationship between the address addr (E) of E and the E information, P _ E, 0.2P _ E on the block;
the third user purchases a public good D from the merchant D, and the paid amount is m'; the user terminal of the user C generates a public service commodity purchase transaction tx3 'comprising addr (D), d information and m';
the blockchain node performs step S44, receiving tx 3';
and (4) the block chain node executes step S46, because the block chain has the corresponding relation between addr (D) and D information, P _ D and 0.1P _ D, the donation items and the non-donation items are calculated according to m ', P _ D and 0.1P _ D, the first donation item is m ' ÷ P _ D0.1P _ D, the first non-donation item is m ' ÷ P _ D0.9P _ D, m ' ÷ P _ D0.9P _ D is transferred to the user account of the merchant D, and m ' ÷ P _ D0.1P _ D is transferred to the system public service account.
The user D purchases a public good commodity F from the merchant F, and the paid amount is n'; the user terminal of the user D generates a public service commodity purchase transaction tx4 'comprising addr (F), f information and n';
the blockchain node performs step S44, receiving tx 4';
because the block chain does not have the corresponding relation between addr (F) and the public service commodity F, the unit price of the public service commodity F and the donation fee generated by purchasing a single public service commodity F, the block chain link point processes tx4 'as a common transfer transaction, and transfers n' to the user account of the merchant F.
The embodiment ensures that the public welfare consumption records are public and transparent, so that a common user can clearly know whether the donations generated by purchasing products enter the public welfare account of the system, and the public welfare consumption records are used for public welfare charities.
Fig. 5 is a flowchart of another equity consumption method according to an embodiment of the present invention. As shown in fig. 5, in this embodiment, the present invention provides a public welfare consumption method suitable for a merchant terminal, where the method includes:
s52: generating a first public welfare commodity registration transaction comprising first public welfare commodity information, a first public welfare commodity unit price and first donation cost generated by purchasing a single piece of first public welfare commodity, and sending the first public welfare commodity registration transaction to a block chain node for the block chain node:
recording the corresponding relation between the first address of the current merchant and the information of the first public service commodity, the unit price of the first public service commodity and the first donation cost on the block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; the first public good purchase transaction comprises a second address of the appointed second merchant, second public good information of the second public good to be purchased and a first transfer amount;
and when the block chain has a corresponding relation between a second address and second public good information, a second public good unit price and second donation cost generated by purchasing a single piece of second public good, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of a second merchant, and transferring the first donation item to a system public good account.
The public interest consumption principle of the above embodiment can refer to the method shown in fig. 4, and is not described herein again.
Fig. 6 is a flowchart of another equity consumption method according to an embodiment of the present invention. As shown in fig. 6, in this embodiment, the present invention provides a public welfare consumption method suitable for a user terminal, where a block chain records a correspondence between an address of a merchant and information of a public welfare commodity, a unit price of the public welfare commodity, and a donation fee generated by purchasing a single public welfare commodity, and the method includes:
s62: generating a first public good purchase transaction comprising a second address of a second merchant, second public good information of a second public good to be purchased and a first transfer amount;
s64: and sending the first public good purchase transaction to the block chain node, so that when the block chain node has a corresponding relation between a second address and second public good information, a second public good unit price and second donation cost generated by purchasing a single piece of second public good on the block chain, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of a second merchant, and transferring the first donation item to a system public good account.
The public interest consumption principle of the above embodiment can refer to the method shown in fig. 4, and is not described herein again.
Fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 7, as another aspect, the present application also provides an apparatus 700 including one or more Central Processing Units (CPUs) 701 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the apparatus 700 are also stored. The CPU701, the ROM702, and the RAM703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
To the I/O interface 705, AN input section 706 including a keyboard, a mouse, and the like, AN output section 707 including a keyboard such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 708 including a hard disk and the like, and a communication section 709 including a network interface card such as a L AN card, a modem, and the like, the communication section 709 performs communication processing via a network such as the internet, a drive 710 is also connected to the I/O interface 705 as necessary, a removable medium 711 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing any of the methods described above. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present application.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (8)

1. A method for equity consumption, said method being applicable to a blockchain node, said method comprising:
receiving a first public welfare commodity registration transaction which is sent by a merchant terminal of a first merchant and comprises first public welfare commodity information, executing the first public welfare commodity registration transaction, and recording a corresponding relation between a first address of the first merchant and the first public welfare commodity information on a block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; wherein the first commonweal good purchase transaction includes a second address of the designated second merchant, second commonweal good information for a second commonweal good to be purchased, and a first reconciled amount;
and when the corresponding relation between the second address and the second public good exists on the block chain, calculating a first donation money and a first non-donation money according to a pre-configured public good consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public good account.
2. A public welfare consumption method, wherein the method is suitable for a merchant terminal, and the method comprises:
generating a first public welfare commodity registration transaction comprising first public welfare commodity information, and sending the first public welfare commodity registration transaction to a block chain node for the block chain node:
recording the corresponding relation between the first address of the current merchant and the first public service commodity information on a block chain;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; wherein the first commonweal good purchase transaction includes a second address of the designated second merchant, second commonweal good information for a second commonweal good to be purchased, and a first reconciled amount;
and when the corresponding relation between the second address and the second public good exists on the block chain, calculating a first donation money and a first non-donation money according to a pre-configured public good consumption donation rule and the first transfer amount, transferring the first non-donation money to a user account of the second merchant, and transferring the first donation money to a system public good account.
3. A public welfare consumption method is characterized in that a block chain records the corresponding relation between the address of a merchant and public welfare commodity information, the method is suitable for a user terminal, and the method comprises the following steps:
generating a first public good purchase transaction comprising a second address of a second merchant, second public good information of a second public good to be purchased and a first transfer amount;
and sending the first public welfare commodity purchase transaction to a block chain node, so that when the block chain node has a corresponding relation between the second address and the second public welfare commodity on a block chain, calculating a first donation item and a first non-donation item according to a pre-configured public welfare consumption donation rule and the first transfer amount, transferring the first transfer amount non-donation item to a user account of the second merchant, and transferring the first donation item to a system public welfare account.
4. A method for equity consumption, said method being applicable to a blockchain node, said method comprising:
receiving a first public welfare commodity registration transaction which is sent by a first merchant terminal of a first merchant and comprises first public welfare commodity information, a first public welfare commodity unit price and first donation cost generated by purchasing a single piece of first public welfare commodity, executing the first public welfare commodity registration transaction, and recording the corresponding relation between a first address of the first merchant and the first public welfare commodity information, the first public welfare commodity unit price and the first donation cost on a block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; wherein the first commonweal good purchase transaction includes a second address of the designated second merchant, second commonweal good information for a second commonweal good to be purchased, and a first reconciled amount;
and when the corresponding relation between the second address and the second public good information, the second public good unit price and the second donation cost generated by purchasing a single piece of second public good exists on the block chain, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of the second merchant, and transferring the first donation item to a system public good account.
5. A public welfare consumption method, wherein the method is suitable for a merchant terminal, and the method comprises:
generating a first public welfare commodity registration transaction comprising first public welfare commodity information, a first public welfare commodity unit price and first donation cost generated by purchasing a single piece of first public welfare commodity, and sending the first public welfare commodity registration transaction to a block chain node for the block chain node to:
recording the corresponding relation between a first address of a current merchant and the information of the first public service commodity, the unit price of the first public service commodity and the first donation cost on a block;
receiving a first public welfare commodity purchasing transaction sent by a user terminal of a first consumer; wherein the first commonweal good purchase transaction includes a second address of the designated second merchant, second commonweal good information for a second commonweal good to be purchased, and a first reconciled amount;
and when the corresponding relation between the second address and the second public good information, the second public good unit price and the second donation cost generated by purchasing a single piece of second public good exists on the block chain, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public good unit price and the second donation cost, transferring the first non-donation item to a user account of the second merchant, and transferring the first donation item to a system public good account.
6. A public welfare consumption method is characterized in that a block chain records the corresponding relation between the address of a merchant and public welfare commodity information, the unit price of a public welfare commodity and the donation cost generated by purchasing a single public welfare commodity, and the method is suitable for a user terminal and comprises the following steps:
generating a first public good purchase transaction comprising a second address of a second merchant, second public good information of a second public good to be purchased and a first transfer amount;
and sending the first public welfare commodity purchase transaction to a block chain node, so that when the block chain node has a corresponding relation between the second address and the second public welfare commodity information, the second public welfare commodity unit price and the second donation cost generated by purchasing a single piece of second public welfare commodity on a block chain, calculating a first donation item and a first non-donation item according to the first transfer amount, the second public welfare commodity unit price and the second donation cost, transferring the first non-donation item to a user account of the second merchant, and transferring the first donation item to a system public welfare account.
7. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-6.
8. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-6.
CN202010270958.8A 2020-04-08 2020-04-08 Public welfare consumption method, equipment and storage medium Pending CN111476584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010270958.8A CN111476584A (en) 2020-04-08 2020-04-08 Public welfare consumption method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010270958.8A CN111476584A (en) 2020-04-08 2020-04-08 Public welfare consumption method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111476584A true CN111476584A (en) 2020-07-31

Family

ID=71749983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010270958.8A Pending CN111476584A (en) 2020-04-08 2020-04-08 Public welfare consumption method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111476584A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950117A (en) * 2021-03-05 2021-06-11 杭州复杂美科技有限公司 Transaction method, computer device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400287A (en) * 2013-07-30 2013-11-20 王跃功 Marketing mode based on Internet platform
TWM537684U (en) * 2016-05-20 2017-03-01 Ching-Chin Tsai System of combining merchandise transaction and charitable donation
CN108665291A (en) * 2017-03-27 2018-10-16 上海知加信息科技有限公司 A kind of control algolithm of the financial map of Internet enterprises service
CN109299998A (en) * 2018-09-07 2019-02-01 杭州拾送壱乐电子商务有限公司 E-commerce platform and the charitable method of public good based on e-commerce platform
CN109359975A (en) * 2018-08-31 2019-02-19 杭州复杂美科技有限公司 A kind of public good record system and its fund monitoring method, equipment and storage equipment
CN110009495A (en) * 2019-03-19 2019-07-12 阿里巴巴集团控股有限公司 Based on the welfare donations method and device of block chain, electronic equipment, storage medium
WO2019164354A1 (en) * 2018-02-22 2019-08-29 김우섭 System and method for blockchain-based social network service
CN110443580A (en) * 2019-08-02 2019-11-12 上海天地汇供应链科技有限公司 A kind of public good management method and system based on block chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400287A (en) * 2013-07-30 2013-11-20 王跃功 Marketing mode based on Internet platform
TWM537684U (en) * 2016-05-20 2017-03-01 Ching-Chin Tsai System of combining merchandise transaction and charitable donation
CN108665291A (en) * 2017-03-27 2018-10-16 上海知加信息科技有限公司 A kind of control algolithm of the financial map of Internet enterprises service
WO2019164354A1 (en) * 2018-02-22 2019-08-29 김우섭 System and method for blockchain-based social network service
CN109359975A (en) * 2018-08-31 2019-02-19 杭州复杂美科技有限公司 A kind of public good record system and its fund monitoring method, equipment and storage equipment
CN109299998A (en) * 2018-09-07 2019-02-01 杭州拾送壱乐电子商务有限公司 E-commerce platform and the charitable method of public good based on e-commerce platform
CN110009495A (en) * 2019-03-19 2019-07-12 阿里巴巴集团控股有限公司 Based on the welfare donations method and device of block chain, electronic equipment, storage medium
CN110443580A (en) * 2019-08-02 2019-11-12 上海天地汇供应链科技有限公司 A kind of public good management method and system based on block chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950117A (en) * 2021-03-05 2021-06-11 杭州复杂美科技有限公司 Transaction method, computer device and storage medium
CN112950117B (en) * 2021-03-05 2022-07-15 杭州复杂美科技有限公司 Transaction method, computer device and storage medium

Similar Documents

Publication Publication Date Title
US10528958B2 (en) Systems and methods for generating relationships via a property graph model
US20100161404A1 (en) Promotional item identification in processing of an acquired transaction on an issued account
CN105405033A (en) Mobile merchant application management system
CN103748602A (en) Paying non-settlement transactions
CN107945012A (en) A kind of amount computational methods, device, equipment and storage medium
CN104281941A (en) Information processing apparatus and method
KR20210049291A (en) Customer refund service method using crypto currency
CN111476584A (en) Public welfare consumption method, equipment and storage medium
CN108898431A (en) Consume interlock method, device and server
US20130339116A1 (en) System and method for a transaction system
CN111080418A (en) Commodity combined selling method, device and equipment based on E-commerce platform
US20060248033A1 (en) Data mining within a message handling system
CN110163632A (en) Withdrawing method and its system, user terminal
CN111401886B (en) Switching system and method for different card types in platform
WO2018165668A1 (en) System and method for "always on" offline transaction collection
CN112346882A (en) Method and apparatus for transmitting information
CN108510302A (en) A kind of marketing decision-making method and trading server
CN110633966A (en) Block chain-based contract securitization method and device
CN108288183A (en) Ideal money returning method, device and readable storage medium storing program for executing
CN113487265A (en) Method, device and equipment for subscribing, inquiring and pushing logistics information
CN110766478A (en) Method and device for improving user connectivity
CN112541755A (en) Same-city electronic commerce T-1 or T-N payment system
CN110766453A (en) Point clearing method and device for e-commerce brand
CN110046911A (en) Consume contract processing method and its system
Jadhav et al. Loyalty Points Exchange System Using Blockchain

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200731

WD01 Invention patent application deemed withdrawn after publication