CN110852734B - Scenic spot service settlement method and system based on block chain and electronic equipment - Google Patents

Scenic spot service settlement method and system based on block chain and electronic equipment Download PDF

Info

Publication number
CN110852734B
CN110852734B CN201911077373.8A CN201911077373A CN110852734B CN 110852734 B CN110852734 B CN 110852734B CN 201911077373 A CN201911077373 A CN 201911077373A CN 110852734 B CN110852734 B CN 110852734B
Authority
CN
China
Prior art keywords
settlement
payment
order
scenic spot
user
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
CN201911077373.8A
Other languages
Chinese (zh)
Other versions
CN110852734A (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.)
Shanghai Joyu Culture Communication Co ltd
Original Assignee
Shanghai Joyu Culture Communication 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 Shanghai Joyu Culture Communication Co ltd filed Critical Shanghai Joyu Culture Communication Co ltd
Priority to CN201911077373.8A priority Critical patent/CN110852734B/en
Publication of CN110852734A publication Critical patent/CN110852734A/en
Application granted granted Critical
Publication of CN110852734B publication Critical patent/CN110852734B/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/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • 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)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the technical field of software management, in particular to a scenic spot business settlement method, a system and electronic equipment based on a block chain, which specifically apply for an authorized federal block chain in a federal chain form for a platform, a scenic spot and distribution; obtaining user order information by the user after ordering; after the order payment state is updated to be payment success, the amount is settled according to the settlement ratio of the scenic spot and the commercial tenant, and automatic settlement is carried out; after settlement succeeds, the settlement success information is recorded to the payment monitoring and branch account information inquiry module, and meanwhile, shared account book updating operation is carried out.

Description

Scenic spot service settlement method and system based on block chain and electronic equipment
Technical Field
The invention relates to the technical field of software management, in particular to a scenic spot service settlement method and system based on a block chain and electronic equipment.
Background
The intelligent tourism treasure platform realizes the butt joint of all large OTAs, MTAs and B2C large platforms (such as where, Taobao and Tianmao) of the Internet and the like, and establishes a network distribution and management and control system. The system can automatically carry out statistical analysis on the order information of the E-commerce platform, and carry out statistics on the related information such as daily passenger flow, tourist composition, passenger source and the like in scenic spots. Can realize scenic spot and the automatic reconciliation of distributor according to each distributor sales data of distributor order information statistics, make things convenient for the management of scenic spot to the distributor, the operation effect has also had very big promotion, has also solved eight difficult problems in scenic spot simultaneously: the method comprises the following steps of ticket payment difficult-to-collect debt problem, sale problem, financial reconciliation problem, ticket change problem, tourist queuing problem, advertising problem, market price disorder problem and electronic ticket standard unification problem.
In a software management system of a scenic spot, although the butt joint with a ticketing system of each large platform and intelligent hardware of the scenic spot is basically realized, the income settlement management of each merchant in the scenic spot is not realized, so that not only can a tourist buy off-line goods or obtain various services of the scenic spot by scanning two-dimensional codes of different merchants after entering the scenic spot, but also the problems of long settlement time period, difficult account checking and the like of the scenic spot and each merchant are caused.
Disclosure of Invention
Aiming at the defects of the prior art, the invention discloses a scenic spot service settlement method, a system and electronic equipment based on a block chain, which are used for solving the problems that in a software management system of a scenic spot, although the butt joint with a ticketing system and intelligent hardware of each large platform is basically realized, the real-time settlement is not realized for the income settlement management of each merchant in the scenic spot, not only can a tourist buy off-line commodities or obtain various services of the scenic spot by scanning two-dimensional codes of different merchants after entering the scenic spot, but also the settlement time period of the scenic spot and each merchant is long and the settlement is difficult.
The invention is realized by the following technical scheme:
in a first aspect, the present invention provides a settlement method for scenic spot services based on a block chain, where the settlement method includes the following steps:
s1 applies for authorization of the federal block chain for platform, scenic spot and distribution in the form of federal chain;
s2, obtaining user order information through order placement by the user, and recording the user order information to the user order management module;
s3, establishing transaction state nodes in the shared account book, and performing consensus and updating on the shared account book;
s4, adding or updating new blocks according to business requirements, and adding or updating new transaction state nodes after a user order is formed;
s5, the user completes payment by using a payment financial tool, records the successful payment information to a payment monitoring module, and simultaneously performs shared account book updating operation;
s6, after the order payment state is updated to be payment success, the amount is settled according to the settlement ratio of the scenic spot and the merchant, and automatic settlement is carried out;
and S7, after settlement is successful, recording the settlement successful information to the payment monitoring ledger information inquiry module and simultaneously carrying out shared ledger updating operation.
Furthermore, after the platform, the scenic spot and the distribution user apply for passing the customer service audit authorization, the platform, the scenic spot and the distribution user have the authority of checking the shared account book and establishing the nodes; the user order information comprises a user number, a scenic spot number, a merchant number, an order amount and a settlement mode.
Furthermore, when the shared account book is updated, the PBFT algorithm is used for verifying and auditing each newly added node of the federation chain.
Further, the PBFT algorithm comprises the steps of:
t1 is first the client sends a request to the master node;
the T2 master node broadcasts a request to the other nodes;
the T3 node executes pre-prepare, prepare and commit three-stage consensus process;
the T4 node finishes the three-stage process and returns a message to the client; and the client receives the same message from half +1 nodes, and then the list consensus is completed.
Furthermore, when a new block is added or updated, each block records a global latest transaction data block within one month according to business requirements, and each block consists of three parts;
the first part records hash values, wherein the recorded hash values comprise the hash value of the last block, the hash value of a transaction tree root node and the hash value of a state tree root node;
the second part records a transaction tree, the transaction tree uses a binary tree, and each node on the binary tree records the process of transferring an asset;
the third part records a state tree, the state tree uses a binary tree, each node on the binary tree records the process state of a transaction, and the transaction tree and the state tree keep synchronous update.
Furthermore, after a new user order is formed, a new transaction node is formed and added on the transaction tree, and the new transaction node comprises a transaction ID, an account chain ID, a public key and a private key, account chain code operation, a hash value of the account chain code and the account chain code;
the state node is formed or updated by account chain codes, and comprises a state value list, wherein the state value list records the change process of the state;
the status values include order placing success, order placing failure, payment success, payment failure, user cancellation, amount settlement success, and amount settlement failure.
Further, according to the settlement ratio of the scenic spot and the commercial tenant, the settlement amount of the order scenic spot and the provider is determined, wherein the settlement ratio of the scenic spot A is i, the settlement ratio of the commercial tenant B is j, the settlement ratio of the commercial tenant C is k, and the order amount is H;
the automatic settlement is calculated in such a way that the settlement amount of the scenic spot A is H x i, the settlement amount of the merchant B is H x j, the settlement amount of the merchant C is H x k, and the total settlement and payment is H x i + H x j + H x k.
Furthermore, the payment treasures are selected by means of the payment financial instrument, after settlement is successful, the settlement successful information is recorded to the payment monitoring ledger information inquiry module, and meanwhile, the shared ledger updating operation flow is as follows:
step 1: the user finishes ordering;
step 2: the user initiates payment;
and step 3: calling a payment creation interface;
and 4, step 4: generating a payment order number of the payment instrument;
and 5: calling a payment small program payment SDK to pay an order;
step 6: after payment is completed, acquiring a payment order number and pushing a payment completion state to an order service updating state;
and 7: updating the order status to payment completion;
step 8, the system automatically calculates the settlement amount between the scenic spot and each merchant;
and step 9: the system automatically initiates real-time settlement check;
step 10: establishing a settlement streamline according to settlement amounts of the scenic spots and the merchants;
step 11: acquiring a Payment order number of an order;
step 12: calling a payment treasury collection unions calculation payment interface;
step 13: the system transfers funds;
step 14: and (5) the settlement is successful, and the payment flow state is updated to be successful.
In a second aspect, the present invention provides a scenic spot business settlement system based on a block chain, the system is used for implementing the method according to the first aspect, and the system comprises a payment monitoring module, a payment management module and a payment management module, wherein the payment monitoring module is used for monitoring payment flow information;
and the payment monitoring and accounting information inquiry module is used for monitoring settlement information of the scenic spot and each merchant.
In a third aspect, the present invention provides an electronic device, comprising a processor and a memory storing execution instructions, wherein when the processor executes the execution instructions stored in the memory, the processor performs the method according to the first aspect.
The invention has the beneficial effects that:
the invention can associate the payment account numbers of the user, the scenic spot and the merchant according to the two-dimensional code scanned when the user places an order, realizes real-time settlement, helps the scenic spot solve the problems of long settlement period and difficult settlement with the merchant, and simultaneously realizes decentralization in bilateral transaction involving multiple parties in a distributed environment based on the shared account book of the block chain, thereby achieving the final properties of whole network recording, traceability and tamper prevention, greatly improving the efficiency of real-time settlement among the merchants in the scenic spot and reducing the cost under the condition of ensuring the safety.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block chain based scenic spot service settlement method step diagram;
fig. 2 is a flow chart of real-time settlement of software in the embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The embodiment discloses a scenic spot service settlement method based on a block chain as shown in fig. 1, which comprises the following steps:
s1 applies for authorization of the federal block chain for platform, scenic spot and distribution in the form of federal chain;
s2, obtaining user order information through order placement by the user, and recording the user order information to the user order management module;
s3, establishing transaction state nodes in the shared account book, and performing consensus and updating on the shared account book;
s4, adding or updating new blocks according to business requirements, and adding or updating new transaction state nodes after a user order is formed;
s5, the user completes payment by using a payment financial tool, records the successful payment information to a payment monitoring module, and simultaneously performs shared account book updating operation;
s6, after the order payment state is updated to be payment success, the amount is settled according to the settlement ratio of the scenic spot and the merchant, and automatic settlement is carried out;
and S7, after settlement is successful, recording the settlement successful information to the payment monitoring ledger information inquiry module and simultaneously carrying out shared ledger updating operation.
The method and the device can associate the payment account numbers of the user, the scenic spot and the merchant according to the two-dimensional code scanned when the user places an order, realize real-time settlement, help the scenic spot solve the problems of long settlement period and difficulty in account checking with the merchant, and meanwhile, the shared account book based on the block chain realizes decentralization in bilateral transaction involving multiple parties in a distributed environment, so that the final performance of recording, traceability and tamper prevention is achieved, and therefore the efficiency of real-time settlement among the merchants in the scenic spot is greatly improved and the cost is reduced under the condition of ensuring safety.
Example 2
In this embodiment, a method is disclosed that includes:
s1 Federal Block chain authorization
The block chain in the scheme adopts a federal chain form, the writing authority is controlled by the platform, only authorized mechanism parties can apply for participation, and the participating mechanism comprises: platforms, scenic spots, distributors, and the like. The user belongs to the platform, and the user can track own order information through the platform but does not have the authority of looking up a shared account book and establishing nodes. And the application block chain write-in authority, the participation node authority and the like need to contact a platform customer service to complete application form filling and examination, and authorization can be obtained through the back.
S2 scenic spot merchant real-time settlement method based on block chain
S21 the order placement by the user is completed.
And the information such as the user number, the scenic spot number, the merchant number, the order amount, the settlement mode and the like is obtained after the user places an order.
And after the order placing is successful, recording the order placing information of the user to a user order management module and preparing a new transaction state node in the shared account book.
S22 shared account book consensus
When the shared account book of the authorized node needs to be updated by a consensus algorithm to determine whether the shared account book needs to be updated, the applicable environment of the used federation chain needs to consider the existence of a rogue node in the cluster in addition to the existence of a fault node in the cluster. For a federation chain, each newly joined node is validated and audited, so the PBFT consensus algorithm is used here. The main basic flow of the PBFT algorithm in the method comprises the following four steps: firstly, a client sends a request to a main node; the main node broadcasts a request to other nodes, and the nodes execute a pre-prepare, prepare and commit three-stage consensus process; the node finishes the three-stage process and returns a message to the client; and the client receives the same message from half +1 nodes, and then the list consensus is completed. The request to complete consensus may perform a shared book update operation.
S23 adding or updating new blocks
According to business requirements, each block records a data block of global latest transaction within one month, each block consists of three parts, the first part records a HASH value (HASH), and the recorded HASH value comprises the HASH value of the last block, the HASH value of a transaction tree root node and the HASH value of a state tree root node; the second part records the transaction tree, where a binary tree is used, and each node on the binary tree records the process of transferring one asset, and the content of each node is please see S23; the third part of the state tree, here also used is a binary tree, where each node records the process status of a transaction, and the content of each node in the state tree is please see S23. The transaction tree and the state tree keep synchronous and new.
S24 adding or updating new transaction state nodes
When a new user order is formed, a new transaction node is formed and added on the transaction tree, and the new transaction node comprises a transaction ID, an account chain ID (corresponding to a state tree node), a public key and a private key (the public key and the private key are encrypted by using an RSA algorithm), an account chain code operation (an account chain is deployed or executed), a hash value of the account chain code and the account chain code; the state node is formed or updated by account chain codes, the state node comprises a state value list, the change process of the state is recorded in the state node, and the state value comprises order placing success, order placing failure, payment success, payment failure, user cancellation, money settlement success, money settlement failure and the like.
S25 user payment is complete.
The user initiates payment, a payment bank payment establishing interface is called, a payment bank payment order number is generated, a payment bank applet payment SDK is called for order payment, the payment bank order number is obtained after payment is completed, the payment completion state is pushed to the order service updating state, and the state updating is successful. And after the payment is completed, recording the payment success information to the payment monitoring module, and simultaneously performing the shared account book updating operation of S22-S24.
S26 settlement amount calculation.
After the order payment state is updated to be payment success, the system can determine the settlement amount of an order scenic spot and a supplier according to the settlement ratio of the scenic spot and the merchant. The settlement ratio of the scenic spot A is i, the settlement ratio of the merchant B is j, the settlement ratio of the merchant C is k, the order amount is H, and the automatic settlement calculation mode of the system is as follows: the settlement amount of the scenic spot A is H x i, the settlement amount of the merchant B is H x j, the settlement amount of the merchant C is H x k, and the total settlement and payment amount is H x i + H x j + H x k.
The S27 system automatically settles.
According to the calculated settlement amount of the system, the system initiates the re-verification of the settlement amount, after the settlement amount is ensured to be correct, a settlement streamline is established according to the settlement amounts of scenic spots and all merchants, a settlement streamline number and a payment order number of a payment treasured are generated, the system triggers a settlement payment interface of the payment treasury receipt to transfer system funds, and after the transfer of the funds is completed, the settlement is successful
And after settlement is successful, recording the settlement successful information to the payment monitoring ledger information inquiry module and simultaneously carrying out the shared ledger updating operation of S22-S24.
Example 3
The embodiment discloses a real-time software settlement method, which comprises the following steps:
step 1: the user finishes ordering;
step 2: the user initiates payment;
and step 3: calling a payment creation interface;
and 4, step 4: generating a payment order number of the payment instrument;
and 5: calling a payment small program payment SDK to pay an order;
step 6: after payment is completed, acquiring a payment order number and pushing a payment completion state to an order service updating state;
and 7: updating the order status to payment completion;
step 8, the system automatically calculates the settlement amount between the scenic spot and each merchant;
and step 9: the system automatically initiates real-time settlement check;
step 10: establishing a settlement streamline according to settlement amounts of the scenic spots and the merchants;
step 11: acquiring a Payment order number of an order;
step 12: calling a payment treasury collection unions calculation payment interface;
step 13: the system conducts fund transfer (Payment system);
step 14: and (5) the settlement is successful, and the payment flow state is updated to be successful.
Example 4
The embodiment discloses a flow chart of real-time software settlement as shown in fig. 2, start- > user's lower order completion- > federal block chain authorization- > shared account book consensus- > adding or updating a new block- > adding or updating a new transaction state node- > user's payment completion- > shared account book consensus- > adding or updating a new block- > adding or updating a new transaction state node- > settlement amount calculation- > system settlement (payroll) - > shared account book consensus- > adding or updating a new block- > adding or updating a new transaction state node- > end.
Example 5
The embodiment discloses a scenic spot service settlement system based on a block chain, which is used for realizing the method of the embodiment and comprises a payment monitoring module, a payment processing module and a settlement module, wherein the payment monitoring module is used for monitoring payment flow information; and the payment monitoring and accounting information inquiry module is used for monitoring settlement information of the scenic spot and each merchant.
Example 6
The embodiment discloses an electronic device, which comprises a processor and a memory, wherein the memory stores execution instructions, and when the processor executes the execution instructions stored in the memory, the processor executes the method of the embodiment.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A scenic spot service settlement method based on a block chain is characterized by comprising the following steps:
s1, applying for authorization of a federal block chain for a platform, a scenic spot and distribution in a federal chain mode, wherein a user belongs to the platform, the user can track order information of the user through the platform, and the platform, the scenic spot and the distribution user have the authority of viewing a shared account book and establishing nodes after applying for authorization through customer service audit; the user order information comprises a user number, a scenic spot number, a merchant number, an order amount and a settlement mode;
s2, scanning the two-dimensional code by the user to place an order, finishing obtaining user order information, and recording the user order information to the user order management module;
s3 transaction state nodes are newly established in the shared account book, the shared account book is identified and updated, when the shared account book is updated, a PBFT algorithm is used for verifying and auditing each newly added node of the federation chain, and the PBFT algorithm comprises the following steps:
t1 is first the client sends a request to the master node;
the T2 master node broadcasts a request to the other nodes;
the T3 node executes pre-prepare, prepare and commit three-stage consensus process;
the T4 node finishes the three-stage process and returns a message to the client; the client receives the same information from half +1 nodes and then the common identification of the tables is completed;
s4, adding or updating new blocks according to business requirements, adding or updating new transaction state nodes after a user order is formed, and when adding or updating new blocks, recording a data block of global latest transaction in one month by each block according to the business requirements, wherein each block consists of three parts;
the first part records hash values, wherein the recorded hash values comprise the hash value of the last block, the hash value of a transaction tree root node and the hash value of a state tree root node;
the second part records a transaction tree, the transaction tree uses a binary tree, and each node on the binary tree records the process of transferring an asset;
the third part records a state tree, the state tree uses a binary tree, each node on the binary tree records the process state of one transaction, and the transaction tree and the state tree keep synchronous update;
s5, the user completes payment by using a payment financial tool, records the successful payment information to a payment monitoring module, and simultaneously performs shared account book updating operation;
s6, after the order payment state is updated to be payment success, the amount is settled according to the settlement ratio of the scenic spot and the merchant, and automatic settlement is carried out;
and S7, after settlement is successful, recording the settlement successful information to the payment monitoring ledger information inquiry module and simultaneously carrying out shared ledger updating operation.
2. The block chain based scenic spot business settlement method of claim 1, wherein when a new user order is formed, a new transaction node is formed and added on the transaction tree, the new transaction node comprises a transaction ID, an account chain ID, a public key and private key, an account chain code operation, a hash value of the account chain code, and an account chain code;
the state node is formed or updated by account chain codes, and comprises a state value list, wherein the state value list records the change process of the state;
the status values include order placing success, order placing failure, payment success, payment failure, user cancellation, amount settlement success, and amount settlement failure.
3. The block chain-based scenic spot service settlement method as claimed in claim 1, wherein the settlement amounts of the order scenic spots and the suppliers are determined according to the settlement ratios of the scenic spots and the suppliers, wherein the settlement ratio of the scenic spot a is i, the settlement ratio of the supplier B is j, the settlement ratio of the supplier C is k, and the order amount is H;
the automatic settlement is calculated in such a way that the settlement amount of the scenic spot A is H x i, the settlement amount of the merchant B is H x j, the settlement amount of the merchant C is H x k, and the total settlement and payment is H x i + H x j + H x k.
4. The scenic spot business settlement method based on the block chain as claimed in claim 1, wherein a payment treasured is selected by means of a payment financial instrument, and after settlement is successful, the settlement successful information is recorded to a payment monitoring ledger information query module and the shared ledger update operation flow is as follows:
step 1: the user finishes ordering;
step 2: the user initiates payment;
and step 3: calling a payment creation interface;
and 4, step 4: generating a payment order number of the payment instrument;
and 5: calling a payment small program payment SDK to pay an order;
step 6: after payment is completed, acquiring a payment order number and pushing a payment completion state to an order service updating state;
and 7: updating the order status to payment completion;
step 8, automatically calculating the settlement amount of the scenic spot and each merchant;
and step 9: automatically initiating real-time settlement check;
step 10: establishing a settlement streamline according to settlement amounts of the scenic spots and the merchants;
step 11: acquiring a Payment order number of an order;
step 12: calling a payment treasury collection unions calculation payment interface;
step 13: carrying out fund transfer;
step 14: and (5) the settlement is successful, and the payment flow state is updated to be successful.
5. A scenic spot business settlement system based on a block chain, the system being configured to implement the method of any one of claims 1-4, comprising a payment monitoring module configured to monitor payment flow information;
and the payment monitoring and accounting information inquiry module is used for monitoring settlement information of the scenic spot and each merchant.
6. An electronic device comprising a processor and a memory storing execution instructions, the processor performing the method of any of claims 1-4 when the processor executes the execution instructions stored by the memory.
CN201911077373.8A 2019-11-06 2019-11-06 Scenic spot service settlement method and system based on block chain and electronic equipment Active CN110852734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911077373.8A CN110852734B (en) 2019-11-06 2019-11-06 Scenic spot service settlement method and system based on block chain and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911077373.8A CN110852734B (en) 2019-11-06 2019-11-06 Scenic spot service settlement method and system based on block chain and electronic equipment

Publications (2)

Publication Number Publication Date
CN110852734A CN110852734A (en) 2020-02-28
CN110852734B true CN110852734B (en) 2021-07-02

Family

ID=69599800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911077373.8A Active CN110852734B (en) 2019-11-06 2019-11-06 Scenic spot service settlement method and system based on block chain and electronic equipment

Country Status (1)

Country Link
CN (1) CN110852734B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311216A (en) * 2020-03-16 2020-06-19 北京意锐新创科技有限公司 Bill sharing method and device suitable for payment equipment
CN111192040B (en) * 2020-04-10 2021-02-09 支付宝(杭州)信息技术有限公司 Registration method and system for mechanism identification number
CN111709817B (en) * 2020-06-23 2024-08-20 腾讯科技(深圳)有限公司 Order data processing method and device, computer readable medium and electronic equipment
CN111784517B (en) * 2020-06-24 2024-07-02 杭州溪塔科技有限公司 Coupon management method, system, electronic equipment and storage medium based on block chain
CN112491812B (en) 2020-07-08 2022-03-01 支付宝(杭州)信息技术有限公司 Hash updating method and device of block chain all-in-one machine
CN113971289A (en) 2020-07-08 2022-01-25 支付宝(杭州)信息技术有限公司 Trusted starting method and device of block chain all-in-one machine
CN112116340B (en) * 2020-09-28 2024-05-24 中国建设银行股份有限公司 Account separating method and system based on bank merchant order receiving mode
CN113592472A (en) * 2021-06-30 2021-11-02 北京健康之家科技有限公司 Pharmacy data processing method and device and electronic equipment
CN116029733B (en) * 2023-02-28 2023-06-16 苏州市民卡有限公司 Alliance scenic spot service management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506997A (en) * 2017-08-04 2017-12-22 现在(北京)支付股份有限公司 The method of payment of active barcode scanning on customer mobile terminal based on block chain technology
CN107819749A (en) * 2017-10-26 2018-03-20 平安科技(深圳)有限公司 Block catenary system and transaction data processing method based on ether mill
CN109064215A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 The male to male settlement system of tourism commission and method based on region chain
CN109409953A (en) * 2018-10-22 2019-03-01 联动优势科技有限公司 A kind of marketing cost settlement system and method based on block chain
CN109493047A (en) * 2018-11-16 2019-03-19 深圳变设龙信息科技有限公司 A kind of commission settlement method, device and terminal device based on block chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10762564B2 (en) * 2016-11-10 2020-09-01 International Business Machines Corporation Autonomous peer-to-peer energy networks operating on a blockchain
CN107169826B (en) * 2017-05-09 2021-02-12 武汉凤链科技有限公司 Tourist attraction ticketing method and system based on block chain
CN107977880A (en) * 2017-11-21 2018-05-01 郝文捷 A kind of method and system traveled in line platform and cooperation businessman's benefits-sharing
WO2019210310A1 (en) * 2018-04-27 2019-10-31 SharesPost, Inc. Global liquidity and settlement system
CN109472593A (en) * 2018-10-10 2019-03-15 远光软件股份有限公司 A kind of settlement method based on block chain technology, device and block chain network
CN109409476B (en) * 2018-10-10 2022-04-22 郝迎晓 Clearing method and clearing system based on composite cash register code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506997A (en) * 2017-08-04 2017-12-22 现在(北京)支付股份有限公司 The method of payment of active barcode scanning on customer mobile terminal based on block chain technology
CN107819749A (en) * 2017-10-26 2018-03-20 平安科技(深圳)有限公司 Block catenary system and transaction data processing method based on ether mill
CN109064215A (en) * 2018-07-10 2018-12-21 马上游科技股份有限公司 The male to male settlement system of tourism commission and method based on region chain
CN109409953A (en) * 2018-10-22 2019-03-01 联动优势科技有限公司 A kind of marketing cost settlement system and method based on block chain
CN109493047A (en) * 2018-11-16 2019-03-19 深圳变设龙信息科技有限公司 A kind of commission settlement method, device and terminal device based on block chain

Also Published As

Publication number Publication date
CN110852734A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN110852734B (en) Scenic spot service settlement method and system based on block chain and electronic equipment
CN106570757B (en) Crowd funding method, device and system based on block chain
CN108764911B (en) Transaction method and system for internet points
US20190266577A1 (en) Systems and methods for private settlement of distributed ledger transactions
US20200320490A1 (en) Method and system for conducting a transaction using private blockchain
US20140074699A1 (en) Online Processing for Offshore Business Transactions
US20110238570A1 (en) System of Online Trading Through Intermediary Platform and Methods Thereof
CN105719088A (en) Intelligent profit sharing settlement method and system
US20210374791A1 (en) System and method for on-chain rewards
US11068885B2 (en) Method and system for deanomymizing cryptocurrency users by analyzing bank transfers to a cryptocurrency exchange
CN110910230A (en) Accounting method, accounting system and storage medium
CN111598679B (en) Block chain-based multi-law person-to-person combined loan method, system and medium
US20210319510A1 (en) Blockchain-based system for providing mergers and acquisitions service, and operation method therefor
US20220076246A1 (en) Method, system, and computer readable medium for transferring cryptographic tokens
JP2021527893A (en) Systems and methods for distributed ledger-based intercompany netting
WO2018192931A1 (en) Delivery versus payment mechanism
CN113554509B (en) Processing method, device, medium and electronic equipment for online payment service
US20190213679A1 (en) System to effect cross-border payment
KR102468192B1 (en) Blockchain based crowd funding device and method
CN111652693A (en) Method and system for owning personal e-commerce APP
CN113449340B (en) Stock house transaction fund supervision method and device based on alliance chain
CN113034183A (en) Pricing processing method and device, electronic equipment and storage medium
CN110633966A (en) Block chain-based contract securitization method and device
US20200175562A1 (en) Gem trade and exchange system and previous-block verification method for block chain transactions
KR20200093918A (en) Method and system for tax refund

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20231107

Granted publication date: 20210702