CN117333221A - Multi-party coupon co-building system based on block chain - Google Patents

Multi-party coupon co-building system based on block chain Download PDF

Info

Publication number
CN117333221A
CN117333221A CN202310641618.5A CN202310641618A CN117333221A CN 117333221 A CN117333221 A CN 117333221A CN 202310641618 A CN202310641618 A CN 202310641618A CN 117333221 A CN117333221 A CN 117333221A
Authority
CN
China
Prior art keywords
target
merchant
voting
ticket
agreement
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
CN202310641618.5A
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.)
Guangdong Shanglian Industrial Development Co ltd
Original Assignee
Guangdong Shanglian Industrial Development 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 Guangdong Shanglian Industrial Development Co ltd filed Critical Guangdong Shanglian Industrial Development Co ltd
Priority to CN202310641618.5A priority Critical patent/CN117333221A/en
Publication of CN117333221A publication Critical patent/CN117333221A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • 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/602Providing cryptographic facilities or services
    • 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)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Bioethics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The utility model provides a multiparty coupon co-construction system and method based on block chain, wherein the method comprises the following steps: when receiving a ticket construction request of any merchant, analyzing the ticket construction request to obtain ticket construction information; invoking voting logic of the voting intelligent contract, and sending ticket information to each target merchant; responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic of the voting intelligent contract to count the votes; when the counting result is passing, calling a cooperation protocol generation logic of the intelligent contract signed by the protocol, generating a target cooperation protocol, and transmitting the target cooperation protocol to each target merchant; in response to an agreement signing request of any target merchant, invoking a partner signing logic of an agreement signing intelligent contract to sign the target partner agreement. Thus, through the digital support of the alliance blockchain, the efficiency of constructing the electronic ticket and the efficiency of signing the electronic contract are improved.

Description

Multi-party coupon co-building system based on block chain
Technical Field
The application relates to the technical field of blockchains, in particular to a multi-party coupon co-building system and method based on a blockchain, a storage medium and alliance block link point equipment.
Background
With the continuous development of businesses, more and more merchants select to jointly issue coupons or redemption tickets and other tickets to carry out marketing popularization, however, the existing electronic tickets which can be commonly issued in multiple ways are usually designed by one party, and all participants sign an electronic contract together, wherein due to the fact that a centralized electronic ticket issuer exists, other participants can participate in the electronic ticket issuing party due to the reasons that data are opaque, operation is unfair, flow is tampered and the like, participation will is reduced, and further, in the electronic ticket manufacturing process, the involved participants are more, the flow is more complex, and the efficiency of manufacturing the electronic ticket and signing the electronic contract is lower.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks, and particularly the technical drawbacks of the prior art, such as the production of electronic ticket and the signing of electronic contract, that are inefficient.
In a first aspect, the present application provides a multi-party coupon co-construction method based on a blockchain, applied to nodes of the blockchain of the federation, the method comprising:
when receiving a ticket construction request sent by any merchant, analyzing the ticket construction request to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction;
Invoking voting logic in a pre-deployed voting intelligent contract, and sending the ticket information to voting pages of all target merchants;
responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes;
acquiring a ticket counting result of the ticket information, and when the ticket counting result of the ticket information is passing, calling a partner agreement generating logic in a pre-deployed agreement signing intelligent contract to generate a target partner agreement according to the ticket information and merchant information of each target merchant, and sending the target partner agreement to a partner agreement signing page of each target merchant;
and responding to an agreement signing request sent by any target merchant, and calling cooperative signing logic in the agreement signing intelligent contract to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant.
In one embodiment, the step of calling the voting logic in the voting intelligent contract to vote includes:
if any voting result is not passed, the counting result is not passed;
If all the voting results are passed, the counting result is passed.
In one embodiment, the step of invoking the pre-deployed agreement to sign the partner agreement generating logic in the smart contract to generate the target partner agreement from the ticket information and the merchant information of each of the target merchants includes:
generating self-defined clauses according to the ticket information;
generating fixed clauses according to merchant information of each target merchant;
the target partnership agreement is generated based on the self-defined clause and the fixed clause.
In one embodiment, the step of calling the agreement signing logic in the agreement signing intelligent contract in response to the agreement signing request sent by any target merchant to sign the target agreement according to the merchant information of the target merchant includes:
and responding to an agreement signing request sent by any target merchant, acquiring an electronic signature in merchant information of the target merchant, and synchronously signing the self-defined clause and the fixed clause based on a hash algorithm and a key encryption algorithm.
In one embodiment, the method further comprises:
Responding to an adjustment request of any target merchant for the ticket information, and analyzing the adjustment request to obtain ticket information adjustment content;
invoking voting logic in the voting intelligent contracts, sending the ticket information adjustment content to voting pages of all target merchants, and invoking voting logic in the voting intelligent contracts to vote the voting results of all target merchants on the ticket information adjustment content;
and when the counting result of the ticket information adjusting content is passing, updating the ticket information according to the ticket information adjusting content.
In one embodiment, the method further comprises:
broadcasting the ticket information into the alliance blockchain so that each merchant in the alliance blockchain views the ticket information;
and responding to a sales agreement signing request of any non-target merchant and any target merchant, analyzing the sales agreement signing request to obtain electronic signatures of the non-target merchant and the target merchant, calling the cooperation agreement signing intelligent contract to generate a sales agreement, signing the sales agreement based on the electronic signatures of the non-target merchant and the target merchant, and transmitting the ticket information to a commodity sales page of the non-target merchant when the sales agreement signing is completed.
In one embodiment, the method further comprises:
based on the non-homogeneous pass pattern, unique digital identifications are generated for the ticket information and the signed target cooperation protocol respectively, and the digital identifications are uploaded to the alliance blockchain.
In a second aspect, the present application provides a multi-party coupon co-construction system based on a blockchain, applied to nodes of the federated blockchain, the system comprising:
the ticket construction request analysis module is used for analyzing the ticket construction request when receiving the ticket construction request sent by any merchant so as to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction;
the voting logic calling module is used for calling voting logic in a pre-deployed voting intelligent contract and sending the ticket information to voting pages of all target merchants;
the voting logic calling module is used for responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes;
The target cooperative agreement generating module is used for acquiring a ticket counting result of the ticket information, calling a cooperative agreement generating logic in a pre-deployed agreement signing intelligent contract when the ticket counting result of the ticket information is passing, generating a target cooperative agreement according to the ticket information and merchant information of each target merchant, and sending the target cooperative agreement to a cooperative agreement signing page of each target merchant;
and the target cooperative agreement signing module is used for responding to an agreement signing request sent by any target merchant and calling cooperative signing logic in the agreement signing intelligent contract so as to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant.
In a third aspect, the present application provides a storage medium having stored therein computer readable instructions, which when executed by one or more processors, cause the one or more processors to perform the steps of the blockchain-based multi-party coupon co-construction method of any of the embodiments above.
In a fourth aspect, the present application provides a coalition block link point device, including: one or more processors, and memory;
The memory has stored therein computer readable instructions that, when executed by the one or more processors, perform the steps of the blockchain-based multi-party coupon co-construction method of any of the embodiments described above.
From the above technical solutions, the embodiments of the present application have the following advantages:
the application provides a multi-party coupon co-construction system based on a blockchain, a method, a storage medium and a alliance block link point device, which are applied to nodes of the alliance block chain, wherein the method comprises the following steps: when receiving a ticket construction request sent by any merchant, analyzing the ticket construction request to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction; invoking voting logic in a pre-deployed voting intelligent contract, and sending the ticket information to voting pages of all target merchants; responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes; acquiring a ticket counting result of the ticket information, and when the ticket counting result of the ticket information is passing, calling a partner agreement generating logic in a pre-deployed agreement signing intelligent contract to generate a target partner agreement according to the ticket information and merchant information of each target merchant, and sending the target partner agreement to a partner agreement signing page of each target merchant; and responding to an agreement signing request sent by any target merchant, and calling cooperative signing logic in the agreement signing intelligent contract to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant. Therefore, the electronic ticket is constructed on the blockchain and the electronic contract is signed, so that the merchant joint marketing popularization is supported by the digitalization of the alliance blockchain, the construction efficiency of the electronic ticket and the signing efficiency of the electronic contract are improved, further, each merchant participating in constructing the electronic ticket can vote on the scheme of the electronic ticket, and the fairness of the merchant joint marketing popularization is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a schematic flow chart of a multi-party coupon co-establishment method based on a blockchain according to an embodiment of the present application;
FIG. 2 is a second flow chart of a multi-party coupon co-creation method based on blockchain according to the embodiment of the present application;
fig. 3 is a schematic structural diagram of a multi-party coupon co-building system based on a blockchain according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a federated blockchain node device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The application provides a multi-party coupon co-building method based on a blockchain. The following embodiments illustrate an example in which the method is applied to a node of a federated blockchain, and it is to be understood that the node of the federated blockchain may be a variety of devices with data processing functions, and may be, but not limited to, a single server, a server cluster, a personal notebook, a desktop, etc. As shown in fig. 1, the multi-party coupon co-construction method based on blockchain in the application may include the following steps:
s101: when receiving a ticket construction request sent by any merchant, analyzing the ticket construction request to obtain ticket construction information; the ticket construction information includes ticket information and merchant information for a plurality of target merchants, the target merchants being designated merchants participating in constructing the ticket.
In this step, any merchant becomes a user of the alliance blockchain in a virtual node manner, for example, the user can register and log in to become the alliance blockchain through a website, a mobile phone end application program or an applet, and the merchant sends a ticket construction request to the alliance blockchain node according to a ticket construction requirement, wherein the ticket construction request carries information including but not limited to ticket information and merchant information of a plurality of target merchants. The ticket information includes, but is not limited to, a ticket making merchant, a ticket name, a promotion commission, a selling price, a ticket type, a ticket validity period, and goods or services contained in the ticket, and the target merchant formulates a merchant participating in ticket construction for the merchant initiating the ticket construction request, and the merchant information includes, but is not limited to, a business license number, a merchant address, and a merchant name.
Further, the alliance blockchain is jointly constructed by all merchants in the same business district and an operation body of the business district, when any merchant initiates a registration request, the registered merchant is subjected to identity verification according to a predetermined business district merchant list and merchant information carried in the registration request, and if the identity verification is passed, the merchant becomes a member of the alliance blockchain and can participate in ticket construction in the alliance blockchain. The operation main body of the business district is used for supervising activities of all businesses, guaranteeing authenticity of data, not participating in activities of all businesses in the alliance block chain, and comprises but is not limited to a mall, a shopping center and a management committee.
It will be appreciated that when any merchant registers as a member of the federated blockchain, that merchant's merchant information will be uploaded to the federated blockchain for storage. When a ticket construction request sent by any merchant is received, the ticket construction information carried in the ticket construction request is uploaded to a alliance blockchain for certification.
S102: and calling voting logic in a pre-deployed voting intelligent contract, and sending the ticket information to voting pages of all target merchants.
In this step, a voting intelligent contract is used to manage voting events for ticket information, including but not limited to, initiating votes and counting, which is pre-deployed on the coalition blockchain. When a merchant initiates a ticket construction request, voting logic in a voting intelligent contract can be triggered to send ticket information to voting pages of each target merchant, so that each target merchant can read the ticket information in detail and vote on ticket information content.
S103: responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes.
In the step, when any target merchant initiates a voting request, a voting logic in a voting intelligent contract is triggered to count the voting result of the target merchant. The voting logic can set a voting starting condition and a voting ending condition, when the voting starting condition is reached, the voting result of the target merchant is started to be received, and when the voting ending condition is reached, the voting result of the target merchant is stopped to be received, and the voting is completed. Wherein the voting start condition includes, but is not limited to, a voting start time or a voting start request sent by a merchant initiated by the ticket construction request, and the voting stop condition includes, but is not limited to, a voting stop time or a voting stop request sent by a merchant initiated by the ticket construction request.
It can be understood that when a voting request of any target merchant is received, a voting result of the target merchant is obtained from the voting request, whether the voting result is valid or not is verified, if the voting result is valid, statistics is carried out on the voting result, if the voting result is invalid, the voting result is indicated to be empty, and prompt information is returned to the target merchant so that the target merchant re-votes. Where voting results include, but are not limited to, pass and objection.
Further, when a voting request sent by any merchant is received, the voting result carried in the voting request is uploaded to the alliance block chain for certification.
S104: and when the ticket counting result of the ticket information is passing, invoking a partner agreement generating logic in a pre-deployed agreement signing intelligent contract to generate a target partner agreement according to the ticket information and merchant information of each target merchant, and sending the target partner agreement to a partner agreement signing page of each target merchant.
In the step, when the voting intelligent contract counting is finished, a counting result output by the voting intelligent contract is obtained, whether the counting result passes or not is determined, if yes, a partner agreement generating logic in the agreement signing intelligent contract is called to generate a target partner agreement, and the partner agreement is sent to a partner agreement signing page of each target merchant. The agreement signing intelligent contract is used for managing matters signed by the partner agreement, the agreement signing intelligent contract comprises a partner agreement template, ticket information and merchant information of each target merchant are filled into the partner agreement template to obtain target partner agreements, and the target partner agreements are sent to partner agreement signing pages of each target merchant so that each target merchant can read in detail.
Further, the counting result is determined according to the voting results of each target merchant, for example, when the voting results of all target merchants pass, the counting result can pass, or when the number of votes passing through the counting result reaches a preset proportion, the counting result can pass, and the preset proportion is a percentage smaller than 100 and larger than 0.
It can be appreciated that if the ticket counting result is not passed, a prompt message of ticket construction failure is sent to each target merchant. And when the counting is finished, uploading the counting result and the target cooperation protocol to the alliance blockchain for certification.
S105: and responding to an agreement signing request sent by any target merchant, and calling cooperative signing logic in the agreement signing intelligent contract to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant.
In the step, in response to an agreement signing request sent by any target merchant, a partner signing logic in an intelligent contract is called to sign the agreement, merchant information corresponding to the target merchant is obtained in a alliance block chain, and signing of the target partner agreement is completed.
It will be appreciated that when any target merchant completes the endorsement of the affiliated agreement, the target merchant is opened with the usage rights of the electronic ticket corresponding to the ticket information, the range of rights of the usage rights being determined from the content of the target affiliated agreement, including but not limited to merchant retail, endorsing sales agreements with non-target merchants, redeeming electronic tickets, and obtaining commissions.
Further, when any target merchant completes signing of the target cooperation agreement, uploading the target cooperation agreement signed by the target merchant to the alliance blockchain for certification. And during the effective period of the target cooperative agreement, when any non-target merchant initiates a request for joining the target cooperative agreement, invoking an intelligent contract for managing the target merchant to initiate voting, and if the voting of each target merchant agrees with the joining of the non-target merchant to the target cooperative agreement, acquiring merchant information of the non-target merchant, updating a merchant list of the target merchant in the target cooperative agreement, completing signing the target cooperative agreement, opening the electronic ticket use authority of the merchant, simultaneously sending a new target merchant joining target cooperative agreement message to each target merchant, and uploading the latest target cooperative agreement to the alliance blockchain storage certificate. In addition, during the effective period of the target cooperative agreement, if any target merchant initiates a request for exiting the target cooperative agreement, an intelligent contract for managing the target merchant is called to initiate voting, whether other target merchants vote to agree to the target merchant to exit the target cooperative agreement is judged, if the voting results of the target merchants are all agreements, merchant information of the target merchant in the target cooperative agreement is removed, merchant lists of the target merchant in the target cooperative agreement are updated, signing of the target cooperative agreement by the merchant is relieved, and the electronic ticket using authority of the merchant is closed, meanwhile, a message for exiting the target cooperative agreement by the merchant is sent to each target merchant, and the latest target cooperative agreement is uploaded to a alliance block chain for evidence storage.
During validation of the target partner agreement, when the ticket is sold or otherwise used, a smart contract for interest-score is triggered to conduct interest-score on each target merchant according to the score rules in the ticket information.
The application provides a multi-party coupon co-construction system based on a blockchain, a method, a storage medium and a alliance block link point device, which are applied to nodes of the alliance block chain, wherein the method comprises the following steps: when receiving a ticket construction request sent by any merchant, analyzing the ticket construction request to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction; invoking voting logic in a pre-deployed voting intelligent contract, and sending the ticket information to voting pages of all target merchants; responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes; acquiring a ticket counting result of the ticket information, and when the ticket counting result of the ticket information is passing, calling a partner agreement generating logic in a pre-deployed agreement signing intelligent contract to generate a target partner agreement according to the ticket information and merchant information of each target merchant, and sending the target partner agreement to a partner agreement signing page of each target merchant; and responding to an agreement signing request sent by any target merchant, and calling cooperative signing logic in the agreement signing intelligent contract to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant. Therefore, the electronic ticket is constructed on the blockchain and the electronic contract is signed, so that the merchant joint marketing popularization is supported by the digitalization of the alliance blockchain, the construction efficiency of the electronic ticket and the signing efficiency of the electronic contract are improved, further, each merchant participating in constructing the electronic ticket can vote on the scheme of the electronic ticket, and the fairness of the merchant joint marketing popularization is ensured.
In one embodiment, the step of invoking the ticketing logic in the voting intelligent contract to vote comprises:
if any voting result is not passed, the counting result is not passed;
if all the voting results are passed, the counting result is passed.
Specifically, when any voting result is not passed, at least one target merchant in the voted target merchants is not agreed to construct the ticket according to the ticket information, the voting result is not passed, and when all voting results are passed, all the voted target merchants are agreed to construct the ticket according to the ticket information.
It can be understood that the ticket information is voted by each target merchant, so that the ticket information is transparent and credible among the target merchants, the fairness of ticket construction is ensured, the voting result is automatically counted by the voting logic in the voting intelligent contract, and the ticket construction efficiency is improved.
In one embodiment, the step of invoking the pre-deployed agreement to sign the partner agreement generating logic in the smart contract to generate the target partner agreement from the ticket information and the merchant information of each of the target merchants includes:
Generating self-defined clauses according to the ticket information;
generating fixed clauses according to merchant information of each target merchant;
the target partnership agreement is generated based on the self-defined clause and the fixed clause.
Specifically, the ticket information is analyzed, key field names corresponding to all contents of the ticket information are determined, the ticket information contents and the corresponding key field names are combined in a correlated mode to obtain all ticket information content groups, and self-defined clauses can be obtained according to all ticket information content groups. Illustratively, the ticket information content set may be "dealer: a merchant "," coupon type: redemption ticket "or" ticket name: package B "then the self-defined term is" coupon merchant: a merchant; coupon type: redemption coupons; ticket name: and B package ticket).
Further, the fixed terms may be combined by merchant information of each target merchant and preset fixed content including relevant declarations of legal liabilities. The self-finalizing clause and the fixed clause make up the target collaboration agreement.
It can be understood that each content of the ticket information is determined according to the actual situation, and there may be different key field names associated with the ticket information content carried in ticket construction requests initiated by different merchants, so that the ticket information content associates and combines the content with the corresponding key field name to form a self-defined clause, so that the target merchant can quickly capture the key information during voting without reading redundant information, and the voting efficiency of the target merchant is improved. The target agreement is divided into self-defined clauses and fixed clauses, so that a target merchant can acquire key information according to the clause types during reading, the reading efficiency and the voting efficiency are improved, and the ticket construction efficiency is further improved.
In one embodiment, the step of calling the agreement signing logic in the agreement signing intelligent contract to sign the target agreement according to the merchant information of the target merchant in response to the agreement signing request sent by any target merchant includes:
and responding to an agreement signing request sent by any target merchant, acquiring an electronic signature in merchant information of the target merchant, and synchronously signing the self-defined clause and the fixed clause based on a hash algorithm and a key encryption algorithm.
Specifically, after receiving a protocol signing request sent by any target merchant, analyzing the protocol signing request to obtain an electronic signature in merchant information of the target merchant, wherein the electronic signature is obtained by calculating a digital digest of original signature data of the target merchant through a hash algorithm and encrypting the digital digest by adopting a private key in an asymmetric key pair. The public key in the asymmetric key pair exists in the alliance blockchain node, so that the electronic signature of the target merchant can be decrypted according to the public key in the asymmetric key pair to obtain a digital digest, and then the digital digest is calculated through a hash algorithm to obtain the original signature data of the target merchant. And signing the self-defined clause and the fixed clause according to the original signature data to complete the signing of the target cooperation agreement.
It can be understood that the electronic signature is analyzed based on the hash algorithm and the key encryption algorithm to obtain the original electronic, so that the signing security of the target cooperative agreement can be ensured, and further, the signing efficiency of the target cooperative agreement can be improved by synchronously signing the self-defined clause and the fixed clause.
In one embodiment, as shown in fig. 2, the method further comprises:
s201: responding to an adjustment request of any target merchant for the ticket information, and analyzing the adjustment request to obtain ticket information adjustment content;
s202: invoking voting logic in the voting intelligent contracts, sending the ticket information adjustment content to voting pages of all target merchants, and invoking voting logic in the voting intelligent contracts to vote the voting results of all target merchants on the ticket information adjustment content;
s203: and when the counting result of the ticket information adjusting content is passing, updating the ticket information according to the ticket information adjusting content.
Specifically, when any target merchant requests for adjusting the ticket information, the ticket information adjustment content carried in the adjustment request is obtained, a voting intelligent contract is called, the ticket information adjustment content is sent to the voting page of each target merchant, the voting result of each target merchant on the ticket information adjustment content is counted, and if the voting result of each target merchant on the ticket information adjustment content is all passed, the ticket information is updated according to the ticket information adjustment content. Further, after the ticket information is updated, the latest ticket information is uploaded to the alliance blockchain for verification, the content of the self-defined clause in the target cooperation protocol is updated, and meanwhile prompt information of the completion of the ticket information updating is sent to each target merchant. The updating trace is reserved when the ticket information content is updated, and the updating time is recorded so as to ensure that the information can be circulated.
It can be understood that any target merchant can adjust the ticket information, and the adjustment content needs to be voted by each target merchant, so that the fairness of ticket construction is ensured.
In one embodiment, the method further comprises:
broadcasting the ticket information into the alliance blockchain so that each merchant in the alliance blockchain views the ticket information;
and responding to a sales agreement signing request of any non-target merchant and any target merchant, analyzing the sales agreement signing request to obtain electronic signatures of the non-target merchant and the target merchant, calling the cooperation agreement signing intelligent contract to generate a sales agreement, signing the sales agreement based on the electronic signatures of the non-target merchant and the target merchant, and transmitting the ticket information to a commodity sales page of the non-target merchant when the sales agreement signing is completed.
Specifically, after signing of the target cooperative agreement is completed, the ticket information is broadcast to the alliance blockchain, so that each merchant in the alliance blockchain can check the ticket information, and if a non-target merchant is interested in the ticket, any target merchant can sign a sales agreement, and the ticket is put on a commodity sales page for sale. When any non-target merchant and any target merchant sign a sales agreement, the sales agreement signing request can be initiated by the non-target merchant or by the target merchant, and the cooperation agreement signing intelligent contract is triggered to generate the sales agreement, so that the sales agreement is signed and processed based on the electronic signatures of the non-target merchant and the target merchant. When the sales agreement signing is completed, the sales relation between the non-target merchant and the target merchant is added into the ticket information as newly added content, and the newly added ticket information is sent to a commodity sales page of the non-target merchant for sales.
It can be understood that broadcasting the ticket information into the alliance blockchain can ensure transparency of the information, any non-target merchant and any target merchant sign a sales agreement to sell the ticket, so that flexibility of ticket sales is improved, and meanwhile, after the non-target merchant and the target merchant agree together, a sales agreement signing request is initiated to complete signing of a sales cooperation agreement, so that signing flow is simplified, and efficiency of sales agreement signing is improved.
In one embodiment, the method further comprises:
based on the non-homogeneous pass pattern, unique digital identifications are generated for the ticket information and the signed target cooperation protocol respectively, and the digital identifications are uploaded to the alliance blockchain.
Specifically, non-homogeneous Token (NFT) is a data object that can record and process multidimensional, complex attributes on a blockchain. The non-homogeneous pass can generate unique digital identifications for the ticket information and the signed target cooperative protocol respectively, and the digital identifications cannot be copied and modified so as to ensure that the ticket information and the signed target cooperative protocol have uniqueness in a alliance blockchain, thereby ensuring the information security of the ticket information and the signed target cooperative protocol.
The multi-party coupon co-construction system based on the block chain provided by the embodiment of the application is described below, and the multi-party coupon co-construction system based on the block chain described below and the multi-party coupon co-construction method based on the block chain described above can be referred to correspondingly. As shown in fig. 3, the multi-party blockchain-based coupon co-construction system of the present application is applied to nodes of a federated blockchain, and the system may include the following structure:
the ticket construction request analysis module 301 is configured to analyze a ticket construction request sent by any merchant when receiving the ticket construction request, so as to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction;
a voting logic calling module 302, configured to call a voting logic in a pre-deployed voting intelligent contract, and send the ticket information to a voting page of each target merchant;
the voting logic invoking module 303 is configured to respond to a voting request of any target merchant, parse the voting request to obtain a voting result of the target merchant, and invoke the voting logic in the voting intelligent contract to perform voting;
The target cooperative agreement generating module 304 is configured to obtain a ticket counting result of the ticket information, and when the ticket counting result of the ticket information is a pass, call a cooperative agreement generating logic in a pre-deployed agreement signing intelligent contract to generate a target cooperative agreement according to the ticket information and merchant information of each target merchant, and send the target cooperative agreement to a cooperative agreement signing page of each target merchant;
and the target cooperative agreement signing module 305 is configured to respond to an agreement signing request sent by any target merchant, and call cooperative signing logic in the agreement signing intelligent contract, so as to perform signing processing on the target cooperative agreement according to merchant information of the target merchant.
In one embodiment, the ticketing logic invoking module 303 includes:
the first vote counting result unit is used for counting the number of the votes and counting the number of the votes if any one of the votes is failed;
and the second vote counting result unit is used for counting the votes to pass if all the votes pass.
In one embodiment, the target cooperative protocol generation module 304 includes:
a self-finalization clause generating unit, configured to generate self-finalization clauses according to the ticket information;
A fixed term generating unit, configured to generate fixed terms according to merchant information of each target merchant;
and the target cooperation agreement generating unit is used for generating the target cooperation agreement based on the self-defined clause and the fixed clause.
In one embodiment, the target collaboration protocol signing module 305 includes:
and the target cooperative agreement signing unit is used for responding to an agreement signing request sent by any target merchant, acquiring an electronic signature in merchant information of the target merchant, and synchronously signing the self-defined clause and the fixed clause based on a hash algorithm and a key encryption algorithm.
In one embodiment, the system further comprises:
the adjustment request analysis module is used for responding to the adjustment request of any target merchant for the ticket information and analyzing the adjustment request to obtain ticket information adjustment content;
the voting module is used for calling voting logic in the voting intelligent contract, sending the ticket information adjustment content to voting pages of all target merchants, calling the voting logic in the voting intelligent contract and calculating the voting result of all the target merchants on the ticket information adjustment content;
And the ticket information updating module is used for updating the ticket information according to the ticket information adjusting content when the counting result of the ticket information adjusting content is passed.
In one embodiment, the system further comprises:
a ticket information broadcasting module, configured to broadcast the ticket information to the alliance blockchain, so that each merchant in the alliance blockchain views the ticket information;
and the sales agreement signing request response module is used for responding to the sales agreement signing request of any non-target merchant and any target merchant, analyzing the sales agreement signing request to obtain the electronic signatures of the non-target merchant and the target merchant, calling the cooperation agreement signing intelligent contract to generate a sales agreement, signing the sales agreement based on the electronic signatures of the non-target merchant and the target merchant, and transmitting the ticket information to a commodity sales page of the non-target merchant when the sales agreement signing is completed.
In one embodiment, the system further comprises:
and the digital identifier generation module is used for respectively generating unique digital identifiers for the ticket information and the signed target cooperation protocol based on the non-homogeneous certification mode and uploading the digital identifiers to the alliance blockchain.
In one embodiment, the present application also provides a storage medium having stored therein computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the blockchain-based multi-party coupon co-construction method according to any of the above embodiments.
In one embodiment, the present application also provides a coalition block link point device having stored therein computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of a blockchain-based multi-party coupon co-construction method as in any of the above embodiments.
Schematically, as shown in fig. 4, fig. 4 is a schematic internal structure of a federated blockchain node device provided in an embodiment of the present application, where the federated blockchain node device 400 may be provided as a server. Referring to FIG. 4, the federated blockchain node device 400 includes a processing component 402 that further includes one or more processors, and memory resources represented by memory 401, for storing instructions, such as applications, that can be executed by the processing component 402. The application program stored in the memory 401 may include one or more modules each corresponding to a set of instructions. Further, the processing component 402 is configured to execute instructions to perform the blockchain-based multi-party coupon co-construction method of any of the embodiments described above.
The federated blockchain node device 400 may also include a power component 403 configured to perform power management of the federated blockchain node device 400, a wired or wireless network interface 404 configured to connect the federated blockchain node device 400 to a network, and an input output (I/O) interface 405. The coalition block link point device 400 may operate based on an operating system stored in memory 401, such as Windows Server TM, mac OS XTM, unix TM, linux TM, free BSDTM, or the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of a portion of the architecture associated with the present application and is not limiting of the federated blockchain node apparatus to which the present application applies, and that a particular federated blockchain node apparatus may include more or fewer components than shown, or may combine some components, or have a different arrangement of components.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Herein, "a," "an," "the," and "the" may also include plural forms, unless the context clearly indicates otherwise. Plural means at least two cases such as 2, 3, 5 or 8, etc. "and/or" includes any and all combinations of the associated listed items.
In the present specification, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and may be combined according to needs, and the same similar parts may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A multi-party coupon co-construction method based on a blockchain, characterized in that it is applied to nodes of a federated blockchain, the method comprising:
when receiving a ticket construction request sent by any merchant, analyzing the ticket construction request to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction;
Invoking voting logic in a pre-deployed voting intelligent contract, and sending the ticket information to voting pages of all target merchants;
responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes;
acquiring a ticket counting result of the ticket information, and when the ticket counting result of the ticket information is passing, calling a partner agreement generating logic in a pre-deployed agreement signing intelligent contract to generate a target partner agreement according to the ticket information and merchant information of each target merchant, and sending the target partner agreement to a partner agreement signing page of each target merchant;
and responding to an agreement signing request sent by any target merchant, and calling cooperative signing logic in the agreement signing intelligent contract to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant.
2. The blockchain-based multi-party coupon co-construction method of claim 1, wherein the step of invoking the vote logic in the voting intelligent contract to vote comprises:
If any voting result is not passed, the counting result is not passed;
if all the voting results are passed, the counting result is passed.
3. The blockchain-based multiparty coupon co-construction method according to claim 1, wherein the step of invoking partner agreement generation logic in a pre-deployed agreement signing smart contract to generate a target partner agreement from the coupon information and merchant information of each of the target merchants comprises:
generating self-defined clauses according to the ticket information;
generating fixed clauses according to merchant information of each target merchant;
the target partnership agreement is generated based on the self-defined clause and the fixed clause.
4. A blockchain-based multi-party coupon co-establishment method according to claim 3, wherein said step of invoking collaborative signing logic in said agreement signing intelligent contract in response to an agreement signing request sent by any of said target merchants to sign said target collaborative agreement according to merchant information of the target merchant comprises:
and responding to an agreement signing request sent by any target merchant, acquiring an electronic signature in merchant information of the target merchant, and synchronously signing the self-defined clause and the fixed clause based on a hash algorithm and a key encryption algorithm.
5. The blockchain-based multi-party coupon co-construction method of any of claims 1-4, further comprising:
responding to an adjustment request of any target merchant for the ticket information, and analyzing the adjustment request to obtain ticket information adjustment content;
invoking voting logic in the voting intelligent contracts, sending the ticket information adjustment content to voting pages of all target merchants, and invoking voting logic in the voting intelligent contracts to vote the voting results of all target merchants on the ticket information adjustment content;
and when the counting result of the ticket information adjusting content is passing, updating the ticket information according to the ticket information adjusting content.
6. The blockchain-based multi-party coupon co-construction method of any of claims 1-4, further comprising:
broadcasting the ticket information into the alliance blockchain so that each merchant in the alliance blockchain views the ticket information;
and responding to a sales agreement signing request of any non-target merchant and any target merchant, analyzing the sales agreement signing request to obtain electronic signatures of the non-target merchant and the target merchant, calling the cooperation agreement signing intelligent contract to generate a sales agreement, signing the sales agreement based on the electronic signatures of the non-target merchant and the target merchant, and transmitting the ticket information to a commodity sales page of the non-target merchant when the sales agreement signing is completed.
7. The blockchain-based multi-party coupon co-construction method of any of claims 1-4, further comprising:
based on the non-homogeneous pass pattern, unique digital identifications are generated for the ticket information and the signed target cooperation protocol respectively, and the digital identifications are uploaded to the alliance blockchain.
8. A multi-party coupon co-construction system based on a blockchain, characterized by nodes applied to a federated blockchain, the system comprising:
the ticket construction request analysis module is used for analyzing the ticket construction request when receiving the ticket construction request sent by any merchant so as to obtain ticket construction information; the ticket construction information comprises ticket information and merchant information of a plurality of target merchants, wherein the target merchants are designated merchants participating in ticket construction;
the voting logic calling module is used for calling voting logic in a pre-deployed voting intelligent contract and sending the ticket information to voting pages of all target merchants;
the voting logic calling module is used for responding to the voting request of any target merchant, analyzing the voting request to obtain the voting result of the target merchant, and calling the voting logic in the voting intelligent contract to count the votes;
The target cooperative agreement generating module is used for acquiring a ticket counting result of the ticket information, calling a cooperative agreement generating logic in a pre-deployed agreement signing intelligent contract when the ticket counting result of the ticket information is passing, generating a target cooperative agreement according to the ticket information and merchant information of each target merchant, and sending the target cooperative agreement to a cooperative agreement signing page of each target merchant;
and the target cooperative agreement signing module is used for responding to an agreement signing request sent by any target merchant and calling cooperative signing logic in the agreement signing intelligent contract so as to carry out signing processing on the target cooperative agreement according to merchant information of the target merchant.
9. A storage medium, characterized by: the storage medium having stored therein computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the blockchain-based multi-party coupon co-construction method of any of claims 1 to 7.
10. A coalition block link point device, comprising: one or more processors, and memory;
Stored in the memory are computer readable instructions that, when executed by the one or more processors, perform the steps of the blockchain-based multi-party coupon co-construction method of any of claims 1 to 7.
CN202310641618.5A 2023-05-31 2023-05-31 Multi-party coupon co-building system based on block chain Pending CN117333221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310641618.5A CN117333221A (en) 2023-05-31 2023-05-31 Multi-party coupon co-building system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310641618.5A CN117333221A (en) 2023-05-31 2023-05-31 Multi-party coupon co-building system based on block chain

Publications (1)

Publication Number Publication Date
CN117333221A true CN117333221A (en) 2024-01-02

Family

ID=89277973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310641618.5A Pending CN117333221A (en) 2023-05-31 2023-05-31 Multi-party coupon co-building system based on block chain

Country Status (1)

Country Link
CN (1) CN117333221A (en)

Similar Documents

Publication Publication Date Title
CN112600841B (en) Credit record sharing method and device based on block chain and electronic equipment
US20200133955A1 (en) Systems, methods, and apparatuses for implementing consumer data validation, matching, and merging across tenants with optional verification prompts utilizing blockchain
Pasdar et al. Connect api with blockchain: A survey on blockchain oracle implementation
Carboni Feedback based reputation on top of the bitcoin blockchain
CN110599213B (en) Article management method and device based on blockchain network and electronic equipment
US20200068009A1 (en) Systems, Methods and Media for a Distributed Social Media Network and System of Record
CN112632629B (en) Voting management method, device, medium and electronic equipment based on block chain
CN108876669B (en) Course notarization system and method applied to multi-platform education resource sharing
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN110569643A (en) traffic management method and device based on block chain network
EP4178155A1 (en) Blockchain-based certification audit data sharing and integrity verification system, device, and method thereof
CN111416709A (en) Voting method, device, equipment and storage medium based on block chain system
CN112700251B (en) Identity confirmation method, device and system in financial scene
CN111095863A (en) Block chain based system and method for communicating, storing and processing data over a block chain network
CN112053271B (en) Public service platform data evidence management method and system based on block chain
CN113409078A (en) Point issuing method, device, equipment and storage medium
CN116192405A (en) Electronic voting method and related device
TWI625703B (en) Online voting and ballot counting system based on blockchain and method thereof
Dash et al. Artificial intelligence models for blockchain-based intelligent networks systems: Concepts, methodologies, tools, and applications
CN111222963A (en) Bidding information processing method and device based on block chain
CN112862589B (en) Authentication method, device and system in financial scene
CN113890739A (en) Cross-block-chain authentication method and device, electronic equipment and medium
CN111771220A (en) Method for authenticating a credential
Li et al. Concurrent and efficient IoT data trading based on probabilistic micropayments
CN111681141A (en) File authentication method, file authentication device and terminal 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