CN111784517A - Block chain-based coupon management method and system, electronic equipment and storage medium - Google Patents

Block chain-based coupon management method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111784517A
CN111784517A CN202010589841.6A CN202010589841A CN111784517A CN 111784517 A CN111784517 A CN 111784517A CN 202010589841 A CN202010589841 A CN 202010589841A CN 111784517 A CN111784517 A CN 111784517A
Authority
CN
China
Prior art keywords
coupon
transaction
selling
verifying
verification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010589841.6A
Other languages
Chinese (zh)
Other versions
CN111784517B (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.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Hangzhou Rivtower 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 Hangzhou Rivtower Technology Co Ltd filed Critical Hangzhou Rivtower Technology Co Ltd
Priority to CN202010589841.6A priority Critical patent/CN111784517B/en
Priority claimed from CN202010589841.6A external-priority patent/CN111784517B/en
Publication of CN111784517A publication Critical patent/CN111784517A/en
Application granted granted Critical
Publication of CN111784517B publication Critical patent/CN111784517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

One or more embodiments of the present specification disclose a block chain-based coupon management method, system, electronic device, and storage medium. The block chain-based coupon management method is applied to the following steps: in a coupon management system of at least two coupon verifying and selling parties and a block chain network, an intelligent contract used for processing the transaction related to the coupon is deployed in the block chain network; the method comprises the following steps: the coupon verifying and selling party sends a verifying and selling transaction generated based on the specific coupon in the coupon to the block chain network; the blockchain network processing the underwriting transaction based on the smart contract; and the checking and canceling transaction and the separate account of the checking and canceling of the coupons are carried out in the block chain network based on the processing result, so that the process of checking and canceling of the coupons is simplified, and the transparency and reliability of the separate account are ensured.

Description

Block chain-based coupon management method and system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method and a system for managing coupons based on blockchain, an electronic device, and a storage medium.
Background
In order to meet the diversified demands of consumers and improve the satisfaction degree of consumption, nowadays, different types of consumption packages are issued in many cities or scenic spots, and the consumption packages are sold on different ticket checking devices respectively after being purchased by the consumers in a coupon form.
However, coupons are distributed by several operators associated with consuming packages after they have been checked out on different ticket checking devices. For example, a consumer purchases a coupon for a certain consumption package going to a certain scenic spot on the internet, the consumption package comprises a shift delivery to the scenic spot, scenic spot entrance tickets and cable cars going to/from the mountains, the consumer is subjected to billing by three operators after checking the coupon one by one, and the billing also relates to auditing of the three operators. Therefore, the account splitting process is complex, and the account of each operator is difficult to be ensured to be open and transparent. How to simplify the account-splitting process and ensure that the account-splitting account is transparent and reliable becomes a technical problem which needs to be solved urgently.
Disclosure of Invention
One or more embodiments of the present disclosure provide a block chain-based coupon management method, system, electronic device, and storage medium, which can simplify an accounting process and ensure that an accounting account is transparent and reliable.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
in a first aspect, a block chain-based coupon management method is provided, and the method is applied to the following steps: in a coupon management system of at least two coupon verifying and selling parties and a block chain network, an intelligent contract used for processing the transaction related to the coupon is deployed in the block chain network; the method comprises the following steps: the coupon verifying and selling party sends a verifying and selling transaction generated based on the specific coupon in the coupon to the block chain network; the blockchain network processing the underwriting transaction based on the smart contract; and performing billing for the coupon verifying and selling party based on the processing result.
In a second aspect, a block chain-based coupon management system is provided, including: coupon checking and selling party and block chain network, wherein: the coupon verifying and selling party is used for sending a verifying and selling transaction related to the coupon verifying and selling to the block chain network; the blockchain network is provided with an intelligent contract used for processing the transaction related to the coupon, and the intelligent contract is used for processing the underwriting transaction based on the intelligent contract; and performing billing for the coupon verifying and selling party based on the processing result.
In a third aspect, an electronic device is provided, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform a coupon management method as described above.
In a fourth aspect, a storage medium is provided that stores one or more programs that, when executed by an electronic device that includes a plurality of application programs, cause the electronic device to perform a coupon management method as described above.
As can be seen from the technical solutions provided in one or more embodiments of the present specification, in the block chain-based coupon management method provided by the present application, by deploying an intelligent contract in a block chain network, an audit transaction generated based on a specific coupon in a coupon being used and a ledger for which the audit transaction is completed are both performed in the block chain network, and therefore, not only can various current requirements be solved by using advantages such as decentralization of the block chain network, and the like, but also interference of human factors is completely removed, so that automatic processing of a process flow of the coupon management is realized, a process flow of the coupon management is simplified, and each transaction in the block chain network has trace retainability and is not falsifiable, and the block chain network can also store transaction data, thereby ensuring that the ledger is transparent and reliable.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, reference will now be made briefly to the attached drawings, which are needed in the description of one or more embodiments or prior art, and it should be apparent that the drawings in the description below are only some of the embodiments described in the specification, and that other drawings may be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a schematic block chain-based coupon management system architecture according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram of a step of a block chain-based coupon management method according to an embodiment of the present disclosure.
Fig. 3 is a schematic step diagram of another block chain-based coupon management method provided in an embodiment of the present specification.
Fig. 4 is a schematic step diagram of another block chain-based coupon management method provided in an embodiment of the present specification.
Fig. 5 is a schematic step diagram of another block chain-based coupon management method provided in an embodiment of the present specification.
Fig. 6 is a schematic step diagram of another block chain-based coupon management method provided in an embodiment of the present specification.
Fig. 7 is a schematic step diagram of another block chain-based coupon management method provided in an embodiment of the present specification.
Fig. 8 is a schematic step diagram of another block chain-based coupon management method provided in an embodiment of the present specification.
Fig. 9 is a schematic of a route for coupon management provided by an embodiment of the present description.
Fig. 10 is a schematic structural diagram of a block chain-based coupon management system according to an embodiment of the present disclosure.
Fig. 11 is a schematic structural diagram of another block chain-based coupon management system provided in an embodiment of this specification.
Fig. 12 is a schematic structural diagram of another block chain-based coupon management system provided in an embodiment of this specification.
Fig. 13 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the accompanying drawings in one or more embodiments of the present specification, and it is obvious that the one or more embodiments described are only a part of the embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
First, referring to fig. 1, a system architecture according to an embodiment of the present disclosure will be described. In the block chain-based coupon management system according to the embodiment of the present specification, the block chain-based coupon management system may include: the plurality of coupon verifying and selling parties comprise a first coupon verifying and selling party 102, a second coupon verifying and selling party 104, … … and an nth coupon verifying and selling party 106, the coupon verifying and selling parties can be regarded as accounts of coupon operators, the ticket checking equipment comprises but is not limited to handheld equipment, mobile phones or gate machines and the like, the coupons are verified and sold on the ticket checking equipment and then cannot be reused, the ticket checking equipment to which each coupon operator belongs firstly sends verification and sale transactions to operation and maintenance equipment to which the coupon operator belongs when the coupons are verified and sold, and then the operation and maintenance equipment sends the operation and maintenance equipment to a block chain network through the account of the coupon operator, namely the coupon verifying and selling party; an intelligent contract for processing a coupon-related transaction, which may be an administrator 112 deployed on the blockchain network 116, is deployed on the blockchain network 110. The intelligent contract specification can comprise a plurality of sub intelligent contracts, including an account intelligent contract, a ticket intelligent contract, a liquidation intelligent contract and a token intelligent contract, wherein each sub intelligent contract has operation contents for processing corresponding transaction; each transaction and branch account processing process occurs on the blockchain network 110, and because each transaction passes through the blockchain network, the branch account is certified on the blockchain network, so that the open transparency of each transaction can be ensured, and the transparency and reliability of the branch account can be ensured. Note that the audit transaction according to the embodiment of the present specification is a transaction generated by using a specific ticket in a coupon, and the use of the specific ticket in the coupon is to audit and sell tickets or tickets of one operator of the coupon corresponding to the operator on a ticket audit device of the operator.
It can be understood that the plurality of coupon verifying and selling parties shown in fig. 1 can respectively verify and sell different specific tickets in the coupons, so that the user can consume the consumption packages corresponding to the coupons one by one, for example, the consumption packages corresponding to the coupons include bus delivery, scenic spot tickets, cable cars for going up and down mountains, and the user is required to verify and sell different specific tickets in the coupons one by one when using the services to complete the consumption of the consumption packages. After the user consumes the coupon, the coupon verifying and selling parties perform billing on the bill consumed by the coupon. In order to distinguish the coupons corresponding to the above-mentioned services, specific tickets or specific tickets corresponding to different services can be set on the coupons, and after one service is used by a user, the specific tickets or specific tickets on the coupons corresponding to the service are checked and sold, and the following description will describe in detail how the coupons are marked to distinguish different services.
It should be noted that the coupon verifying and selling party, the managing party, the ticketing party, and the auditing party mentioned in this specification refer to accounts used by different coupon operators in the coupon management system, and the corresponding account performs operations with corresponding permissions, such as that the account of a cable company can only send verification and sale transactions related to a cable car. Each operator may have only one account in the coupon management system.
Example one
Referring to fig. 2, a flowchart of a block chain-based coupon management method provided in an embodiment of the present disclosure is shown. The coupon management method is applied to the following steps: in the coupon management system of at least two coupon verifying and selling parties and a block chain network, intelligent contracts used for processing the transaction related to the coupons are deployed in the block chain network. The coupon management method realizes a centralized coupon management function based on the block chain network, simplifies the coupon management process, improves the security of coupon management, and ensures the transparency and reliability of the branch account. The coupon management method comprises the following steps:
step 10: the coupon verifying and selling party sends a verifying and selling transaction generated based on the specific coupon in the coupon to the block chain network;
the method is characterized in that coupons jointly initiated by a plurality of operators relate to the split account among the operators after the user consumes the coupons, the account of the operators in the coupon management system is called a coupon verifying and selling party, and the operators include a passenger company, a scenic spot service center, a cableway company and the like by taking a certain scenic spot as an example and are not limited to the roles. The approval transaction here can be understood as coupon approval, i.e. the operator's ticket checking device checks a particular ticket or ticket in the coupon. As the consumption package corresponding to the coupons relates to services of a plurality of operators, the coupons are checked and sold as transactions on the block chain, and as long as a user checks and sells the coupons on the ticket checking equipment of one of the operators for the specific tickets or the specific bills corresponding to the operator in the coupons, the coupon checking and selling party checks and sells the specific tickets or the specific bills corresponding to the coupons as a check and sell transaction and sends the check and sell transaction to the block chain network.
The block chain network is used as a shared database, and data or information stored in the shared database has unforgeable whole-course marks, can be traced and is public and transparent, so that a reliable and reliable cooperation mechanism is established. Therefore, as long as the verification and cancellation transaction related to the coupon verification and cancellation is sent to the block chain network, the transaction can be traceable and cannot be tampered, and the accuracy and reliability of verification and cancellation transaction information are ensured, so that verification and cancellation transactions of corresponding specific tickets or specific tickets in coupons related to the coupons by coupon verification and cancellation parties are disclosed and transparent, and a reliable and trusted basis is laid for subsequent coupon management.
Step 20: the block chain network processes the checking and canceling transaction based on the intelligent contract;
the checking and canceling transaction which is sent by the ticket checking and canceling party and relates to the ticket checking and canceling corresponding to the specific entrance ticket or the specific ticket in the coupons can be processed based on the intelligent contract preset in the blockchain network, the processing result can be the checking and canceling success or the checking and canceling failure, and the checking and canceling failure can be caused by various reasons such as false coupons, the voided coupons, unequal ticket checking equipment codes and the like. Of course, the coupon verifying party can inquire the processing result of the verification transaction.
The intelligent contract can agree with the authenticity identification basis of the coupon, all services contained in a consumption package related to the coupon, codes of a coupon verifying and selling party, equipment codes of ticket checking equipment of the coupon verifying and selling party and other information related to coupon checking and selling. When the services related to the coupon verifying and selling party change, the contents related to the intelligent contract need to be modified correspondingly. The intelligent contract can also agree that the numbers on different positions of the digital codes on the coupons represent different coupon verifying and selling parties, and the block chain network only judges the coupon verifying and selling party corresponding to the numbers on the corresponding positions when processing the verification and selling transaction.
The blockchain network may store information about coupons of the intelligent contract described above, which may be used to process the underwriting transactions generated by coupon issuing parties to refer to particular tickets in the coupons or by the use of particular tickets. When a user performs ticket checking and canceling on a ticket checking device of one ticket checking and canceling party, the ticket checking device sends a checking and canceling transaction to the block chain network for processing to obtain a checking and canceling result, the ticket checking and canceling party inquires to obtain the checking and canceling result and sends the checking and canceling result to the ticket checking device, and no limitation is made.
Step 30: and performing billing for the coupon verifying and selling party based on the processing result.
And when the result of the block chain network on the verification and cancellation transaction processing is verification and cancellation failure, the block chain network gives zero to the verification and cancellation party. And when the result of the block chain network on the verification and cancellation transaction processing is successful, the ledger of the coupon verification and cancellation party can be according to a preset intelligent contract.
The intelligent contract can define a specific dividing strategy, and the block chain network automatically executes the dividing strategy after monitoring that the verification and cancellation transaction processing is completed.
The intelligent contract can define the basis of coupon management, the proportion of the split account, the amount of the split account and other split strategies, and is based on the consensus between the early-stage coupon verifying and selling parties. For example, for a coupon including three services of receiving and sending a bus, a scenic spot ticket and a cable car for getting on and off a mountain, after the coupon is purchased by a user and the user successfully checks and checks the ticket on the ticket checking device of a passenger company, the coupon checking and selling party corresponding to the passenger company can be divided into one third of the value of the coupon. Of course, when the related content in the smart contract changes, the corresponding modification is needed.
Referring to FIG. 3, in some embodiments, step 10: before the coupon verifying and selling party sends a verification and selling transaction generated based on the use of a specific coupon in the coupon to the block chain network, the coupon management method provided by the embodiment of the specification further comprises the following steps:
step 40: the manager deploys the intelligent contracts in the blockchain network.
The management party can deploy intelligent contracts related to the coupon management on the blockchain network before the coupon management, wherein the intelligent contracts at least comprise sub intelligent contracts such as account intelligent contracts, entrance ticket intelligent contracts and liquidation intelligent contracts.
The management party can be an operation and maintenance party or a middle cube, does not participate in the coupon management, and can be a role that the coupon verifying and selling parties trust. The management party may deploy and manage the relevant intelligent contracts, including but not limited to modifying terms in the intelligent contracts, updating versions of the intelligent contracts, and the like. In addition, the management party can open and cancel the account participating in the coupon management system and correspondingly endow different authorities. For example, the manager may open a new account for the new coupon verifying and selling party, and the new account may be accessed to the blockchain network to participate in coupon management. In addition, the management party can also transfer the account authority of the management party to other accounts after the intelligent contract is deployed and completed in the blockchain network.
The management party deploys account intelligent contracts on the blockchain network, the account intelligent contracts comprise authority management of each account, operation authorities followed by the management party to deploy different accounts on the coupon management system can be realized, and corresponding accounts can be deployed on the coupon management system only on the premise that the coupon verifying and selling parties agree. The account intelligent contract can also comprise consensus of at least the entrance ticket intelligent contract and the clearing intelligent contract by each coupon verifying and selling party for realizing the coupon management. Therefore, the coupon management method provided by the embodiment of the specification can be smoothly executed only on the premise that each coupon verifying and selling party is embodied on an account intelligent contract without any objection.
As shown in fig. 4, in some embodiments, step 30: the coupon management method after the coupon checking and canceling party is subjected to the account distribution based on the intelligent contract further comprises the following steps:
step 50: and the auditor checks the account periodically.
The auditor can be a third party auditing mechanism such as a bank and the like, is an auditor which is commonly promised by the coupon verifying and selling party, and has corresponding clause provisions in the account intelligent contract.
The auditing party examines and verifies the account at regular intervals, and can sort the account-separating accounts in a preset time period to ensure the accuracy of the account-separating.
Referring to fig. 5, the intelligent contract includes entrance ticket registration rules, step 10: before the coupon verifying and selling party sends a verification and selling transaction generated based on the use of a specific coupon in the coupon to the block chain network, the coupon management method provided by the embodiment of the specification further comprises the following steps:
step 60: the ticketing party sends a registration transaction related to the coupon registration to the blockchain network, wherein the registration transaction at least comprises a ticket number of the coupon;
the user can purchase the coupon on the network or the ticket selling center, considering that the user can check the coupon directly on the ticket checking device after purchasing the coupon on the ticket selling center, the related information of the coupon at least including the coupon number needs to be uploaded to the block chain network by the ticket service side in time, and the related information of the coupon can be directly uploaded to the block chain network by the ticket service side after the coupon is generated for the next coupon check and sale transaction. The ticket service side can be different accounts corresponding to different mechanisms responsible for marketing coupons, and the coupons can be numbered uniformly and then distributed to different mechanisms for marketing coupons to be marketed respectively.
Step 70: the blockchain network processes the registration transaction based on the ticket registration rules, registering at least the ticket number of the coupon.
The intelligent contract comprises entrance ticket registration rules, and the entrance ticket registration rules comprise related information of the entrance ticket to be registered, including a ticket number of the entrance ticket, and also can comprise purchase time, validity period and the like.
And the block chain network registers the related information of the coupons based on the entrance ticket registration rule and at least stores the related information such as the ticket numbers of the coupons for comparison based on the ticket numbers of the coupons during the subsequent approval and cancellation transaction processing related to the approval and the cancellation of the coupons. When the verification and cancellation transaction processing of the coupon is related, the related information such as the coupon number carried in the transaction during the verification and cancellation of the coupon can be compared with at least the registered coupon number to judge whether the coupon number in the verification and cancellation transaction of the coupon is registered or not, and accurately to say whether the coupon is paid and purchased by a user or not.
Certainly, after the blockchain network completes the registration transaction processing based on the entrance ticket registration rule, the ticketing party can query the registration result on the blockchain network to display that the registration is successful or fails, and the reason for the registration failure includes that the coupon is not a coupon corresponding to the coupon management system, that is, not a coupon initiated by the coupon verifying and selling party of the coupon.
Referring to fig. 6, in the coupon management method provided in the embodiment of the present specification, the intelligent contract includes a ticket reimbursement rule, the reimbursement transaction includes a ticket number of the coupon, and step 20: the block chain network processes the verification and cancellation transaction based on the intelligent contract, and specifically comprises the following steps:
step 200: judging the ticket number of the coupon in the verification and sale transaction as the registered ticket number of the coupon;
firstly, whether the coupon is a registered coupon is judged according to the coupon number carried by the verification and sale transaction, and if the coupon is not the registered coupon, the verification and sale transaction is not processed based on the ticket verification and sale rule.
Step 210: and checking and canceling the coupons in the checking and canceling transaction based on the ticket checking and canceling rule to form a checking and canceling record.
And if the coupon involved in the verification and cancellation transaction is judged to be the registered coupon according to the ticket number, verifying and canceling the coupon in the verification and cancellation transaction according to the ticket verification and cancellation rule. The entrance ticket checking and canceling rule can include the condition that whether the identification of the coupon checking and canceling party carried by the checking and canceling transaction is consistent with the identification of the coupon checking and canceling party stored in the blockchain network, if so, the coupon checking and canceling party corresponding to the checking and canceling transaction is confirmed, the checking and canceling result of successful checking and canceling is obtained, and the checking and canceling record is formed. The blockchain network stores in advance the identity of the coupon verifying and selling party. For example, it may be agreed that the numbers on different bits of the digital code on the coupon represent different coupon verifying and selling parties, and the block chain network may determine which coupon verifying and selling party the coupon belongs to by only judging the coupon verifying and selling party corresponding to the number on the corresponding bit when processing the verification and selling transaction.
As shown in fig. 7, in the coupon management method provided in the embodiment of the present specification, step 30: the intelligent contract comprises an account separating rule, accounts are separated for the coupon verifying and selling party based on the processing result, and the intelligent contract specifically comprises the following steps:
step 300: acquiring a verification and cancellation record based on the intelligent contract;
the intelligent contract can obtain the verification and cancellation record of the verification and cancellation transaction after the verification and cancellation transaction processing is finished, and the purpose of obtaining the verification and cancellation record is to prepare for subsequent account distribution.
The verification record may include verification results: whether the coupon is successfully checked and sold, the market value of the coupon and the corresponding coupon checking and selling party.
Step 310: acquiring a bill corresponding to the verification and cancellation record based on the account distribution rule;
the intelligent contract comprises an account separating rule, the account separating rule comprises account separating rules such as the basis of the management of the coupons between the coupon verifying and selling parties, the proportion of the accounts separating, the amount of the accounts separating and the like, and the intelligent contract is a consensus achieved between the coupon verifying and selling parties in the early stage of the intelligent contract deployment.
And acquiring a bill corresponding to the verification and cancellation record based on the account distribution rule, namely acquiring a bill obtained by the corresponding coupon verification and cancellation party. And after the step is finished, the block chain network can calculate the actually-divided bill for the corresponding coupon verifying and selling party.
Step 320: and sending digital assets with preset values for the coupon verifying and selling party based on the bill.
The intelligent contract can send the digital assets to the coupon verifying and selling party according to the bill actually distributed by the coupon verifying and selling party, and can automatically send the digital assets with corresponding values to each coupon verifying and selling party by using the ERC20 specification. The coupon verifying and selling party can conveniently check the balance of each digital asset and the amount of the digital asset obtained each time on the block chain network at any time, and the coupon verifying and selling party can be more intuitive.
The coupon verifying and selling party can inquire the bill corresponding to each verifying and selling transaction and the limit of the corresponding digital asset and can also see the balance of the digital asset in a preset time period.
Referring to fig. 8, in the coupon management method provided in the embodiment of the present specification, step 50: the auditing party regularly audits the account, which specifically comprises the following steps:
step 330: acquiring balance of the digital assets and a verification and cancellation record of verification and cancellation transaction in a preset time period based on the intelligent contract;
the terms in the intelligent contract relate to the condition that an auditor is allowed to acquire the balance corresponding to the digital assets in the preset time period of the coupon verifying and selling party and the verifying and selling records of each verifying and selling transaction in the preset time period from the blockchain network so as to prepare for subsequent reconciliation and auditing.
Step 350: and checking accounts according to the balance of the digital assets and the verification and cancellation record in the preset time period.
And the auditor performs the account splitting and checking according to the verification and cancellation record in the preset time period and the balance of the digital assets. The verification and cancellation records obtained from the block chain network and the generation records of the balance of the digital assets are traceable and not falsifiable, thereby simplifying the account checking program and improving the working efficiency.
And after confirming that the account is not problematic in each account checking audit, the auditor can send a zero clearing message to the block chain network, and zero clearing the balance of the digital assets within the preset time period. And (4) after the balance of the digital assets of each coupon checking and canceling party is cleared, entering the next accounting period.
The following description will explain embodiments of the present specification by way of specific examples.
Referring to fig. 9, the specific process is as follows:
1. the management party deploys intelligent contracts, and the intelligent contracts at least comprise sub intelligent contracts such as entrance ticket intelligent contracts, clearing and distributing intelligent contracts, account intelligent contracts and token intelligent contracts;
2. the user purchases the coupon;
3. step 60 is executed: the ticketing party sends a registration transaction involving the coupon registration to the blockchain network;
4. after the block chain network finishes the processing of the registered transaction, the ticketing party can inquire the registered result;
5. the user checks and checks the ticket on the ticket checking equipment of the first ticket checking and canceling party and the second ticket checking and canceling party respectively;
6. ticket checking equipment of a first coupon verifying and selling party and ticket checking equipment of a second coupon verifying and selling party respectively send verification and selling transactions related to coupon verifying and selling to the block chain network through respective operation and maintenance equipment;
7. after the block chain network completes the verification and cancellation transaction processing, the first coupon verifying and canceling party and the second coupon verifying and canceling party can inquire verification and cancellation results;
8. the block chain network sends digital assets with preset values to each coupon verifying and selling party based on the verifying and selling result;
9. and the auditing party acquires the verification and cancellation record of each verification and cancellation transaction in a preset time period and the balance of the digital assets corresponding to each coupon verification and cancellation party to check the account.
By the technical scheme, the block chain-based coupon management method provided by the application carries out the verification and sale transaction related to the coupon verification and the ledger aiming at the completed verification and sale transaction in the block chain network by deploying the intelligent contract in the block chain network, can solve various current requirements by using the advantages of decentralization and the like of the block chain network, completely removes the interference of human factors, realizes the automatic processing of the coupon management processing flow, simplifies the processing flow of the coupon management, and ensures that each verification and sale transaction in the block chain network has trace recyclability and cannot be falsified, and the block chain network can also store transaction data to ensure that the ledger accounts are transparent and reliable.
Example two
Referring to fig. 10, a block chain-based coupon management system 10 is provided for an embodiment of the present specification. The blockchain-based coupon management system 10 combines blockchain technology to implement a decentralized coupon settlement system. The block chain-based coupon management system comprises: coupon verifying and selling party 100 and block chain network 200, wherein:
a coupon verifying and selling party 100 for sending a verification and selling transaction generated based on the specific bill in the coupon being used to a block chain network;
the method is characterized in that coupons jointly initiated by a plurality of operators relate to the split account among the operators after the user consumes the coupons, the account of the operators in the coupon management system is called a coupon verifying and selling party, and the operators include a passenger company, a scenic spot service center, a cableway company and the like by taking a certain scenic spot as an example and are not limited to the roles. The approval transaction here can be understood as coupon approval, that is, the ticket checking device of the operator checks the ticket of the particular entrance ticket or the particular ticket corresponding to the operator in the coupon. As the consumption package corresponding to the coupons relates to the services of a plurality of operators, the coupon is checked and sold as a transaction on the block chain, and as long as a user checks and sells a corresponding specific coupon or a specific admission ticket in the coupon on the ticket checking equipment of the corresponding operator, the coupon checking and selling party sends the coupon as a check and sell transaction to the block chain network.
The block chain network is used as a shared database, and data or information stored in the shared database has unforgeable whole-course marks, can be traced and is public and transparent, so that a reliable and reliable cooperation mechanism is established. Therefore, as long as the verification and cancellation transaction related to the coupon verification and cancellation is sent to the block chain network, the transaction can be traceable and cannot be tampered, and the accuracy and reliability of verification and cancellation transaction information are ensured, so that the coupon verification and cancellation parties are mutually transparent to the verification and cancellation transaction related to the coupon verification and cancellation, and a reliable and trusted basis is laid for subsequent coupon management.
A blockchain network 200, in which an intelligent contract for processing the transaction related to the coupon is deployed, and the intelligent contract is used for processing the approval and cancellation transaction based on a preset intelligent contract;
the checking and canceling transaction generated by the ticket checking and canceling party based on the specific ticket in the ticket is used can be processed based on the intelligent contract preset in the blockchain network, and the processing result can be checking and canceling success and failure, of course, the checking and canceling failure can be caused by various reasons, such as false ticket, invalid ticket, unequal ticket checking device codes. Of course, the coupon verifying party can inquire the processing result of the verification transaction.
The intelligent contract can agree with the authenticity identification basis of the coupon, all services contained in a consumption package related to the coupon, codes of a coupon verifying and selling party, equipment codes of ticket checking equipment of the coupon verifying and selling party and other information related to coupon checking and selling. When the services related to the coupon verifying and selling party change, the content related to the intelligent contract of the entrance ticket needs to be modified correspondingly. The intelligent contract can also agree that the numbers on different positions of the digital codes on the coupons represent different coupon verifying and selling parties, and the block chain network only judges the coupon verifying and selling party corresponding to the numbers on the corresponding positions when processing the verification and selling transaction.
The blockchain network can store the information of the intelligent contract related to the coupons, and the intelligent contract of the entrance tickets can be used for processing the approval and cancellation transaction when the approval and cancellation transaction related to the approval and cancellation of the coupons sent by an approval and cancellation party is monitored. When a user checks and checks a ticket on the ticket checking device of one ticket checking and selling party, the ticket checking and selling transaction is sent to the block chain network through the operation and maintenance device to be processed to obtain a checking and selling result, the ticket checking and selling party inquires to obtain the checking and selling result and sends the checking and selling result to the ticket checking device, and limitation is not performed.
And performing billing for the coupon verifying and selling party based on the processing result.
And when the result of the block chain network on the verification and cancellation transaction processing is verification and cancellation failure, the block chain network gives zero to the verification and cancellation party. And when the result of the block chain network on the verification and cancellation transaction processing is successful, the ledger of the coupon verification and cancellation party can be according to a preset intelligent contract.
The intelligent contract can define a specific dividing strategy, and the block chain network automatically executes the dividing strategy after monitoring that the verification and cancellation transaction processing is completed.
The intelligent contract can define the basis of coupon management, the proportion of the split account, the amount of the split account and other split strategies, and is based on the consensus between the early-stage coupon verifying and selling parties. For example, for a coupon including three services of receiving and sending a bus, a scenic spot ticket and a cable car for getting on and off a mountain, after the coupon is purchased by a user and the user successfully checks and checks the ticket on the ticket checking device of a passenger company, the coupon checking and selling party corresponding to the passenger company can be divided into one third of the value of the coupon. Of course, when the related content in the smart contract changes, the corresponding modification is needed.
Referring to fig. 11, in some embodiments, the coupon management system 10 provided in the embodiments of the present specification further includes a management party 300, before the coupon verifying and selling party 100 sends the verification and sale transaction generated based on the use of a specific coupon in the coupon to the blockchain network 200, the management party is configured to: intelligent contracts are deployed in blockchain network 200.
The management party can deploy related intelligent contracts for realizing the coupon management on the blockchain network before the coupon management, wherein the intelligent contracts at least comprise sub intelligent contracts such as account intelligent contracts, entrance ticket intelligent contracts and liquidation intelligent contracts.
The management party can be an operation and maintenance party or a middle cube, does not participate in the coupon management, and can be a role that the coupon verifying and selling parties trust. The management party may deploy and manage the relevant intelligent contracts, including but not limited to modifying terms in the intelligent contracts, updating versions of the intelligent contracts, and the like. In addition, the management party can open and cancel the account participating in the coupon management system and correspondingly endow different authorities. For example, the manager may open a new account for the new coupon verifying and selling party, and the new account may be accessed to the blockchain network to participate in coupon management. In addition, the management party can also transfer the account authority of the management party to other accounts after the intelligent contract is deployed and completed in the blockchain network.
The management party deploys account intelligent contracts on the blockchain network, the account intelligent contracts comprise authority management of each account, operation authorities followed by the management party to deploy different accounts on the coupon management system can be realized, and corresponding accounts can be deployed on the coupon management system only on the premise that the coupon verifying and selling parties agree. The account intelligent contract can also comprise consensus of at least the entrance ticket intelligent contract and the clearing intelligent contract by each coupon verifying and selling party for realizing the coupon management. Therefore, the coupon management method provided by the embodiment of the specification can be smoothly executed only on the premise that each coupon verifying and selling party is embodied on an account intelligent contract without any objection.
Referring to fig. 12, in some embodiments, the coupon management system provided by the embodiments of this specification further includes an auditor, configured to:
and checking the account periodically.
The auditor can be a third party auditing mechanism such as a bank and the like, is an auditor which is commonly promised by the coupon verifying and selling party, and has corresponding clause provisions in the account intelligent contract.
The auditing party examines and verifies the account at regular intervals, and can sort the account-separating accounts in a preset time period to ensure the accuracy of the account-separating.
In some embodiments, the intelligent contract includes entrance ticket registration rules, and the coupon management system provided in this specification further includes a ticketing party for, before the coupon cancellation party sends a cancellation transaction generated based on the use of a specific ticket in the coupon to the blockchain network:
sending a registration transaction involving the registration of the coupon to the blockchain network, registering at least the ticket number of the coupon;
the user can purchase the coupons on the network or the ticket selling center, considering that the user can check the coupons on the ticket checking device directly after purchasing the coupons in the ticket selling center, the related information of the coupons at least including the coupon number is uploaded to the block chain network by the ticket service side in time, or the related information of the coupons is directly sent to the block chain network by the ticket service side after the coupons are generated, so as to prepare for the following coupon check and sale transaction. The ticket service side can be different accounts corresponding to different mechanisms responsible for marketing coupons, and the coupons can be numbered uniformly and then distributed to different mechanisms for marketing coupons to be marketed respectively.
The intelligent contract comprises entrance ticket registration rules, and the entrance ticket registration rules comprise related information of the entrance ticket to be registered, including a ticket number of the entrance ticket, and also can comprise purchase time, validity period and the like. The blockchain network processes the registration transaction based on ticket registration rules.
And the block chain network registers the relevant information of the coupon based on the entrance ticket registration rule and at least stores the relevant information such as the ticket number of the coupon for subsequent transaction processing related to the coupon reimbursement. When the verification and cancellation transaction of the coupon is processed, the related information such as the coupon number carried by the verification and cancellation transaction of the coupon can be compared with at least the registered coupon number to judge whether the coupon number in the verification and cancellation transaction of the coupon is registered or not, and accurately to say whether the coupon is paid and purchased by the user or not.
Certainly, after the block chain network completes the registration transaction processing based on the entrance ticket registration rule, the ticket service party may query the registration result on the block chain network to display that the registration is successful or the registration is failed, and the reason for the registration failure includes that the coupon is not a coupon corresponding to the coupon management system, that is, not a coupon initiated by the coupon verifying and selling party of the coupon.
In some embodiments, in the coupon management system provided in this specification, the intelligent contract includes a ticket reimbursement rule, the reimbursement transaction includes at least a ticket number of the coupon, and the blockchain network is specifically configured to:
judging the ticket number of the coupon in the verification and sale transaction as the registered ticket number of the coupon;
firstly, whether the coupon is a registered coupon is judged according to the coupon number carried by the verification and sale transaction, and if the coupon is not the registered coupon, the verification and sale transaction is not processed based on the ticket verification and sale rule.
And if the coupon involved in the verification and cancellation transaction is judged to be the registered coupon according to the ticket number, verifying the coupon in the verification and cancellation transaction according to the ticket verification and cancellation rule. The entrance ticket checking and canceling rule can include the condition that whether the identification of the coupon checking and canceling party carried by the checking and canceling transaction is consistent with the identification code of the coupon checking and canceling party stored in the blockchain network, if so, the coupon checking and canceling party corresponding to the checking and canceling transaction is confirmed, the checking and canceling result of successful checking and canceling is obtained, and the checking and canceling record is formed. The blockchain network stores in advance the identity of the coupon verifying and selling party. For example, it may be agreed that the numbers on different bits of the digital code on the coupon represent different coupon verifying and selling parties, and the block chain network may determine which coupon verifying and selling party the coupon belongs to by only judging the coupon verifying and selling party corresponding to the number on the corresponding bit when processing the verification and selling transaction.
In some embodiments, in the coupon management system provided in this specification, the intelligent contract includes an accounting rule, and the blockchain network is specifically configured to:
acquiring a verification and cancellation record based on the intelligent contract;
the intelligent contract can obtain the verification and cancellation record of the verification and cancellation transaction after the verification and cancellation transaction processing is finished, and the purpose of obtaining the verification and cancellation record is to prepare for subsequent account distribution.
The verification record may include verification results: whether the reimbursement is successful or not, the transaction amount, the coupon market value and the corresponding coupon reimbursement party.
Acquiring a bill corresponding to the verification and cancellation record based on the account distribution rule;
the intelligent contract comprises an account separating rule, the account separating rule comprises account separating rules such as the basis of the management of the coupons between the coupon verifying and selling parties, the proportion of the accounts separating, the amount of the accounts separating and the like, and the intelligent contract is a consensus achieved between the coupon verifying and selling parties in the early stage of the intelligent contract deployment.
And acquiring a bill corresponding to the verification and cancellation record based on the account distribution rule, namely acquiring a bill obtained by the corresponding coupon verification and cancellation party. And after the step is finished, the block chain network can calculate the actually-divided bill for the corresponding coupon verifying and selling party.
And sending digital assets with preset values for the coupon verifying and selling party based on the bill.
The intelligent contract can be used for sending digital assets to the coupon verifying and selling party according to the bill actually distributed by the coupon verifying and selling party, and the ERC20 specification can be used for automatically sending the digital assets with corresponding values to the coupon verifying and selling party. The coupon verifying and selling party can conveniently check the balance of each digital asset and the amount of the digital asset obtained each time on the block chain network at any time, and the coupon verifying and selling party can be more intuitive.
The coupon verifying and selling party can inquire the bill corresponding to each verifying and selling transaction and the limit of the corresponding digital asset and can also see the balance of the digital asset in a preset time period.
Referring to fig. 12, the coupon management system 10 provided in the embodiment of the present disclosure further includes an auditor 400, configured to:
acquiring balance of the digital assets and a verification and cancellation record of verification and cancellation transaction in a preset time period based on the intelligent contract;
the auditor can be a third party auditing mechanism such as a bank and the like, is an auditor which is commonly promised by the coupon verifying and selling party, and has corresponding clause provisions in the account intelligent contract.
The terms in the intelligent contract relate to the condition that an auditor is allowed to acquire the balance corresponding to the digital assets in the preset time period of the coupon verifying and selling party and the verifying and selling records of each verifying and selling transaction in the preset time period from the blockchain network so as to prepare for subsequent reconciliation and auditing.
And checking accounts according to the balance of the digital assets and the verification and cancellation record in the preset time period.
And the auditor performs the account splitting and checking according to the verification and cancellation record in the preset time period and the balance of the digital assets. The verification and cancellation records obtained from the block chain network and the generation records of the balance of the digital assets are traceable and not falsifiable, thereby simplifying the account checking program and improving the working efficiency.
By the technical scheme, the block chain-based coupon management method provided by the application carries out the verification and sale transaction related to the coupon verification and the ledger aiming at the completed verification and sale transaction in the block chain network by deploying the intelligent contract in the block chain network, can solve various current requirements by using the advantages of decentralization and the like of the block chain network, completely removes the interference of human factors, realizes the automatic processing of the coupon management processing flow, simplifies the processing flow of the coupon management, and ensures that each verification and sale transaction in the block chain network has trace recyclability and cannot be falsified, and the block chain network can also store transaction data to ensure that the ledger accounts are transparent and reliable.
EXAMPLE III
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment provided in the present specification. Referring to fig. 7, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 13, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads a corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the block chain consensus device on a logic level. The processor executes the program stored in the memory, and is specifically configured to execute the method steps corresponding to each execution main body in the embodiments of the present specification.
The methods disclosed in the embodiments of fig. 2 to 8 described above may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The methods, steps, and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method in the embodiments shown in fig. 2 to fig. 8, and implement the functions of the corresponding apparatus in the embodiments shown in fig. 2 to fig. 8, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
By the technical scheme, the block chain-based coupon management method provided by the application carries out the verification and sale transaction related to the coupon verification and the ledger aiming at the completed verification and sale transaction in the block chain network by deploying the intelligent contract in the block chain network, can solve various current requirements by using the advantages of decentralization and the like of the block chain network, completely removes the interference of human factors, realizes the automatic processing of the coupon management processing flow, simplifies the processing flow of the coupon management, and ensures that each verification and sale transaction in the block chain network has trace recyclability and cannot be falsified, and the block chain network can also store transaction data to ensure that the ledger accounts are transparent and reliable.
Example four
This specification embodiment also proposes a computer readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, can cause the electronic device to perform the method of the embodiment shown in fig. 2 to 8.
By the technical scheme, the block chain-based coupon management method provided by the application carries out the verification and sale transaction related to the coupon verification and the ledger aiming at the completed verification and sale transaction in the block chain network by deploying the intelligent contract in the block chain network, can solve various current requirements by using the advantages of decentralization and the like of the block chain network, completely removes the interference of human factors, realizes the automatic processing of the coupon management processing flow, simplifies the processing flow of the coupon management, and ensures that each verification and sale transaction in the block chain network has trace recyclability and cannot be falsified, and the block chain network can also store transaction data to ensure that the ledger accounts are transparent and reliable.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The system, apparatus, module or unit illustrated in one or more of the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain functionality. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (14)

1. A block chain-based coupon management method is applied to the following steps: in a coupon management system of at least two coupon verifying and selling parties and a block chain network, an intelligent contract used for processing the transaction related to the coupon is deployed in the block chain network; the method comprises the following steps:
the coupon verifying and selling party sends a verifying and selling transaction generated based on the specific bill in the coupon to a block chain network;
the blockchain network processing the underwriting transaction based on the smart contract; and the number of the first and second groups,
and performing billing for the coupon verifying and selling party based on the processing result.
2. The coupon management method according to claim 1, after performing a separate accounting for the coupon verifying and selling party based on a processing result, the method further comprising:
and the auditor periodically audits the branch account.
3. The coupon management method of claim 1 or 2, the intelligent contract comprising entrance ticket registration rules, before the coupon verifying party sends a verification transaction generated based on the use of a specific ticket in the coupon to the blockchain network, the method further comprising:
the ticketing party sends a registration transaction related to the coupon registration to the blockchain network, wherein the registration transaction at least comprises a ticket number of the coupon;
the blockchain network processes the registration transaction based on the ticket registration rule, registering at least the ticket number of the coupon.
4. The coupon management method according to claim 3, wherein the intelligent contract further comprises entrance ticket reimbursement rules, the reimbursement transaction at least comprises a ticket number of the coupon, and the block chain network processes the reimbursement transaction based on the intelligent contract, specifically comprising:
judging that the ticket number of the coupon in the audit transaction is the registered ticket number of the coupon;
and verifying and selling the coupons in the verification and selling transaction based on the ticket verification and selling rule to form a verification and selling record.
5. The coupon management method according to claim 4, wherein the intelligent contract further comprises an accounting rule, and accounting is performed for the coupon verifying and selling party based on the processing result, specifically comprising:
acquiring the verification and cancellation record based on the intelligent contract;
acquiring a bill corresponding to the verification and cancellation record based on the account distribution rule;
and sending digital assets with preset values to the coupon verifying and selling party based on the bill.
6. The coupon management method according to claim 5, wherein the auditor periodically performs auditing on the ledger, and specifically comprises:
acquiring the balance of the digital assets and the verification and cancellation record of the verification and cancellation transaction in a preset time period based on the intelligent contract;
and checking accounts according to the balance of the digital assets and the expense checking record in the preset time period.
7. A blockchain-based coupon management system, comprising: coupon checking and selling party and block chain network, wherein:
the coupon verifying and selling party is used for sending a verifying and selling transaction generated based on the use of a specific note in the coupon to the block chain network;
the blockchain network is provided with an intelligent contract used for processing the transaction related to the coupon, and the intelligent contract is used for processing the underwriting transaction based on the intelligent contract; and the number of the first and second groups,
and performing billing for the coupon verifying and selling party based on the processing result.
8. The coupon management system of claim 7, further comprising an auditor for:
and after the bill is divided for the coupon verifying and canceling party based on the processing result, the divided bill is checked regularly.
9. A coupon management system according to claim 7 or 8, the intelligent contract including entrance ticket registration rules, the system further comprising a ticketing party for, before sending to the blockchain network an underwriting transaction generated based on the use of a particular ticket in the coupon by the coupon underwriting party:
sending a registration transaction involving a coupon registration to the blockchain network, the registration transaction including at least a ticket number of the coupon;
the blockchain network processes the registration transaction based on the ticket registration rule, registering at least the ticket number of the coupon.
10. The coupon management system of claim 9, the ticket intelligent contract further comprising a ticket reimbursement rule, the reimbursement transaction comprising at least a ticket number of the coupon, the blockchain network being specifically configured to:
judging that the ticket number of the coupon in the audit transaction is the registered ticket number of the coupon;
and verifying and selling the coupons in the verification and selling transaction based on the ticket verification and selling rule to form a verification and selling record.
11. The coupon management system of claim 10, the intelligent contract comprising an accounting rule, the blockchain network being specifically configured to:
acquiring the verification and cancellation record based on the intelligent contract;
acquiring a bill corresponding to the verification and cancellation record based on the account distribution rule;
and sending digital assets with preset values to the coupon verifying and selling party based on the bill.
12. The coupon management system of claim 11, the auditor further configured to:
acquiring the balance of the digital assets and the verification and cancellation record of the verification and cancellation transaction in a preset time period based on the intelligent contract;
and checking accounts according to the balance of the digital assets and the expense checking record in the preset time period.
13. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that when executed cause the processor to perform the coupon management method of any one of claims 1 to 6.
14. A storage medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to execute the coupon management method according to any one of claims 1 to 6.
CN202010589841.6A 2020-06-24 Coupon management method, system, electronic equipment and storage medium based on block chain Active CN111784517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010589841.6A CN111784517B (en) 2020-06-24 Coupon management method, system, electronic equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010589841.6A CN111784517B (en) 2020-06-24 Coupon management method, system, electronic equipment and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN111784517A true CN111784517A (en) 2020-10-16
CN111784517B CN111784517B (en) 2024-07-02

Family

ID=

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570325A (en) * 2021-06-09 2021-10-29 湖南中惠旅智能科技有限责任公司 Intelligent scenic spot data processing method and system
CN113592632A (en) * 2021-08-04 2021-11-02 北京神州数字科技有限公司 Accurate verification and cancellation method and system for capital position management
CN115147114A (en) * 2022-06-29 2022-10-04 北京连琪科技有限公司 Block chain rights management method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3195226A1 (en) * 2014-09-16 2017-07-26 Einnovations Holdings Pte. Ltd. System, method and apparatus for updating a stored value card
CN108520412A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of settle accounts calculation transaction towards block chain divides the design method of account algorithm
CN109492366A (en) * 2018-10-16 2019-03-19 珠海横琴现联盛科技发展有限公司 Scenic spot coupon verification method based on anti-tamper Encryption Algorithm
WO2019120331A2 (en) * 2019-04-12 2019-06-27 Alibaba Group Holding Limited Retrieving values of digital tickets using smart contracts in blockchain networks
CN109961365A (en) * 2019-02-27 2019-07-02 阿里巴巴集团控股有限公司 A kind of receipt on account record processing method and system based on block chain intelligence contract
CN110046828A (en) * 2019-04-23 2019-07-23 上海能链众合科技有限公司 A kind of intelligence based on block chain divides account protocol system
US20190244186A1 (en) * 2017-03-10 2019-08-08 Tencent Technology (Shenzhen) Company Limited Electronic bill management method, apparatus, and storage medium
CN110473122A (en) * 2019-08-21 2019-11-19 北京艾摩瑞策科技有限公司 A kind of tourism ticket booking data processing method and system based on block chain
CN110597917A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Tourism data management method, device, terminal and medium
CN110852734A (en) * 2019-11-06 2020-02-28 上海景域文化传播股份有限公司 Scenic spot service settlement method and system based on block chain and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3195226A1 (en) * 2014-09-16 2017-07-26 Einnovations Holdings Pte. Ltd. System, method and apparatus for updating a stored value card
US20190244186A1 (en) * 2017-03-10 2019-08-08 Tencent Technology (Shenzhen) Company Limited Electronic bill management method, apparatus, and storage medium
CN108520412A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of settle accounts calculation transaction towards block chain divides the design method of account algorithm
CN109492366A (en) * 2018-10-16 2019-03-19 珠海横琴现联盛科技发展有限公司 Scenic spot coupon verification method based on anti-tamper Encryption Algorithm
CN109961365A (en) * 2019-02-27 2019-07-02 阿里巴巴集团控股有限公司 A kind of receipt on account record processing method and system based on block chain intelligence contract
WO2019120331A2 (en) * 2019-04-12 2019-06-27 Alibaba Group Holding Limited Retrieving values of digital tickets using smart contracts in blockchain networks
CN110046828A (en) * 2019-04-23 2019-07-23 上海能链众合科技有限公司 A kind of intelligence based on block chain divides account protocol system
CN110473122A (en) * 2019-08-21 2019-11-19 北京艾摩瑞策科技有限公司 A kind of tourism ticket booking data processing method and system based on block chain
CN110597917A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Tourism data management method, device, terminal and medium
CN110852734A (en) * 2019-11-06 2020-02-28 上海景域文化传播股份有限公司 Scenic spot service settlement method and system based on block chain and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113570325A (en) * 2021-06-09 2021-10-29 湖南中惠旅智能科技有限责任公司 Intelligent scenic spot data processing method and system
CN113570325B (en) * 2021-06-09 2023-11-28 湖南中惠旅智能科技有限责任公司 Intelligent scenic spot data processing method and system
CN113592632A (en) * 2021-08-04 2021-11-02 北京神州数字科技有限公司 Accurate verification and cancellation method and system for capital position management
CN113592632B (en) * 2021-08-04 2023-10-24 北京神州数字科技有限公司 Verification and verification method and system for fund position management
CN115147114A (en) * 2022-06-29 2022-10-04 北京连琪科技有限公司 Block chain rights management method and electronic equipment

Similar Documents

Publication Publication Date Title
KR101511801B1 (en) Delayed Transit Fare Assessment
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN113222613B (en) Method and device for processing substitute buckle based on reimbursement code
US8892468B1 (en) Customer refunds by a merchant agent
US20200126069A1 (en) Data processing method, apparatus and device
CN111985938A (en) Method, device and equipment for verifying authenticity of cross-border transaction
WO2021053404A2 (en) Distributed blockchain-type implementations configured to manage tokenized digital assets and improved electronic wallets, and methods of use thereof
CN111967821A (en) Method, device, equipment and system for generating clearance confirmation information
CN112085551A (en) Transaction method based on block chain and related equipment
US11803811B2 (en) System for validated tracking of events associated with equipment during a resource arrangement
CN109657763A (en) A kind of application method of electronic ticket and electronic ticket
CN112560074B (en) Vehicle passing data processing method, device, equipment and system
US11599390B2 (en) Tracking and managing resource performance and maintenance via distributed ledgers
CN112200670A (en) Event-driven intelligent contract platform design
CN111784517B (en) Coupon management method, system, electronic equipment and storage medium based on block chain
CN111784517A (en) Block chain-based coupon management method and system, electronic equipment and storage medium
CN115239446A (en) Data processing method and device based on block chain
US20210303349A1 (en) System for tracking a resource maintenance and resource capabilities
US20200394713A1 (en) Method for trading private information access rights based on distributed ledger and recording medium for performing the method
CN114463017A (en) Method for clearing transaction and blocking checking counterfeit goods mixing based on dynamic tracer code
RU2686618C1 (en) Method of providing user access to services of local service operator, user terminal device and system server for implementation of method
CN112950181A (en) Asset management method, electronic device and readable storage medium
KR101320668B1 (en) Method of service for settling by credit card improving security
CN112686652A (en) Block chain-based digital asset transaction method, device, equipment and storage medium
CN113159768B (en) Transaction certificate storage method, device and equipment

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