CN108229926B - Service settlement method and related device - Google Patents

Service settlement method and related device Download PDF

Info

Publication number
CN108229926B
CN108229926B CN201810104423.6A CN201810104423A CN108229926B CN 108229926 B CN108229926 B CN 108229926B CN 201810104423 A CN201810104423 A CN 201810104423A CN 108229926 B CN108229926 B CN 108229926B
Authority
CN
China
Prior art keywords
transaction
settlement
blockchain
target service
information
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
CN201810104423.6A
Other languages
Chinese (zh)
Other versions
CN108229926A (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.)
Nanjing Yibo Software Technology Co., Ltd
Original Assignee
Shenzhen Huitong Business 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 Shenzhen Huitong Business Co Ltd filed Critical Shenzhen Huitong Business Co Ltd
Priority to CN201810104423.6A priority Critical patent/CN108229926B/en
Publication of CN108229926A publication Critical patent/CN108229926A/en
Application granted granted Critical
Publication of CN108229926B publication Critical patent/CN108229926B/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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Abstract

The application provides a service settlement method and a related device, wherein the method comprises the following steps: when a first settlement transaction corresponding to a target service is successfully issued to the blockchain system, sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to the target service according to the first settlement transaction, wherein the first transaction notification is used for notifying the intermediate settlement device to settle the target service according to first settlement information; receiving a first transaction settlement request initiated by the intermediate settlement device under the condition of finishing the settlement of the target service, wherein the first transaction settlement request is used for requesting the first settlement device of the user to settle the target service; generating a second settlement transaction corresponding to the target service according to the first transaction settlement request; a second settlement transaction is issued to the blockchain system, the second settlement transaction being used to notify the first settlement device to settle the target service. The scheme of the application can realize automatic and real-time settlement of the service and improve the settlement efficiency.

Description

Service settlement method and related device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a related apparatus for service settlement.
Background
The business trip management is to take an enterprise or a government department as an object, provide consulting opinions by carrying out overall investigation and analysis on business trip activities of the enterprise, then jointly improve the flow, minimize business trip cost of the enterprise by utilizing owned resources, realize control on the business trip cost and provide management activities of whole-course service. In the travel management industry, three roles are mainly involved: 1. enterprises, which entrust Travel management to Travel Management Companies (TMC), complete air tickets, hotel reservations and the like when enterprise employees go on a business by the TMC, and are service users; 2. TMC, TMC provides business trip management services for enterprises. For example, TMC collects room-type quantity resources released by hotels, then releases the room price of the hotel room-type quantity to enterprises, and opens the hotel resources which meet the business travel policy of the enterprise employees; processing hotel reservation orders of enterprise employees, wherein TMC is an intermediate party of the business; 3. the hotel provides hotel accommodation business, the hotel issues room type room volume and room price resources of the hotel to the TMC, a reservation order of the TMC is confirmed, the business staff check-in and check-out are processed, and the hotel is a business provider.
In business settlement of the business management industry, periodic settlement is generally adopted, such as monthly settlement, wherein the periodic settlement has two possible situations: in the first case, each house fee of the enterprise staff is firstly collected by the TMC, then the TMC and the hotel carry out monthly settlement, the monthly settlement flow between the TMC and the hotel is shown in figure 1, S101, a hotel settlement clerk arranges recent hotel orders of the TMC to form a bill, S102, the hotel settlement clerk provides the bill to the TMC, S103, the TMC settlement clerk rechecks whether each order is correct, the order after the recheck is passed is collected into a payable order, S104, the TMC settlement clerk notifies the financial department to pay through the bank, and S105, the bank notifies the hotel that the money is paid. In the second case, TMC settles every house fee to hotel first, then TMC settles monthly with the enterprise, the monthly settlement flow between the enterprise and TMC is shown in fig. 2, S201, TMC settlers collect recent hotel orders of a certain enterprise to form a bill, S202, TMC settlers provide the bill to the enterprise, S203, the enterprise settlers check whether each order is correct, the passed orders are collected into a payable bill, S204, the enterprise settlers inform financial department to pay through bank, S205, the bank informs TMC intermediary to have money. In the service settlement in the above two cases, there are the following problems: 1) since the hotel, TMC and enterprise record the service information respectively and are not trusted with each other, the settlement needs to be carried out in a manual account checking mode, and the settlement efficiency is not high; 2) if the first condition is adopted for settlement, the actual income of the hotel is lagged, and the fund pressure of the hotel is increased, and if the second condition is adopted for settlement, the actual income of the TMC is lagged, and the fund pressure of the TMC is increased.
Disclosure of Invention
The embodiment of the application provides a business settlement method and a related device, and solves the problems of low manual account checking and settlement efficiency and untimely settlement of house fees.
In a first aspect, an embodiment of the present application provides a service settlement method, which may be applied to a block chain processing device deployed on a TMC side, where the method includes:
sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to a target service according to a first settlement transaction when the first settlement transaction corresponding to the target service is successfully issued to a blockchain system, wherein the first settlement transaction comprises first information and second information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information is confirmed by the provider and the intermediary, the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information;
receiving a first transaction settlement request initiated by the intermediate settlement device upon completion of settlement of the target service, the first transaction settlement request being for requesting a first settlement device of the user to settle the target service;
generating a second settlement transaction corresponding to the target service according to the first transaction settlement request, wherein the second settlement transaction comprises the first information and third information corresponding to the target service, which is pre-stored in the block chain system after confirmation of both parties is obtained, and the third information is confirmed by the intermediate party and the user;
issuing the second settlement transaction to the blockchain system, the second settlement transaction being used to notify the first settlement device to settle the target service.
In the application, on one hand, the first information, the second information and the third information corresponding to the target service are information which is pre-stored in the blockchain system after being confirmed by the two corresponding parties, the authenticity and the reliability of the first information, the second information and the third information are ensured due to the non-falsification of the blockchain system, and the first information, the second information and the third information corresponding to the target service do not need to be checked in a manual account checking mode during settlement because the information is real and reliable, so that the settlement efficiency is improved; on the other hand, the service intermediary party can settle accounts with the service user after the settlement with the service provider is finished, all the services do not need to be combined together for settlement, the settlement between the service intermediary party and the service provider, and between the service intermediary party and the service user can be realized when the service is finished, the settlement can be carried out on the service in time, and the fund pressure of the service provider and the intermediary party is relieved.
With reference to the first aspect, in a possible design, after the sending a first transaction notification to an intermediate settlement apparatus of an intermediate party corresponding to the target service according to the first settlement transaction, the method further includes: receiving a first settlement completion transaction request sent by the intermediate settlement device under the condition of completing settlement of the target service, wherein the first settlement completion transaction request is used for requesting a second settlement device of the provider to verify the settlement result of the target service; generating a first settlement completion transaction corresponding to the target service according to the first settlement completion transaction request; issuing the first settlement completion transaction to the blockchain system, the first settlement completion transaction being used to inform the second settlement device to verify a settlement result of the target service.
With reference to the first aspect, in one possible design, the issuing the first finalized transaction to the blockchain system further includes:
receiving a first result completion confirmation transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system; receiving a first block corresponding to the first settlement complete confirmation transaction sent by the blockchain management device when the first settlement complete confirmation transaction is determined to pass the check of the blockchain system; and locally saving the first block when a first saving notice sent by the blockchain management device is received.
With reference to the first aspect, in a possible design, before sending, according to the first settlement transaction, a first transaction notification to an intermediate settlement apparatus of an intermediate party corresponding to a target service, the method further includes: receiving the first settlement transaction sent by a current blockchain management device in the blockchain system, wherein the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system; receiving a second block corresponding to the first calculated transaction sent by the blockchain management device if the first calculated transaction is determined to pass the check of the blockchain system; and in the case of receiving a second saving notification sent by the blockchain management device, determining that the first settlement transaction is successfully issued to the blockchain system, and saving the second block locally.
With reference to the first aspect, in one possible design, the issuing the second settlement transaction to the blockchain system further includes: under the condition that a second settlement completion transaction corresponding to the target service is successfully issued to a blockchain system, sending a second transaction notification to the intermediate settlement device according to the second settlement completion transaction, wherein the second transaction notification is used for notifying the intermediate settlement device to verify a settlement result of the target service; receiving a first transaction settlement completion confirmation request sent by the intermediate settlement device under the condition that the settlement result is verified to be correct; generating a second settlement completion confirmation transaction corresponding to the target service according to the first transaction settlement completion confirmation request; issuing the second settlement completion confirmation transaction to the blockchain system.
With reference to the first aspect, in a possible design, before the sending a second transaction notification to the intermediate settlement apparatus according to the settlement completion transaction, the method further includes: receiving a second settlement completion transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system; receiving a third block corresponding to the second settlement completed transaction sent by the blockchain management device when the second settlement completed transaction is determined to pass the verification of the blockchain system; and in the case of receiving a third saving notice sent by the blockchain management device, determining that the second settlement completing transaction is successfully issued to the blockchain system, and saving the third block locally.
In a second aspect, an embodiment of the present application provides a service settlement method, which may be applied to a block chain processing apparatus deployed on a TMC side, where the method includes:
acquiring a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service, wherein the second transaction settlement request is used for requesting an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service;
generating a first settlement transaction corresponding to the target service according to the second transaction settlement request, wherein the first settlement transaction comprises first information and second information which are pre-stored in the blockchain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the provider and the user corresponding to the target service, and the second information is confirmed by the provider and the service intermediate party;
issuing the first settlement transaction to the blockchain system, the first settlement transaction being used to notify the intermediate settlement device to settle the target service.
In the method, on one hand, the first information and the second information corresponding to the target service are both information which is pre-stored in the block chain system after being confirmed by the two corresponding parties, the authenticity and the reliability of the first information and the second information are ensured due to the non-falsification of the block chain system, and the first information and the second information corresponding to the target service do not need to be checked in a manual account checking mode because the information is real and reliable, so that the settlement efficiency is improved; on the other hand, the provider of the service can settle with the intermediate party after the service is finished, all the services do not need to be combined together for settlement, and the fund pressure of the provider is relieved.
With reference to the second aspect, in one possible design, the issuing the first resolved transaction to the blockchain system further includes: under the condition that a first settlement completion transaction corresponding to the target service is successfully issued to the blockchain system, sending a third transaction notification to the second settlement device according to the first settlement completion transaction, wherein the third transaction notification is used for notifying the second settlement device to verify a settlement result of the target service; receiving a second transaction settlement completion confirmation request sent by the second settlement device under the condition that the settlement result is verified to be correct; generating a first settlement completion confirmation transaction corresponding to the target service according to the second transaction settlement completion confirmation request; issuing the first settlement completion confirmation transaction to the blockchain system.
With reference to the second aspect, in one possible design, before the sending a third transaction notification to the second settlement device according to the first settlement completion transaction, the method further includes: receiving a first settlement completion transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system; receiving a fourth block corresponding to the first finalized transaction sent by the blockchain management device if it is determined that the first finalized transaction passes the check of the blockchain system; and in the case of receiving a fourth saving notification sent by the blockchain management device, determining that the first settlement completion transaction is successfully issued to the blockchain system, and saving the fourth block locally.
In a third aspect, an embodiment of the present application provides a service settlement method, which may be applied to a blockchain processing apparatus deployed on a hotel side, where the method includes:
sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction when the second settlement transaction corresponding to the target service is successfully issued to the blockchain system, wherein the second settlement transaction comprises first information and third information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the user and the provider corresponding to the target service, the third information is confirmed by the intermediate party corresponding to the target service and the user, the fourth transaction notification includes second settlement information associated with the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information;
receiving a second settlement completion transaction request sent by the first settlement device when the settlement of the target service is completed, wherein the second settlement completion transaction request is used for requesting an intermediate settlement device of the intermediate party to verify a settlement result of the target service;
generating a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request;
issuing the second settlement completion transaction to the blockchain system, the second settlement completion transaction being used to notify the intermediate settlement device to verify a settlement result of the target service.
In the embodiment of the application, on one hand, the first information and the third information corresponding to the target service are both information which is pre-stored in the block chain system after being confirmed by the two corresponding parties, the authenticity and the reliability of the first information and the third information are ensured due to the non-falsification of the block chain system, and the first information and the third information corresponding to the target service do not need to be checked in a manual account checking manner because the information is real and reliable, so that the settlement efficiency is improved; on the other hand, the service intermediary party can settle accounts with the service user after the service is finished and the settlement with the service provider is finished, all the services do not need to be combined together for settlement, and the fund pressure of the intermediary party is relieved
With reference to the third aspect, in a possible design, before the sending, according to the second settled transaction, a fourth transaction notification to the first settlement device of the user corresponding to the target service, the method further includes: receiving the second settlement transaction sent by a current blockchain management device in the blockchain system, wherein the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system; receiving a fifth block corresponding to the second settlement transaction sent by the blockchain management device if the second settlement transaction is determined to pass the verification of the blockchain system; and in the case of receiving a fifth saving notice sent by the blockchain management device, determining that the second settlement transaction is successfully issued to the blockchain system, and saving the fifth block locally.
With reference to the third aspect, in one possible design, the issuing the first finalized transaction to the blockchain system further includes: receiving a second settlement completion confirmation transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system; receiving a sixth block corresponding to the second settlement completion confirmation transaction, which is sent by the blockchain management device when the second settlement completion confirmation transaction is determined to pass the verification of the blockchain system; and in the case of receiving a sixth saving notice sent by the blockchain management device, locally saving the sixth block.
In a fourth aspect, an embodiment of the present application provides a service settlement apparatus, which has a function of implementing the service settlement method according to the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the apparatus includes a first notification sending module, a first request receiving module, a first transaction generating module, and a first transaction issuing module, where the first notification sending module is configured to send a first transaction notification to an intermediate settlement apparatus of an intermediate party corresponding to a target service according to a first transaction after the first transaction is successfully issued to a blockchain system, where the first transaction includes first information and second information that are pre-stored in the blockchain system after both parties corresponding to the target service are confirmed, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information obtains confirmation of the provider and the intermediate party, and the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information; the first request receiving module is configured to receive a first transaction settlement request initiated by the intermediate settlement apparatus when the settlement of the target service is completed, where the first transaction settlement request is used to request the first settlement apparatus of the user to settle the target service; the first transaction generation module is configured to generate a second settlement transaction corresponding to the target service according to the first transaction settlement request, where the second settlement transaction includes the first information and third information corresponding to the target service that is pre-stored in the blockchain system after being confirmed by both parties, and the third information is confirmed by the intermediate party and the user; the first transaction issuing module is configured to issue the second settlement transaction to the blockchain system, where the second settlement transaction is used to notify the first settlement device to settle the target service.
In one possible design, the apparatus includes a processor, a memory, and a communication interface, the processor, the memory, and the communication interface are interconnected, where the memory is configured to store program code, and the processor is configured to call the program code to perform the following: sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to a target service according to a first settlement transaction through the communication interface when the first settlement transaction corresponding to the target service is successfully issued to the blockchain system, wherein the first settlement transaction comprises first information and second information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information is confirmed by the provider and the intermediary, the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information; receiving, through the communication interface, a first transaction settlement request initiated by the intermediate settlement apparatus upon completion of settlement of the target service, the first transaction settlement request requesting a first settlement apparatus of the user to settle the target service; generating a second settlement transaction corresponding to the target service according to the first transaction settlement request, wherein the second settlement transaction comprises the first information and third information corresponding to the target service, which is pre-stored in the block chain system after confirmation of both parties is obtained, and the third information is confirmed by the intermediate party and the user; issuing the second settlement transaction to the blockchain system through the communication interface, the second settlement transaction being used to notify the first settlement device to settle the target service.
In a fifth aspect, an embodiment of the present application provides a service settlement apparatus, which has a function of implementing the service settlement method according to the second aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the device includes a first request receiving module, a first transaction generating module, and a first transaction issuing module, where the first request receiving module is configured to obtain a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service, where the second transaction settlement request is configured to request an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service; the first transaction generation module is configured to generate a first settlement transaction corresponding to the target service according to the second transaction settlement request, where the first settlement transaction includes first information and second information that are pre-stored in the blockchain system after both parties corresponding to the target service obtain confirmation, the first information obtains confirmation of the provider and a user corresponding to the target service, and the second information obtains confirmation of the provider and a service intermediary; the first transaction issuing module is configured to issue the first settlement transaction to the blockchain system, where the first settlement transaction is used to notify the intermediate settlement apparatus to settle the target service.
In one possible design, the apparatus includes a processor, a memory, and a communication interface, the processor, the memory, and the communication interface are interconnected, where the memory is configured to store program code, and the processor is configured to call the program code to perform the following: acquiring a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service through the communication interface, wherein the second transaction settlement request is used for requesting an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service; generating a first settlement transaction corresponding to the target service according to the second transaction settlement request, wherein the first settlement transaction comprises first information and second information which are pre-stored in the blockchain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the provider and the user corresponding to the target service, and the second information is confirmed by the provider and the service intermediate party; issuing the first settlement transaction to the blockchain system through the communication interface, the first settlement transaction being used to notify the intermediate settlement device to settle the target service.
In a sixth aspect, an embodiment of the present application provides a service settlement apparatus, which has a function of implementing the service settlement method according to the third aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the apparatus includes a notification sending module, a request receiving module, a transaction generating module, and a transaction issuing module, where the notification sending module is configured to send a fourth transaction notification to a first settlement device of a user corresponding to a target service according to a second settlement transaction when the second settlement transaction corresponding to the target service is successfully issued to a blockchain system, where the second settlement transaction includes first information and third information that are pre-stored in the blockchain system after both parties corresponding to the target service are confirmed, the first information is confirmed by the user and a provider corresponding to the target service, the third information is confirmed by the intermediary and the user, and the fourth transaction notification includes second settlement information related to the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information; the request receiving module is configured to receive a second settlement completing transaction request sent by the first settlement device when the settlement of the target service is completed, where the second settlement completing transaction request is used to request an intermediate settlement device of the intermediate party to verify a settlement result of the target service; the transaction generation module is used for generating a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request; the transaction issuing module is configured to issue the second settlement completed transaction to the blockchain system, where the second settlement completed transaction is used to notify the intermediate settlement device to verify a settlement result of the target service.
In one possible design, the apparatus includes a processor, a memory, and a communication interface, the processor, the memory, and the communication interface are interconnected, where the memory is configured to store program code, and the processor is configured to call the program code to perform the following: sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction through the communication interface under the condition that the second settlement transaction corresponding to the target service is successfully issued to the blockchain system, wherein the second settlement transaction comprises first information and third information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the user and the provider corresponding to the target service, the third information is confirmed by the intermediate party and the user, the fourth transaction notification includes second settlement information associated with the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information; receiving, through the communication interface, a second settlement completion transaction request sent by the first settlement device when the settlement of the target service is completed, where the second settlement completion transaction request is used to request an intermediate settlement device of the intermediate party to verify a settlement result of the target service; generating a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request; issuing the second settlement completion transaction to the blockchain system through the communication interface, the second settlement completion transaction being used to notify the intermediate settlement device to verify a settlement result of the target service.
In a seventh aspect, an embodiment of the present application provides a blockchain system, including at least one service clearing device of a first service clearing device, a second service clearing device, or a third service clearing device, where:
the first service settlement device is the service settlement device provided in the fourth aspect;
the second service settlement apparatus is the service settlement apparatus as provided in the fifth aspect above;
the third service settlement apparatus is the service settlement apparatus as provided in the sixth aspect above.
In an eighth aspect, an embodiment of the present application provides a computer storage medium for storing computer program instructions for a service settlement apparatus, which includes a program for executing the first aspect.
In a ninth aspect, embodiments of the present application provide a computer storage medium for storing computer program instructions for a service settlement apparatus, which includes instructions for executing the program according to the second aspect.
In a tenth aspect, an embodiment of the present application provides a computer storage medium for storing computer program instructions for a service settlement apparatus, which includes instructions for executing the program according to the third aspect.
According to the method, on one hand, the first information, the second information and the third information corresponding to the target business do not need to be checked in a manual account checking mode, and the settlement efficiency is improved; on the other hand, when the service is finished, the settlement between the service intermediate party and the service provider, and between the service intermediate party and the service user can be realized, the settlement can be carried out on the service in time, and the fund pressure of the service provider and the service intermediate party is relieved.
Drawings
In order to more clearly explain the technical solutions in the present application or the background art, the drawings used in the present application or the background art will be described below.
Fig. 1 is a schematic diagram of a monthly settlement process between TMC and a hotel provided by the present application;
fig. 2 is a schematic diagram of monthly settlement flow between TMC and enterprises provided by the present application;
FIG. 3 is a diagram of a system architecture provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of the composition and connection of a blockchain provided by an embodiment of the present application;
fig. 5 is a schematic flowchart of a service settlement method provided in an embodiment of the present application;
FIG. 6 is a transaction data structure of a transaction in a blockchain system provided by an embodiment of the present application;
fig. 7 is a flowchart illustrating a first settlement transaction issued to the blockchain system by the second service settlement device according to an embodiment of the present disclosure;
fig. 8 is a specific flow of the first service settlement device issuing the second settlement transaction to the blockchain system according to the embodiment of the present application;
FIG. 9 is a schematic flow chart of another settlement method provided in the embodiments of the present application;
FIG. 10 is a schematic flow chart of another settlement method provided in the embodiments of the present application;
fig. 11 is a schematic structural diagram of a service clearing apparatus according to an embodiment of the present application;
fig. 12 is a schematic diagram of a possible structure of a service settlement apparatus provided in an embodiment of the present application;
fig. 13 is a schematic structural diagram of another service settlement apparatus provided in an embodiment of the present application;
fig. 14 is a schematic diagram of a possible structure of a service settlement apparatus provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of another service clearing apparatus provided in the embodiment of the present application;
fig. 16 is a schematic diagram of a possible structure of a service clearing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The main principles of the technical solution of the present application may include: the block chain system is deployed among a plurality of untrusted systems which have business coming and going and respectively record business information, information related to the business in the process from generation to completion of the business is confirmed by both parties and then recorded on the block chain system, the non-falsification of the block chain system ensures that the information related to the business is the same as that recorded on the block chain system when the business is completed, and under the condition of settlement of the business, information which is not falsified is obtained from the block chain system for settlement, and the information is confirmed when the business is generated and then recorded on the block chain system and is not falsified, so that the information does not need to be checked again during settlement, and the settlement can be directly carried out; the processing mechanism of the block chain system is that corresponding settlement is triggered when one service is finished, so that real-time settlement is realized.
The scheme of the application can be applied to a blockchain system deployed among a plurality of untrusted systems with business coming and going, such as a service provider (such as a hotel), a service intermediate party (such as TMC) and a service user (such as an enterprise), wherein, the first settlement device of the service user, the intermediate settlement device of the service intermediary and the second settlement device of the service provider access the blockchain system, the system architecture of the present application can be as shown in figure 3, the first settlement device, the second settlement device and the middle settlement device are respectively connected with different block chain processing devices, the block chain processing devices are connected to form a block chain system, and a service provider, a service middle party and a service user can respectively trigger the corresponding settlement devices to process the services through the corresponding service applications.
To facilitate understanding of the solution of the present application, some principles of the blockchain system involved in the solution of the present application are first described before the solution of the present application is described.
1. The blockchain system is a distributed system placed in an insecure environment, all nodes in the blockchain system can perform distributed storage on the same data/block, the stored content of each node is the same, no central node is arranged in the blockchain system (namely decentralized), and the nodes can directly interact with each other.
2. The block chain system adopts a cryptographic method to ensure that data in the block chain is not tampered, and the cryptographic method used in the block chain system mainly comprises a hash (hash) function and an asymmetric encryption technology, wherein the hash function is used for verifying the integrity of information, and the asymmetric encryption technology is used for information encryption and identity verification. In the blockchain system, the service information is written in the blocks, the blockchain formed by the blocks can start from the second block as shown in fig. 4, each block contains the hash value of all the blocks before the block, the blocks stored in the blockchain system are chained together according to the generation time, and each data in the blocks has the digital signature of the initiator to ensure the authenticity and the validity.
3. The blockchain system adopts a consensus algorithm to achieve consensus on the newly added data, so that all nodes in the blockchain system achieve consensus on the newly added block in the blockchain system, i.e. the newly added block is approved. Based on a few majority-compliant principles, nodes in the blockchain system will recognize the latest data/blocks that are subject to consensus and update synchronously, wherein the consensus algorithms include, but are not limited to, Proof of workload (PoW) algorithm, Proof of rights (PoS) algorithm, granted Proof of rights (DPoS) algorithm, Practical Byzantine Fault Tolerance (PBFT) algorithm, and so on.
Based on the principle, the blockchain system performs distributed storage on the data, and once the information which is confirmed by the consensus of each node is stored in the blockchain system, the information cannot be tampered.
The scheme of the present application is described next. Referring to fig. 5, fig. 5 is a schematic flow chart of a service settlement method provided in an embodiment of the present application, and as shown in the figure, the method includes:
and S301, the second settlement device sends a second transaction settlement request to the second service settlement device, and the second service settlement device receives the second transaction settlement request, wherein the second transaction settlement request is used for requesting an intermediate settlement device corresponding to the target service to settle the target service.
In this embodiment, the second settlement device is a settlement device of a provider corresponding to the target service, and the target service is a service/product provided by the provider to the user. The second settlement device may be, for example, a settlement device of a hotel, a settlement device of a restaurant, a settlement device of a product manufacturer, or the like; correspondingly, the target business may be, for example, accommodation business provided by a hotel, catering business provided by a restaurant, production of products provided by a manufacturer, and the like.
In the embodiment of the present application, the intermediate settlement device is a settlement device of an intermediate party corresponding to the target service, and the intermediate settlement device may be, for example, a settlement device of TMC, a settlement device of a product distributor, or the like.
The second service settlement device may be a blockchain processing device disposed on the provider side, for example, the second service settlement device may be the blockchain processing device 3 in the system architecture shown in fig. 3, and the second service settlement device may receive transaction requests sent by various devices connected to the second service settlement device, verify the transaction requests, and then generate a transaction corresponding to the transaction request, where the second service settlement device verifies that the transaction requests mainly verify signature information carried in the transaction requests, and the signature information is used to prove the identity of the transaction request sent.
In this embodiment of the application, the second settlement device sends a second transaction request to the second service settlement device when determining that the target service is ended, where the second transaction request may carry signature information of a provider, and the signature information of the provider is information obtained by encrypting a private key allocated to the provider by using a blockchain system.
Optionally, the second transaction request may further carry identification information for indicating a target service, where the identification information may be used to uniquely indicate the target service and three parties corresponding to the target service (i.e., a provider, a user, and an intermediary party corresponding to the target service) in the blockchain system; the identification information may be a service identifier allocated by the blockchain system for the target service, or may be at least one of an identifier of the second settlement device, an identifier of the intermediate settlement device, or an identifier of the first settlement device, and a part of service parameters of the target service.
In some possible embodiments, the second settlement apparatus may determine that the target service is ended according to a service settlement request sent by a service application corresponding to the second settlement apparatus, the second settlement apparatus may also determine that the target service is ended according to an operation of a user of the provider (e.g., a settlement clerk/waiter of the provider), and the second settlement apparatus may also determine that the target service is ended according to a target service end notification sent by the second service settlement apparatus, which is not limited to the description herein.
Specifically, for example, the target service is hotel accommodation service, the second service settlement device is a settlement device for a hotel, and the process of determining the end of the target service by the second service settlement device may be: 1) when the user accommodation of the user is finished, the service staff of the hotel finishes the accommodation order of the user on the order management system of the hotel; 2) the order management system of the hotel initiates an order confirmation request to the service system of the user, and requests the user of the user to confirm the dates of the stay and the departure; 3) the business system of the user side requests the user of the user side to acquire the confirmation of the user side by displaying the dates of the residential shop and the departure shop; 4) the user of the user confirms on the service system of the user; 5) the service system of the user sends a confirmation response to the order management system of the hotel to indicate that the stay and the departure date are correct; 6) the order management system of the hotel finishes the order and sends a target service finish notice to the second settlement device, wherein the target service finish notice is used for notifying the second settlement device that the target service corresponding to the accommodation order is finished; in another embodiment, the order management system of the hotel finishes the order, displays that the order is finished successfully to the hotel operator, and the hotel operator determines that the service corresponding to the accommodation order is finished on the second settlement device.
S302, the second service settlement device generates a first settlement transaction according to the second transaction settlement request, wherein the first settlement transaction comprises first information and second information corresponding to the target service.
In the embodiment of the application, the second service settlement device verifies the second transaction settlement request before generating the first settlement transaction, wherein the second settlement device verifies the signature information of the provider, which is carried in the second transaction settlement request.
Specifically, the second settlement device verifies the signature information of the provider by using a public key allocated to the provider corresponding to the target service by using the blockchain system.
In this embodiment of the application, the second service settlement apparatus obtains first information and second information corresponding to the target service from the blockchain system according to the second transaction settlement request, and fills the first information and the second information according to a preset transaction data structure to form a first settlement transaction, where the first information is information stored in the blockchain system after being confirmed by a provider corresponding to the target service and a user corresponding to the target service, and the second information is information stored in the blockchain system after being confirmed by an intermediary party corresponding to the provider corresponding to the target service and the target service.
Specifically, the transaction data structure may include a number, a version, a transaction type, a transaction parameter, and the like, wherein the transaction number is used to uniquely identify the transaction in the blockchain system, or the number is used to uniquely identify the target service in the blockchain system, and the version refers to a version of the transaction data structure, such as V1, V2, and the like; the transaction type refers to an attribute of the transaction, for example, the transaction type of the first settlement transaction is "settlement", and the transaction parameter is parameter information related to the target service, such as identity information of a provider corresponding to the target service, identity information of a sender corresponding to the target service, service information corresponding to the target service, and the like. For example, the target service is a hotel accommodation service, the provider corresponding to the target service is a hotel, the intermediary party is TMC, and the user is an enterprise, the transaction data structure may be as shown in fig. 6, and the transaction parameters specifically include a restaurant number, a room model, an in-live date, an out-of-store date, a daily room price, a settlement type, and the like; the hotel number, the room type, the check-in date and the check-out date are first information, namely information which is stored in the block chain system after being confirmed by a provider corresponding to the target service and a user corresponding to the target service, wherein the hotel number, the room type and the check-in date can be stored in the block chain system after being confirmed by the user and the hotel in the process that the user of the user uses the hotel lodging service, and the check-out date can be stored in the block chain system after being confirmed by the user and the hotel after the user finishes using the hotel lodging service; the daily room price is second information, namely information which is stored in the block chain system after being confirmed by a provider corresponding to the target service and an intermediary corresponding to the target service, wherein the daily room price can be stored in the block chain system before a user of a user uses the hotel accommodation service or after being confirmed by the intermediary and the hotel in the process that the user of the user uses the hotel accommodation service, and the daily room price in the first settlement transaction is the room price agreed by the hotel and the TMC; the settlement type indicates both parties of settlement, for example, the settlement type of the first settlement transaction is settlement between a hotel and TMC, and optionally, the settlement type may include identity information of both parties of settlement, for example, the settlement type of the first settlement transaction includes identity information of a provider corresponding to the target service and an intermediary corresponding to the target service, and the identity information may be an account address (e.g., a public key of both parties of settlement) allocated to both parties of the settlement by the block chain system, a communication address (e.g., an IP address, a MAC address, etc.) of a settlement device of both parties of settlement, or a character number allocated to both parties of the settlement by the block chain system, and is not limited to the description herein.
S303, the second service settlement apparatus issues the first settlement transaction to the blockchain system.
In this embodiment, as shown in fig. 3, the blockchain system may include a plurality of blockchain processing devices, where the plurality of blockchain processing devices include, but are not limited to, a first service settlement device, a second service settlement device, and a third service settlement device in this embodiment.
The specific process of the second service settlement device issuing the first settlement transaction to the blockchain system may be as shown in fig. 7, and the specific process is as follows:
s3031, the second service clearing device sends the first settlement transaction to the current blockchain management device in the blockchain system, and the blockchain management device receives the first settlement transaction.
Here, the blockchain management device (leader) is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism in the blockchain system for packing the transactions that are not yet packed and are currently generated in the blockchain system, and all blockchain processing devices in the blockchain system select the blockchain management device according to a certain period. The block chain management device may be any one of the block chain processing devices in the block chain system, and for example, the block management device may be a first service settlement device, a second service settlement device, a third service settlement device, or a block chain processing device in the block chain system other than the first service settlement device, the second service settlement device, and the third service settlement device.
Optionally, when the current blockchain management device in the blockchain system is the second service clearing device, the blockchain management device directly performs step S3032, that is, when the second service clearing device generates the first settlement transaction, the second service clearing device directly performs transaction verification on the first settlement transaction.
S3032, the block chain management apparatus performs a transaction check on the first resultant transaction.
Here, the blockchain management apparatus verifies the transaction data structure of the first settlement transaction, the signature information of the first settlement transaction, and the like.
In the case where the transaction check on the first resultant transaction passes, the block chain management apparatus performs step S3033.
S3033, the blockchain management device sends the first transaction to other blockchain processing devices in the blockchain system, and the other blockchain processing devices receive the first transaction.
Here, the other blockchain processing device refers to a blockchain processing device other than the blockchain management device in the blockchain system, and for example, the blockchain system includes a first service settlement device, a second service settlement device, a third service settlement device, and a first blockchain processing device, and if the current blockchain management device is the first service settlement device, the other blockchain processing device is the first service settlement device, the third service settlement device, and the first blockchain processing device.
S3034, the other block chain processing device performs transaction check on the first calculation transaction.
Specifically, the other blockchain processing device checks the transaction data structure of the first transaction, the signature information of the first transaction, and the like.
S3035, the other block chain processing device sends a first transaction verification result obtained by performing transaction verification on the first calculation transaction to the block chain management device, and the block chain management device receives the first transaction verification result.
After receiving all the first transaction verification results sent by the other blockchain management devices, the blockchain management device determines whether the first calculated transaction passes the verification of the blockchain system according to a transaction verification result obtained by performing transaction verification on the first calculated transaction by all blockchain processing devices (here, the blockchain management device and the other blockchain devices) in the blockchain system on the basis of a minority-majority principle.
Specifically, when a transaction verification result obtained by performing transaction verification on the first calculation transaction by the most part of the blockchain processing devices in the blockchain system passes, the blockchain management device determines that the first calculation transaction passes through verification of the blockchain system; and under the condition that a transaction checking result obtained by the majority of blockchain processing devices in the blockchain system performing transaction checking on the first calculation transaction is invalid, the blockchain management device determines that the first calculation transaction is not checked by the blockchain system.
For example, there are 10 blockchain processing devices in the blockchain system, if all transaction verification results obtained by performing transaction verification on the first calculated transaction by 8 blockchain processing devices of the 10 blockchain processing devices pass, the blockchain management device determines that the first calculated transaction passes verification of the blockchain system, and if all transaction verification results obtained by performing transaction verification on the first calculated transaction by 6 blockchain processing devices of the 10 blockchain processing devices do not pass, the blockchain management device determines that the first calculated transaction does not pass verification of the blockchain system.
For another example, a PBFT algorithm is adopted in the block chain system to achieve consensus on the newly added data, and the judgment principle of the PBFT algorithm is as follows: the total number of the nodes is greater than or equal to 3f +1, if the voting result of 2f +1 nodes in the 3f +1 nodes is passed, the voting result is judged to be passed, otherwise, the voting result is judged not to be passed. Assuming that the block chain has 10 block chain processing devices in total, if the transaction verification results obtained by verifying the first result transaction by more than 7 block chain processing devices in the 10 block chain processing devices are all passed, the block chain management device determines that the first result transaction passes the verification of the block chain system, otherwise, the block chain management device determines that the first result transaction does not pass the verification of the block chain system.
It should be noted that the above example is only used for explaining that the blockchain management device determines whether the first resultant transaction passes the check of the blockchain system according to the transaction check result obtained by performing the transaction check on the first resultant transaction by all the blockchain processing devices in the blockchain system based on the principle of the minority majority based on the minority majority, and in an alternative embodiment, the blockchain management device may also determine whether the first resultant transaction passes the check of the blockchain system according to another consensus algorithm based on the minority majority, which is not limited in this application.
In the case that the first resultant transaction passes the verification of the blockchain system, the blockchain management device performs step S3036.
S3036, the block chain management apparatus constructs a second block corresponding to the first calculation transaction.
Here, the blockchain management device packs all the transactions which are generated in the blockchain system and are not packed yet, and constructs and forms a second block, wherein all the transactions which are not packed include the first settlement transaction.
S3037, the blockchain device sends the second block to other blockchain processing devices in the blockchain system, and the other blockchain processing devices receive the second block.
S3038, the other block chain processing device checks the second block.
S3039, the other blockchain processing device sends a check response to the blockchain management device according to the check result of the second block, and the blockchain management device receives the check response.
After receiving all the check responses sent by the other blockchain management devices, the blockchain management device determines whether the first calculated transaction passes the check of the blockchain system according to the check result of the second block checked by all the blockchain processing devices (here, the blockchain management device and the other blockchain devices) in the blockchain system on the basis of a minority-majority principle.
Specifically, when the result of checking the second block by the majority of blockchain processing devices in the blockchain system is that the second block passes, the blockchain management device determines that the second block passes the checking of the blockchain system; in the case where the result of checking the second block by the majority of the blockchain processing devices in the blockchain system is non-pass, the blockchain management device determines that the second block does not pass the checking of the blockchain system.
In the case that the second block passes the verification of the blockchain system, the blockchain management device performs step S30310.
S30310, the blockchain management device sends a first saving instruction to the other blockchain processing device, and the other blockchain processing device receives the first saving instruction, where the first saving instruction is used to instruct the other blockchain processing device to save the second block.
S30311, all the blockchain processing devices in the blockchain system store the second block.
Steps S3031 to S30311 are transaction persistence processes of the first resultant transaction, after the transaction persistence process, the second block corresponding to the first resultant transaction is stored in each block chain processing apparatus in the block chain system in a distributed manner, that is, after the transaction persistence process, the second block corresponding to the first resultant transaction is stored in the first service settlement apparatus, the second service settlement apparatus, the third service settlement apparatus, and the other block chain processing apparatuses in the block chain system except the first service settlement apparatus, the second service settlement apparatus, and the third service settlement apparatus, respectively.
S304, the first service settlement device sends a first transaction notification to the intermediate settlement device according to the first settlement transaction, and the intermediate settlement device receives the first transaction notification, wherein the first transaction notification comprises first settlement information related to the first information and the second information.
The first service settlement apparatus may be a blockchain processing apparatus disposed on the mediator side, for example, the first service settlement apparatus may be the blockchain processing apparatus 2 in the system architecture shown in fig. 3. The first service settlement device transmits a transaction notification to the intermediate settlement device when receiving and successfully saving the transaction associated with the intermediate settlement device.
Here, the first service settlement apparatus may identify and determine the first settlement transaction as a transaction associated with the intermediate settlement apparatus and transmit a transaction notification to the intermediate settlement apparatus according to:
in some possible implementations, the first settlement transaction carries an identity of the intermediate settlement device, the first service settlement device determines that the first settlement transaction is a transaction related to the intermediate settlement device according to the identity of the intermediate settlement device, and the first service settlement device sends a first transaction notification to the intermediate settlement device according to the identity of the intermediate settlement device.
In other possible embodiments, if the first service settlement apparatus and the intermediate settlement apparatus are in a one-to-one correspondence relationship, the first settlement transaction may also carry an identity of the first service settlement apparatus, and the first service settlement apparatus determines that the first settlement transaction is a transaction associated with the intermediate settlement apparatus according to the identity of the first service settlement apparatus, and sends a first transaction notification to the intermediate settlement apparatus.
In other possible implementations, the first settlement transaction does not carry an identifier of the intermediate settlement device, the first service settlement device may determine, according to a content in a transaction data structure corresponding to the first settlement transaction, that the first settlement transaction is a transaction associated with the intermediate settlement device, and the first service settlement device obtains the identifier of the intermediate settlement device and then sends a notification of the first transaction to the intermediate settlement device according to the identifier of the intermediate settlement device. Specifically, for example, if the transaction data structure of the first settlement transaction is as shown in fig. 6, the first service settlement device determines that the first settlement transaction is a settlement between a hotel and a TMC according to the settlement type, searches a record matching the hotel number, the house type number, and the check-in date in the blockchain system according to the restaurant number, the house type number, and the check-in date, and determines that the first settlement transaction is a transaction associated with an intermediate settlement device if the record corresponds to the intermediate settlement device.
In the embodiment of the present application, the first settlement information related to the first information and the second information has the following two cases:
1) the first settlement information is first information and second information.
2) The first settlement information is information obtained by calculating the first information and the second information.
For example, the target service is a hotel accommodation service, as described above, the restaurant number, the house type, the check-in date and the departure date are first information, and the daily room price is second information, and then the first settlement information may be the restaurant number, the house type, the check-in date, the departure date and the daily room price; the first settlement information may be total amount information calculated from the check-in date, the leaving date, and the daily rate.
S305, the intermediate settlement device settles the target service according to the first settlement information.
Here, when the first settlement information is the first information and the second information, the intermediate settlement device performs calculation based on the first information and the second information to determine an amount of money corresponding to the target service to be paid to the provider, and then transmits a payment notification to the settlement institution to notify the settlement institution of the amount of money corresponding to the target service to be paid to the provider.
When the first settlement information is information obtained by calculating the first information and the second information, the intermediate settlement device transmits a payment notification to the settlement institution, and notifies the settlement institution to pay the provider the amount of money of the first settlement information.
Here, the settlement institution may be an institution that provides payment services to both parties of settlement, such as a bank, a payment treasurer, and the like.
The intermediate settlement device executes step S306 upon receiving the payment completion response sent by the settlement institution.
S306, the intermediate settlement device sends a first transaction settlement request to the first service settlement device, and the first service settlement device receives the first transaction settlement request, where the first transaction settlement request is used to request the first settlement device corresponding to the target service to settle the target service.
In the embodiment of the present application, the first settlement device is a settlement device of a user corresponding to the target service, and the first settlement device may be, for example, a settlement device of an enterprise, a settlement device of a product retailer, or the like.
Optionally, the first transaction settlement request may carry signature information of the intermediate party, where the signature information of the intermediate party is obtained by encrypting a private key distributed to the intermediate party by using a block chain system; the first transaction settlement request may further carry identification information for indicating the target service, where the identification information may be used to uniquely indicate the target service and a third party corresponding to the target service in the blockchain system, and the specific content of the identification information may refer to the description in step S301, which is not described herein again.
S307, the first service settlement device generates a second settlement transaction according to the first transaction request, wherein the second settlement transaction comprises first information and third information corresponding to the target service.
In the embodiment of the application, the first service settlement device verifies the first transaction request before generating the second settlement transaction, wherein the first service settlement device verifies the signature information of the intermediate party carried in the first transaction request.
Specifically, the first service settlement device verifies the signature information of the intermediary party by using a public key distributed by the block chain system for the intermediary party corresponding to the target service.
In this embodiment of the application, the first service settlement apparatus obtains first information and third information corresponding to the target service from the blockchain system according to the first transaction request, and fills the first information and the third information according to a preset transaction data structure to form a second settlement transaction, where the third information is information stored in the blockchain system after being confirmed by an intermediary party corresponding to the target service and a user party corresponding to the target service, and the specific content of the transaction data structure may refer to the description of step S302.
Specifically, for example, if the target service is a hotel accommodation service, the daily room price is third information, the daily room price in the second settlement transaction is TMC and a room price agreed by an enterprise, the transaction type of the second settlement transaction is "settlement", the settlement type of the second settlement transaction is a settlement between a user and an intermediate party, for example, a settlement between TMC and an enterprise, optionally, the settlement type of the second settlement transaction includes the intermediate party corresponding to the target service and the user identity information corresponding to the target service, and specific content of the identity information may refer to the description in step S302, which is not described herein again.
S308, the first service settlement device issues the second settlement transaction to the blockchain system.
The specific process of the first service settlement device issuing the second settlement transaction to the blockchain system may be as shown in fig. 8, and the specific process is as follows:
s3081, the first service clearing device sends the second clearing transaction to the current blockchain management device in the blockchain system, and the blockchain management device receives the second clearing transaction.
The detailed contents of the block chain management apparatus may refer to the description of step 3031, and are not described herein again. Here, the blockchain management device and the blockchain management device in step S3031 may be the same blockchain processing device, for example, both the first service settlement device and the different blockchain management device, for example, the current blockchain management device in step S3031 is the first service settlement device, and the current blockchain management device in step S3081 is the second service settlement device.
Optionally, when the current blockchain management device in the blockchain system is the first service clearing device, the blockchain management device directly performs step S3082, that is, when the first service clearing device generates the second clearing transaction, the transaction verification is directly performed on the second clearing transaction.
S3082, the blockchain management device performs a transaction check on the second settled transaction.
S3083, the blockchain management device sends the second settlement transaction to other blockchain processing devices in the blockchain system, wherein the blockchain processing devices receive the second settlement transaction.
S3084, the other blockchain processing device performs transaction verification on the second settlement transaction.
S3085, the other block chain processing device sends a second transaction verification result obtained by performing transaction verification on the second settlement transaction to the block chain management device, and the block chain management device receives the second transaction verification result.
S3086, the block chain management device constructs a fifth block corresponding to the second settlement transaction.
S3087, the blockchain device sends the fifth block to other blockchain processing devices in the blockchain system, and the other blockchain processing devices receive the fifth block.
S3088, the other block chain processing device checks the fifth block.
S3089, the other blockchain processing device sends a check response to the blockchain management device according to the check result of the fifth block, and the blockchain management device receives the check response.
S30810, the blockchain management device sends a second save instruction to the other blockchain processing device, and the other blockchain processing device receives the second save instruction, where the second save instruction is used to instruct the other blockchain processing device to save the fifth block.
S30811, all the blockchain processing devices in the blockchain system save the fifth block.
Steps S3081 to S30811 are transaction persistence processes of the second settlement transaction, where the transaction persistence process of the second settlement transaction may refer to the transaction persistence process of the first settlement transaction, that is, refer to the detailed descriptions of steps S3031 to S30311, after the transaction persistence process, the fifth block corresponding to the second settlement transaction is stored in each block chain processing apparatus in the block chain system in a distributed manner, that is, after the transaction persistence process, the fifth block corresponding to the second settlement transaction is stored in the first service settlement apparatus, the second service settlement apparatus, the third service settlement apparatus, and other block chain processing apparatuses in the block chain system except the first service settlement apparatus, the second service settlement apparatus, and the third service settlement apparatus.
S309, the third service settlement apparatus sends a fourth transaction notification to the first settlement apparatus, and the first settlement apparatus receives the fourth transaction notification, which includes second settlement information associated with the first information and the third information.
In the present embodiment, the third service settlement apparatus may be a blockchain processing apparatus disposed on the user side, for example, the third service settlement apparatus may be the blockchain processing apparatus 1 in the system architecture shown in fig. 3. The third service settlement device sends a transaction notification to the first settlement device in the event that the transaction associated with the first settlement device is received and successfully saved.
For a specific implementation manner in which the third service settlement apparatus identifies and determines that the second settlement transaction is a transaction associated with the first settlement apparatus and sends the transaction notification to the first settlement apparatus, reference may be made to a specific implementation manner in which the first service settlement apparatus identifies and determines that the first settlement transaction is a transaction associated with the intermediate settlement apparatus and sends the transaction notification to the intermediate settlement apparatus in step S304, which is not described herein again.
For the second settlement information associated with the first information and the third information, reference may be made to the first settlement information associated with the first information and the second information in step S304, and details thereof are not repeated here.
And S310, the first settlement device settles the target service according to the second settlement information.
The specific implementation manner of the first settlement device settling the target service according to the second settlement information may refer to the description of the intermediate settlement device settling the target service according to the first settlement information in step S305, and is not described herein again.
The settlement institution used by the first settlement device to settle the target service may be different from the settlement institution used by the intermediate settlement target service.
In order to better understand and implement the solution of the embodiment of the present application, the solution of the embodiment of the present application is introduced below through a specific scenario, and it is assumed that the target service is a hotel accommodation service.
Before settlement, there is a process of order creation and service usage, the process of order creation is as follows:
1. the hotel issues accommodation service resources such as the house type of the hotel and the corresponding house price to the TMC within a period of time in the future (for example, one week, two weeks, etc. in the future) according to the cooperation agreement signed with the TMC, the accommodation service resources may be, for example, as shown in table 1, and the accommodation service resources in table 1 are issued to the blockchain system after being confirmed by the hotel and the TMC, where the house prices corresponding to different house types on different dates are second information. Here, the accommodation service resources in table 1 may be distributed to the blockchain system by the blockchain processing apparatus (second service settlement apparatus) disposed on the hotel side, or may be distributed to the blockchain system by the blockchain processing apparatus (first service settlement apparatus) disposed on the TMC side.
Figure BDA0001565812770000151
TABLE 1
2. The TMC publishes lodging resources such as the house types and corresponding house prices of each hotel to an enterprise in a period of time in the future according to the lodging resources published by the hotels, for example, the lodging resources can be as shown in table 2, and the lodging business resources in table 2 are published to the block chain system after being confirmed by the TMC and the enterprise, wherein the house prices corresponding to different hotels, different dates and different house types are third information. Here, the accommodation service resources in table 2 may be distributed to the blockchain system by the blockchain processing apparatus (first service settlement apparatus) disposed on the TMC side, or may be distributed to the blockchain system by the blockchain processing apparatus (third service settlement apparatus) disposed on the enterprise side.
Figure BDA0001565812770000152
Figure BDA0001565812770000161
TABLE 2
3. The employees of the enterprise select the hotel to check in, the date to leave the store and the type of house to check in according to the lodging resources provided by TMC.
4. The TMC creates a reservation order for the staff of the enterprise, wherein the content of the reservation order comprises a hotel checked in, a house type checked in, a date of check in, a date of departure from the store and a price corresponding to the house type checked in.
5. The hotel determines a reservation order for TMC.
The service usage procedure is as follows:
6. the employees of the enterprise check in, and the hotel and the employees of the enterprise confirm the actual check-in date and the actual check-in house type and then distribute the actual check-in date and the actual check-in house type to the blockchain system, wherein the actual check-in date, the actual check-in house type and the hotel are first information, and the first information can be distributed to the blockchain system by the blockchain processing device deployed at the enterprise side or the blockchain processing device deployed at the hotel side.
7. After the employees of the enterprise finish lodging and prepare leaving the shop, the hotel and the employees of the enterprise confirm the actual leaving date of the shop and then are released to the blockchain system, wherein the actual leaving date of the shop is first information, and the first information can be released to the blockchain system by the blockchain processing device arranged at the enterprise side or the blockchain processing device arranged at the hotel side.
After the employee leaves the hotel, the hotel can settle the business used by the employee, and the business settlement process is as follows:
8. the settlement device of the hotel sends a transaction settlement request to the blockchain processing device deployed at the hotel side, the blockchain processing device deployed at the hotel side searches for the check-in date, the leaving date and the house type corresponding to the service and the house price (here, the house price issued by the hotel to the TMC) corresponding to the house type in the blockchain system according to the transaction settlement request, generates a first settlement transaction, and issues the first settlement transaction to the blockchain system.
9. The block chain processing device deployed at the TMC side notifies the settlement device of the TMC to settle according to the settlement event notification mechanism of the block chain system.
10. The settlement means for TMC performs settlement.
11. After the settlement by the TMC settlement device is completed, the transaction settlement request is sent to the blockchain processing device disposed on the TMC side, and the blockchain processing device disposed on the TMC side searches for the check-in date, the leaving date, the house type and the corresponding house price (here, the house price issued by the TMC to the enterprise) corresponding to the service in the blockchain system according to the transaction settlement request, generates a second settlement transaction, and issues the second settlement transaction to the blockchain system.
12. The blockchain processing device deployed at the enterprise side informs the settlement device of the enterprise to settle according to a settlement event notification mechanism of the blockchain system.
13. The settlement device of the enterprise settles the account.
According to the process, the information related to the business is confirmed by the two related parties and then is stored in the blockchain system in advance, the non-falsification of the blockchain system ensures that the information related to the business is real and reliable, and the information does not need to be checked manually during settlement because the information is confirmed in advance and is not falsified, so that the settlement efficiency can be improved; in addition, because each service is settled separately, the related settlement can be carried out after the service is finished, and the real-time settlement can relieve the fund pressure of multiple parties.
In some possible embodiments, after the settlement of the target service, the settlement sponsor (service provider/service intermediary) of the target service may be notified to verify the settlement result to confirm that the settlement of the target service is completed and correct, and a specific settlement flow between the settlement sponsor and the settlement sponsor, i.e., both parties, of the target service is described below.
Referring to fig. 9, fig. 9 is a schematic flowchart of another settlement method provided in an embodiment of the present application, where both parties involved in the settlement method are a service provider and a service intermediary party, and the method includes:
s401, the second settlement device sends a second transaction settlement request to the second service settlement device, and the second service settlement device receives the second transaction settlement request, wherein the second transaction settlement request is used for requesting an intermediate settlement device corresponding to the target service to settle the target service.
S402, the second service settlement device generates a first settlement transaction according to the second transaction settlement request, wherein the first settlement transaction comprises first information and second information corresponding to the target service.
S403, the second service settlement device issues the first settlement transaction to the blockchain system.
S404, the first service settlement apparatus sends a first transaction notification to an intermediate settlement apparatus according to the first settlement transaction, and the intermediate settlement apparatus receives the first transaction notification, wherein the first transaction notification includes first settlement information associated with the first information and the second information.
S405, the intermediate settlement device settles the target service according to the first settlement information.
In the embodiment of the present application, the specific implementation manners of steps S401 to S405 may refer to the specific implementation manners of steps S301 to 305, and are not described herein again.
Here, the intermediate settlement apparatus executes step S406 upon receiving the payment completion response transmitted by the settlement institution.
S406, the intermediate settlement device sends a first settlement completing transaction request to the first service settlement device, and the first service settlement device receives the first settlement completing transaction request, where the first settlement completing transaction request is used to request the second settlement device to verify a settlement result of the target service.
Optionally, the first settlement completion transaction request may carry signature information of the intermediary party; the first settlement completion transaction request may also carry identification information of the target service, where the identification information may be used to uniquely indicate the target service and a third party corresponding to the target service in the blockchain system, and the specific content of the identification information may refer to the description in step S301, which is not described herein again.
S407, the first service settlement apparatus generates a first settlement completed transaction corresponding to the target service according to the first settlement completed transaction request.
S408, the first service settlement apparatus issues the first settlement completed transaction to the blockchain system.
Here, the specific implementation of steps S407 to S408 may refer to the description of steps S302 to S303 described above, with the difference that: 1) the first settlement completion transaction carries the signature information of the intermediate party; 2) the first settlement completion transaction is generated by the first service settlement device and sent to the block chain management device; 3) in a transaction data structure corresponding to the first settlement completion transaction, the transaction type of the first settlement completion transaction is 'settlement completion'; 4) in the persistence process of the first settlement completed transaction, the block corresponding to the first settlement completed transaction generated by the block chain management device is a fourth block, and the fourth block is stored in each block chain processing device in the block chain system in a distributed manner, namely after the transaction persistence process, the fourth block corresponding to the first settlement completed transaction is stored in the first service settlement device, the second service settlement device, the third service settlement device and other block chain processing devices in the block chain system except the first service settlement device, the second service settlement device and the third service settlement device; 5) the blockchain management device in the persistence process of the first resultant completed transaction and the blockchain management device in the persistence process of the first resultant transaction may not be the same blockchain processing device.
S409, the second service clearing device sends a third transaction notification to the second clearing device according to the first settlement completed transaction, and the second clearing device receives the third transaction notification.
Here, the specific implementation manner of step S409 may refer to the description of step S304, except that: the third transaction notification may carry an identifier of the target service, and is used to indicate a service corresponding to the settlement result verified by the second settlement device, that is, to indicate which service the second settlement device specifically needs to verify.
And S410, the second settlement device verifies the settlement result of the target service according to the third transaction notification.
Specifically, the second settlement device determines the target service according to the identifier of the target service, then sends a settlement result verification request to the settlement institution, requests the settlement institution to verify the settlement result of the target service, and receives a verification response sent by the settlement institution after verifying the settlement of the target service.
The second settlement device executes step S411 upon receiving a verification response that the verification transmitted by the settlement structure is successful.
S411, the second settlement device sends a second transaction settlement completion confirmation request to the second service settlement device, and the second service settlement device receives the second transaction settlement completion confirmation request.
S412, the second service settlement device generates a first settlement complete confirmation transaction corresponding to the target service according to the second transaction settlement complete confirmation request.
S413, the second service settlement device issues the first settlement completion confirmation transaction to the blockchain system.
In the embodiment of the present application, reference may be made to steps S301 to S303 for specific implementation of steps S411 to S413, where the difference is that: 1) in the transaction data structure corresponding to the first settlement completion confirmation transaction, the transaction type is 'settlement completion confirmation'; 2) in the transaction persistence process of the first settlement completion confirmation transaction, the block corresponding to the first settlement completion confirmation transaction generated by the block chain management device is a first block, and the first block is stored in each block chain processing device in the block chain system in a distributed manner, namely after the transaction persistence process, the first block corresponding to the first settlement completion confirmation transaction is stored in the first service settlement device, the second service settlement device, the third service settlement device and other block chain processing devices in the block chain system except the first service settlement device, the second service settlement device and the third service settlement device; 3) the blockchain management device in the persistence process of the first settlement completion confirmation transaction and the blockchain management device in the persistence process of the first settlement transaction may not be the same blockchain processing device.
In the embodiment of the application, the relevance judgment mechanism of the block chain system can inform the middle settlement device of completing settlement and inform the second settlement device of completing verification of the settlement result, all links in the settlement process between the provider corresponding to the target service and the middle party corresponding to the target service are recorded in the block chain system as transactions, the time certification and the non-falsification of the block chain system ensure that the first information and the second information of the target service used in the settlement process are real and reliable information, the first information and the second information corresponding to the target service do not need to be checked in a manual account checking mode, and the settlement efficiency is improved; in addition, the provider of the service can settle with the intermediate party after the target service is finished, all services do not need to be combined together for settlement, and the fund pressure of the provider is relieved.
Referring to fig. 10, fig. 10 is a schematic flowchart of another settlement method provided in an embodiment of the present application, where both parties involved in the settlement method are an intermediary party of a service and a user of the service, and the method includes:
s501, the intermediate settlement device sends a first transaction settlement request to the first service settlement device, and the first service settlement device receives the first transaction settlement request, where the first transaction settlement request is used to request the first settlement device corresponding to the target service to settle the target service.
S502, the first service settlement device generates a second settlement transaction according to the first transaction settlement request, wherein the second settlement transaction comprises first information and third information corresponding to the target service.
S503, the first service settlement device issues the second settlement transaction to the blockchain system.
S504, the third service settlement device sends a fourth transaction notification to the first settlement device according to the first settlement transaction, and the second settlement device receives the fourth transaction notification, where the fourth transaction notification includes second settlement information associated with the first information and the third information.
And S505, the first settlement device settles the target service according to the second settlement information.
The specific implementation manner of steps S501 to S505 can refer to the description of steps S306 to S310, and is not described herein again.
Here, the first settlement device executes step S506 upon receiving the payment completion response transmitted by the settlement institution.
S506, the first settlement device sends a second settlement completing transaction request to the third service settlement device, and the third service settlement device receives the second settlement completing transaction request, where the second settlement completing transaction request is used to request the intermediate settlement device to verify the settlement result of the target service.
And S507, the third service settlement device generates a second settlement completion transaction corresponding to the target service according to the second settlement completion transaction request.
S508, the third service settlement device issues the second settlement completed transaction to the blockchain system.
The specific implementation manner of steps S506 to S508 can refer to the description in steps S306 to S308, and the difference is that: 1) the second settlement completion transaction request carries signature information of a user; 2) the second settlement completion transaction is generated by the third service settlement device and is sent to the block chain management device; 3) in the transaction data structure corresponding to the second settlement completing transaction, the transaction type of the second settlement completing transaction is 'settlement completed'; 4) in the persistence process of the second settlement completion transaction, the block corresponding to the second settlement completion transaction generated by the block chain management device is a third block, and the third block is stored in each block chain processing device in the block chain system in a distributed manner, namely after the transaction persistence process, the third block corresponding to the second settlement completion transaction is stored in the first service settlement device, the second service settlement device, the third service settlement device and other block chain processing devices in the block chain system except the first service settlement device, the second service settlement device and the third service settlement device respectively; 5) the blockchain management device in the persistence process of the second settlement completion transaction and the blockchain management device in the persistence process of the second settlement transaction may not be the same blockchain processing device.
S509, the first service settlement device sends a second transaction notification to the intermediate settlement device according to the second settlement completed transaction, and the second settlement device receives the second transaction notification.
S510, the intermediate settlement device verifies the settlement result of the target service according to the second transaction notification.
S511, the intermediate settlement device sends a first transaction settlement completion confirmation request to the first service settlement device, and the first service settlement device receives the first transaction settlement completion confirmation request.
S512, the first service settlement device generates a second settlement completion confirmation transaction corresponding to the target service according to the first transaction settlement completion confirmation request.
S513, the first service settlement device issues the second settlement completion confirmation transaction to the blockchain system.
The specific implementation of steps S509 to S513 may refer to steps S409 to S413, but the difference is that: 1) the second settlement completion transaction confirmation request carries the signature information of the intermediate party; 2) the second settlement completion confirmation transaction is generated by the second service settlement device and is sent to the block chain management device; 3) in the transaction data structure corresponding to the second settlement completion confirmation transaction, the settlement type of the second settlement completion transaction is the settlement between the intermediate party and the user; 4) in the persistence process of the second settlement completion confirmation transaction, the block corresponding to the second settlement completion confirmation transaction generated by the block chain management device is a sixth block, and the sixth block is stored in each block chain processing device in the block chain system in a distributed manner, namely after the transaction persistence process, the sixth block corresponding to the second settlement completion confirmation transaction is stored in the first service settlement device, the second service settlement device, the third service settlement device and other block chain processing devices in the block chain system except the first service settlement device, the second service settlement device and the third service settlement device respectively; 5) the blockchain management device in the persistence process of the second settlement completion confirmation transaction and the blockchain management device in the persistence process of the first settlement completion confirmation transaction may not be the same blockchain processing device.
In the embodiment of the application, the relevance judgment mechanism of the block chain system can inform the first settlement device of completing settlement and inform the middle settlement device of completing verification of the settlement result, all links in the settlement process between the middle party corresponding to the target service and the applicable rooms corresponding to the target service are recorded in the block chain system as transactions, time certification and non-falsification of the block chain system ensure that the first information and the third information of the target service used in the settlement process are real and reliable information, the first information and the third information corresponding to the target service do not need to be checked in a manual account checking mode, and the settlement efficiency is improved; in addition, the intermediate party of the service can settle with the user after settling with the provider, and all services do not need to be combined together for settlement, so that the fund pressure of the intermediate party is relieved.
The method of the present application is described in detail above, and in order to better implement the above solution of the present application, the present application also provides a corresponding apparatus.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a service clearing apparatus according to an embodiment of the present application, the apparatus being configured to perform the steps performed by a first service clearing apparatus in the method embodiments corresponding to fig. 5 to fig. 10, the apparatus may be a block chain processing apparatus 2 in the system architecture shown in fig. 3, and as shown in the drawing, the apparatus 60 may include:
a first notification sending module 601, configured to, in a case that a first settlement transaction corresponding to a target service is successfully issued to the blockchain system, sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to the target service according to the first settlement transaction, wherein the first settlement transaction comprises first information and second information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information is confirmed by the provider and the intermediary, the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information;
a first request receiving module 602, configured to receive a first transaction settlement request initiated by the intermediate settlement apparatus when the settlement of the target service is completed, where the first transaction settlement request is used to request the first settlement apparatus of the user to settle the target service;
a first transaction generating module 603, configured to generate a second settlement transaction corresponding to the target service according to the first transaction settlement request, where the second settlement transaction includes the first information and third information corresponding to the target service that is pre-stored in the blockchain system after being confirmed by both parties, and the third information is confirmed by the intermediate party and the user;
a first transaction issuance module 604 for issuing the second settlement transaction to the blockchain system, the second settlement transaction being used to inform the first settlement device to settle the target service.
In some possible embodiments, the apparatus 60 may further include:
a second request receiving module 605, configured to receive a first settlement completing transaction request sent by the intermediate settlement device when the settlement of the target service is completed, where the first settlement completing transaction request is used to request the second settlement device of the provider to verify a settlement result of the target service;
a second transaction generating module 606, configured to generate a first settlement completing transaction corresponding to the target service according to the first settlement completing transaction request;
a second transaction issuing module 607, configured to issue the first settlement completed transaction to the blockchain system, where the first settlement completed transaction is used to notify the second settlement apparatus to verify the settlement result of the target service.
In some possible embodiments, the apparatus 60 may further include:
a first transaction receiving module 608, configured to receive a first result completion confirmation transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a common identification mechanism of the blockchain system;
a first block receiving module 609, configured to receive a first block corresponding to the first calculation completion confirmation transaction, sent by the blockchain management device when it is determined that the first calculation completion confirmation transaction passes the check of the blockchain system;
a first block saving module 610, configured to save the first block locally when receiving a first saving notification sent by the blockchain management device.
In some possible embodiments, the apparatus 60 may further include:
a second transaction receiving module 611, configured to receive the first computation transaction sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a common recognition mechanism of the blockchain system;
a second block receiving module 612, configured to receive a second block corresponding to the first calculated transaction, sent by the blockchain management device if it is determined that the first calculated transaction passes the check of the blockchain system;
a second block saving module 613, configured to determine that the first calculation transaction is successfully issued to the blockchain system and save the second block locally, in a case that a second saving notification sent by the blockchain management device is received.
In some possible embodiments, the apparatus may further include:
a second notification sending module 614, configured to send a second transaction notification to the intermediate settlement apparatus according to a second settlement complete transaction when the second settlement complete transaction corresponding to the target service is successfully issued to the blockchain system, where the second transaction notification is used to notify the intermediate settlement apparatus to verify a settlement result of the target service;
a third request receiving module 615, configured to receive a first transaction settlement completion confirmation request sent by the intermediate settlement apparatus when the settlement result is verified to be correct;
a third transaction generating module 616, configured to generate a second settlement completion confirming transaction corresponding to the target service according to the first transaction settlement completion confirming request;
a third transaction issuing module 617 configured to issue the second settlement completion confirmation transaction to the blockchain system.
In some possible embodiments, the apparatus may further include:
a third transaction receiving module 618, configured to receive a second settlement completion transaction corresponding to the target service and sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a third block receiving module 619, configured to receive a third block corresponding to the second settlement completing transaction, where the third block corresponding to the second settlement completing transaction is sent by the blockchain management apparatus when it is determined that the second settlement completing transaction passes the verification of the blockchain system;
a third block saving module 620, configured to determine that the second settlement completing transaction is successfully issued to the blockchain system and save the third block locally, in a case that a third saving notification sent by the blockchain management device is received.
It should be noted that details that are not mentioned in the embodiment corresponding to fig. 11 and specific implementation manners of the steps executed by each module may refer to the embodiments shown in fig. 5 to fig. 10 and the foregoing details, and are not described again here.
In some possible implementations, the relevant functions implemented by the various modules in fig. 11 may be implemented in conjunction with a processor and a communications interface. Referring to fig. 12, fig. 12 is a schematic diagram of a possible structure of a service clearing apparatus provided in an embodiment of the present application, the apparatus has functions of a blockchain processing apparatus, such as encryption, decryption, signature verification/identity verification, data operation, and the like, the apparatus 70 includes a processor 701, a memory 702, and a communication interface 703, and the processor 701, the memory 702, and the communication interface 703 are connected through one or more communication buses.
The processor 701 is configured to support the service clearing device to perform the corresponding functions of the first service clearing device in the methods described in fig. 5-10. The processor 701 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof. In this embodiment, the processor 701 may include a data operation chip, an encryption chip, and the like.
The memory 702 is used to store program codes and the like. The memory 702 may include volatile memory (volatile), such as Random Access Memory (RAM); the memory 702 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 702 may also comprise a combination of the above types of memory. In this embodiment, the memory 702 is used for storing first information, second information, and third information corresponding to a target service, and data generated in a process from the beginning to the end of the target service, such as a block generated in a process of settling the target service.
The communication interface 703 is used for receiving and sending data, e.g., the communication interface is used for receiving a first settlement transaction, sending a first transaction notification, receiving a first transaction settlement request, etc. In an embodiment of the present application, the service settlement apparatus includes a plurality of communication interfaces, wherein a communication interface for transmitting data and a communication interface for receiving data may not be the same communication interface, for example, a communication interface for receiving the first settlement transaction and transmitting the first transaction notification may not be the same communication interface, and a communication interface for transmitting/receiving different data may not be the same communication interface, for example, a communication interface for receiving the first settlement transaction and the first transaction settlement request may not be the same communication interface.
The processor 701 may call the program code to perform the following operations:
when a first settlement transaction corresponding to a target service is successfully issued to the blockchain system, a first transaction notification is sent to an intermediate settlement device of an intermediate party corresponding to the target service through the communication interface 703 according to the first settlement transaction, wherein the first settlement transaction comprises first information and second information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information is confirmed by the provider and the intermediary, the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information;
receiving, through the communication interface 703, a first transaction settlement request initiated by the intermediate settlement apparatus upon completion of settlement of the target service, the first transaction settlement request being for requesting the first settlement apparatus of the user to settle the target service;
generating a second settlement transaction corresponding to the target service according to the first transaction settlement request, wherein the second settlement transaction comprises the first information and third information corresponding to the target service, which is pre-stored in the block chain system after confirmation of both parties is obtained, and the third information is confirmed by the intermediate party and the user;
issuing the second settlement transaction to the blockchain system through communication interface 703, the second settlement transaction being used to notify the first settlement device to settle the target service.
Further, the processor 701 may further cooperate with the communication interface 703 to execute the operation of the first service settlement apparatus in the embodiments shown in fig. 5 to fig. 10 of the present application, which may specifically refer to the description in the method embodiments, and is not described herein again.
Referring to fig. 13, fig. 13 is a schematic structural diagram of another service clearing apparatus according to an embodiment of the present application, which is configured to perform the steps performed by the second service clearing apparatus in the method embodiments corresponding to fig. 5 to fig. 10, where the apparatus may be the blockchain apparatus 3 in the system architecture shown in fig. 3, and the apparatus 80 may include:
a first request receiving module 801, configured to obtain a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service, where the second transaction settlement request is used to request an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service;
a first transaction generating module 802, configured to generate a first settlement transaction corresponding to the target service according to the second transaction settlement request, where the first settlement transaction includes first information and second information that are pre-stored in the blockchain system after both parties corresponding to the target service obtain confirmation, the first information obtains confirmation of the provider and a user corresponding to the target service, and the second information obtains confirmation of the provider and a service intermediary party;
a first transaction issuing module 803, configured to issue the first settlement transaction to the blockchain system, where the first settlement transaction is used to notify the intermediate settlement apparatus to settle the target service.
In some possible embodiments, the apparatus 80 may further include:
a notification sending module 804, configured to send a third transaction notification to the second settlement device according to the first settlement complete transaction when the first settlement complete transaction corresponding to the target service is successfully issued to the blockchain system, where the third transaction notification is used to notify the second settlement device to verify a settlement result of the target service;
a second request receiving module 805, configured to receive a second transaction settlement completion confirmation request sent by the second settlement apparatus under the condition that the settlement result is verified to be correct;
a second transaction generating module 806, configured to generate a first settlement completion confirming transaction corresponding to the target service according to the second transaction settlement completion confirming request;
a second transaction issuing module 807 for issuing the first settlement completion confirmation transaction to the blockchain system.
In some possible embodiments, the apparatus 80 may further include:
a transaction receiving module 808, configured to receive a first result completion transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a common identification mechanism of the blockchain system;
a block receiving module 809, configured to receive a fourth block corresponding to the first calculation completed transaction, sent by the blockchain management device when it is determined that the first calculation completed transaction passes the check of the blockchain system;
a block saving module 810, configured to determine that the first result completion transaction is successfully issued to the blockchain system and save the fourth block locally, when a fourth saving notification sent by the blockchain management device is received.
It should be noted that details that are not mentioned in the embodiment corresponding to fig. 13 and specific implementation manners of the steps executed by each module may refer to the embodiments shown in fig. 5 to fig. 10 and the foregoing details, and are not described again here.
In some possible implementations, the relevant functions implemented by the various modules in fig. 13 may be implemented in conjunction with a processor and a communications interface. Referring to fig. 14, fig. 14 is a schematic diagram of a possible structure of a service settlement apparatus provided in an embodiment of the present application, the apparatus has functions of a block chain processing apparatus, such as encryption, decryption, signature verification/authentication, data operation, and the like, the apparatus 90 includes a processor 901, a memory 902, and a communication interface 903, and the processor 901, the memory 902, and the communication interface 903 are connected through one or more communication buses.
The processor 901 is configured to support the service clearing device to perform the corresponding functions of the second service clearing device in the methods described in fig. 5-10. The processor 901 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof. In this embodiment, the processor 901 may include a data operation chip, an encryption chip, and the like.
The memory 902 is used to store program codes and the like. The memory 902 may include volatile memory (volatile), such as Random Access Memory (RAM); the memory 902 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 902 may also comprise a combination of the above-described types of memory. In the embodiment of the present application, the memory 902 is used for storing first information, second information, and third information corresponding to a target service, and data generated in a process from the beginning to the end of the target service, such as a block generated in a process of settling the target service.
The communication interface 903 is used to receive and transmit data, e.g., the communication interface is used to receive a second transaction settlement request, transmit a first settlement transaction, etc. In an embodiment of the present application, the service settlement apparatus includes a plurality of communication interfaces, wherein the communication interface for transmitting data and the communication interface for receiving data may not be the same communication interface, for example, the communication interface for receiving the second settlement transaction request and transmitting the first settlement transaction may not be the same communication interface, and the communication interface for transmitting/receiving different data may not be the same communication interface, for example, the communication interface for receiving the second transaction settlement request and the first settlement completion transaction may not be the same communication interface.
Processor 901 may invoke the program code to perform the following operations:
acquiring a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service through a communication interface 903, wherein the second transaction settlement request is used for requesting an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service;
generating a first settlement transaction corresponding to the target service according to the second transaction settlement request, wherein the first settlement transaction comprises first information and second information which are pre-stored in the blockchain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the provider and the user corresponding to the target service, and the second information is confirmed by the provider and the service intermediate party;
issuing the first settlement transaction to the blockchain system through the communication interface 903, the first settlement transaction being used to inform the intermediate settlement device to settle the target service.
Further, the processor 901 may further cooperate with the communication interface 903 to execute the operation of the second service settlement apparatus in the embodiments shown in fig. 5 to fig. 10 of the present application, which may specifically refer to the description in the method embodiments, and is not described herein again.
Referring to fig. 15, fig. 15 is a schematic structural diagram of another service clearing apparatus according to an embodiment of the present application, which is configured to perform the steps performed by a third service clearing apparatus in the method embodiments corresponding to fig. 5 to fig. 10, where the apparatus may be a blockchain apparatus 1 in the system architecture shown in fig. 3, and the apparatus 100 may include:
a notification sending module 1001, configured to, in case that the second settlement transaction corresponding to the target service is successfully issued to the blockchain system, sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction, wherein the second settlement transaction comprises first information and third information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the user and the provider corresponding to the target service, the third information is confirmed by the intermediate party corresponding to the target service and the user, the fourth transaction notification includes second settlement information associated with the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information;
a request receiving module 1002, configured to receive a second settlement completing transaction request sent by the first settlement device when the settlement of the target service is completed, where the second settlement completing transaction request is used to request an intermediate settlement device of the intermediate party to verify a settlement result of the target service;
a transaction generating module 1003, configured to generate a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request;
a transaction issuing module 1004, configured to issue the second settlement completed transaction to the blockchain system, where the second settlement completed transaction is used to notify the intermediate settlement apparatus to verify a settlement result of the target service.
In some possible embodiments, the apparatus 100 may further include:
a first transaction receiving module 1005, configured to receive the second settlement transaction sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a first block receiving module 1006, configured to receive a fifth block corresponding to the second settlement transaction sent by the blockchain management device if it is determined that the second settlement transaction passes the verification of the blockchain system;
a first block saving module 1007, configured to determine that the second settlement transaction is successfully issued to the blockchain system and save the fifth block locally, when a fifth saving notification sent by the blockchain management device is received.
In some possible embodiments, the apparatus 100 may further include:
a second transaction receiving module 1008, configured to receive a second settlement completion confirmation transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a second block receiving module 1009, configured to send a sixth block corresponding to the second settlement complete confirmation transaction if it is determined that the second settlement complete confirmation transaction passes the verification of the block chain system;
a second block saving module 1010, configured to save the sixth block locally when a sixth saving notification sent by the blockchain management device is received.
It should be noted that details that are not mentioned in the embodiment corresponding to fig. 15 and specific implementation manners of the steps executed by each module may refer to the embodiments shown in fig. 5 to fig. 10 and the foregoing details, and are not described again here.
In some possible embodiments, the relevant functions implemented by the various modules in fig. 15 may be implemented in conjunction with a processor and a communications interface. Referring to fig. 16, fig. 16 is a schematic diagram of a possible structure of a service settlement apparatus provided in an embodiment of the present application, the apparatus having functions of a block chain processing apparatus, such as encryption, decryption, signature verification/identity verification, data operation, and the like, the apparatus 110 includes a processor 1101, a memory 1102, and a communication interface 1103, and the processor 1101, the memory 1102, and the communication interface 1103 are connected through one or more communication buses.
The processor 1101 is configured to support the service clearing device to perform the corresponding functions of the third service clearing device in the methods described in fig. 5-10. The processor 1101 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof. In this embodiment, the processor 1101 may include a data operation chip, an encryption chip, and the like.
The memory 1102 is used to store program codes and the like. Memory 1102 may include volatile memory (volatile), such as Random Access Memory (RAM); the memory 1102 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD), or a solid-state drive (SSD); memory 1102 may also comprise a combination of memories of the type described above. In this embodiment, the memory 1102 is used for storing first information, second information, and third information corresponding to a target service, and data generated in a process from the beginning to the end of the target service, such as a block generated in a process of settling the target service.
The communication interface 1103 is used for receiving and sending data, e.g. the communication interface is used for receiving a second settlement transaction, sending a fourth transaction notification, receiving a second settlement completion transaction request, sending a second settlement completion transaction, etc. In an embodiment of the present application, the service settlement apparatus includes a plurality of communication interfaces, wherein the communication interface for transmitting data and the communication interface for receiving data may not be the same communication interface, for example, the communication interface for receiving the second settlement transaction and the communication interface for transmitting the fourth transaction notification may not be the same communication interface, and the communication interface for transmitting/receiving different data may not be the same communication interface, for example, the communication interface for receiving the second settlement transaction and the second settlement completion transaction request may not be the same communication interface.
The processor 1101 may call the program code to perform the following operations:
sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction when the second settlement transaction corresponding to the target service is successfully issued to the blockchain system, wherein the second settlement transaction comprises first information and third information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the user and the provider corresponding to the target service, the third information is confirmed by the intermediate party corresponding to the target service and the user, the fourth transaction notification includes second settlement information associated with the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information;
receiving a second settlement completion transaction request sent by the first settlement device when the settlement of the target service is completed, wherein the second settlement completion transaction request is used for requesting an intermediate settlement device of the intermediate party to verify a settlement result of the target service;
generating a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request;
issuing the second settlement completion transaction to the blockchain system, the second settlement completion transaction being used to notify the intermediate settlement device to verify a settlement result of the target service.
Further, the processor 1101 may further cooperate with the communication interface 1103 to execute the operation of the third service settlement apparatus in the embodiments shown in fig. 5 to fig. 6 of the present application, which may specifically refer to the description in the method embodiments, and is not described herein again.
An embodiment of the present application further provides a service settlement system, which includes at least one service settlement device of the first service settlement device shown in fig. 11 or 12, the second service settlement device shown in fig. 13 or 14, and the third service settlement device shown in fig. 15 or 16, and the system may be specifically a block chain system in the system architecture shown in fig. 3.
An embodiment of the present application further provides a computer storage medium, which can be used to store computer software instructions for the service settlement apparatus in the embodiment shown in fig. 11 or fig. 12, and which includes a program designed for executing the first service settlement apparatus in the above embodiment.
The present embodiment also provides another computer storage medium, which can be used to store computer software instructions used by the service settlement apparatus in the embodiment shown in fig. 13 or fig. 14, and which contains a program designed for executing the second service settlement apparatus in the above embodiment.
The present embodiment also provides another computer storage medium, which can be used to store computer software instructions for the service settlement apparatus in the embodiment shown in fig. 15 or fig. 16, and which includes a program designed for the third service settlement apparatus in the above embodiment.
The computer storage medium includes, but is not limited to, flash memory, hard disk, and solid state disk.
The embodiment of the present application further provides a computer program product, and when being executed by a computing device, the computer program product may execute the service settlement method designed for the first service settlement apparatus in the embodiments of fig. 5 to 10.
Embodiments of the present application further provide a computer program product, which when executed by a computing device, can execute the service settlement method designed for the second service settlement apparatus in the foregoing embodiments of fig. 5 to 10.
An embodiment of the present application further provides a computer program product, and when being executed by a computing device, the computer program product may execute the service settlement method designed for the third service settlement apparatus in the embodiments of fig. 5 to 10.
There is also provided in an embodiment of the present application a chip including a processor and a memory, where the memory includes the processor and the memory, and the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, and the computer program is used to implement the method in the above method embodiment.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (32)

1. A method for service settlement, comprising:
sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to a target service according to a first settlement transaction when the first settlement transaction corresponding to the target service is successfully issued to a blockchain system, wherein the first settlement transaction comprises first information and second information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information is confirmed by the provider and the intermediary, the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information;
receiving a first transaction settlement request initiated by the intermediate settlement device upon completion of settlement of the target service, the first transaction settlement request being for requesting a first settlement device of the user to settle the target service;
generating a second settlement transaction corresponding to the target service according to the first transaction settlement request, wherein the second settlement transaction comprises the first information and third information corresponding to the target service, which is pre-stored in the block chain system after confirmation of both parties is obtained, and the third information is confirmed by the intermediate party and the user;
issuing the second settlement transaction to the blockchain system, the second settlement transaction being used to notify the first settlement device to settle the target transaction; the target business is accommodation business provided by a hotel, catering business provided by a catering shop or products provided by a manufacturer;
the first calculation transaction is formed by filling the first information and the second information according to a preset transaction data structure;
the second settlement transaction is formed by filling the first information and the third information according to a preset transaction data structure;
the transaction data structure comprises a transaction number, a transaction version, a transaction type and a transaction parameter, wherein the transaction number is used for uniquely identifying the transaction in the blockchain system, or the transaction number is used for uniquely identifying the target service in the blockchain system, the transaction version refers to the version of the transaction data structure, the transaction type refers to the attribute of the transaction, and the transaction parameter is parameter information related to the target service.
2. The method of claim 1, wherein after sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to the target service according to the first settlement transaction, further comprising:
receiving a first settlement completion transaction request sent by the intermediate settlement device under the condition of completing settlement of the target service, wherein the first settlement completion transaction request is used for requesting a second settlement device of the provider to verify the settlement result of the target service;
generating a first settlement completion transaction corresponding to the target service according to the first settlement completion transaction request;
issuing the first settlement completion transaction to the blockchain system, the first settlement completion transaction being used to inform the second settlement device to verify a settlement result of the target service.
3. The method of claim 2, wherein said issuing the first settlement completion transaction to the blockchain system further comprises:
receiving a first result completion confirmation transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system;
receiving a first block corresponding to the first settlement complete confirmation transaction sent by the blockchain management device when the first settlement complete confirmation transaction is determined to pass the check of the blockchain system;
and locally saving the first block when a first saving notice sent by the blockchain management device is received.
4. The method of claim 1, wherein prior to sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to a target service based on the first resolved transaction, further comprises:
receiving the first settlement transaction sent by a current blockchain management device in the blockchain system, wherein the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
receiving a second block corresponding to the first calculated transaction sent by the blockchain management device if the first calculated transaction is determined to pass the check of the blockchain system;
and in the case of receiving a second saving notification sent by the blockchain management device, determining that the first settlement transaction is successfully issued to the blockchain system, and saving the second block locally.
5. The method of claim 2, wherein prior to sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to a target service based on the first resolved transaction, further comprises:
receiving the first settlement transaction sent by a current blockchain management device in the blockchain system, wherein the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
receiving a second block corresponding to the first calculated transaction sent by the blockchain management device if the first calculated transaction is determined to pass the check of the blockchain system;
and in the case of receiving a second saving notification sent by the blockchain management device, determining that the first settlement transaction is successfully issued to the blockchain system, and saving the second block locally.
6. The method of claim 3, wherein sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to a target service according to the first settlement transaction further comprises:
receiving the first settlement transaction sent by a current blockchain management device in the blockchain system, wherein the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
receiving a second block corresponding to the first calculated transaction sent by the blockchain management device if the first calculated transaction is determined to pass the check of the blockchain system;
and in the case of receiving a second saving notification sent by the blockchain management device, determining that the first settlement transaction is successfully issued to the blockchain system, and saving the second block locally.
7. The method of any of claims 1-6, wherein said issuing the second settlement transaction to the blockchain system further comprises:
under the condition that a second settlement completion transaction corresponding to the target service is successfully issued to a blockchain system, sending a second transaction notification to the intermediate settlement device according to the second settlement completion transaction, wherein the second transaction notification is used for notifying the intermediate settlement device to verify a settlement result of the target service;
receiving a first transaction settlement completion confirmation request sent by the intermediate settlement device under the condition that the settlement result is verified to be correct;
generating a second settlement completion confirmation transaction corresponding to the target service according to the first transaction settlement completion confirmation request;
issuing the second settlement completion confirmation transaction to the blockchain system.
8. The method of claim 7, wherein prior to sending a second transaction notification to the intermediate settlement device based on the second settlement complete transaction, further comprising:
receiving a second settlement completion transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system;
receiving a third block corresponding to the second settlement completed transaction sent by the blockchain management device when the second settlement completed transaction is determined to pass the verification of the blockchain system;
and in the case of receiving a third saving notice sent by the blockchain management device, determining that the second settlement completing transaction is successfully issued to the blockchain system, and saving the third block locally.
9. A method for service settlement, comprising:
acquiring a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service, wherein the second transaction settlement request is used for requesting an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service;
generating a first settlement transaction corresponding to the target service according to the second transaction settlement request, wherein the first settlement transaction comprises first information and second information which are pre-stored in a blockchain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the provider and the user corresponding to the target service, and the second information is confirmed by the provider and the middle party;
issuing the first settlement transaction to the blockchain system, the first settlement transaction being used to notify the intermediate settlement device to settle the target service; the target business is accommodation business provided by a hotel, catering business provided by a catering shop or products provided by a manufacturer;
the first calculation transaction is formed by filling the first information and the second information according to a preset transaction data structure;
the transaction data structure comprises a transaction number, a transaction version, a transaction type and a transaction parameter, wherein the transaction number is used for uniquely identifying the transaction in the blockchain system, or the transaction number is used for uniquely identifying the target service in the blockchain system, the transaction version refers to the version of the transaction data structure, the transaction type refers to the attribute of the transaction, and the transaction parameter is parameter information related to the target service.
10. The method of claim 9, wherein said issuing the first resolved transaction to the blockchain system further comprises:
under the condition that a first settlement completion transaction corresponding to the target service is successfully issued to the blockchain system, sending a third transaction notification to the second settlement device according to the first settlement completion transaction, wherein the third transaction notification is used for notifying the second settlement device to verify a settlement result of the target service;
receiving a second transaction settlement completion confirmation request sent by the second settlement device under the condition that the settlement result is verified to be correct;
generating a first settlement completion confirmation transaction corresponding to the target service according to the second transaction settlement completion confirmation request;
issuing the first settlement completion confirmation transaction to the blockchain system.
11. The method of claim 10, wherein prior to sending a third transaction notification to the second settlement device based on the first settlement complete transaction, further comprising:
receiving a first settlement completion transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system;
receiving a fourth block corresponding to the first finalized transaction sent by the blockchain management device if it is determined that the first finalized transaction passes the check of the blockchain system;
and in the case of receiving a fourth saving notification sent by the blockchain management device, determining that the first settlement completion transaction is successfully issued to the blockchain system, and saving the fourth block locally.
12. A method for service settlement, comprising:
sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction when the second settlement transaction corresponding to the target service is successfully issued to the blockchain system, wherein the second settlement transaction comprises first information and third information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the user and the provider corresponding to the target service, the third information is confirmed by the intermediate party corresponding to the target service and the user, the fourth transaction notification includes second settlement information associated with the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information;
receiving a second settlement completion transaction request sent by the first settlement device when the settlement of the target service is completed, wherein the second settlement completion transaction request is used for requesting an intermediate settlement device of the intermediate party to verify a settlement result of the target service;
generating a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request;
issuing the second settlement completion transaction to the blockchain system, the second settlement completion transaction being used to notify the intermediate settlement device to verify a settlement result of the target service; the target business is accommodation business provided by a hotel, catering business provided by a catering shop or products provided by a manufacturer;
the second settlement transaction is formed by filling the first information and the third information according to a preset transaction data structure;
the transaction data structure comprises a transaction number, a transaction version, a transaction type and a transaction parameter, wherein the transaction number is used for uniquely identifying the transaction in the blockchain system, or the transaction number is used for uniquely identifying the target service in the blockchain system, the transaction version refers to the version of the transaction data structure, the transaction type refers to the attribute of the transaction, and the transaction parameter is parameter information related to the target service.
13. The method of claim 12, wherein prior to sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction, further comprising:
receiving the second settlement transaction sent by a current blockchain management device in the blockchain system, wherein the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
receiving a fifth block corresponding to the second settlement transaction sent by the blockchain management device if the second settlement transaction is determined to pass the verification of the blockchain system;
and in the case of receiving a fifth saving notice sent by the blockchain management device, determining that the second settlement transaction is successfully issued to the blockchain system, and saving the fifth block locally.
14. The method of claim 12 or 13, wherein said issuing the second settlement completion transaction to the blockchain system further comprises:
receiving a second settlement completion confirmation transaction corresponding to the target service sent by a current block chain management device in the block chain system, wherein the block chain management device is a block chain processing device selected by all block chain processing devices in the block chain system based on a common identification mechanism of the block chain system;
receiving a sixth block corresponding to the second settlement completion confirmation transaction, which is sent by the blockchain management device when the second settlement completion confirmation transaction is determined to pass the verification of the blockchain system;
and in the case of receiving a sixth saving notice sent by the blockchain management device, locally saving the sixth block.
15. A service settlement apparatus, comprising:
a first notification sending module, configured to, in a case that a first settlement transaction corresponding to the target service is successfully issued to the blockchain system, sending a first transaction notification to an intermediate settlement device of an intermediate party corresponding to the target service according to the first settlement transaction, wherein the first settlement transaction comprises first information and second information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information obtains confirmation of a provider corresponding to the target service and a user corresponding to the target service, the second information is confirmed by the provider and the intermediary, the first transaction notification includes first settlement information associated with the first information and the second information, the first transaction notification is used for notifying the intermediate settlement device to settle the target transaction according to the first settlement information;
a first request receiving module, configured to receive a first transaction settlement request initiated by the intermediate settlement apparatus when the settlement of the target service is completed, where the first transaction settlement request is used to request the first settlement apparatus of the user to settle the target service;
a first transaction generation module, configured to generate a second settlement transaction corresponding to the target service according to the first transaction settlement request, where the second settlement transaction includes the first information and third information corresponding to the target service that is pre-stored in the blockchain system after being confirmed by both parties, and the third information is confirmed by the intermediate party and the user;
a first transaction issuance module for issuing the second settlement transaction to the blockchain system, the second settlement transaction being used for notifying the first settlement device to settle the target service; the target business is accommodation business provided by a hotel, catering business provided by a catering shop or products provided by a manufacturer;
the first calculation transaction is formed by filling the first information and the second information according to a preset transaction data structure;
the second settlement transaction is formed by filling the first information and the third information according to a preset transaction data structure;
the transaction data structure comprises a transaction number, a transaction version, a transaction type and a transaction parameter, wherein the transaction number is used for uniquely identifying the transaction in the blockchain system, or the transaction number is used for uniquely identifying the target service in the blockchain system, the transaction version refers to the version of the transaction data structure, the transaction type refers to the attribute of the transaction, and the transaction parameter is parameter information related to the target service.
16. The apparatus of claim 15, further comprising:
a second request receiving module, configured to receive a first settlement completion transaction request sent by the intermediate settlement device when the settlement of the target service is completed, where the first settlement completion transaction request is used to request the second settlement device of the provider to verify a settlement result of the target service;
a second transaction generation module, configured to generate a first settlement completion transaction corresponding to the target service according to the first settlement completion transaction request;
and the second transaction issuing module is used for issuing the first settlement completion transaction to the blockchain system, and the first settlement completion transaction is used for informing the second settlement device to verify the settlement result of the target service.
17. The apparatus of claim 16, further comprising:
a first transaction receiving module, configured to receive a first result completion confirmation transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a common identification mechanism of the blockchain system;
a first block receiving module, configured to receive a first block corresponding to the first calculation completion confirmation transaction, where the first calculation completion confirmation transaction is sent by the blockchain management device when it is determined that the first calculation completion confirmation transaction passes the check of the blockchain system;
and the first block saving module is used for saving the first block locally under the condition of receiving a first saving notice sent by the block chain management device.
18. The apparatus of claim 15, further comprising:
a second transaction receiving module, configured to receive the first result transaction sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a second block receiving module, configured to receive a second block corresponding to the first calculated transaction, where the second block is sent by the blockchain management device when it is determined that the first calculated transaction passes the check of the blockchain system;
and the second block saving module is used for determining that the first calculation transaction is successfully issued to the blockchain system and saving the second block locally under the condition of receiving a second saving notification sent by the blockchain management device.
19. The apparatus of claim 16, further comprising:
a second transaction receiving module, configured to receive the first result transaction sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a second block receiving module, configured to receive a second block corresponding to the first calculated transaction, where the second block is sent by the blockchain management device when it is determined that the first calculated transaction passes the check of the blockchain system;
and the second block saving module is used for determining that the first calculation transaction is successfully issued to the blockchain system and saving the second block locally under the condition of receiving a second saving notification sent by the blockchain management device.
20. The apparatus of claim 17, further comprising:
a second transaction receiving module, configured to receive the first result transaction sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a second block receiving module, configured to receive a second block corresponding to the first calculated transaction, where the second block is sent by the blockchain management device when it is determined that the first calculated transaction passes the check of the blockchain system;
and the second block saving module is used for determining that the first calculation transaction is successfully issued to the blockchain system and saving the second block locally under the condition of receiving a second saving notification sent by the blockchain management device.
21. The apparatus of any one of claims 15-20, further comprising:
a second notification sending module, configured to send a second transaction notification to the intermediate settlement device according to a second settlement completion transaction when the second settlement completion transaction corresponding to the target service is successfully issued to the blockchain system, where the second transaction notification is used to notify the intermediate settlement device to verify a settlement result of the target service;
a third request receiving module, configured to receive a first transaction settlement completion confirmation request sent by the intermediate settlement device when the settlement result is verified to be correct;
a third transaction generation module, configured to generate a second settlement completion confirmation transaction corresponding to the target service according to the first transaction settlement completion confirmation request;
and the third transaction issuing module is used for issuing the second settlement completion confirmation transaction to the block chain system.
22. The apparatus of claim 21, further comprising:
a third transaction receiving module, configured to receive a second settlement completion transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a common identification mechanism of the blockchain system;
a third block receiving module, configured to receive a third block corresponding to the second settlement complete transaction, where the third block is sent by the block chain management device when it is determined that the second settlement complete transaction passes the verification of the block chain system;
and the third block saving module is used for determining that the second settlement completion transaction is successfully issued to the blockchain system and saving the third block locally under the condition of receiving a third saving notification sent by the blockchain management device.
23. A service settlement apparatus, comprising:
the system comprises a first request receiving module, a second request receiving module and a first transaction settlement module, wherein the first request receiving module is used for acquiring a second transaction settlement request initiated by a second settlement device of a provider corresponding to a target service, and the second transaction settlement request is used for requesting an intermediate settlement device of an intermediate party corresponding to the target service to settle the target service;
a first transaction generating module, configured to generate a first settlement transaction corresponding to the target service according to the second transaction settlement request, where the first settlement transaction includes first information and second information that are pre-stored in a blockchain system after both parties corresponding to the target service obtain confirmation, the first information obtains confirmation of the provider and a user corresponding to the target service, and the second information obtains confirmation of the provider and the broker;
a first transaction issuance module for issuing the first settlement transaction to the blockchain system, the first settlement transaction being used for notifying the intermediate settlement apparatus of settlement of the target service; the target business is accommodation business provided by a hotel, catering business provided by a catering shop or products provided by a manufacturer;
the first calculation transaction is formed by filling the first information and the second information according to a preset transaction data structure;
the transaction data structure comprises a transaction number, a transaction version, a transaction type and a transaction parameter, wherein the transaction number is used for uniquely identifying the transaction in the blockchain system, or the transaction number is used for uniquely identifying the target service in the blockchain system, the transaction version refers to the version of the transaction data structure, the transaction type refers to the attribute of the transaction, and the transaction parameter is parameter information related to the target service.
24. The apparatus of claim 23, further comprising:
a notification sending module, configured to send a third transaction notification to the second settlement device according to the first settlement completion transaction when the first settlement completion transaction corresponding to the target service is successfully issued to the blockchain system, where the third transaction notification is used to notify the second settlement device to verify a settlement result of the target service;
a second request receiving module, configured to receive a second transaction settlement completion confirmation request sent by the second settlement device when the settlement result is verified to be correct;
a second transaction generation module, configured to generate a first settlement completion confirmation transaction corresponding to the target service according to the second transaction settlement completion confirmation request;
and the second transaction issuing module is used for issuing the first settlement completion confirmation transaction to the blockchain system.
25. The apparatus of claim 24, further comprising:
a transaction receiving module, configured to receive a first result completion transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a common identification mechanism of the blockchain system;
a block receiving module, configured to receive a fourth block corresponding to the first calculation-completed transaction, where the fourth block is sent by the blockchain management device when it is determined that the first calculation-completed transaction passes the check of the blockchain system;
and the block saving module is used for determining that the first settlement completion transaction is successfully issued to the blockchain system and saving the fourth block locally under the condition of receiving a fourth saving notification sent by the blockchain management device.
26. A service settlement apparatus, comprising:
a notification sending module, configured to, in case that the second settlement transaction corresponding to the target service is successfully issued to the blockchain system, sending a fourth transaction notification to the first settlement device of the user corresponding to the target service according to the second settlement transaction, wherein the second settlement transaction comprises first information and third information which are pre-stored in the block chain system after the confirmation of both parties corresponding to the target service is obtained, the first information is confirmed by the user and the provider corresponding to the target service, the third information is confirmed by the intermediate party corresponding to the target service and the user, the fourth transaction notification includes second settlement information associated with the first information and the third information, the fourth transaction notification is used for notifying the first settlement device to settle the target service according to the second settlement information;
a request receiving module, configured to receive a second settlement completing transaction request sent by the first settlement device when the settlement of the target service is completed, where the second settlement completing transaction request is used to request an intermediate settlement device of the intermediate party to verify a settlement result of the target service;
the transaction generation module is used for generating a second settlement completing transaction corresponding to the target service according to the second settlement completing transaction request;
a transaction issuing module, configured to issue the second settlement completion transaction to the blockchain system, where the second settlement completion transaction is used to notify the intermediate settlement device to verify a settlement result of the target service; the target business is accommodation business provided by a hotel, catering business provided by a catering shop or products provided by a manufacturer;
the second settlement transaction is formed by filling the first information and the third information according to a preset transaction data structure;
the transaction data structure comprises a transaction number, a transaction version, a transaction type and a transaction parameter, wherein the transaction number is used for uniquely identifying the transaction in the blockchain system, or the transaction number is used for uniquely identifying the target service in the blockchain system, the transaction version refers to the version of the transaction data structure, the transaction type refers to the attribute of the transaction, and the transaction parameter is parameter information related to the target service.
27. The apparatus of claim 26, further comprising:
a first transaction receiving module, configured to receive the second settlement transaction sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a first block receiving module, configured to receive a fifth block corresponding to the second settlement transaction, where the fifth block is sent by the blockchain management device when it is determined that the second settlement transaction passes the verification of the blockchain system;
and the first block saving module is used for determining that the second settlement transaction is successfully issued to the blockchain system and saving the fifth block locally under the condition of receiving a fifth saving notification sent by the blockchain management device.
28. The apparatus of claim 26 or 27, further comprising:
a second transaction receiving module, configured to receive a second settlement completion confirmation transaction corresponding to the target service sent by a current blockchain management device in the blockchain system, where the blockchain management device is a blockchain processing device selected by all blockchain processing devices in the blockchain system based on a consensus mechanism of the blockchain system;
a second block receiving module, configured to send a sixth block corresponding to the second settlement completion confirmation transaction if it is determined that the second settlement completion confirmation transaction passes the verification of the block chain system;
and the second block storage module is used for locally storing the sixth block under the condition of receiving a sixth storage notification sent by the block chain management device.
29. A blockchain system, comprising: at least one service settlement device of a first service settlement device, a second service settlement device, or a third service settlement device, wherein:
the first service settlement apparatus is the service settlement apparatus according to any one of claims 15 to 22;
the second service settlement apparatus is the service settlement apparatus according to any one of claims 23 to 25;
the third service settlement apparatus is the service settlement apparatus as claimed in any one of claims 26 to 28.
30. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1-8.
31. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 9-11.
32. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 12-14.
CN201810104423.6A 2018-01-31 2018-01-31 Service settlement method and related device Active CN108229926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810104423.6A CN108229926B (en) 2018-01-31 2018-01-31 Service settlement method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810104423.6A CN108229926B (en) 2018-01-31 2018-01-31 Service settlement method and related device

Publications (2)

Publication Number Publication Date
CN108229926A CN108229926A (en) 2018-06-29
CN108229926B true CN108229926B (en) 2020-02-14

Family

ID=62670123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810104423.6A Active CN108229926B (en) 2018-01-31 2018-01-31 Service settlement method and related device

Country Status (1)

Country Link
CN (1) CN108229926B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087166B (en) * 2018-07-23 2019-12-06 深圳慧通商务有限公司 Identity authentication method, device and system
CN108960832B (en) * 2018-08-09 2021-07-30 全链通有限公司 Privacy protection method and system for block chain real-name communication
CN109102404B (en) * 2018-08-09 2021-07-30 全链通有限公司 Privacy protection method and system for block chain real-name communication
CN109472593A (en) * 2018-10-10 2019-03-15 远光软件股份有限公司 A kind of settlement method based on block chain technology, device and block chain network
CN109559252B (en) * 2018-10-18 2020-10-16 深圳慧通商务有限公司 Method for confirming departure time and related device
CN109523045B (en) * 2018-10-31 2021-03-30 深圳慧通商务有限公司 Method and equipment for providing travel service
CN110245522B (en) * 2019-01-16 2022-07-12 腾讯科技(深圳)有限公司 Data processing method, terminal and medium in block chain fund settlement system
CN109993667A (en) * 2019-03-29 2019-07-09 深圳市元征科技股份有限公司 A kind of hotel management method, device and block chain node server
CN110322348A (en) * 2019-06-03 2019-10-11 阿里巴巴集团控股有限公司 Reconciliation system, method, apparatus and electronic equipment based on block chain
US11188910B2 (en) 2019-06-03 2021-11-30 Advanced New Technologies Co., Ltd. Blockchain-based reconciliation system, method, and apparatus and electronic device
TWI822441B (en) * 2022-11-04 2023-11-11 第一商業銀行股份有限公司 Account settlement method and system based on blockchain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719242A (en) * 2009-11-30 2010-06-02 华为技术有限公司 Method and system for providing business travel service
CN106878071A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain common recognition mechanism based on Raft algorithms
CN107122838A (en) * 2017-04-21 2017-09-01 杭州趣链科技有限公司 A kind of intelligent network based on block chain technology about car system and net about method
CN107146157A (en) * 2017-04-30 2017-09-08 杭州复杂美科技有限公司 Block chain wallet prepays consumption system
CN107194798A (en) * 2017-04-28 2017-09-22 广东网金控股股份有限公司 A kind of bank clearing method based on block chain alliance chain
CN107369010A (en) * 2017-07-25 2017-11-21 光载无限(北京)科技有限公司 A kind of creation method of the stored value card based on block chain
CN107392769A (en) * 2017-08-04 2017-11-24 现在(北京)支付股份有限公司 Method of payment is withheld based on block chain technology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719242A (en) * 2009-11-30 2010-06-02 华为技术有限公司 Method and system for providing business travel service
CN106878071A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain common recognition mechanism based on Raft algorithms
CN107122838A (en) * 2017-04-21 2017-09-01 杭州趣链科技有限公司 A kind of intelligent network based on block chain technology about car system and net about method
CN107194798A (en) * 2017-04-28 2017-09-22 广东网金控股股份有限公司 A kind of bank clearing method based on block chain alliance chain
CN107146157A (en) * 2017-04-30 2017-09-08 杭州复杂美科技有限公司 Block chain wallet prepays consumption system
CN107369010A (en) * 2017-07-25 2017-11-21 光载无限(北京)科技有限公司 A kind of creation method of the stored value card based on block chain
CN107392769A (en) * 2017-08-04 2017-11-24 现在(北京)支付股份有限公司 Method of payment is withheld based on block chain technology

Also Published As

Publication number Publication date
CN108229926A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN108229926B (en) Service settlement method and related device
WO2020024968A1 (en) Resource transfer data management method and apparatus, and storage medium
US20230132297A1 (en) Control method, controller, data structure, and electric power transaction system
JP6813477B2 (en) A device, system, or method that facilitates value transfer between unreliable or unreliable parties.
CN110599323B (en) Resource processing method and processing equipment
US20160196553A1 (en) System for electronically transferring assets
US11568401B2 (en) Digital payment system
US10749685B2 (en) Network provisioning systems and methods
JP6692450B2 (en) Blockchain trading system and blockchain trading method
US20080082434A1 (en) System and Method for Making Payment
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN110084600B (en) Processing and verifying method, device, equipment and medium for resolution transaction request
CN111461881A (en) Data management method and device, computer equipment and storage medium
KR20190084923A (en) Method for paying based on blockchain and payment server using the same
CN110766403A (en) Data processing device and method based on block chain and storage medium
TW201317911A (en) Cloud credit card transaction system and transaction method thereof
US10867296B2 (en) Method, apparatus and system for processing data
WO2021117515A1 (en) Electronic asset management method, and electronic asset management device
CN114707995A (en) Payment security management method and device and payment system
CN114066451A (en) Method and system for managing fund transaction and electronic equipment
CN110163606B (en) Refund method and device based on blockchain and electronic equipment
CN112446787A (en) Resource transfer method, device, equipment and storage medium
US20200364812A1 (en) Method and system for providing real estate transaction service
CA2987660C (en) Payment system based on shared funds-management server, and method, device and server therefor
CN111127003B (en) Wallet account payment method, device and storage medium

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

Effective date of registration: 20200310

Address after: Room n14-2-9r, No.101, software Avenue, Yuhuatai District, Nanjing City, Jiangsu Province

Patentee after: Nanjing Yibo Software Technology Co., Ltd

Address before: 518000 HUAWEI Electric Research Center, Bantian base, Longgang District, Shenzhen, Guangdong, China.

Patentee before: Shenzhen Huitong business Co., Ltd.