CN113537987A - Electronic coupon transaction management method and system - Google Patents

Electronic coupon transaction management method and system Download PDF

Info

Publication number
CN113537987A
CN113537987A CN202110823665.2A CN202110823665A CN113537987A CN 113537987 A CN113537987 A CN 113537987A CN 202110823665 A CN202110823665 A CN 202110823665A CN 113537987 A CN113537987 A CN 113537987A
Authority
CN
China
Prior art keywords
electronic coupon
transaction
management
intelligent contract
realizing
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
CN202110823665.2A
Other languages
Chinese (zh)
Inventor
林陈明
王武侠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Binglian Guangzhou Network Technology Co ltd
Original Assignee
Binglian Guangzhou Network 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 Binglian Guangzhou Network Technology Co ltd filed Critical Binglian Guangzhou Network Technology Co ltd
Priority to CN202110823665.2A priority Critical patent/CN113537987A/en
Publication of CN113537987A publication Critical patent/CN113537987A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons

Abstract

The invention discloses a transaction management method and a system of an electronic coupon, which can realize the automatic execution of the whole process chain of issuing, distributing, retail, exchanging and verification of the electronic coupon by generating an intelligent contract, improve the intelligent effect of the electronic coupon, and simultaneously realize the matching detection of the intelligent contract and a safety rule chain by setting the safety rule chain on the intelligent contract, thereby providing a safe and reliable electronic coupon operation method for merchants and users.

Description

Electronic coupon transaction management method and system
Technical Field
The invention relates to the technical field of electronic coupons, in particular to a method and a system for managing electronic coupon transactions.
Background
The electronic coupon is discount coupon information or coupon which exists on the Internet in the form of electronic text and pictures by a merchant, compared with printed coupons, the electronic coupon has the advantages of convenience in use and environmental protection, the transaction process of the traditional electronic coupon mainly comprises issuing and verification of the merchant, the mode can only ensure the safe operation of the electronic coupon to a certain extent in the business mode B2C, and for B2B2C, multi-level distribution, C2C and other new business modes, the electronic coupon can be circulated from issuing to verification, and among users, at the moment, the traditional electronic coupon cannot obtain effective safety guarantee in the transaction process, so that the user benefits are damaged to a great extent, and the trust of the user on the merchant is reduced.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for managing electronic coupon transactions, which can overcome the defect that the security of the transaction process cannot be ensured in the existing electronic coupon exchanges.
The technical scheme of the invention is realized as follows:
a method for managing electronic coupon transactions specifically comprises the following steps:
step S1, generating an intelligent contract according to the transaction type of the electronic coupon;
step S2, setting a security rule chain for the intelligent contract, storing the security rule chain, and generating a security rule chain set;
step S3, when the electronic coupon is transacted, the state change of the electronic coupon and the execution of the intelligent contract corresponding to the electronic coupon transaction are respectively detected;
step S4, when detecting that there is abnormal transaction event in the intelligent contract execution, executing step S5, when detecting that there is abnormal transaction event in the electronic coupon state change, executing step S6;
step S5, judging whether the execution of the intelligent contract is legal, if so, updating the security rule chain executed by the intelligent contract into the security rule chain set, otherwise, judging that the electronic coupon transaction represented by the execution of the intelligent contract is abnormal;
and step S6, performing source tracing inquiry on the electronic coupon, and sending the inquiry result to the abnormal merchant or user, thereby realizing the transaction management of the electronic coupon.
As a further alternative of the electronic coupon transaction management method, the detecting the execution of the intelligent contract corresponding to the electronic coupon transaction is based on a security rule chain, and specifically includes the following steps:
step S31, acquiring a security rule chain executed by the intelligent contract corresponding to the electronic coupon transaction;
and step S32, matching the acquired security rule chain with the security rule chain in the security rule chain set, wherein if the matching is successful, the transaction event is a normal transaction event, and otherwise, the transaction event is an abnormal transaction event.
As a further alternative of the electronic coupon transaction management method, the detecting of the change of the electronic coupon state specifically includes the following steps:
step S33, inquiring the trade information corresponding to the electronic coupon state change;
and step S34, matching the state change of the electronic coupons according to the obtained transaction information, wherein if the matching is successful, the electronic coupons are normal transaction events, and otherwise, the electronic coupons are abnormal transaction events.
As a further alternative of the electronic coupon transaction management method, the step S5 of determining whether the execution of the intelligent contract is legal specifically includes the following steps:
step S51, inquiring the transaction information corresponding to the abnormal transaction event;
in step S52, it is determined whether the abnormal transaction event is legal according to the obtained transaction information.
As a further alternative of the electronic coupon transaction management method, in step S6, a traceability query of information is performed on the electronic coupon, specifically, all information of the electronic coupon from the issue to the current state is queried retrospectively.
An electronic coupon transaction management system, the system comprising:
the intelligent management module of the electronic coupons is used for realizing the transaction of the electronic coupons;
the electronic coupon transaction management module is used for generating an intelligent contract according to the transaction type of the electronic coupon and setting a security rule chain for the intelligent contract;
the electronic coupon transaction analysis module is used for realizing the acquisition and analysis of electronic coupon transaction data and the management of safety rules;
the task management module is used for realizing the state change monitoring of the electronic coupons and the execution monitoring of the intelligent contracts;
the intelligent contract service module is used for realizing the management and detection of the intelligent contract;
and the block chain service module is used for providing a monitoring interface and a service interface.
As a further alternative of the electronic coupon transaction management system, the electronic coupon intelligent management module includes:
the electronic coupon preferential issuing manager is used for realizing the issuing function of the electronic coupon;
the electronic coupon exchange manager is used for realizing the electronic coupon exchange function and the electronic coupon repayment function;
the electronic coupon traceability manager is used for realizing the functions of storing all information of the whole life cycle of electronic coupon issuing, electronic coupon merchant circulation, electronic coupon user redemption and electronic coupon verification in the block chain network and inquiring the electronic coupon information;
the electronic coupon distribution manager is used for realizing the circulation of the electronic coupons among merchants;
and the electronic coupon verification and cancellation manager is used for realizing verification and cancellation of the electronic coupon.
As a further alternative of the electronic coupon transaction management system, the electronic coupon transaction management module includes:
the issuer transaction manager is used for realizing electronic coupon issuing basic management, electronic coupon verification and cancellation basic management and safety rule chain management;
the distributor transaction manager is used for realizing multi-level distribution system management, distribution safety rule chain management and electronic coupon distribution transaction management;
the retailer transaction manager is used for realizing electronic coupon retail basic management, electronic coupon redemption management, electronic coupon repayment management and security rule chain management;
and the user transaction manager is used for realizing electronic coupon redemption management, electronic coupon repayment management and electronic coupon verification and cancellation management.
As a further alternative of the electronic coupon transaction management system, the intelligent contract service module includes:
the intelligent contract manager is used for realizing basic function management of the intelligent contract;
and the embedded rule detector is used for realizing safety rule chain monitoring, safety rule chain set management and safety rule chain detection management.
As a further alternative of the electronic coupon transaction management system, the electronic coupon transaction analysis module includes:
the transaction data collector is used for realizing the collection of user transaction data and merchant transaction data;
the transaction data recognizer is used for extracting user information, merchant information and transaction detailed information according to the collected transaction data, and preprocessing and storing the extracted information;
the safety transaction manager is used for realizing safety rule chain management, transaction record management, electronic coupon state management and transaction abnormal event management;
the task management module comprises:
the electronic coupon monitoring module is used for realizing the monitoring and management of the full life cycle state of the electronic coupons from issuing, exchanging, transferring and verifying;
the intelligent contract monitoring module is used for realizing intelligent contract state monitoring and intelligent contract event subscription;
the blockchain service module comprises:
the block chain monitoring interface manager is used for providing monitoring information inquiry service;
and the block chain service interface manager is used for providing service uplink service.
The invention has the beneficial effects that: by generating the intelligent contract, the automatic execution of the whole-course chain of issuing, distributing, retailing, exchanging and verifying the electronic coupon can be realized, the intelligent effect of the electronic coupon is improved, meanwhile, the matching detection of the intelligent contract and the safety rule chain can be realized by setting the safety rule chain on the intelligent contract, so that a safe and reliable electronic coupon operation method is provided for merchants and users, in addition, the safety of the electronic coupon in the transaction process can be further improved by respectively detecting the state change of the electronic coupon and the execution of the intelligent contract corresponding to the electronic coupon transaction, and further the rights and interests of the users are effectively guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for managing electronic coupon transactions according to the present invention;
FIG. 2 is a block diagram of an electronic coupon transaction management system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, a method for managing electronic coupon transactions specifically includes the following steps:
step S1, generating an intelligent contract according to the transaction type of the electronic coupon;
step S2, setting a security rule chain for the intelligent contract, storing the security rule chain, and generating a security rule chain set;
step S3, when the electronic coupon is transacted, the state change of the electronic coupon and the execution of the intelligent contract corresponding to the electronic coupon transaction are respectively detected;
step S4, when detecting that there is abnormal transaction event in the intelligent contract execution, executing step S5, when detecting that there is abnormal transaction event in the electronic coupon state change, executing step S6;
step S5, judging whether the execution of the intelligent contract is legal, if so, updating the security rule chain executed by the intelligent contract into the security rule chain set, otherwise, judging that the electronic coupon transaction represented by the execution of the intelligent contract is abnormal;
and step S6, performing source tracing inquiry on the electronic coupon, and sending the inquiry result to the abnormal merchant or user, thereby realizing the transaction management of the electronic coupon.
In the embodiment, by generating the intelligent contract, the whole-process chain automatic execution of issuing, distribution, retail, exchange and verification of the electronic coupon can be realized, the intelligent effect of the electronic coupon is improved, meanwhile, the intelligent contract is subjected to security rule chain setting, and the matching detection of the intelligent contract and the security rule chain can be realized, so that a safe and reliable electronic coupon operation method is provided for merchants and users.
Preferably, the detecting the execution of the intelligent contract corresponding to the electronic coupon transaction is based on a security rule chain, and specifically includes the following steps:
step S31, acquiring a security rule chain executed by the intelligent contract corresponding to the electronic coupon transaction;
and step S32, matching the acquired security rule chain with the security rule chain in the security rule chain set, wherein if the matching is successful, the transaction event is a normal transaction event, and otherwise, the transaction event is an abnormal transaction event.
Preferably, the detecting the change of the electronic coupon state specifically includes the following steps:
step S33, inquiring the trade information corresponding to the electronic coupon state change;
and step S34, matching the state change of the electronic coupons according to the obtained transaction information, wherein if the matching is successful, the electronic coupons are normal transaction events, and otherwise, the electronic coupons are abnormal transaction events.
Preferably, the step S5 of determining whether the execution of the intelligent contract is legal includes the following steps:
step S51, inquiring the transaction information corresponding to the abnormal transaction event;
in step S52, it is determined whether the abnormal transaction event is legal according to the obtained transaction information.
Preferably, in step S6, the electronic coupon is subjected to a source tracing query, specifically, all information of the electronic coupon from the issue to the current state is traced.
In the embodiment, the reason for generating the transaction abnormity can be accurately known by tracing and inquiring the information of the electronic coupon, so that the same transaction abnormity event can be avoided from continuously occurring next time, and the rights and interests of the user are further guaranteed.
An electronic coupon transaction management system, the system comprising:
the intelligent management module of the electronic coupons is used for realizing the transaction of the electronic coupons;
the electronic coupon transaction management module is used for generating an intelligent contract according to the transaction type of the electronic coupon and setting a security rule chain for the intelligent contract;
the electronic coupon transaction analysis module is used for realizing the acquisition and analysis of electronic coupon transaction data and the management of safety rules;
the task management module is used for realizing the state change monitoring of the electronic coupons and the execution monitoring of the intelligent contracts;
the intelligent contract service module is used for realizing the management and detection of the intelligent contract;
and the block chain service module is used for providing a monitoring interface and a service interface.
In the embodiment, by generating the intelligent contract, the whole-process chain automatic execution of issuing, distribution, retail, exchange and verification of the electronic coupon can be realized, the intelligent effect of the electronic coupon is improved, meanwhile, the intelligent contract is subjected to security rule chain setting, and the matching detection of the intelligent contract and the security rule chain can be realized, so that a safe and reliable electronic coupon operation method is provided for merchants and users.
Preferably, the intelligent management module for electronic coupons comprises:
the electronic coupon preferential issuing manager is used for realizing the issuing function of the electronic coupon;
the electronic coupon exchange manager is used for realizing the electronic coupon exchange function and the electronic coupon repayment function;
the electronic coupon traceability manager is used for realizing the functions of storing all information of the whole life cycle of electronic coupon issuing, electronic coupon merchant circulation, electronic coupon user redemption and electronic coupon verification in the block chain network and inquiring the electronic coupon information;
the electronic coupon distribution manager is used for realizing the circulation of the electronic coupons among merchants;
and the electronic coupon verification and cancellation manager is used for realizing verification and cancellation of the electronic coupon.
In this embodiment, the electronic coupon discount issuing manager is configured to implement an issuing function of an electronic coupon, specifically, an electronic coupon information configuration, such as a face value, a balance, an expiration date, a commodity information configuration, an issuing plan, an issuing number, and a scale;
the electronic coupon redemption manager consists of two functional modules of electronic coupon redemption and electronic coupon repayment, the electronic coupon redemption module enables a user to redeem consumption authority and cash into the electronic coupon by adopting various modes such as direct cash purchase, consumption coupon return, point redemption and the like for subsequent consumption coupon or directly realize right and interest redemption, the electronic coupon repayment is realized, the user acquires ownership of the electronic coupon after finishing the electronic coupon redemption, at the moment, the user can redeem related rights and interests by using the electronic coupon and can also repass the electronic coupon to other people, thereby realizing the change of the ownership of the electronic coupon,
the electronic coupon traceability manager is composed of an electronic coupon information uplink and an electronic coupon information chain traceability function module, the electronic coupon information uplink module is used for calling an uplink transaction service initiating interface of the block chain business interface manager, all information of electronic coupon issuing, electronic coupon business circulation, electronic coupon user exchange and electronic coupon verification and sale whole life cycle is stored in the block chain network, and therefore information cannot be tampered, the electronic coupon information chain traceability module is used for enabling a business to manage the electronic coupon or a user to check the electronic coupon chain traceability information as required in the process of using the electronic coupon;
the electronic coupon distribution manager is used for realizing circulation of the electronic coupons among merchants;
and after the user completes the exchange of the electronic coupon, the electronic coupon verification and cancellation manager takes the verification and cancellation code of the received electronic coupon or the two-dimensional code corresponding to the verification and cancellation code as a verification and cancellation certificate, the user shows the verification and cancellation certificate to a merchant, and the system verifies and cancels the electronic coupon through a verification and cancellation end.
Preferably, the electronic coupon transaction management module includes:
the issuer transaction manager is used for realizing electronic coupon issuing basic management, electronic coupon verification and cancellation basic management and safety rule chain management;
the distributor transaction manager is used for realizing multi-level distribution system management, distribution safety rule chain management and electronic coupon distribution transaction management;
the retailer transaction manager is used for realizing electronic coupon retail basic management, electronic coupon redemption management, electronic coupon repayment management and security rule chain management;
and the user transaction manager is used for realizing electronic coupon redemption management, electronic coupon repayment management and electronic coupon verification and cancellation management.
In this embodiment, the issuer transaction manager includes electronic coupon issuance transaction management and electronic coupon reimbursement transaction management, the electronic coupon issuance transaction management mainly includes two functions of electronic coupon issuance base management and security rule chain management, and the electronic coupon issuance base management: the issuer is responsible for the definition and configuration management of the electronic coupons and the daily management of the transactions; and (4) safety rule chain management: the issuer is responsible for the configuration of the security rule chain, the system is used for carrying out the automatic deployment and the release of the rule chain and processing and tracking the security events generated in the transaction process, the electronic coupon verification and sale transaction management mainly comprises two functions of electronic coupon verification and sale basic management and security rule chain management, and the electronic coupon verification and sale basic management comprises the following steps: the issuer is responsible for the daily management of the electronic coupon audit transaction; and (4) safety rule chain management: the issuer is responsible for the configuration of the safety rule chain, the system automatically deploys and issues the rule chain, and processes and tracks the safety event generated in the transaction process;
the distributor transaction manager is responsible for managing electronic coupon distribution transactions, and mainly comprises three functions of multi-level distribution system management, distribution safety rule chain management and electronic coupon distribution transaction management, wherein the multi-level distribution system management comprises the following steps: after the distributor configures the first-level distributor and the distribution layer levels, the distributors at all levels construct the next-level distributor, so as to complete the construction of the multi-level distribution system; e-coupon distribution base management: the distributor is responsible for electronic coupon distribution purchasing and bill processing; and (4) safety rule chain management: the distributor is responsible for the configuration of the safety rule chain, the system automatically deploys and issues the rule chain, and processes and tracks the safety event generated in the transaction process;
the retailer transaction manager is responsible for managing the electronic coupon retail transaction, and mainly comprises four functions of electronic coupon retail basic management, electronic coupon redemption management, electronic coupon repayment management and security rule chain management, wherein the electronic coupon retail basic management comprises the following steps: the retailer is responsible for electronic coupon mall shelving and daily sales management; e, electronic coupon redemption management: the retailer manages the exchange transaction initiated by the user and is responsible for executing the transaction; e, E-coupon repayment management: the retailer manages the referral transaction initiated by the user and is responsible for the execution of the transaction; and (4) safety rule chain management: the retailer is responsible for the configuration of the safety rule chain, the system automatically deploys and releases the rule chain, and processes and tracks the safety event generated in the transaction process;
the user transaction manager mainly comprises three functions of electronic coupon redemption management, electronic coupon repayment management and electronic coupon verification and sale management, wherein the electronic coupon redemption management comprises the following steps: the system manages the transaction generated by the user acquiring the merchant electronic coupon; e, E-coupon repayment management: the system manages the transaction generated by the user for the electronic coupon; e, electronic coupon verification and sale management: the system manages transactions generated by a user redeeming an electronic coupon for an interest.
Preferably, the intelligent contract service module includes:
the intelligent contract manager is used for realizing basic function management of the intelligent contract;
and the embedded rule detector is used for realizing safety rule chain monitoring, safety rule chain set management and safety rule chain detection management.
In the embodiment, the intelligent contract manager comprises an intelligent contract manager and an embedded rule detector, and realizes the safety protection of the full life cycle of the electronic coupons from issuing to verification and sale.
Intelligent contract manager: the intelligent contract manager comprises two functional modules of basic function management and safety function management, wherein the basic function management comprises the following steps: providing state monitoring interface service and interface service, and providing management function services such as contract deployment and release, state monitoring and the like for business and application through an AP I interface; and (4) safety function management: by inserting a safety probe into the intelligent contract, whether the transaction is matched with the safety rule chain or not is analyzed in real time when the intelligent contract is executed;
the embedded rule detector: the safety rule manager comprises a safety rule chain monitoring module, a safety rule chain set management module and a safety rule chain detection management module, wherein the safety rule chain monitoring module comprises: the security probe inserted into the intelligent contract records the data context information of the security rule in real time, and monitors the information acquired by the probe in real time through the module; and (3) managing a security rule chain set: the method comprises the steps that a safety transaction manager deploys a rule chain generated in the transaction management process of an electronic coupon to the chain according to business requirements, meanwhile, an intelligent contract manager can acquire matching records of transactions and the existing rule chain through monitoring, judge whether the transactions which fail to be matched and roll back are legal or not, and apply for adding the corresponding rule chain to a safety rule chain set for legal transactions and intelligent contract management; and (3) safety rule chain detection management: the security monitoring module calls the rule chain information after acquiring the rule chain information, whether the checker is in the security rule set or not is judged, and if the matching is successful, the intelligent contract is normally executed; if the matching fails, the transaction is rolled back, the abnormal transaction rule is recorded, and an abnormal event is generated, wherein the event is captured by the security awareness task and is handed to the security transaction manager for abnormal event processing.
Preferably, the electronic coupon transaction analysis module includes:
the transaction data collector is used for realizing the collection of user transaction data and merchant transaction data;
the transaction data recognizer is used for extracting user information, merchant information and transaction detailed information according to the collected transaction data, and preprocessing and storing the extracted information;
the safety transaction manager is used for realizing safety rule chain management, transaction record management, electronic coupon state management and transaction abnormal event management;
the task management module comprises:
the electronic coupon monitoring module is used for realizing the monitoring and management of the full life cycle state of the electronic coupons from issuing, exchanging, transferring and verifying;
the intelligent contract monitoring module is used for realizing intelligent contract state monitoring and intelligent contract event subscription;
the blockchain service module comprises:
the block chain monitoring interface manager is used for providing monitoring information inquiry service;
and the block chain service interface manager is used for providing service uplink service.
In this embodiment, the electronic coupon transaction analysis module includes a transaction data collector, a transaction data identifier, and a secure transaction manager, where the transaction data collector: user transaction data are collected in real time through a merchant electronic payment channel, merchant transaction data are collected in real time through a platform system, and the merchant transaction data are uploaded to a background for data analysis;
a transaction data identifier: extracting user information, merchant information and transaction detailed information according to the collected transaction data, and preprocessing and storing the extracted information;
a secure transaction manager: the safe transaction manager mainly comprises four functional modules of safe rule chain management, transaction record management, electronic coupon state management and transaction abnormal event management. And (4) safety rule chain management: deploying and issuing an uplink of a security rule chain generated by an electronic coupon transaction management component; transaction record management: the data processed by the transaction data recognizer is managed, and transaction inquiry and retrieval can be performed; e, managing the state of the electronic coupon: when the electronic coupon monitoring task captures the state change event of the electronic coupon, inquiring a corresponding transaction record through the electronic coupon, checking whether the transaction is matched with the state of the electronic coupon, if the transaction is not matched with the state of the electronic coupon, sending an alarm to a system administrator, and inquiring the traceability information of the electronic coupon by the system administrator; transaction exception event management: when the intelligent contract monitoring task captures an abnormal transaction event, inquiring a corresponding security rule chain through the event, updating the corresponding transaction in the transaction record, and adding security rule chain information corresponding to the transaction;
the task management module comprises an electronic coupon monitoring module and an intelligent contract monitoring module, wherein the electronic coupon monitoring module: the method mainly realizes the function of monitoring the state of the electronic coupon, namely realizing the management of the state of the electronic coupon from the aspects of issuing, exchanging, circulation and verification of the whole life cycle, informing a safe transaction manager when the state of the electronic coupon is monitored to be changed, inquiring a corresponding transaction record after the safe transaction manager receives the notice, checking whether the transaction is matched with the state of the electronic coupon, and performing related processing;
intelligent contract monitoring module: the intelligent contract state monitoring module is used for realizing state monitoring management in the running process of the intelligent contract, and the security event subscription module is used for processing abnormal events generated by the embedded security rule module, wherein the main events are transactions which are not matched with the rule chain, and when the events occur, the security transaction manager is informed to perform abnormal transaction processing on the transactions or dynamically optimize the security rule chain;
the block chain service module comprises a block chain monitoring interface manager and a block chain service interface manager, wherein the block chain monitoring interface manager: providing monitoring information inquiry service for business and application through an AP I interface, wherein the monitoring indexes mainly comprise: a block link point monitoring index and a block link channel monitoring index. The block link point monitoring indexes mainly comprise: node storage space monitoring information, database storage space monitoring information and endorsement count monitoring information etc. the block chain channel monitoring index mainly includes: the method comprises the steps of storing account book storage space monitoring information, broadcasted block counting monitoring information, broadcasted transaction counting monitoring information, received transaction block counting monitoring information and the like;
block chain service interface manager: and providing service uplink related services for the service and the application through the AP I interface. The invention mainly realizes four service interfaces: initiating an uplink transaction service interface, initiating an inquiry block service interface and an event subscription service interface; initiating an uplink transaction service interface to realize the transmission of transactions to the blockchain network, wherein the transactions are returned after passing node verification and being successfully written into an account book; initiating a transaction query service interface to realize the query of the information of a certain transaction to the blockchain network; initiating a query block service interface to realize the query of the information of a certain block to a block chain network; and the event subscription server interface receives events occurring on the block chain network by the service and the application in a subscription mode.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for managing electronic coupon transactions is characterized by comprising the following steps:
step S1, generating an intelligent contract according to the transaction type of the electronic coupon;
step S2, setting a security rule chain for the intelligent contract, storing the security rule chain, and generating a security rule chain set;
step S3, when the electronic coupon is transacted, the state change of the electronic coupon and the execution of the intelligent contract corresponding to the electronic coupon transaction are respectively detected;
step S4, when detecting that there is abnormal transaction event in the intelligent contract execution, executing step S5, when detecting that there is abnormal transaction event in the electronic coupon state change, executing step S6;
step S5, judging whether the execution of the intelligent contract is legal, if so, updating the security rule chain executed by the intelligent contract into the security rule chain set, otherwise, judging that the electronic coupon transaction represented by the execution of the intelligent contract is abnormal;
and step S6, performing source tracing inquiry on the electronic coupon, and sending the inquiry result to the abnormal merchant or user, thereby realizing the transaction management of the electronic coupon.
2. The method for managing electronic coupon transactions according to claim 1, wherein said detecting the execution of the smart contract corresponding to the electronic coupon transaction is based on a security rule chain, specifically comprising the steps of:
step S31, acquiring a security rule chain executed by the intelligent contract corresponding to the electronic coupon transaction;
and step S32, matching the acquired security rule chain with the security rule chain in the security rule chain set, wherein if the matching is successful, the transaction event is a normal transaction event, and otherwise, the transaction event is an abnormal transaction event.
3. The method for managing electronic coupon transactions according to claim 2, wherein said detecting a change in the status of the electronic coupon specifically comprises the steps of:
step S33, inquiring the trade information corresponding to the electronic coupon state change;
and step S34, matching the state change of the electronic coupons according to the obtained transaction information, wherein if the matching is successful, the electronic coupons are normal transaction events, and otherwise, the electronic coupons are abnormal transaction events.
4. The method for managing electronic coupon transactions according to claim 3, wherein the step of determining whether the execution of the intelligent contract is legal in the step of S5 specifically includes the following steps:
step S51, inquiring the transaction information corresponding to the abnormal transaction event;
in step S52, it is determined whether the abnormal transaction event is legal according to the obtained transaction information.
5. The method for managing electronic coupon transactions according to claim 4, wherein in step S6, the electronic coupon is subjected to a traceability query, specifically, all information of the electronic coupon from the issuance to the current status is tracked.
6. An electronic coupon transaction management system, the system comprising:
the intelligent management module of the electronic coupons is used for realizing the transaction of the electronic coupons;
the electronic coupon transaction management module is used for generating an intelligent contract according to the transaction type of the electronic coupon and setting a security rule chain for the intelligent contract;
the electronic coupon transaction analysis module is used for realizing the acquisition and analysis of electronic coupon transaction data and the management of safety rules;
the task management module is used for realizing the state change monitoring of the electronic coupons and the execution monitoring of the intelligent contracts;
the intelligent contract service module is used for realizing the management and detection of the intelligent contract;
and the block chain service module is used for providing a monitoring interface and a service interface.
7. The system of claim 6, wherein the intelligent management module of the electronic coupon comprises:
the electronic coupon preferential issuing manager is used for realizing the issuing function of the electronic coupon;
the electronic coupon exchange manager is used for realizing the electronic coupon exchange function and the electronic coupon repayment function;
the electronic coupon traceability manager is used for realizing the functions of storing all information of the whole life cycle of electronic coupon issuing, electronic coupon merchant circulation, electronic coupon user redemption and electronic coupon verification in the block chain network and inquiring the electronic coupon information;
the electronic coupon distribution manager is used for realizing the circulation of the electronic coupons among merchants;
and the electronic coupon verification and cancellation manager is used for realizing verification and cancellation of the electronic coupon.
8. The electronic coupon transaction management system of claim 7, wherein the electronic coupon transaction management module comprises:
the issuer transaction manager is used for realizing electronic coupon issuing basic management, electronic coupon verification and cancellation basic management and safety rule chain management;
the distributor transaction manager is used for realizing multi-level distribution system management, distribution safety rule chain management and electronic coupon distribution transaction management;
the retailer transaction manager is used for realizing electronic coupon retail basic management, electronic coupon redemption management, electronic coupon repayment management and security rule chain management;
and the user transaction manager is used for realizing electronic coupon redemption management, electronic coupon repayment management and electronic coupon verification and cancellation management.
9. The electronic coupon transaction management system of claim 8, wherein the intelligent contract service module comprises:
the intelligent contract manager is used for realizing basic function management of the intelligent contract;
and the embedded rule detector is used for realizing safety rule chain monitoring, safety rule chain set management and safety rule chain detection management.
10. The electronic coupon transaction management system of claim 9, wherein the electronic coupon transaction analysis module comprises:
the transaction data collector is used for realizing the collection of user transaction data and merchant transaction data;
the transaction data recognizer is used for extracting user information, merchant information and transaction detailed information according to the collected transaction data, and preprocessing and storing the extracted information;
the safety transaction manager is used for realizing safety rule chain management, transaction record management, electronic coupon state management and transaction abnormal event management;
the task management module comprises:
the electronic coupon monitoring module is used for realizing the monitoring and management of the full life cycle state of the electronic coupons from issuing, exchanging, transferring and verifying;
the intelligent contract monitoring module is used for realizing intelligent contract state monitoring and intelligent contract event subscription;
the blockchain service module comprises:
the block chain monitoring interface manager is used for providing monitoring information inquiry service;
and the block chain service interface manager is used for providing service uplink service.
CN202110823665.2A 2021-07-21 2021-07-21 Electronic coupon transaction management method and system Pending CN113537987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110823665.2A CN113537987A (en) 2021-07-21 2021-07-21 Electronic coupon transaction management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110823665.2A CN113537987A (en) 2021-07-21 2021-07-21 Electronic coupon transaction management method and system

Publications (1)

Publication Number Publication Date
CN113537987A true CN113537987A (en) 2021-10-22

Family

ID=78100745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110823665.2A Pending CN113537987A (en) 2021-07-21 2021-07-21 Electronic coupon transaction management method and system

Country Status (1)

Country Link
CN (1) CN113537987A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146101A (en) * 2017-04-24 2017-09-08 杭州趣链科技有限公司 A kind of universal electric issuing preferential tickets method based on block chain
CN107862535A (en) * 2017-08-17 2018-03-30 上海陆家嘴国际金融资产交易市场股份有限公司 Reward voucher management method, system and computer-readable recording medium
CN108280695A (en) * 2018-02-22 2018-07-13 苏州优千网络科技有限公司 Coupon information system and its processing method based on block chain
CN109450856A (en) * 2018-10-12 2019-03-08 西安电子科技大学 Data-link information flow control system and method based on block chain
CN109615417A (en) * 2018-11-21 2019-04-12 武汉卓讯互动信息科技有限公司 A kind of electric business, game, distribution comprehensive operation system
CN109727067A (en) * 2018-12-27 2019-05-07 抚州中科院数据研究院 Across businessman coupons circulation method and system based on block chain
CN111160949A (en) * 2019-12-04 2020-05-15 戴剑飚 Electronic coupon issuing management method based on block chaining certification technology
CN111476552A (en) * 2020-03-06 2020-07-31 武汉和悦数字科技有限公司 Block chain-based card and ticket transaction platform
CN111967894A (en) * 2020-07-23 2020-11-20 王李琰 Ticket marketing method and system and block chain platform
CN112215611A (en) * 2020-11-20 2021-01-12 中国联合网络通信集团有限公司 Preference method based on block chain, seller node, terminal device and storage medium
CN112508561A (en) * 2020-11-30 2021-03-16 乐刷科技有限公司 Coupon data sharing method and device, block chain sharing platform and storage medium
CN112837084A (en) * 2020-12-24 2021-05-25 四川新华万云科技有限公司 Commodity transaction method and device based on block chain network and block chain network node
CN113094433A (en) * 2021-04-06 2021-07-09 中国工商银行股份有限公司 Block chain-based consumption coupon processing method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146101A (en) * 2017-04-24 2017-09-08 杭州趣链科技有限公司 A kind of universal electric issuing preferential tickets method based on block chain
CN107862535A (en) * 2017-08-17 2018-03-30 上海陆家嘴国际金融资产交易市场股份有限公司 Reward voucher management method, system and computer-readable recording medium
CN108280695A (en) * 2018-02-22 2018-07-13 苏州优千网络科技有限公司 Coupon information system and its processing method based on block chain
CN109450856A (en) * 2018-10-12 2019-03-08 西安电子科技大学 Data-link information flow control system and method based on block chain
CN109615417A (en) * 2018-11-21 2019-04-12 武汉卓讯互动信息科技有限公司 A kind of electric business, game, distribution comprehensive operation system
CN109727067A (en) * 2018-12-27 2019-05-07 抚州中科院数据研究院 Across businessman coupons circulation method and system based on block chain
CN111160949A (en) * 2019-12-04 2020-05-15 戴剑飚 Electronic coupon issuing management method based on block chaining certification technology
CN111476552A (en) * 2020-03-06 2020-07-31 武汉和悦数字科技有限公司 Block chain-based card and ticket transaction platform
CN111967894A (en) * 2020-07-23 2020-11-20 王李琰 Ticket marketing method and system and block chain platform
CN112215611A (en) * 2020-11-20 2021-01-12 中国联合网络通信集团有限公司 Preference method based on block chain, seller node, terminal device and storage medium
CN112508561A (en) * 2020-11-30 2021-03-16 乐刷科技有限公司 Coupon data sharing method and device, block chain sharing platform and storage medium
CN112837084A (en) * 2020-12-24 2021-05-25 四川新华万云科技有限公司 Commodity transaction method and device based on block chain network and block chain network node
CN113094433A (en) * 2021-04-06 2021-07-09 中国工商银行股份有限公司 Block chain-based consumption coupon processing method and device

Similar Documents

Publication Publication Date Title
US20230376991A1 (en) Systems, methods and computer readable medium for wireless solicitations
McCoy et al. {PharmaLeaks}: Understanding the Business of Online Pharmaceutical Affiliate Programs
US7325726B2 (en) System and method for detecting fraudulent use of stored value instruments
US8504456B2 (en) Behavioral baseline scoring and risk scoring
JP5307115B2 (en) System and method for authenticating stored value card transactions
US20090070289A1 (en) Methods, Systems, and Computer Program Products for Estimating Accuracy of Linking of Customer Relationships
US8386381B1 (en) Method and system for detecting, monitoring and addressing data compromises
US20130297473A1 (en) System and method for tracking the secondary gift card marketplace
US20090287536A1 (en) Method for determining consumer purchase behavior
WO2004044822B1 (en) Time-of-transaction foreign currency conversion
KR20150108810A (en) System and method for providing previous check-in based incentive-added reward for purchasing
KR101351352B1 (en) A sales management service method for a fake prevention and system thereof
NO329354B1 (en) Commercial Transaction Monitoring System and Procedure
US20130282562A1 (en) Systems and methods for preventing fraudulent purchases
US11354668B2 (en) Systems and methods for identifying devices used in fraudulent or unauthorized transactions
WO2013062713A1 (en) System and method for identity chaining
Kling Computer abuse and computer crime as organizational activities
WO2017032056A1 (en) Point-of-sale-based cash-out determining method and apparatus
KR100941702B1 (en) Credit Opening System of Sellers through Comprehensive Evaluation of Individual Credit, Sales Result, and Data on Civil Appeal and Dispute
CN108537571B (en) Coupon issuing method and terminal
CN113537987A (en) Electronic coupon transaction management method and system
US20150170177A1 (en) Method and system for curbing coupon distribution due to risk profile
CN109509023A (en) A kind of big data intelligent marketing system
US20140039974A1 (en) System and method for using credit/debit card transaction data as a measure of customer satisfaction with a merchant
US20150149268A1 (en) Mobile couponing system and method

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