CN110046879B - Intelligent contract-based money collection method and system and readable storage medium - Google Patents

Intelligent contract-based money collection method and system and readable storage medium Download PDF

Info

Publication number
CN110046879B
CN110046879B CN201910016552.4A CN201910016552A CN110046879B CN 110046879 B CN110046879 B CN 110046879B CN 201910016552 A CN201910016552 A CN 201910016552A CN 110046879 B CN110046879 B CN 110046879B
Authority
CN
China
Prior art keywords
contract
charge
collection
terminal
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910016552.4A
Other languages
Chinese (zh)
Other versions
CN110046879A (en
Inventor
张荐硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910016552.4A priority Critical patent/CN110046879B/en
Publication of CN110046879A publication Critical patent/CN110046879A/en
Priority to PCT/CN2019/124203 priority patent/WO2020143378A1/en
Application granted granted Critical
Publication of CN110046879B publication Critical patent/CN110046879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The embodiment of the specification discloses a collection method based on an intelligent contract, which creates a charge sharing collection contract in a block chain, and transmitting a contract address for obtaining the charge-sharing charging contract to each of the at least one contract-participating terminal, causing each of a plurality of user terminals to run the cost equalizing charge contract after downloading the cost equalizing charge contract from the contract address, and then automatically executing the cost-equalizing charge contract locally, paying the agreed amount in the charge-equalizing charge contract, and thus, after each of the plurality of user terminals runs the charge equalizing charge contract, deduction can be automatically completed through the charge equalizing charge contract, therefore, the efficiency of collection can be improved under the condition of ensuring the collection of the full amount, and the user experience is better.

Description

Intelligent contract-based money collection method and system and readable storage medium
Technical Field
The embodiment of the specification relates to the technical field of data processing, in particular to a collection method and system based on an intelligent contract and a readable storage medium.
Background
With the rapid development of the internet technology, more and more applications are installed on the user terminal, and the utilization rate of the third payment application in the user terminal is higher and higher, so that the payment efficiency can be greatly improved under the condition of ensuring the payment safety.
In the prior art, common functions of the third payment application generally include AA collection, core content of the AA collection is that a person pays and then all participants equally pay, in an AA collection scene, a participant needs to use a user terminal to actively pay the amount due to the participant, and when the participant actively pays the amount due to the participant, the problems of insufficient payment amount, non-payment and the like exist, so that a payer pays but cannot collect sufficient amount.
Disclosure of Invention
The embodiment of the specification provides a collection method, a collection system and a readable storage medium based on an intelligent contract, which can improve collection efficiency under the condition of full-amount collection and enable user experience to be better.
A first aspect of an embodiment of the present specification provides a collection method based on an intelligent contract, which is applied to a contract creation terminal in a plurality of user terminals, where the plurality of user terminals include the contract creation terminal and at least one contract participation terminal, including
Establishing a charge sharing collection contract in a block chain, and acquiring a contract address of the charge sharing collection contract;
transmitting the contract address to each of the at least one contract participant terminal;
downloading the charge sharing collection contract from the contract address;
and operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally, and paying the agreed amount in the expense equalizing charge contract.
A second aspect of the embodiments of the present specification provides a method for collecting money based on an intelligent contract, which is applied to a contract participation terminal among a plurality of user terminals, and includes:
receiving contract addresses of charge sharing contracts sent by contract creation terminals in the plurality of user terminals;
downloading the charge sharing collection contract from the contract address;
and operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally, and paying the agreed amount in the expense equalizing charge contract.
A third aspect of the embodiments of the present specification further provides a contract creation terminal, including:
the contract creating unit is used for creating a charge sharing contract in the block chain;
a contract address obtaining unit, configured to obtain a contract address of the charge sharing charge receiving contract;
a contract address transmitting unit for transmitting the contract address to each of at least one contract participating terminal;
the contract downloading unit is used for downloading the charge sharing collection contract from the contract address;
and the contract execution unit is used for operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally and paying the appointed amount in the expense equalizing charge contract.
The fourth aspect of the embodiments of the present specification further provides a contract participation terminal, including:
the contract address receiving unit is used for receiving a contract address of a charge equalizing charge contract sent by the contract establishing terminal;
the contract address downloading unit is used for downloading the charge sharing contract from the contract address;
and the contract execution unit is used for operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally and paying the appointed amount in the expense equalizing charge contract.
A fifth aspect of embodiments of the present specification further provides a smart contract-based collection system, where the system includes a plurality of user terminals, where the plurality of user terminals include a contract creation terminal and at least one contract participation terminal, and the system includes:
the contract establishing terminal is used for establishing a charge equalizing charge contract in the block chain, acquiring a contract address of the charge equalizing charge contract and sending the contract address to each terminal of the at least one contract participating terminal;
each of the plurality of user terminals is configured to acquire the contract address, download the charge sharing charging contract from the contract address, run the charge sharing charging contract, automatically execute the charge sharing charging contract locally, and pay the amount of the contract in the charge sharing charging contract.
The sixth aspect of the embodiments of the present specification further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the intelligent contract-based collection method when executing the program.
The seventh aspect of the embodiments of the present specification further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the above-mentioned intelligent contract-based collection method.
The beneficial effects of the embodiment of the specification are as follows:
based on the technical scheme, a charge sharing collection contract is created in a block chain, a contract address for obtaining the charge sharing collection contract is sent to each terminal of at least one contract participating terminal, each terminal of a plurality of user terminals operates the charge sharing collection contract after downloading the charge sharing collection contract from the contract address, then the charge sharing collection contract is automatically executed locally, and the appointed amount in the charge sharing collection contract is paid, so that after each terminal of the plurality of user terminals operates the charge sharing collection contract, the fee can be automatically deducted through the charge sharing contract, the collection efficiency can be improved under the condition of ensuring the full-amount collection, and the user experience is better.
Drawings
FIG. 1 is a system architecture diagram of a smart contract-based checkout system in an embodiment of the present disclosure;
FIG. 2 is a flow chart of a first method of a smart contract-based checkout method in an embodiment of the present disclosure;
FIG. 3 is a flow chart of a second method of intelligent contract-based checkout in an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a contract creation terminal in an embodiment of the present specification;
fig. 5 is a schematic structural diagram of a contract participation terminal in an embodiment of the present specification;
fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
In order to better understand the technical solutions, the technical solutions of the embodiments of the present specification are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features of the embodiments and embodiments of the present specification are detailed descriptions of the technical solutions of the embodiments of the present specification, and are not limitations of the technical solutions of the present specification, and the technical features of the embodiments and embodiments of the present specification may be combined with each other without conflict.
In a first aspect, as shown in fig. 1, an embodiment of the present specification provides a smart contract-based collection system, which includes a plurality of user terminals, where the plurality of user terminals include a contract creation terminal 100 and at least one contract participation terminal 200, and includes:
the contract creating terminal 100 is configured to create a charge share collecting contract in the blockchain 300, acquire a contract address of the charge share collecting contract, and send the contract address to each of the at least one contract participating terminal 200;
each of the plurality of user terminals is configured to acquire the contract address, download the charge sharing charging contract from the contract address, run the charge sharing charging contract, automatically execute the charge sharing charging contract locally, and pay the amount of the contract in the charge sharing charging contract.
In the embodiment of the present specification, the contract creation terminal 100 may be any one of the plurality of user terminals; further, the cost is shared by the contracts of collection, namely AA contracts of collection.
In this embodiment of the present specification, when creating the expense share collecting contract, the contract creating terminal 100 first needs to obtain item data corresponding to the expense share collecting contract, where the item data at least includes a commonly involved item and a payout amount; the charge share collection contract is then created in blockchain 300 based on the project data.
Of course, the amount of money to be paid by each terminal may be limited in creating the charge share receiving contract, and thus, the maximum amount of money to be paid by each terminal may be set. Wherein, the project data can also comprise data of the source of the project participated in together, the time of the project participated in together and the like.
In this embodiment of the present specification, when the contract creation terminal 100 creates the charge share collecting contract, the private key of the contract creation terminal 100 needs to be used to sign the charge share collecting contract.
In this embodiment of the present specification, the contract creation terminal 100 creates the charge share collecting contract, which specifically includes:
and setting a contract main body and contract terms of the charge sharing collection contract, wherein the contract main body is a payment account of each of the plurality of user terminals, the contract terms comprise response conditions and response rules, the response conditions comprise credit-granting cross-link payment behaviors, and the response rules comprise that collection is initiated to each of the plurality of user terminals after the transaction amount is shared.
In this embodiment of the present specification, in the process of creating the expense equalizing charge contract, the contract creating terminal 100 further needs to set a charge account number of the expense equalizing charge contract, where the charge account number is a payment account of any one of the plurality of user terminals.
In this embodiment, the payment account may be represented by a key and a unique address, where the unique address may be a hash value of the elliptic curve cryptography public key used by the blockchain 300. .
Specifically, the response condition includes a credited cross-chain payment behavior, and the credited cross-chain payment behavior is used for crediting a payment behavior in the charge share agreement so that after the charge share agreement is established, the user terminal can automatically deduct money from an account corresponding to the user terminal without being credited again through the response condition and the response rule, thereby prompting the charge share agreement to be automatically executed.
In this embodiment of the present specification, when each of the plurality of user terminals runs the charge share collecting contract, it is necessary to write a payment account of the terminal into the charge share collecting contract, and then sign the charge share collecting contract written into the payment account using a private key of the terminal.
In this embodiment of the present specification, in the process of paying the agreed amount in the charge share agreement at each of the plurality of user terminals, a relay technology may be used to exchange values outside and inside the block chain 300 through a third-party connector, so as to realize the payment of the agreed amount in the charge share agreement, where the relay technology may be a Po l kadot relay technology.
Specifically, since the first token (token) circulating in the blockchain 300 is generally used for conducting the transaction in the blockchain 300, and the transaction money is generally required to be conducted in the actual transaction process outside the blockchain, wherein the transaction money includes the legal money and other tokens, the first token is used in the charge share collection contract, the deduction is the transaction money when the charge share collection contract is used for conducting the deduction, and the value exchange between the outside and the inside of the blockchain 300 through the third-party connector is required to realize the payment of the agreed amount in the charge share collection contract.
For example, the total amount written in the charge share agreement is 20token, and 20token corresponds to 200 french coins, so when charging in the charge share agreement, if 5token corresponds to the first terminal, and according to the conversion relationship between token and french coin, the charge share agreement is about 5 × (200/20) to 50 french coins in the account corresponding to the first terminal.
Specifically, the third-party connector is a connector provided by a third-party payment mechanism and used for providing payment certificates for each terminal in the plurality of user terminals, and the whole process comprises the following steps that firstly, each terminal uses the payment function provided by the third payment mechanism to pay and uses the private key of the terminal to sign a payment receipt; secondly, the third party payment mechanism receives the payment receipt and generates a payment voucher; and after the payment voucher is detected to exist, automatically triggering the expense sharing collection contract, then controlling the expense sharing collection contract to locally operate, and automatically completing deduction.
In this embodiment of the present specification, after downloading the cost equalizing charge contract from the contract address, each of the plurality of user terminals needs to sign the cost equalizing charge contract by using a private key corresponding to each of the plurality of user terminals in the process of running the cost equalizing charge contract. Therefore, each terminal carries out private key signature on the charge sharing contract, the charge sharing contract is forced on the basis of the private key signature, the response condition of the contract terms in the charge sharing contract comprises the chain-crossing payment behavior of credit authorization, the payment behavior in the charge sharing contract is trusted, and therefore automatic charging can be carried out by utilizing the contract rule in the charge sharing contract.
In the embodiment of the specification, the charge sharing collection contract belongs to an intelligent contract, and the intelligent contract is a computer transaction protocol for executing contract terms and is an important component of the block chain 2.0. AA collection based on smart contracts is a formula for participants to joint payment behavior that once signed can not be tampered with, while being exposed over the network. The automatic execution of the collection is triggered after the occurrence of the expenditure which the participants should share, without the repeated confirmation of the participants, thus ensuring the collection of the full amount; and in the execution process of the collection contract, automatic deduction can be carried out without the need of reconfirming by the participant, and compared with the active deduction in the prior art, collection efficiency can be effectively improved, so that user experience is better.
In this embodiment, each of the plurality of user terminals may automatically execute the charge share charging contract locally after running the charge share charging contract.
For example, if the at least one participant terminal 200 includes a smartphone B1, a smartphone B2, and a smartphone B3, the contract creation terminal 100 initiates the AA collection contract, discloses the content of the AA collection contract, and sends a contract address to B1, B2, and B3; b1 downloads the AA collection contract from the contract address after the contract address is received by B1, runs the AA collection contract, writes the payment account of B1 into the AA collection contract during running the AA collection contract, and then signs the AA collection contract written with the payment account of B1 using the private key of B1, so that B1 becomes a contract participant of the AA collection contract; after acquiring the contract address, the contract creation terminals 100, B2 and B2 execute the same operation as that of B1, and all become contract participants of the AA collection contract; thus, the participants of the AA collection contract are enabled to create 4 terminals, terminal 100, B1, B2 and B3, for the contract.
If the content of the AA collection contract is a dinner group, the total amount is 50 tokens, and one token corresponds to 10 french coins, then according to a response rule in the AA collection contract, the total amount of 50 tokens is shared by the 4 terminals, so that the french coin corresponding to each terminal is determined to be 50 × 10/4 ═ 125, then according to the AA collection contract, collection is performed to each terminal, the collection amount is french coin 125, that is, the french coin 125 is deducted from the payment account of each of the 4 terminals, namely the contract creation terminal 100, B1, B2 and B3.
Further, if the charge account number set in the AA charge contract is the payment account of B1, the deduction from the payment account of each of the 4 terminals is placed into the payment account of B1, and 125 × 4 — 500 french coins are placed into the payment account of B1. Therefore, after each of the plurality of user terminals runs the expense sharing collection contract, the deduction can be automatically completed through the expense sharing collection contract, so that the collection efficiency can be improved under the condition of ensuring the full-amount collection, and the user experience is better.
In a second aspect, based on the same inventive concept as that of the first aspect, an embodiment of the present specification provides a collection method based on an intelligent contract, which is applied to a contract creation terminal in a plurality of user terminals, where the plurality of user terminals include the contract creation terminal and at least one contract participation terminal, and as shown in fig. 2, includes:
s202, establishing a charge sharing collection contract in a block chain, and acquiring a contract address of the charge sharing collection contract;
s204, sending the contract address to each terminal of the at least one contract participation terminal;
s206, downloading the charge sharing collection contract from the contract address;
and S208, operating the expense equalizing charge contract, automatically executing the expense equalizing charge contract locally, and paying the appointed amount in the expense equalizing charge contract.
In an optional manner, the creating a charge share collection contract in the blockchain specifically includes:
acquiring project data corresponding to the charge sharing collection contract, wherein the project data comprise commonly participated projects and expenditure amount;
and creating the charge sharing collection contract in the block chain according to the project data.
In an optional manner, the creating a charge share collection contract in the blockchain specifically includes:
and setting contract terms of the charge sharing collection contract, wherein the contract terms comprise response conditions and response rules, the response conditions comprise the credited cross-chain payment behavior, and the response rules comprise that collection is initiated to each of the plurality of user terminals after the transaction amount is shared.
In the embodiment of the present specification, the response condition includes a trusted cross-link payment behavior, and the trusted cross-link payment behavior is used to credit a payment behavior in the charge share agreement, so that after the charge share agreement is established, the terminal can automatically deduct money from an account corresponding to the terminal without being trusted again through the response condition and the response rule, thereby prompting that the charge share agreement is automatically completed, and the efficiency of collection can be improved and the user experience is better under the condition of ensuring the full-amount collection.
In an alternative, in creating the charge sharing collection contract, the method further comprises:
and signing the charge sharing collection contract by using the private key of the contract creation terminal.
In an alternative, in the payment of the contracted amount in the charge-sharing contractual agreement by each of the plurality of user terminals, the method further comprises:
and exchanging values outside and inside the block chain through a third-party connector by using a relay technology to realize that the payment is shared by the agreed amount in the collection contract, wherein the third-party connector is a connector provided by a third-party payment mechanism.
In a third aspect, based on the same inventive concept as that of the first aspect, an embodiment of the present specification provides a method for collecting money based on an intelligent contract, which is applied to a contract participation terminal in a plurality of user terminals, and as shown in fig. 3, includes:
s302, receiving contract addresses of charge sharing contracts sent by contract establishing terminals in the user terminals;
s304, downloading the charge sharing collection contract from the contract address;
and S306, operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally, and paying the appointed amount in the expense equalizing charge contract.
In an alternative embodiment, in the step of paying the agreed amount in the charge-sharing contract, the method further comprises:
and exchanging values outside and inside the block chain through a third-party connector by using a relay technology to realize that the payment is shared by the agreed amount in the collection contract, wherein the third-party connector is a connector provided by a third-party payment mechanism.
In an optional embodiment, the running the fee-sharing collection contract specifically includes:
and writing the payment account of the contract participation terminal into the charge sharing collection contract, and then signing the charge sharing collection contract written into the payment account by using a private key of the contract participation terminal.
Fourth aspect, based on the same inventive concept as the second aspect, embodiments of the present specification provide a contract creation terminal, as shown in fig. 4, including:
a contract creating unit 401, configured to create a charge share collection contract in the blockchain;
a contract address obtaining unit 402, configured to obtain a contract address of the charge sharing charging contract;
a contract address transmission unit 403 for transmitting the contract address to each of at least one contract participant terminal;
a contract downloading unit 404, configured to download the charge equalizing charge contract from the contract address;
and the contract execution unit 405 is configured to run the charge equalizing charge contract, and then locally and automatically execute the charge equalizing charge contract to pay the amount of the contract in the charge equalizing charge contract.
In an optional manner, the contract creating unit 401 is specifically configured to obtain item data corresponding to the charge share collecting contract, where the item data includes a commonly involved item and a payout amount; and creating the charge sharing collection contract in the block chain according to the project data.
In an optional manner, the contract creating unit 401 is specifically configured to set a contract term of the charge sharing charging contract, where the contract term includes a response condition and a response rule, where the response condition includes a trusted cross-link payment behavior, and the response rule includes initiating charging to each of the plurality of user terminals after the transaction amount is shared.
In an embodiment of the present specification, the response condition includes a trusted cross-link payment behavior, and the trusted cross-link payment behavior is used to credit a payment behavior in the charge share agreement, so that after the charge share agreement is established, the terminal can automatically deduct money from an account corresponding to the terminal without being trusted again through the response condition and the response rule, thereby prompting the charge share agreement to automatically complete execution.
In an alternative, the method further comprises:
and the signature unit is used for signing the expense equalizing charge contract by utilizing a private key of the contract creation terminal when the expense equalizing charge contract is created.
In an optional manner, the contract execution unit 405 is configured to write the payment account of the contract creation terminal into the charge balancing collection contract, and then sign the charge balancing collection contract written into the payment account using a private key of the contract creation terminal.
In an alternative, the method further comprises:
and a value exchange unit, configured to, in the process that each of the plurality of user terminals pays the agreed amount in the charge share agreement, perform value exchange outside and inside the block chain 300 through a third party connector using a relay technology to realize that the payment of the agreed amount in the charge share agreement is realized, where the third party connector is a connector provided by a third party payment mechanism.
In a fifth aspect, based on the same inventive concept as the third aspect, embodiments of the present specification provide a contract participation terminal, as shown in fig. 5, including:
a contract address receiving unit 501, configured to receive a contract address of a charge balancing contract sent by a contract creation terminal;
a contract address downloading unit 502, configured to download the charge equalizing charge contract from the contract address;
the contract execution unit 503 is configured to run the fee-sharing charging contract, and then automatically execute the fee-sharing charging contract locally to pay the amount of the contract in the fee-sharing charging contract.
In an alternative embodiment, the method further comprises:
and the value exchange unit is used for carrying out value exchange outside and in the block chain by a third-party connector by using a relay technology in the process of paying the agreed amount in the charge sharing contract, wherein the third-party connector is a connector provided by a third-party payment mechanism.
In an optional implementation manner, the contract execution unit 503 is specifically configured to write the payment account of the contract participation terminal into the charge share collecting contract, and then use a private key of the contract participation terminal to sign the charge share collecting contract written into the payment account.
In a sixth aspect, based on the same inventive concept as the intelligent contract-based collection method in the foregoing embodiment, an embodiment of the present specification further provides an electronic device, as shown in fig. 6, including a memory 604, a processor 602, and a computer program stored on the memory 604 and executable on the processor 602, where the processor 602 executes the computer program to implement the steps of any one of the intelligent contract-based collection methods described above.
Where in fig. 6 a bus architecture (represented by bus 600) is shown, bus 600 may include any number of interconnected buses and bridges, and bus 600 links together various circuits including one or more processors, represented by processor 602, and memory, represented by memory 604. The bus 600 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 605 provides an interface between the bus 600 and the receiver 601 and transmitter 603. The receiver 601 and the transmitter 603 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 602 is responsible for managing the bus 600 and general processing, and the memory 604 may be used for storing data used by the processor 602 in performing operations.
In a seventh aspect, based on the inventive concept similar to the intelligent contract-based collection method in the foregoing embodiments, this specification embodiment further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of any one of the foregoing intelligent contract-based collection methods.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present specification have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all changes and modifications that fall within the scope of the specification.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present specification without departing from the spirit and scope of the specification. Thus, if such modifications and variations of the present specification fall within the scope of the claims of the present specification and their equivalents, the specification is intended to include such modifications and variations.

Claims (17)

1. A collection method based on intelligent contract is applied to contract creation terminals in a plurality of user terminals, wherein the plurality of user terminals comprise the contract creation terminal and at least one contract participation terminal, and the collection method comprises the steps of
Establishing a charge sharing collection contract in a block chain, and acquiring a contract address of the charge sharing collection contract;
transmitting the contract address to each of the at least one contract participant terminal;
downloading the charge sharing collection contract from the contract address;
running the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally, and paying the appointed amount in the expense equalizing charge contract;
wherein, the creating of the charge share collecting contract in the block chain specifically comprises:
and setting contract terms of the charge sharing collection contract, wherein the contract terms comprise response conditions and response rules, the response conditions comprise the credited cross-chain payment behavior, and the response rules comprise that collection is initiated to each of the plurality of user terminals after the transaction amount is shared.
2. The method of claim 1, wherein creating a flat fee collection contract in the blockchain comprises:
acquiring project data corresponding to the charge sharing collection contract, wherein the project data comprise commonly participated projects and expenditure amount;
and creating the charge sharing collection contract in the block chain according to the project data.
3. The method of collecting money according to claim 1, wherein the running of the fee-sharing collection contract comprises:
writing the payment account of the contract establishing terminal into the charge sharing collection contract;
and signing the charge sharing collection contract written into the payment account by using a private key of the contract creation terminal.
4. A method of collecting as claimed in claim 1, the payment of the agreed amount in the collection contract for the fee comprises:
and exchanging values outside and inside the block chain through a third-party connector by using a relay technology to realize that the payment is shared by the agreed amount in the collection contract, wherein the third-party connector is a connector provided by a third-party payment mechanism.
5. A collection method based on intelligent contracts is applied to contract participation terminals in a plurality of user terminals and comprises the following steps:
receiving a contract address of a charge sharing charge-collecting contract sent by a contract creating terminal in the plurality of user terminals, wherein the charge sharing charge-collecting contract comprises contract terms, the contract terms comprise response conditions and response rules, the response conditions comprise a chain-crossing payment behavior of credit authorization, and the response rules comprise that the transaction amount is shared and then charge collection is initiated to each terminal in the plurality of user terminals;
downloading the charge sharing collection contract from the contract address;
and operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally, and paying the agreed amount in the expense equalizing charge contract.
6. The method of collecting money according to claim 5, wherein the running of the fee-sharing collection contract comprises:
and writing the payment account of the contract participation terminal into the charge sharing collection contract, and then signing the charge sharing collection contract written into the payment account by using a private key of the contract participation terminal.
7. A method of collecting funds as claimed in claim 5, in the process of paying the agreed amount in the collection contract, the method further comprising:
exchange of off-chain and in-chain value of the blockchain is performed using relay technology through a third party connector, wherein the third party connector is a connector provided by a third party payment authority.
8. A contract creation terminal comprising:
the contract creating unit is used for creating a charge sharing contract in the block chain;
a contract address obtaining unit, configured to obtain a contract address of the charge sharing charge receiving contract;
a contract address transmitting unit for transmitting the contract address to each of at least one contract participating terminal;
the contract downloading unit is used for downloading the charge sharing collection contract from the contract address;
the contract execution unit is used for operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally and paying the appointed amount in the expense equalizing charge contract;
the contract creating unit is specifically configured to set contract terms of the charge sharing charging contract, where the contract terms include response conditions and response rules, where the response conditions include a trusted cross-link payment behavior, and the response rules include that charging is initiated to each of the plurality of user terminals after the transaction amount is shared.
9. The terminal according to claim 8, wherein the contract creation unit is specifically configured to obtain project data corresponding to the charge-sharing charging contract, where the project data includes a commonly involved project and a payout amount; and creating the charge sharing collection contract in the block chain according to the project data.
10. The terminal of claim 8, wherein the contract execution unit is configured to write a payment account of the contract creation terminal into the charge share receive contract, and then sign the charge share receive contract written into the payment account using a private key of the contract creation terminal.
11. The terminal of claim 8, further comprising:
and the value exchange unit is used for carrying out value exchange outside and inside the block chain through a third-party connector by using a relay technology in the process that each terminal in the plurality of user terminals pays the agreed amount in the charge sharing contract, wherein the third-party connector is a connector provided by a third-party payment mechanism.
12. A contract participant terminal comprising:
the contract address receiving unit is used for receiving a contract address of a charge sharing charge contract sent by a contract creating terminal, wherein the charge sharing charge comprises contract terms, the contract terms comprise response conditions and response rules, the response conditions comprise a credit-granting cross-link payment behavior, and the response rules comprise that the charge is initiated to each of a plurality of user terminals after the transaction amount is shared;
the contract address downloading unit is used for downloading the charge sharing contract from the contract address;
and the contract execution unit is used for operating the expense equalizing charge contract, then automatically executing the expense equalizing charge contract locally and paying the appointed amount in the expense equalizing charge contract.
13. The terminal according to claim 12, wherein the contract execution unit is specifically configured to write a payment account of the contract participation terminal into the charge share receive contract, and then sign the charge share receive contract written into the payment account using a private key of the contract participation terminal.
14. The terminal of claim 12, further comprising:
and the value exchange unit is used for carrying out value exchange outside and in the block chain by using a relay technology through a third-party connector in the process of paying the agreed amount in the charge share collecting contract, so as to realize the payment of the agreed amount in the charge share collecting contract, wherein the third-party connector is a connector provided by a third-party payment mechanism.
15. A smart contract-based checkout system, the system comprising a plurality of user terminals, wherein the plurality of user terminals include a contract creation terminal and at least one contract participation terminal, comprising:
the contract creation terminal is configured to create a charge share collecting contract in a block chain, acquire a contract address of the charge share collecting contract, and send the contract address to each of the at least one contract participation terminal, where the creating of the charge share collecting contract in the block chain specifically includes: setting contract terms of the charge sharing collection contract, wherein the contract terms comprise response conditions and response rules, the response conditions comprise credited cross-chain payment behaviors, and the response rules comprise that collection is initiated to each of the plurality of user terminals after transaction amount sharing;
each of the plurality of user terminals is configured to acquire the contract address, download the charge sharing charging contract from the contract address, run the charge sharing charging contract, automatically execute the charge sharing charging contract locally, and pay the amount of the contract in the charge sharing charging contract.
16. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1-7 when executing the program.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910016552.4A 2019-01-08 2019-01-08 Intelligent contract-based money collection method and system and readable storage medium Active CN110046879B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910016552.4A CN110046879B (en) 2019-01-08 2019-01-08 Intelligent contract-based money collection method and system and readable storage medium
PCT/CN2019/124203 WO2020143378A1 (en) 2019-01-08 2019-12-10 Smart contract based collection method and system, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910016552.4A CN110046879B (en) 2019-01-08 2019-01-08 Intelligent contract-based money collection method and system and readable storage medium

Publications (2)

Publication Number Publication Date
CN110046879A CN110046879A (en) 2019-07-23
CN110046879B true CN110046879B (en) 2020-12-22

Family

ID=67274089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910016552.4A Active CN110046879B (en) 2019-01-08 2019-01-08 Intelligent contract-based money collection method and system and readable storage medium

Country Status (2)

Country Link
CN (1) CN110046879B (en)
WO (1) WO2020143378A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046879B (en) * 2019-01-08 2020-12-22 创新先进技术有限公司 Intelligent contract-based money collection method and system and readable storage medium
CN111967862A (en) * 2020-08-28 2020-11-20 华中科技大学 Digital currency co-payment method and system based on block chain intelligent contract
CN112330311A (en) * 2020-11-16 2021-02-05 深圳壹账通智能科技有限公司 Crowd funding joint account creation method and device based on block chain and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016191982A1 (en) * 2015-05-29 2016-12-08 深圳市银信网银科技有限公司 Repayment processing method and system
CN107633400A (en) * 2017-08-09 2018-01-26 北京云知科技有限公司 A kind of method of payment and device of the machine wallet based on block chain
CN107798532A (en) * 2017-09-29 2018-03-13 深圳市轱辘车联数据技术有限公司 A kind of car-mounted terminal method of payment, terminal and computer-readable medium
CN108805550A (en) * 2018-04-27 2018-11-13 深圳市元征科技股份有限公司 A kind of pre-payment exchange management method and pre-payment trade management device
CN110046879B (en) * 2019-01-08 2020-12-22 创新先进技术有限公司 Intelligent contract-based money collection method and system and readable storage medium

Also Published As

Publication number Publication date
CN110046879A (en) 2019-07-23
WO2020143378A1 (en) 2020-07-16

Similar Documents

Publication Publication Date Title
CN108959621B (en) Method, device, equipment and storage medium for realizing block chain network
CN110599323B (en) Resource processing method and processing equipment
CN110046879B (en) Intelligent contract-based money collection method and system and readable storage medium
CN109087190A (en) A kind of financing loan method and apparatus
EP3491773A2 (en) Blockchain implemented method and system
CN112488702B (en) Block chain-based settlement method and device and electronic equipment
CN111199489A (en) Method, apparatus, computer-readable storage medium and computer program product for cross-blockchain asset management
CN107895264B (en) Vehicle fee payment method and device
JP2023509262A (en) Computer-implemented methods, software programs and systems for providing vehicle services and initiating a payment process for the vehicle services
CN109426955A (en) Target object providing method, apparatus and system
CN111242603B (en) Riding settlement method and device based on blockchain
CN110659993A (en) Resource management method and device based on block chain network
CN109919588A (en) A kind of method and apparatus for preventing from repeating to pay
CN109670808A (en) Reimbursement of expense method, apparatus, computer installation, storage medium and vehicle washing system
CN110378693B (en) Distributed energy weak centralized transaction management system based on alliance block chain
CN105139197A (en) Business processing unit and vehicle-mounted unit
CN112788555B (en) Cross-operator telephone charge transfer settlement method, device and computing equipment
CN112070503A (en) Contract execution method, device, equipment and storage medium based on block chain
CN111401873A (en) Task creation method and device, storage medium and electronic equipment
CN112687015B (en) Parking fee paying method and system
CN110163606B (en) Refund method and device based on blockchain and electronic equipment
CN115099801A (en) Payment information processing method and device based on public cloud
CN110852891B (en) Data processing method and device based on rolling stock and readable storage medium
CN113902560A (en) Transaction method, device, server, equipment and medium
CN112308563A (en) Guest-obtaining data processing method and node

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
TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant