CN110443612B - Block chain-based reimbursement expense segmentation method and device and electronic equipment - Google Patents

Block chain-based reimbursement expense segmentation method and device and electronic equipment Download PDF

Info

Publication number
CN110443612B
CN110443612B CN201910703762.0A CN201910703762A CN110443612B CN 110443612 B CN110443612 B CN 110443612B CN 201910703762 A CN201910703762 A CN 201910703762A CN 110443612 B CN110443612 B CN 110443612B
Authority
CN
China
Prior art keywords
reimbursement
block chain
transaction
expense
electronic bill
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
CN201910703762.0A
Other languages
Chinese (zh)
Other versions
CN110443612A (en
Inventor
楚俞
青龙生
金戈
孟振中
杨雪清
孙震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN202110181731.0A priority Critical patent/CN112819632A/en
Priority to CN201910703762.0A priority patent/CN110443612B/en
Publication of CN110443612A publication Critical patent/CN110443612A/en
Priority to PCT/CN2020/071994 priority patent/WO2021017432A1/en
Priority to US16/779,449 priority patent/US11250438B2/en
Priority to TW109106024A priority patent/TW202107372A/en
Application granted granted Critical
Publication of CN110443612B publication Critical patent/CN110443612B/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Abstract

The present specification provides a reimbursement charge partitioning method, apparatus and electronic device based on a block chain, the method comprising: receiving a target transaction sent by a reimbursement accepting party; the target transaction carries a target electronic bill identification; in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain; and issuing the expense division sheet to the block chain for evidence storage.

Description

Block chain-based reimbursement expense segmentation method and device and electronic equipment
Technical Field
The present disclosure relates to the field of block chain technologies, and in particular, to a method and an apparatus for partitioning reimbursement charges based on a block chain, and an electronic device.
Background
The block chain technology, also called distributed ledger technology, is an emerging technology in which several computing devices participate in "accounting" together, and a complete distributed database is maintained together. The blockchain technology has been widely used in many fields due to its characteristics of decentralization, transparency, participation of each computing device in database records, and rapid data synchronization between computing devices.
Disclosure of Invention
The present specification proposes a reimbursement charge partitioning method based on a blockchain, the method being applied to a node device of the blockchain, the method including:
receiving a target transaction; the target transaction carries a target electronic bill identification;
in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain;
and issuing the expense division sheet to the block chain for evidence storage.
Optionally, the target transaction is a charge division transaction initiated by a reimbursement accepting party; the block chain deposit certificate has reimbursement information of the electronic bill;
generating a cost division list based on the non-reimbursement amount in reimbursement information corresponding to the target electronic bill identification and stored in the block chain, wherein the cost division list comprises:
searching reimbursement information corresponding to the target electronic bill identification of the block chain deposit certificate;
and generating a charge division sheet based on the found non-reimbursement amount in the reimbursement information.
Optionally, the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
the step of calling expense division logic declared in an intelligent contract deployed on the block chain in response to the target transaction, and generating an expense division sheet based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain comprises the following steps:
in response to the target transaction, invoking reimbursement logic declared in a smart contract deployed on the blockchain to determine whether the target electronic ticket satisfies reimbursement conditions;
if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence;
and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
Optionally, the method further includes:
if the reimbursement information of the block link deposit evidence is not monitored within the preset monitoring duration, returning a prompt message of reimbursement failure to the reimbursement accepting party.
Optionally, the method further includes:
and if the target electronic bill does not meet the reimbursement condition, returning a prompt message of reimbursement failure to the reimbursement acceptor.
The present specification also provides a reimbursement charge partitioning apparatus based on a blockchain, where the apparatus is applied to a node device of the blockchain, and the apparatus includes:
a receiving unit that receives a target transaction; the target transaction carries a target electronic bill identification;
the calling unit is used for responding to the target transaction, calling the expense dividing logic declared in the intelligent contract arranged on the block chain, and generating an expense dividing sheet based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain;
and the issuing unit is used for issuing the expense division sheet to the block chain for evidence storage.
Optionally, the target transaction is a charge division transaction initiated by a reimbursement accepting party; the block chain deposit certificate has reimbursement information of the electronic bill;
the calling unit is used for searching reimbursement information corresponding to the target electronic bill identification of the block chain deposit certificate; and generating a charge division sheet based on the found non-reimbursement amount in the reimbursement information.
Optionally, the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
the calling unit is used for responding to the target transaction, calling reimbursement logic declared in an intelligent contract deployed on the blockchain and determining whether the target electronic bill meets reimbursement conditions; if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence; and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
Optionally, if the reimbursement information of the block link credit is not monitored within a preset monitoring duration, the calling unit returns a prompt message of reimbursement failure to the reimbursement accepting party.
Optionally, the calling unit returns a prompt message of reimbursement failure to the reimbursement acceptor if the target electronic bill does not satisfy the reimbursement condition.
This specification also proposes an electronic device including:
a processor;
a memory for storing machine executable instructions;
wherein, by reading and executing machine-executable instructions stored by the memory corresponding to control logic for partition based on reimbursement charges for blockchains, the processor is caused to:
receiving a target transaction; the target transaction carries a target electronic bill identification;
in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain;
and issuing the expense division sheet to the block chain for evidence storage.
As can be seen from the above description, the node device of the block chain may respond to the target transaction carrying the target electronic ticket identifier, invoke the cost division logic declared in the intelligent contract deployed on the block chain, and generate the cost division sheet based on the unreported amount in the reimbursement information corresponding to the target electronic ticket identifier stored in the block chain, thereby implementing that the user independently makes the cost division sheet by invoking the intelligent contract with the block chain identifier.
Drawings
FIG. 1 is a schematic diagram of a process for creating an intelligent contract, as shown in an exemplary embodiment of the present description;
FIG. 2 is a schematic diagram of a call to an intelligent contract, shown in an exemplary embodiment of the present description;
FIG. 3 is a schematic diagram illustrating the creation of an intelligent contract and the invocation of an intelligent contract in accordance with an exemplary embodiment of the present specification;
FIG. 4 is a schematic diagram of a blockchain-based reimbursement cost partitioning system in accordance with an exemplary embodiment of the present description;
FIG. 5 is a flow chart illustrating a block chain based reimbursement cost division method in accordance with an exemplary embodiment of the present description;
FIG. 6 is a block diagram illustrating a block chain based reimbursement cost partitioning apparatus in accordance with an exemplary embodiment of the present description;
fig. 7 is a hardware block diagram of an electronic device in which a block chain-based reimbursement charge partitioning apparatus is located according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
It should be noted that: in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described herein. In some other embodiments, the method may include more or fewer steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
Blockchains are generally divided into three types: public chain (Public Blockchain), Private chain (Private Blockchain) and alliance chain (Consortium Blockchain). Furthermore, there may be a combination of the above types, such as private chain + federation chain, federation chain + public chain, and so on.
Among them, the most decentralized is the public chain. The public chain is represented by bitcoin and ether house, and participants (also called nodes in the block chain) joining the public chain can read data records on the chain, participate in transactions, compete for accounting rights of new blocks, and the like. Moreover, each node can freely join or leave the network and perform related operations.
Private chains are the opposite, with the network's write rights controlled by an organization or organization and the data read rights specified by the organization. Briefly, a private chain may be a weakly centralized system with strict restrictions on nodes and a small number of nodes. This type of blockchain is more suitable for use within a particular establishment.
A federation chain is a block chain between a public chain and a private chain, and "partial decentralization" can be achieved. Each node in a federation chain typically has a physical organization or organization corresponding to it; the nodes are authorized to join the network and form a benefit-related alliance, and block chain operation is maintained together.
Based on the basic characteristics of a blockchain, a blockchain is usually composed of several blocks. The time stamps corresponding to the creation time of the block are recorded in the blocks respectively, and all the blocks form a time-ordered data chain according to the time stamps recorded in the blocks strictly.
The real data generated by the physical world can be constructed into a standard transaction (transaction) format supported by a block chain, then is issued to the block chain, the node equipment in the block chain performs consensus processing on the received transaction, and after the consensus is achieved, the node equipment serving as an accounting node in the block chain packs the transaction into a block and performs persistent evidence storage in the block chain.
The consensus algorithm supported in the blockchain may include:
the first kind of consensus algorithm, namely the consensus algorithm that the node device needs to contend for the accounting right of each round of accounting period; consensus algorithms such as Proof of Work (POW), Proof of equity (POS), Proof of commission rights (DPOS), etc.;
the second kind of consensus algorithm, namely the consensus algorithm which elects accounting nodes in advance for each accounting period (without competing for accounting right); for example, a consensus algorithm such as a Practical Byzantine Fault Tolerance (PBFT) is used.
In a blockchain network employing a first type of consensus algorithm, node devices competing for billing rights can execute a transaction upon receipt. One of the node devices competing for the accounting right may win in the process of competing for the accounting right in the current round, and become an accounting node. The accounting node may package the received transaction with other transactions to generate a latest block and send the generated latest block or a block header of the latest block to other node devices for consensus.
In the block chain network adopting the second type of consensus algorithm, the node equipment with the accounting right is agreed before accounting in the current round. Thus, the node device, after receiving the transaction, may send the transaction to the accounting node if it is not the accounting node of its own round. For the accounting node of the current round, the transaction may be performed during or before packaging the transaction with other transactions to generate the latest block. After generating the latest block, the accounting node may send the latest block or a block header of the latest block to other node devices for consensus.
As described above, regardless of which consensus algorithm is used by the blockchain, the accounting node of the current round may pack the received transaction to generate the latest block, and send the generated latest block or the block header of the latest block to other node devices for consensus verification. If no problem is verified after other node equipment receives the latest block or the block header of the latest block, the latest block can be added to the tail of the original block chain, so that the accounting process of the block chain is completed. The transaction contained in the block may also be performed by other nodes in verifying the new block or block header sent by the accounting node.
In practical applications, whether public, private, or alliance, it is possible to provide the functionality of a Smart contract (Smart contract). An intelligent contract on a blockchain is a contract on a blockchain that can be executed triggered by a transaction. An intelligent contract may be defined in the form of code.
Taking an Etherhouse as an example, a user is supported to create and call some complex logic in the Etherhouse network. The ethernet workshop is used as a programmable block chain, and the core of the ethernet workshop is an ethernet workshop virtual machine (EVM), and each ethernet workshop node can run the EVM. The EVM is a well-behaved virtual machine through which various complex logic can be implemented. The user issuing and invoking smart contracts in the etherhouse is running on the EVM. In fact, the EVM directly runs virtual machine code (virtual machine bytecode, hereinafter referred to as "bytecode"), so the intelligent contract deployed on the blockchain may be bytecode.
After Bob sends a Transaction (Transaction) containing information to create an intelligent contract to the ethernet network, as shown in fig. 1, the EVM of node 1 may execute the Transaction and generate a corresponding contract instance. "0 x68e12cf284 …" represents the address of the contract, the value of the field in the Data field of the transaction holds the contract code which may be bytecode, and the value of the field in the To field of the transaction is a null account. After the nodes reach the agreement through the consensus mechanism, the intelligent contract is successfully created, and a subsequent user can call the intelligent contract.
After the intelligent contract is created, a contract account corresponding to the intelligent contract appears on the blockchain and has a specific address, and a contract Code (Code) and an account Storage (Storage) are stored in the account Storage of the contract account. The behavior of the intelligent contract is controlled by the contract code, while the account storage of the intelligent contract preserves the state of the contract. In other words, the intelligent contract causes a virtual account to be generated on the blockchain that contains the contract code and account storage.
As mentioned above, the Data field containing the transaction that created the intelligent contract may hold the byte code of the intelligent contract. A bytecode consists of a series of bytes, each of which can identify an operation. Based on the multiple considerations of development efficiency, readability and the like, a developer can select a high-level language to write intelligent contract codes instead of directly writing byte codes. For example, the high-level language may employ a language such as Solidity, Serpent, LLL, and the like. For intelligent contract code written in a high-level language, the intelligent contract code can be compiled by a compiler to generate byte codes which can be deployed on a blockchain.
Taking the Solidity language as an example, the contract code written by it is very similar to a Class (Class) in the object-oriented programming language, and various members including state variables, functions, function modifiers, events, etc. can be declared in one contract. A state variable is a value permanently stored in an account Storage (Storage) field of an intelligent contract to save the state of the contract.
As shown in fig. 2, still taking the ethernet house as an example, after Bob sends a transaction containing the information of invoking the intelligent contract to the ethernet house network, the EVM of node 1 may execute the transaction and generate the corresponding contract instance. The From field of the transaction in fig. 2 is used To record the address of the account initiating the invocation of the smart contract, the To field is used To record the address of the invoked smart contract, and the Data field of the transaction is used To record the method and parameters of the invocation of the smart contract. After invoking the smart contract, the account status of the contract account may change. Subsequently, a client may view the account status of the contract account through the accessed block link point (e.g., node 1 in fig. 2).
The intelligent contract can be independently executed at each node in the blockchain network in a specified mode, and all execution records and data are stored on the blockchain, so that after the transaction is executed, transaction certificates which cannot be tampered and lost are stored on the blockchain.
A schematic diagram of creating an intelligent contract and invoking the intelligent contract is shown in fig. 2. An intelligent contract is created in an Ethernet workshop and needs to be subjected to the processes of compiling the intelligent contract, changing the intelligent contract into byte codes, deploying the intelligent contract to a block chain and the like. The intelligent contract is called in the Ethernet workshop, a transaction pointing to the intelligent contract address is initiated, the EVM of each node can respectively execute the transaction, and the intelligent contract code is distributed and operated in the virtual machine of each node in the Ethernet workshop network.
With the continuous enrichment of service scenes of the blockchain, more and more blockchain projects begin to introduce some traditional service scenes unrelated to value transfer besides the services related to value transfer, such as transfer and the like; for example, a business system may interface with a business blockchain on which to complete traditional business scenarios such as electronic ticket invoicing, reimbursement, and the like.
In a conventional reimbursement scenario of an electronic bill, when an reimbursement amount in the electronic bill needs to be shared by more than two reimbursement acceptors, a user of the same electronic bill often needs to apply for reimbursement to a plurality of reimbursement acceptors. After a user applies for an reimbursement accepting party and completes reimbursement of a part of reimbursement amount in the electronic bill, the reimbursement accepting party needs to open a corresponding expense division sheet for the user based on the remaining unrembursement amount, so that the user can continue to complete reimbursement of the unremittment part based on the expense division sheet.
For example, in the field of medical reimbursement, the reimbursement amount in a medical reimbursement instrument needs to be shared by the medical insurance bureau and at least one insurance agency. For the same medical reimbursement ticket, the user often needs to apply for reimbursement from the medical insurance office and at least one insurance agency. After the user applies for the medical insurance bureau or the insurance mechanism and finishes reimbursement of part of reimbursement money in the medical reimbursement bill, the medical insurance bureau or the insurance mechanism needs to open a corresponding expense division sheet for the user based on the residual unrembursement money, so that the user can continue to finish reimbursement of the unrembursement part based on the expense division sheet.
Based on this, the application aims to provide a technical scheme for automatically generating the expense division sheet based on the unreported money in the reimbursement information of the block chain deposit certificate.
In specific implementation, when receiving a target transaction carrying a target electronic bill identifier, a node device on a block chain may call a cost division logic declared in an intelligent contract deployed on the block chain in response to the target transaction, generate a cost division sheet based on an unreported amount in reimbursement information corresponding to the target electronic bill identifier stored in the block chain, and issue the cost division sheet to the block chain for storage.
As can be seen from the above description, the node device of the blockchain may respond to the target transaction carrying the target electronic ticket identifier, invoke the fee division logic declared in the intelligent contract deployed on the blockchain, and generate the fee division sheet based on the unreported amount in the reimbursement information corresponding to the target electronic ticket identifier stored in the blockchain, thereby implementing that the user independently opens the fee division sheet by invoking the intelligent contract on the blockchain.
In addition, the electronic bill, the reimbursement information and the expense division sheet which are reimbursed by the user to each reimbursement accepting party are connected through the block chain, so that the reimbursement track of the user can be traced on the block chain.
Referring to fig. 4, fig. 4 is a schematic diagram of a block chain-based reimbursement cost division system according to an exemplary embodiment of the present disclosure.
The block chain-based reimbursement charge partitioning system comprises: block chains, reimbursement acceptors and reimbursement initiators.
The reimbursement accepting party is a mechanism capable of reimbursement processing. For example, in the field of medical reimbursement, the reimbursement recipient may be a medical insurance agency or an insurance company organization. For example, in the field of vehicle insurance reimbursement, the reimbursement recipient may be a vehicle insurance agency or the like. Here, the reimbursement accepting party is only described as an example, and is not particularly limited.
The reimbursement initiator refers to a user terminal capable of initiating reimbursement. For example, in the field of medical reimbursement, the reimbursement initiator may be a user terminal of a user who needs to perform medical reimbursement.
The blockchain described in this specification may specifically include any type of blockchain network; in practical applications, any one of a common chain, a private chain, or a federation chain may be employed. The blockchains described in this specification are as described above and will not be described herein.
Referring to fig. 5, fig. 5 is a flowchart illustrating a block chain-based reimbursement cost division method, which may be applied to a node device of a block chain, according to an exemplary embodiment of the present disclosure, and may include the following steps.
Step 502: receiving a target transaction; the target transaction carries a target electronic bill identification;
step 504: in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain;
step 506: and issuing the expense division sheet to the block chain for evidence storage.
The expense division sheet contains the non-reimbursement amount and is the basis for reimbursement by the next reimbursement accepting party.
For example, if the total amount to be reimbursed is 100 dollars and the user reimburses 40 dollars to the medical insurance bureau, the generated charge share sheet records the 60 dollar amount of non-reimbursement. When the user reimburses the insurance organization, the user can issue the expense division sheet, and the insurance organization can reimburse the expense division sheet based on the non-reimbursed 60 yuan recorded in the expense division sheet.
The electronic bill is an electronic certificate. For example, in the field of medical reimbursement, the electronic ticket is a medical reimbursement ticket or the like. In the field of vehicle insurance, the electronic ticket may be an insurance claim slip or the like. Here, the electronic ticket is merely exemplary and not particularly limited.
For the above-mentioned creation process of the intelligent contract, see the creation process shown in fig. 1, the Data field in the transaction of creating the intelligent contract information holds the fee division logic. And will not be described in detail herein.
In this embodiment, the target transaction may be a charge division transaction sent by the reimbursement accepting party, and the node device of the block chain may automatically generate the charge division list after monitoring the charge division transaction. Of course, the target transaction may also be an reimbursement transaction initiated by an reimbursement initiator, and after receiving the reimbursement transaction, the node device of the blockchain performs reimbursement verification on the target electronic bill indicated by the reimbursement transaction, generates an reimburseable event, and deposits a certificate in the blockchain to prompt the reimbursement acceptor to reimburse accordingly. After the reimbursement accepting party completes reimbursement, a charge split sheet is automatically generated based on reimbursement information issued to the blockchain by the reimbursement accepting party.
However, whether the target transaction is a charge division transaction or an reimbursement transaction, the target transaction is a transaction including invoking smart contract information. As shown in fig. 4, the From field of the target transaction is used To record the address of the account initiating the invocation of the smart contract, the To field of the target transaction is used To record the address of the invoked smart contract, and the Data field of the target transaction is used To record the method and parameters of invoking the smart contract. Of course, the target transaction may also carry different information according to different transactions, which is only illustrated by way of example and not specifically limited herein.
The two ways of generating the cost division sheet will be described in detail below.
The first method is as follows:
in this method, after receiving an reimbursement transaction initiated by an reimbursement initiator, a node device of a blockchain performs processing related to reimbursement (for example, verification of reimbursement conditions, issuance of reimburseable events, and the like), and verifies that an reimbursement accepting party issues reimbursement information to the blockchain after completion of reimbursement. And the node equipment of the block chain can automatically generate a charge division list after monitoring the charge division transaction initiated by the reimbursement accepting party.
When the method is realized, the block chain stores and proves each electronic bill and reimbursement information of each electronic bill. The origin of the reimbursement information will be described below.
The reimbursement initiator may issue an reimbursement transaction to the blockchain, the reimbursement transaction carrying an identification of the target electronic instrument to be reimbursed.
After the node equipment on the blockchain monitors the reimbursement transaction of the blockchain deposit certificate, reimbursement verification can be carried out on an reimbursement initiator by calling reimbursement logic declared in an intelligent contract deployed on the blockchain.
The reimbursement logic may be program code (e.g., some program methods or functions available for invocation) declared in the intelligent contract and associated with execution logic that performs reimbursement verification for the reimbursement initiator; the creating and calling process of the intelligent contract may refer to the creating and calling process of the intelligent contract, and this description is not repeated herein.
Specifically, the node device on the blockchain can call the reimbursement logic in the intelligent contract deployed on the blockchain, and detect whether the target electronic bill certified on the blockchain meets the reimbursement condition.
In practical applications, the reimbursement condition may include: the reimbursement authority condition of the reimbursement initiator, the reimbursement quota condition and the like. Here, the reimbursement condition is merely described as an example, and is not specifically limited.
For example, for the reimbursement authority condition of the reimbursement initiator, the block link point device may detect whether the reimbursement initiator has the reimbursement authority of the target electronic ticket. For example, whether the reimbursement originator is a payer of the targeted electronic ticket; or whether the reimbursement initiator belongs to an employee of the reimbursement recipient, or the like.
The reimbursement transaction described above may include, for example, a user identification of the reimbursement originator. When the node device in the block chain checks the reimbursement authority of the reimbursement initiator, the node device can firstly determine the user identifier of the payer in the target electronic bill, and then compare whether the user identifier of the initiator is consistent with the user identifier of the payer. If so, the node device in the blockchain may determine that the reimbursement authority for the reimbursement initiator checks.
For the reimbursement limit condition, the block chain maintains the remaining reimbursement limits of reimbursement initiators of each reimbursement initiator. The node equipment on the block chain can detect whether the reimbursement amount in the target electronic bill is smaller than the remaining reimbursement amount of the reimbursement initiator. And if the reimbursement amount in the target electronic bill is less than the remaining reimbursement amount of the reimbursement initiator, determining that the target electronic bill meets reimbursement conditions.
For example, the node devices in the blockchain may locally maintain the remaining reimbursement credit of the reimbursement originator, assuming the remaining reimbursement credit of the reimbursement originator is 10000. In this case, the node device in the block chain may determine whether the amount in the target electronic ticket is less than the remaining reimbursement amount of the reimbursement initiator when verifying the reimbursement amount of the reimbursement initiator. Assuming that the amount of money in the target electronic ticket is 1000, which is less than the remaining reimbursement amount of the reimbursement originator being maintained, the node device in the blockchain may determine that the reimbursement amount of the reimbursement originator passes the verification. In addition, the node devices in the blockchain may update the remaining reimbursement credit maintained for the reimbursement originator to 9000 for subsequent reimbursement credit verification.
In this embodiment, when the node device on the blockchain determines that the target electronic ticket satisfies the reimbursement condition, a reimburseable event that satisfies the reimbursement condition for the target electronic ticket is generated, and the reimburseable event is issued to the blockchain for deposit.
For example, a transaction log corresponding to each reimbursement transaction is also maintained on the blockchain. The transaction log can store the relevant information in the reimbursement transaction, such as the electronic bill carried in the reimbursement transaction.
When the node equipment on the blockchain determines that the target electronic bill meets reimbursement conditions, the node equipment on the blockchain can issue the reimburseable event to a transaction log corresponding to the reimbursement transaction on the blockchain for evidence storage.
The reimbursement accepting party can perform log monitoring. And when the reimbursement accepting party monitors reimburseable events in the transaction log, performing reimbursement processing locally. Such as transferring reimburseable charges to a user account. After the reimbursement process is completed, the reimbursement acceptor can issue reimbursement information to the blockchain for evidence storage.
Wherein, the reimbursement information may include: total reimbursement amount, reimbursed information, non-reimbursed information, etc. Of course, in practical applications, the reimbursement information may also include other contents, such as reimbursement time, reimbursement acceptors per reimbursement mechanism, and the like.
Based on the above description, the block chain stores reimbursement information for the target electronic ticket.
In addition, the reimbursement accepting party may issue to the blockchain a split-fee transaction carrying an identification of the target electronic ticket.
After receiving the cost division transaction initiated by the reimbursement accepting party, the node device of the blockchain may invoke the cost division logic declared in the intelligent contract deployed on the blockchain in response to the cost division transaction. For example, the cost split logic may be: searching reimbursement information corresponding to the identification of the target electronic bill, generating a charge division sheet based on the non-reimbursement amount in the reimbursement information, and then issuing the charge division sheet to the block chain for deposit evidence by the node equipment of the block chain.
For example, if the reimbursement recipient includes a medical insurance bureau and an insurance institution, the user reimburses the medical insurance bureau and then reimburses the insurance institution. Assuming that the electronic bill to be reimbursed by the user is electronic bill 1, the total reimbursement amount described in electronic bill 1 is 100 yuan.
The user terminal can construct an reimbursement transaction 1 aiming at the medical insurance bureau based on the electronic bill 1, and issues the reimbursement transaction 1 to the block chain for deposit and evidence.
After receiving the reimbursement transaction 1, the node equipment of the blockchain can call reimbursement logic declared in an intelligent contract deployed on the blockchain to determine whether the electronic bill 1 carried by the reimbursement transaction meets reimbursement conditions. If the electronic bill 1 meets the reimbursement condition 1, the node equipment of the blockchain can generate a reimburseable event that the electronic bill 1 meets the reimbursement condition, and issue the reimburseable event to a transaction log corresponding to the reimbursement transaction on the blockchain for deposit.
The medical insurance bureau can monitor the transaction log, and can carry out reimbursement processing based on the electronic bill 1 in the transaction log after monitoring reimburseable events in the transaction log of the block chain deposit certificate. For example, the medical insurance bureau can reimburse 40 yuan, and the medical insurance bureau can transfer 40 yuan to the user account. After the reimbursement process is completed, the medical insurance bureau can issue reimbursement information (such as total reimbursement amount of 100 yuan, reimbursement amount of 40 yuan and reimbursement amount of 60 yuan) of the electronic bill 1 to the blockchain for deposit and verification.
Furthermore, when a charge split order needs to be generated, the health care authority may issue a charge split transaction to the blockchain, the charge split transaction carrying the identity of the electronic ticket 1. After receiving the expense division transaction, the node device of the blockchain can call expense division logic declared in the intelligent contract deployed on the blockchain in response to the expense division transaction, determine reimbursement information of the electronic bill 1 in reimbursement information of the blockchain evidence, and generate the expense division sheet 1 based on the unreported amount (such as 60 yuan) in the reimbursement information.
The user terminal may acquire the charge division sheet 1 from the blockchain and then construct an reimbursement transaction 2 based on the charge division sheet 1 so that the insurance agency may perform an reimbursement process based on the charge division sheet 1.
Specifically, the user terminal may obtain the cost division list 1 of the block chain credit. When a user needs to initiate a reimbursement application to an insurance institution, the user can construct a reimbursement transaction 2 for the insurance institution based on the electronic ticket 1 and the expense separating sheet 1. The reimbursement transaction 2 carries an electronic bill 1 and a charge dividing bill 1. The user terminal may issue reimbursement transaction 2 to the blockchain for credentialing.
After receiving the reimbursement transaction 2, the node device of the blockchain may invoke reimbursement logic declared in an intelligent contract deployed on the blockchain to determine whether the electronic bill 1 carried by the reimbursement transaction satisfies reimbursement conditions. If the electronic bill 1 meets the reimbursement condition 1, the node equipment of the blockchain can generate a reimburseable event that the electronic bill 1 meets the reimbursement condition, and issue the reimburseable event to a transaction log corresponding to the reimbursement transaction on the blockchain for deposit.
The insurance mechanism can monitor the transaction log, and after the insurance mechanism monitors the reimburseable event in the transaction log of the block chain deposit certificate, the electronic bill 1 and the expense division sheet 1 of the block chain deposit certificate can be acquired for reimbursement processing. For example, the insurance mechanism can reimburse 40 yuan, the insurance mechanism can transfer 40 yuan to the user, and then the reimbursement information (such as reimbursement total amount of 100 yuan, reimbursement of 40 yuan by the medical insurance bureau, reimbursement of 40 yuan by the insurance mechanism, reimbursement of 20 yuan, etc.) is issued to the blockchain for deposit.
Furthermore, when a charge split order needs to be generated, the insurance agency can issue a charge split transaction to the blockchain, the charge split transaction carrying the identity of the electronic ticket 1.
After receiving the expense division transaction, the node device of the blockchain can call expense division logic declared in the intelligent contract deployed on the blockchain in response to the expense division transaction, determine reimbursement information of the electronic bill 1 in reimbursement information of the blockchain deposit certificate, generate an expense division sheet 2 based on unreported amount (such as 20 yuan) in the reimbursement information, and issue the expense division sheet 2 to the blockchain for deposit certificate.
Other insurance institutions can complete reimbursement based on the electronic bill 1 and the expense separating sheet 2 in the above manner, and the detailed description is omitted here.
The second method comprises the following steps:
in this manner, the node device of the blockchain may perform processing related to reimbursement (for example, reimbursement condition verification or the like) in response to reimbursement transaction initiated by the reimbursement initiator, and when reimbursement information that the reimbursement acceptor completes reimbursement is monitored on the blockchain, automatically generate the charge division sheet based on the amount of unrembursement in the reimbursement information.
When the transaction is realized, the reimbursement initiating direction block chain issues reimbursement transactions, and the reimbursement transactions carry the target electronic bill.
After the node equipment on the blockchain monitors the reimbursement transaction of the blockchain deposit certificate, the reimbursement logic declared in the intelligent contract deployed on the blockchain can be called to determine whether the target electronic bill meets reimbursement conditions or not in response to the reimbursement transaction.
The reimbursement condition is as described above, and is not described herein again.
If the node equipment on the block chain determines that the target electronic bill does not meet the reimbursement conditions, returning a prompt message of reimbursement failure to the reimbursement accepting party to prompt the user of reimbursement failure. For example, the node device on the blockchain may return a prompt message indicating that the reimbursement amount is not satisfied, reimbursement cannot be performed, or the reimbursement authority is not satisfied, to the user terminal, so as to prompt the user that reimbursement fails.
If the node equipment on the block chain determines that the target electronic bill meets the reimbursement condition, generating a reimburseable event aiming at that the target electronic bill meets the reimbursement condition, and issuing the reimburseable event to the block chain for deposit evidence.
For example, a transaction log corresponding to each reimbursement transaction is also maintained on the blockchain. The transaction log can store the relevant information in the reimbursement transaction, such as the electronic bill carried in the reimbursement transaction.
When the node equipment on the blockchain determines that the target electronic bill meets reimbursement conditions, the node equipment on the blockchain can issue the reimburseable event to a transaction log corresponding to the reimbursement transaction on the blockchain for evidence storage.
The reimbursement accepting party can perform log monitoring. And when the reimbursement accepting party monitors reimburseable events in the transaction log, performing reimbursement processing locally. Such as transferring reimburseable charges to a user account. After the reimbursement process is completed, the reimbursement acceptor can issue reimbursement information to the blockchain for evidence storage.
And the node equipment of the block chain can monitor reimbursement information corresponding to the target electronic bill of the block chain certificate after issuing the reimburseable event to the block chain for certificate storage.
And if the reimbursement information corresponding to the target electronic bill is monitored, further calling expense partitioning logic declared in the intelligent contract deployed on the blockchain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
If the reimbursement information of the block chain deposit certificate is not monitored within the preset monitoring duration, returning a prompt message of reimbursement failure to the reimbursement accepting party.
For example, if the reimbursement recipient includes a medical insurance bureau and an insurance institution, the user reimburses the medical insurance bureau and then reimburses the insurance institution. Assuming that the electronic bill to be reimbursed by the user is electronic bill 1, the total reimbursement amount described in electronic bill 1 is 100 yuan.
The user terminal can construct an reimbursement transaction 1 aiming at the medical insurance bureau based on the electronic bill 1, and issue the reimbursement transaction 1 to the block chain for deposit evidence.
After the node device of the blockchain receives the reimbursement transaction 1, the reimbursement logic declared in the intelligent contract deployed on the blockchain can be called in response to the reimbursement transaction 1, and whether the electronic bill 1 carried by the reimbursement transaction 1 meets reimbursement conditions or not is determined.
If the electronic bill 1 does not meet the reimbursement condition 1, the node equipment of the block chain can return prompt information of expense reimbursement failure to the reimbursement accepting party.
If the electronic bill 1 meets the reimbursement condition 1, the node equipment of the block chain can generate a reimburseable event 1 of the electronic bill 1 meeting the reimbursement condition, and issue the reimburseable event 1 to a transaction log corresponding to the reimbursement transaction 1 on the block chain for evidence storage.
The medical insurance bureau can monitor the transaction log, and can acquire the block chain deposit evidence electronic bill 1 and carry out reimbursement processing after the medical insurance bureau monitors the reimburseable event in the transaction log. For example, the medical insurance bureau can reimburse 40 yuan, and the medical insurance bureau can transfer 40 yuan to the user account. After the reimbursement process is completed, the medical insurance bureau can issue reimbursement information 1 (such as total reimbursement amount of 100 yuan, reimbursement amount of 40 yuan and reimbursement amount of 60 yuan) of the electronic bill 1 to the block chain for deposit and verification.
After issuing the reimburseable event 1 to the block chain for storage, the node equipment of the block chain can monitor reimburseable information 1 corresponding to the electronic bill 1 stored on the block chain.
If the node device of the blockchain monitors the reimbursement information 1, a charge division sheet 1 is generated based on the non-reimbursement amount (such as 60 yuan) in the reimbursement information 1, and the charge division sheet 1 is issued to the blockchain for storage.
The user terminal may acquire the charge division sheet 1 from the blockchain and then construct an reimbursement transaction 2 based on the charge division sheet 1 so that the insurance agency may perform an reimbursement process based on the charge division sheet 1.
Specifically, the user terminal may obtain the cost division list 1 of the block chain credit. When a user needs to initiate a reimbursement application to an insurance institution, the user can construct a reimbursement transaction 2 for the insurance institution based on the electronic ticket 1 and the expense separating sheet 1. The reimbursement transaction 2 carries the identification of the electronic bill 1 and the identification of the expense division sheet 1. The user terminal may issue reimbursement transaction 2 to the blockchain for credentialing.
After receiving the reimbursement transaction 2, the node device of the blockchain may invoke reimbursement logic declared in an intelligent contract deployed on the blockchain to determine whether the electronic bill 1 carried by the reimbursement transaction satisfies reimbursement conditions. If the electronic bill 1 meets the reimbursement condition 1, the node equipment of the blockchain can generate a reimburseable event that the electronic bill 1 meets the reimbursement condition, and issue the reimburseable event to a transaction log corresponding to the reimbursement transaction on the blockchain for deposit. The transaction log also stores information such as an electronic bill 1 identifier, a charge division sheet 1 identifier and the like.
The insurance mechanism can monitor the transaction log, and after the insurance mechanism monitors the reimburseable event in the transaction log of the block chain deposit certificate, the electronic bill 1 and the expense division sheet 1 of the block chain deposit certificate can be acquired for reimbursement processing. For example, the insurance mechanism can reimburse 40 yuan, the insurance mechanism can transfer 40 yuan to the user, and then issue reimbursement information 2 (such as reimbursement total amount of 100 yuan, reimbursement of 40 yuan by the medical insurance bureau, reimbursement of 40 yuan by the insurance mechanism, reimbursement of 20 yuan, etc.) to the blockchain for deposit.
When the node device of the blockchain monitors the reimbursement information 2, the cost division sheet 2 can be generated based on the unreported amount (for example, 20 yuan) in the reimbursement information 2, and the cost division sheet 2 is issued to the blockchain for storage.
The user can also initiate reimbursement applications for other insurance institutions, and other insurance institutions can complete reimbursement based on the electronic bill 1 and the expense division sheet 2 in the manner described above, and details are not repeated here.
As can be seen from the above description, the node device of the block chain may respond to the target transaction carrying the target electronic ticket identifier, invoke the cost division logic declared in the intelligent contract deployed on the block chain, and generate the cost division sheet based on the unreported amount in the reimbursement information corresponding to the target electronic ticket identifier stored in the block chain, thereby implementing that the user independently makes the cost division sheet by invoking the intelligent contract with the block chain identifier.
On the other hand, the data of the block chain deposit certificate has the characteristic of being not falsifiable, so that the adoption of the block chain deposit certificate reimbursement information and the cost division list is not easy to be falsified, and the trueness degree is higher.
In the third aspect, the electronic bill for reimbursement from the user to each reimbursement accepting party, reimbursement information and the expense division list are linked through the block chain, so that the reimbursement track of the user can be traced on the block chain.
Corresponding to the above method embodiments, the present specification further provides an embodiment of a reimbursement cost division apparatus based on a blockchain.
Referring to fig. 6, fig. 6 is a block diagram illustrating a block chain-based reimbursement charge partitioning apparatus according to an exemplary embodiment of the present disclosure, which may include the following elements.
A receiving unit 601 that receives a target transaction; the target transaction carries a target electronic bill identification;
a calling unit 602, configured to, in response to the target transaction, call a cost splitting logic declared in an intelligent contract deployed on the blockchain, and generate a cost splitting list based on an unreported amount in reimbursement information corresponding to the target electronic ticket identifier stored in the blockchain;
the issuing unit 603 issues the cost division sheet to the block chain for storage.
Optionally, the target transaction is a charge division transaction initiated by a reimbursement accepting party; the block chain deposit certificate has reimbursement information of the electronic bill;
the calling unit 602 searches reimbursement information corresponding to the target electronic bill identification of the block chain deposit certificate; and generating a charge division sheet based on the found non-reimbursement amount in the reimbursement information.
Optionally, the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
the calling unit 602, in response to the target transaction, calls reimbursement logic declared in an intelligent contract deployed on the blockchain to determine whether the target electronic ticket satisfies reimbursement conditions; if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence; and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
Optionally, the calling unit 602 returns a prompt message of failure of reimbursement to the reimbursement accepting party if reimbursement information of the block link deposit certificate is not monitored within a preset monitoring duration.
Optionally, the invoking unit 602 returns a prompt message of reimbursement failure to the reimbursement accepting party if the target electronic ticket does not satisfy the reimbursement condition.
In addition, the present specification also provides an electronic device in which the block chain-based reimbursement charge partitioning apparatus is located.
Referring to fig. 7, fig. 7 is a hardware structure diagram of an electronic device in which a block chain-based reimbursement charge partitioning apparatus is located according to an exemplary embodiment of the present disclosure.
The electronic device includes: a communication interface 701, a processor 702, a machine-readable storage medium 703, and a bus 704; the communication interface 701, the processor 702, and the machine-readable storage medium 703 are in communication with one another via a bus 704. The processor 702 may perform the block chain based reimbursement cost split method described above by reading and executing machine executable instructions in the machine readable storage medium 703 corresponding to block chain based reimbursement cost split control logic.
The machine-readable storage medium 703 as referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 703 may be RAM (random Access Memory), flash Memory, a storage drive (e.g., a hard disk drive), a solid state drive, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Wherein, by reading and executing machine-executable instructions stored by the memory corresponding to control logic for partition based on reimbursement charges for blockchains, the processor is caused to:
receiving the sent target transaction; the target transaction carries a target electronic bill identification;
in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain;
and issuing the expense division sheet to the block chain for evidence storage.
Optionally, the target transaction is a charge division transaction initiated by a reimbursement accepting party; the block chain deposit certificate has reimbursement information of the electronic bill;
upon generating a cost split ticket based on an amount of non-reimbursement in reimbursement information corresponding to the target electronic ticket identification for the blockchain deposit certificate, the processor is caused to:
searching reimbursement information corresponding to the target electronic bill identification of the block chain deposit certificate;
and generating a charge division sheet based on the found non-reimbursement amount in the reimbursement information.
Optionally, the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
in response to the target transaction, invoking expense split logic declared in a smart contract deployed on the blockchain, the processor being caused to, when generating an expense split sheet based on an amount of non-reimbursement in reimbursement information corresponding to the target electronic ticket identification credited by the blockchain:
in response to the target transaction, invoking reimbursement logic declared in a smart contract deployed on the blockchain to determine whether the target electronic ticket satisfies reimbursement conditions;
if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence;
and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
Optionally, the processor is further caused to read and execute machine executable instructions stored by the memory corresponding to control logic for partition based on reimbursement costs for blockchains, the machine executable instructions comprising:
if the reimbursement information of the block link deposit evidence is not monitored within the preset monitoring duration, returning a prompt message of reimbursement failure to the reimbursement accepting party.
Optionally, the processor is further caused to read and execute machine executable instructions stored by the memory corresponding to control logic for partition based on reimbursement costs for blockchains, the machine executable instructions comprising:
and if the target electronic bill does not meet the reimbursement condition, returning a prompt message of reimbursement failure to the reimbursement acceptor.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (9)

1. A partition method for reimbursement charge based on block chain, the method is applied to node equipment of the block chain, and the method comprises the following steps:
receiving a target transaction; the target transaction carries a target electronic bill identification;
in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain; the expense division sheet is the basis for reimbursement by the next reimbursement accepting party;
issuing the expense division sheet to the block chain for evidence storage;
the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
the step of calling expense division logic declared in an intelligent contract deployed on the block chain in response to the target transaction, and generating an expense division sheet based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain comprises the following steps:
in response to the target transaction, invoking reimbursement logic declared in a smart contract deployed on the blockchain to determine whether the target electronic ticket satisfies reimbursement conditions;
if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence;
and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
2. The method of claim 1, wherein the target transaction is a charge split transaction initiated by a reimbursement accepting party; the block chain deposit certificate has reimbursement information of the electronic bill;
generating a cost division list based on the non-reimbursement amount in reimbursement information corresponding to the target electronic bill identification and stored in the block chain, wherein the cost division list comprises:
searching reimbursement information corresponding to the target electronic bill identification of the block chain deposit certificate;
and generating a charge division sheet based on the found non-reimbursement amount in the reimbursement information.
3. The method of claim 1, further comprising:
if the reimbursement information of the block link deposit certificate is not monitored within the preset monitoring duration, returning a prompt message of expense reimbursement failure to the reimbursement accepting party.
4. The method of claim 1, further comprising:
and if the target electronic bill does not meet the reimbursement condition, returning a prompt message of reimbursement failure to the reimbursement acceptor.
5. An expense distribution partitioning apparatus based on a blockchain, the apparatus being applied to a node device of the blockchain, the apparatus comprising:
a receiving unit that receives a target transaction; the target transaction carries a target electronic bill identification;
the calling unit is used for responding to the target transaction, calling the expense dividing logic declared in the intelligent contract arranged on the block chain, and generating an expense dividing sheet based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain; the expense division sheet is the basis for reimbursement by the next reimbursement accepting party;
the issuing unit is used for issuing the expense division sheet to the block chain for evidence storage;
the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
the calling unit is used for responding to the target transaction, calling reimbursement logic declared in an intelligent contract deployed on the blockchain and determining whether the target electronic bill meets reimbursement conditions; if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence; and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
6. The apparatus of claim 5, wherein the target transaction is a charge split transaction initiated by a reimbursement accepting party; the block chain deposit certificate has reimbursement information of the electronic bill;
the calling unit is used for searching reimbursement information corresponding to the target electronic bill identification of the block chain deposit certificate; and generating a charge division sheet based on the found non-reimbursement amount in the reimbursement information.
7. The apparatus according to claim 5, wherein the invoking unit returns a notification message of reimbursement failure to the reimbursement accepting party if reimbursement information of the block link credit has not been monitored within a preset monitoring duration.
8. The apparatus according to claim 5, wherein the calling unit returns a notification message indicating that reimbursement has failed to the reimbursement recipient if the target electronic ticket does not satisfy the reimbursement condition.
9. An electronic device, comprising:
a processor;
a memory for storing machine executable instructions;
wherein, by reading and executing machine-executable instructions stored by the memory corresponding to control logic for partition based on reimbursement charges for blockchains, the processor is caused to:
receiving a target transaction; the target transaction carries a target electronic bill identification;
in response to the target transaction, calling expense dividing logic declared in an intelligent contract deployed on the block chain, and generating an expense dividing bill based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain; the expense division sheet is the basis for reimbursement by the next reimbursement accepting party;
issuing the expense division sheet to the block chain for evidence storage;
the target transaction is an reimbursement transaction initiated by an reimbursement initiator; the block chain certifies a target electronic ticket corresponding to the reimbursement transaction;
the step of calling expense division logic declared in an intelligent contract deployed on the block chain in response to the target transaction, and generating an expense division sheet based on the unreported amount in the reimbursement information corresponding to the target electronic bill identification stored in the block chain comprises the following steps:
in response to the target transaction, invoking reimbursement logic declared in a smart contract deployed on the blockchain to determine whether the target electronic ticket satisfies reimbursement conditions;
if the target electronic bill meets reimbursement conditions, generating reimburseable events of which the target electronic bill meets reimbursement conditions, and issuing the reimburseable events to the block chain for deposit evidence, so that when the reimbursement accepting party monitors the reimburseable events of the block chain for deposit evidence, reimbursement processing is performed on the target electronic bill, and reimbursement information is issued to the block chain for deposit evidence;
and in response to the monitored reimbursement information of the block chain deposit evidence, further calling expense partitioning logic declared in an intelligent contract deployed on the block chain, and generating an expense partitioning list based on the non-reimbursement amount in the reimbursement information.
CN201910703762.0A 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment Active CN110443612B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN202110181731.0A CN112819632A (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment
CN201910703762.0A CN110443612B (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment
PCT/CN2020/071994 WO2021017432A1 (en) 2019-07-31 2020-01-14 Blockchain-based reimbursement expense segmentation method and apparatus, and electronic device
US16/779,449 US11250438B2 (en) 2019-07-31 2020-01-31 Blockchain-based reimbursement splitting
TW109106024A TW202107372A (en) 2019-07-31 2020-02-25 Reimbursement expense segmentation method and device based on block chain and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910703762.0A CN110443612B (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110181731.0A Division CN112819632A (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110443612A CN110443612A (en) 2019-11-12
CN110443612B true CN110443612B (en) 2020-12-22

Family

ID=68432604

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910703762.0A Active CN110443612B (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment
CN202110181731.0A Pending CN112819632A (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110181731.0A Pending CN112819632A (en) 2019-07-31 2019-07-31 Block chain-based reimbursement expense segmentation method and device and electronic equipment

Country Status (3)

Country Link
CN (2) CN110443612B (en)
TW (1) TW202107372A (en)
WO (1) WO2021017432A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11250438B2 (en) 2019-07-31 2022-02-15 Advanced New Technologies Co., Ltd. Blockchain-based reimbursement splitting
CN110443612B (en) * 2019-07-31 2020-12-22 创新先进技术有限公司 Block chain-based reimbursement expense segmentation method and device and electronic equipment
CN113612741B (en) * 2020-12-01 2023-08-08 支付宝(杭州)信息技术有限公司 Method, device, equipment and storage medium for storing certificate of article circulation record

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130325579A1 (en) * 2012-06-04 2013-12-05 Visa International Service Association Systems and methods to process loyalty benefits
US10332055B2 (en) * 2012-10-08 2019-06-25 Cerner Innovation, Inc. Score cards
US10068228B1 (en) * 2013-06-28 2018-09-04 Winklevoss Ip, Llc Systems and methods for storing digital math-based assets using a secure portal
US20150227890A1 (en) * 2014-02-07 2015-08-13 Kristin Kaye Bednarek Communications system and smart device apps supporting segmented order distributed distribution system
CN104484824A (en) * 2014-12-25 2015-04-01 上海亿保健康管理有限公司 System and method for automatically converting consumption data into claim settlement information
CN106408421B (en) * 2016-02-26 2019-09-10 平安科技(深圳)有限公司 Cross-platform declaration form processing method, device and system
US20200126050A1 (en) * 2017-01-19 2020-04-23 Nokia Technologies Oy IoT GATEWAY AND DESTINATION CLOUD SERVER
CN106952153A (en) * 2017-03-13 2017-07-14 广东网金控股股份有限公司 A kind of method of charging out based on block chain
CN107909456A (en) * 2017-10-19 2018-04-13 远光软件股份有限公司 One kind reimbursement equipment and its processing method
CN109035019B (en) * 2018-07-11 2023-06-16 平安科技(深圳)有限公司 Bill transaction method, system, computer device and storage medium
CN109299907A (en) * 2018-08-01 2019-02-01 平安科技(深圳)有限公司 Method of charging out, device, computer equipment and storage medium
CN109165957A (en) * 2018-08-14 2019-01-08 海南高灯科技有限公司 Invoice data method of charging out, system and relevant device based on block chain
CN110473078B (en) * 2018-09-07 2023-04-07 深圳市智税链科技有限公司 Information processing method, device, gateway server and medium in invoice issuing
CN110047008A (en) * 2018-12-18 2019-07-23 阿里巴巴集团控股有限公司 A kind of Claims Resolution method and apparatus based on block chain
CN110009435A (en) * 2018-12-25 2019-07-12 阿里巴巴集团控股有限公司 Based on the invoice method of charging out and device of block chain, electronic equipment
CN110020900A (en) * 2018-12-25 2019-07-16 阿里巴巴集团控股有限公司 Invoice based on block chain rushes red method and device and electronic equipment
CN110443612B (en) * 2019-07-31 2020-12-22 创新先进技术有限公司 Block chain-based reimbursement expense segmentation method and device and electronic equipment

Also Published As

Publication number Publication date
WO2021017432A1 (en) 2021-02-04
CN112819632A (en) 2021-05-18
TW202107372A (en) 2021-02-16
CN110443612A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN110706114B (en) Block chain-based default asset processing method and device and electronic equipment
CN110471984B (en) Service processing method and device based on block chain and electronic equipment
CN110163590B (en) Payment withholding method and device based on block chain, electronic equipment and storage medium
CN110765200B (en) Asset procurement method and device based on block chain and electronic equipment
CN110147990B (en) Payment withholding subscription method and device based on block chain and electronic equipment
CN110458631B (en) Bill number distribution method and device based on block chain and electronic equipment
CN110471986B (en) Bill real name getting method and device based on block chain and electronic equipment
CN111062796A (en) Block chain-based payroll distribution method and device and electronic equipment
CN110443612B (en) Block chain-based reimbursement expense segmentation method and device and electronic equipment
TW202107375A (en) Blockchain-based note verification method and apparatus, electronic device, and storage medium
CN111383117A (en) Asset management method and device based on block chain and electronic equipment
CN112200571A (en) Resource distribution method and device based on block chain and electronic equipment
CN111738724B (en) Cross-border resource transfer authenticity auditing method and device, and electronic equipment
CN112200568B (en) Block chain based account creation method and device and electronic equipment
CN111383120A (en) Asset management method and device based on block chain and electronic equipment
CN111383119A (en) Asset management method and device based on block chain and electronic equipment
CN112015822B (en) Block chain data deleting method and device
CN111553695B (en) Cross-region payment method and device and electronic equipment
CN111383122A (en) Asset management method and device based on block chain and electronic equipment
CN112015576A (en) Calling method and device of intelligent contract
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
CN110717820A (en) Asset compensation method and device based on block chain and electronic equipment
CN113570459A (en) Block chain data deleting method and device
CN111639125A (en) Resource circulation method and device based on block chain
CN112200572A (en) Resource distribution method and device based on block chain and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40017416

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201012

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

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

Applicant after: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant