CN110751483A - Financial accounting and sales rushing method and device based on block chain and electronic equipment - Google Patents

Financial accounting and sales rushing method and device based on block chain and electronic equipment Download PDF

Info

Publication number
CN110751483A
CN110751483A CN201910974140.1A CN201910974140A CN110751483A CN 110751483 A CN110751483 A CN 110751483A CN 201910974140 A CN201910974140 A CN 201910974140A CN 110751483 A CN110751483 A CN 110751483A
Authority
CN
China
Prior art keywords
accounting
billing
target
reimbursement
party
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910974140.1A
Other languages
Chinese (zh)
Inventor
袁海波
王飞
杨芳
胡海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201910974140.1A priority Critical patent/CN110751483A/en
Publication of CN110751483A publication Critical patent/CN110751483A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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/12Accounting

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses an accounting and accounting reimbursement method and device based on a block chain and electronic equipment. The method comprises the following steps: receiving a financial accounting cancellation request initiated by an accounting cancellation party and aiming at target accounting for the evidence stored in the blockchain; in response to the financial billing reimbursement request, determining whether the billing reimburser has reimbursement authority for the target billing; and if the accounting reimbursement party has the reimbursement authority of the target accounting, invoking accounting reimbursement logic declared in the intelligent contract issued on the block chain, and performing reimbursement processing on the target accounting. In addition, a financial accounting offset device and electronic equipment based on the block chain are provided. The invention can ensure the data security and the data accuracy of the accounting on the block chain.

Description

Financial accounting and sales rushing method and device based on block chain and electronic equipment
Technical Field
The invention relates to the technical field of block chain accounting, in particular to an accounting reimbursement method and device based on a block chain and electronic equipment.
Background
The traditional accounting is usually completed by a data center and a large amount of manpower through traditional accounting software, the processing capacity of the data center influences the efficiency of accounting, and the fault of the data center seriously hinders the development of accounting business. With traditional accounting software, after accounting, the accounting data is easily modified by the user or a non-trusted third party, which may result in the unreal financial data viewed by the user or the auditor. The defects that supervision is difficult and data is not easy to correct after being tampered often exist in the process of interaction between a large amount of manpower and a data center.
The block chain (Blockchain) is a billing Technology which is commonly maintained by multiple parties, uses cryptography to ensure transmission and access security, can realize data consistent storage, is difficult to tamper and prevents repudiation, and is also called Distributed Ledger Technology (Distributed Ledger Technology). As a novel computing paradigm and a cooperation mode for establishing trust with low cost in an untrusted competitive environment, a blockchain changes application scenarios and operation rules of various industries by virtue of a unique trust establishment mechanism of the blockchain. The blockchain mainly comprises four components of a P2P network infrastructure, a password library, a consensus mechanism and an intelligent contract, unique characteristics of the four components are guaranteed through technical integration of the four components, the blockchain technology is a tool which can be used for recording and proving transaction consistency and company financial accuracy without a third party, and requirements on audit effectiveness, accuracy and timeliness can be met.
Since the blockchain has the distinct characteristics of decentralization, openness and transparency and difficulty in tampering, the blockchain technology has been widely applied in many fields. As for the application of the blockchain to the accounting, on one hand, the data security and the data accuracy of the accounting data are ensured by using the blockchain technology to perform the accounting; on the other hand, the user may inevitably have wrong account in the accounting process, or the system needs to withdraw the corresponding accounting account due to the business process. How to solve the reimbursement problem of accounting on the block chain to ensure the data security and data accuracy of the accounting data is the accounting problem which needs to be solved at present.
Disclosure of Invention
In view of this, the invention provides an accounting cancellation method and apparatus based on a block chain and an electronic device, which are used for solving the cancellation problem of accounting on the block chain so as to ensure data security and data accuracy of accounting on the block chain.
The invention solves the problems through the following technical scheme: a block chain based financial accounting cancellation method is characterized by comprising the following steps: receiving a financial accounting cancellation request initiated by an accounting cancellation party and aiming at target accounting for evidence stored in a block chain; responding to the financial accounting reimbursement request, and determining whether the accounting reimbursement party has the reimbursement authority of the target accounting; and c, if the accounting reimbursement party has the reimbursement authority of the target accounting, invoking accounting reimbursement logic declared in the intelligent contract issued on the block chain, and performing reimbursement processing on the target accounting.
Preferably, the intelligent contract also declares authority verification logic for the accounting impulse party; the step b of determining whether the billing impulse party has the impulse right of the target billing or not comprises the following steps: and calling the authority verification logic declared in the intelligent contract to determine whether the accounting impulse distributor has the impulse authority of the target accounting.
Preferably, the financial accounting reimbursement request carries the user identifier of the accounting reimbursement party; the step b of determining whether the billing impulse party has the impulse right of the target billing or not comprises the following steps: determining whether the billing impulse party is an original billing party or a trusted third party of the target billing based on the user identification; and if the accounting reimbursement party is the accounting reimbursement party or the trusted third party of the target accounting, determining that the accounting reimbursement party has the reimbursement authority of the target accounting.
Preferably, the financial accounting reimbursement request carries an accounting identifier of the target accounting; the method further comprises the following steps: and determining whether the block chain stores the accounting corresponding to the accounting identifier or not based on the accounting identifier, and if so, determining the block chain as the target accounting.
Preferably, the offsetting the target accounting in the step c includes: changing the state of the target billing from a valid state to an invalid state.
Preferably, the financial accounting reimbursement request carries correct accounting data to be reimbursed and accounted; the intelligent contract also declares the impulse accounting logic; the step c of canceling the target account comprises: and calling the reimbursement accounting logic declared in the intelligent contract based on the correct accounting data of the to-be-reimbursed accounting and the accounting data of the target accounting to generate reimbursement accounting corresponding to the target accounting.
Preferably, billing viewing logic and/or compliance verification logic is also declared in the intelligent contract.
Further, still provide a financial accounting cancellation device based on block chain, its characterized in that, the device includes: the receiving module is used for receiving a financial accounting cancellation request initiated by an accounting cancellation party and aiming at target accounting for the evidence stored in the block chain; a first determination module, configured to determine, in response to the financial billing reimbursement request, whether the billing reimburser has the reimbursement authority of the target billing; and the accounting reimbursement module is used for calling accounting reimbursement logic declared in the intelligent contract issued on the block chain to reimburse the target accounting if the accounting reimbursement party has the reimbursement authority of the target accounting.
Preferably, the device adopts the aforementioned block chain-based financial accounting offsetting method to realize accounting offsetting.
Further, there is also provided an electronic device including: a processor; a memory for storing a processor executable computer program; wherein the processor executes the executable computer program to implement the aforementioned block chain based financial billing impulse method.
The invention has the beneficial effects that: when an accounting impulse and sales party initiates an accounting impulse and sales request aiming at a certain accounting stored in a block chain, the accounting impulse and sales party is verified by calling corresponding logic in an intelligent contract issued on the block chain, and when the accounting impulse and sales party is determined to have the impulse and sales right of the accounting, the accounting is processed by impulse and sales. Therefore, when the offset processing is carried out on the accounting of the evidence stored in the block chain, the data security and the data accuracy of the accounting on the block chain can be ensured.
Drawings
Fig. 1 is a flowchart of a block chain-based financial accounting cancellation method according to an embodiment of the present invention;
fig. 2 is a block diagram of a block chain-based financial accounting cancellation device according to an embodiment of the present invention;
FIG. 3 is a block diagram of the accounting cancellation module of the accounting cancellation device according to the embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
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.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this 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 herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
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.
The present specification aims to provide a method for processing the offset of financial bookings accrued in a blockchain, and a device and equipment using the method.
In one embodiment, when a user needs to offset a certain financial accounting that is credited in a blockchain and an associated accounting belonging to the same business as the accounting, a request for offsetting the financial accounting for the accounting and the associated accounting belonging to the same business as the accounting (called target accounting) can be initiated by the user (called accounting offsetting party) through a client.
And the accounting node or the accounting impulse node in the block chain can respond to the financial accounting impulse request after receiving the financial accounting impulse request.
Specifically, it may be determined whether the billing impulse party has the impulse authority of the target billing. For a certain accounting, the original accounting party or the trusted third party of the accounting is generally only allowed to carry out reimbursement processing on the accounting so as to ensure the data security of the accounting and avoid malicious reimbursement of the accounting. In this case, it may be determined first whether the billing impulse party originating the impulse request has the impulse rights of the target billing. If the billing impulse party is the original billing party or a trusted third party to the billing, it may be determined that the billing impulse party has the impulse rights to the billing. The trusted third party may include: a superior organization of the billed primary biller, a superior leader of the billed primary biller, other trusted authorities, or any organization or individual who has been authorized to reimburse the billings.
After determining that the accounting impulse party has the impulse authority of the accounting, the accounting node or the accounting impulse node can call accounting impulse logic declared in an intelligent contract issued on the blockchain to carry out impulse processing on the target accounting certified in the blockchain.
In the above technical solution, when an accounting impulse and cancellation party initiates an accounting impulse and cancellation request for a certain accounting stored in a block chain, the accounting impulse and cancellation party can be verified for impulse and cancellation authority by calling corresponding logic in an intelligent contract issued on the block chain, and when it is determined that the accounting impulse and cancellation party has the impulse and cancellation authority of the accounting, the accounting is processed for impulse and cancellation. Therefore, when the offset processing is carried out on the accounting of the evidence stored in the block chain, the data security and the data accuracy of the accounting on the block chain can be ensured.
The block chain described in this specification may specifically include any type of block chain network; for example, in practical applications, any one of a public chain, a private chain, or a federation chain may be employed.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a block chain-based financial accounting cancellation method according to an embodiment of the present invention. As shown in fig. 1, there is provided a block chain-based financial accounting cancellation method, the method comprising the steps of:
step S102: receiving a financial accounting cancellation request initiated by an accounting cancellation party and aiming at target accounting for the evidence stored in the blockchain;
step S104: in response to the financial billing reimbursement request, determining whether the billing reimburser has reimbursement authority for the target billing;
step S106: and if the accounting reimbursement party has the reimbursement authority of the target accounting, invoking accounting reimbursement logic declared in the intelligent contract issued on the block chain, and performing reimbursement processing on the target accounting.
Since the data stored in the blockchain has the property of being not tampered, the data is stored in the blockchain for data storage. In this embodiment, the accounting may be credited in the blockchain.
When the accounting and canceling party needs to carry out canceling processing on the target accounting which is stored in the block chain, a canceling request for canceling the target accounting can be initiated by a client used by the accounting and canceling party.
The accounting node or accounting cancellation node in the blockchain may respond to the cancellation request after receiving the cancellation request.
Preferably, it may be determined whether the billing impulse party has the impulse authority of the target billing first.
And if the accounting reimbursement party has the reimbursement authority of the target accounting, invoking accounting reimbursement logic declared in the intelligent contract issued on the block chain, and performing reimbursement processing on the target accounting.
Wherein, the accounting reimbursement logic may specifically be program code declared in the intelligent contract that is associated with execution logic that reimburses accounting. Scale, some procedure methods or functions that are available for invocation.
In one embodiment, the intelligent contract may also declare authority verification logic for the billing impulse party. In this case, the authority verification logic declared in the intelligent contract may be invoked to determine whether the billing impulse party has the impulse authority of the target billing.
Wherein the authority verification logic may specifically be program code declared in the intelligent contract relating to execution logic verifying the impulse authority of the accounting impulse party.
It should be noted that the above-described intelligent contract for performing reimbursement processing on the account and the intelligent contract for verifying reimbursement authority of the reimbursement party may be integrated into one intelligent contract to be deployed on the block chain, or may be deployed on the block chain as two different intelligent contracts, which is not limited in this specification.
In another preferred embodiment, the impulse request for the target accounting initiated by the accounting impulse party through the client used by the accounting impulse party may include the user identification of the accounting impulse party, so that it may be determined whether the accounting impulse party has the impulse right of the target accounting based on the user identification of the accounting impulse party.
Specifically, the user identification of the billing impulse party can be matched with the user identification of the original billing party of the target billing to determine whether the billing impulse party is the original billing party of the target billing. If the user identification of the accounting impulse party is the same as the user identification of the original accounting party of the target accounting, the accounting impulse party can be determined to be the original accounting party of the target accounting, so that the accounting impulse party can be determined to have the impulse authority of the target accounting.
Alternatively, the user identification of the billing impulse party may be matched with the user identification of the trusted third party to determine whether the billing impulse party is a trusted third party. If the user identity of the billing impulse party is the same as the user identity of the (certain) trusted third party, the billing impulse party may be determined to be the trusted third party, and thus the billing impulse party may be determined to have the impulse rights of the target billing.
Accordingly, if it is determined that the billing impulse party is neither the original billing party nor the trusted third party for the target billing, it may be determined that the billing impulse party does not have the impulse rights for the target billing. In this case, the target accounting may not be subjected to subsequent offset processing.
The user identification can be an individual identification number or an organization code of a trusted third party; alternatively, the user identifier may be a user number assigned to an individual, a business, an organization, a business, or a department in an organization, and the user numbers assigned to different users are different, which is not limited in this specification.
In another embodiment, when the accounting is deposited in the blockchain, the original accounting party or the user of the trusted third party having the charge-off authority of the accounting can be identified in the blockchain to be deposited correspondingly.
After receiving the reimbursement request for the target account including the user identifier of the accounting reimbursement party, the user identifier of the accounting reimbursement party may be matched with the user identifier corresponding to the target account. If the user identification of the accounting reimbursement party is the same as a certain user identification corresponding to the target accounting, the accounting reimbursement party can be determined to have the reimbursement authority of the target accounting.
In a certain embodiment, the billing impulse and sales party initiates an impulse and sales request for the target billing through a client used by the billing impulse and sales party, where the impulse and sales request may include a billing identifier of the target billing, so that it may be determined whether the target billing has been credited in the blockchain, and then, when it is determined that the target billing has been credited in the blockchain, it is determined whether the billing impulse and sales party has the impulse and sales authority of the target billing, so as to avoid an invalid operation when the target billing has not been credited in the blockchain, and reduce device resource consumption.
Specifically, when the accounting is stored in the blockchain, the accounting identifier of the accounting can be correspondingly stored in the blockchain at the same time.
After receiving the reimbursement request for the target accounting containing the accounting identification of the target accounting, the accounting identification of the target accounting can be matched with the accounting identification of each accounting which is already stored in the blockchain. If the accounting identification of the accounting is the same as the accounting identification of a certain accounting which is already stored in the block chain, the accounting corresponding to the accounting identification can be determined to be stored in the block chain, and the accounting is determined as the target accounting. Thereafter, it may be determined whether the billing impulse party has impulse rights for the target billing.
Accordingly, if it is determined that the block chain does not store the accounting corresponding to the accounting identifier, it is no longer necessary to determine whether the accounting impulse party has the impulse right of the target accounting.
The accounting identifier is any character string which can uniquely represent an accounting in the block chain system. For example, the billing identifier may be a hash value obtained by performing a hash calculation on the billing data; alternatively, the hash value may be obtained by performing a hash calculation on unique information (for example, a billing number or a combination of an organization code and a billing number) in the billing data.
For example, assuming that only accounting 1 and accounting 2 are stored in the block chain, and the accounting identifier of accounting 1 is accounting identifier 1, and the accounting identifier of accounting 2 is accounting identifier 2, after receiving a reimbursement request for accounting 1 including accounting identifier 1, it may be determined that accounting 1 corresponding to accounting identifier 1 is stored in the block chain according to the above assumption, and determine accounting 1 as the target accounting; after receiving the reimbursement request for the accounting 3 including the accounting identifier 3, determining that the accounting 3 corresponding to the accounting identifier 3 is not stored in the block chain according to the assumption; and so on.
In one embodiment, since the data stored in the blockchain has the property of being not tampered, the state of the target accounting can be updated from the valid state to the invalid state, so as to realize the reimbursement process of the target accounting.
For example, when the target accounting is stored in the blockchain, a state identifier for representing that the target accounting is valid may also be set for the target accounting, that is, the state of the target accounting is a valid state at this time. Subsequently, when it is determined that the reimbursement processing needs to be performed on the target accounting, the state identifier of the target accounting can be updated to the state identifier representing that the target accounting is invalid, that is, the state of the target accounting is updated from the valid state to the invalid state.
The status identifier may specifically be a specific byte or a boolean value set for accounting. This is not a limitation of the present specification.
In another embodiment, the financial billing reimbursement request carries correct billing data for the reimbursement to be billed; the intelligent contract also declares the impulse accounting logic; in this case, based on the correct billing data of the to-be-charged-and-reimbursed billing and the billing data of the target billing, the charging-and-reimbursed billing logic declared in the intelligent contract is called, and the charging-and-reimbursed billing corresponding to the target billing is generated.
Wherein the reimbursement billing logic may be specifically program code declared in the intelligent contract relating to reimbursement billing execution logic for the billing reimbursement party.
Wherein the reimbursement bookkeeping refers to a correct bookkeeping corresponding to the target bookkeeping (as a wrong account in the accounting bookkeeping), and the correct bookkeeping corresponds to an accounting entry in red writing and/or an accounting entry in blue writing in the accounting bookkeeping.
And acquiring accounting data of the target accounting before calling the reimbursement accounting logic declared in the intelligent contract and generating reimbursement accounting corresponding to the target accounting. In one embodiment, billing viewing logic is also declared in the intelligent contract, in which case the billing viewing logic declared in the intelligent contract is invoked to obtain billing data for the target billing based on the billing identification of the target billing. The billing data for the target billing may be stored in the blockchain or in a billing system outside the blockchain.
Wherein, the correct accounting data for the accounting to be charged and sold comprises: accounting account, debit subject, credit subject, debit generation amount, credit generation amount, accounting summary, accounting date, accounting organization or accounting person and the like; the billing data for the target billing may include: the system comprises a billing identification, a billing account, a debit subject, a credit subject, a debit generation amount, a credit generation amount, a billing abstract, a billing date, a service identification of a service to which the target billing belongs, a service serial number of the service to which the target billing belongs, an organization or individual to which the billing belongs, and the like.
If the target account belongs to one of the generated accounting details belonging to the same service (event), when the target account is offset, it may be necessary to offset other account details belonging to the same service (event) as the target account.
In one embodiment, the billing data of the target billing comprises a service identifier and/or a service flow number, and we can obtain other billing details belonging to the same service (event) as the target billing through the service identifier and/or the service flow number. The way to obtain billing data for other billing details belonging to the same service (event) as the target billing is the same as the way to obtain billing data for the target billing.
After acquiring the correct billing data of the to-be-reimbursed billing and the billing data of the target billing (and other billing details belonging to the same service (event) as the target billing), compliance verification is required for the correct billing data of the to-be-reimbursed billing and the billing data of the target billing (and other billing details belonging to the same service (event) as the target billing) to determine whether the correct billing data and the billing data of the target billing match.
In one embodiment, compliance verification logic for reimbursement accounting is also declared in the smart contract; in this case, based on the correct billing data of the reimbursement bookings to be charged and the target billing data, the compliance verification logic declared in the intelligent contract is invoked to determine whether the correct billing data and the target billing data match.
Wherein the billing viewing logic may specifically be program code declared in the intelligent contract that is related to the billing viewing execution logic for the billing impulse party.
Wherein the compliance verification logic may specifically be program code declared in the intelligent contract that executes logic related to comparing the correct billing data for the to-be-charged billing with the billing data for the target billing. The compliance verification logic includes: whether the organization or the person to which the accounting belongs in the correct accounting data of the to-be-reimbursed accounting is the same as the organization or the person to which the accounting belongs in the accounting data of the target accounting or not; if the debit and credit accounting method in the multiple accounting method is used, whether the correct accounting data for the debiting and debiting accounting satisfy the debit and credit balance is checked; and so on.
If it is determined that the correct billing data matches the target billing with billing data for the target billing and other billing details pertaining to the same service (event) as the target billing, then the reimbursement billing logic declared in the intelligent contract is invoked to generate reimbursement billing corresponding to the target billing and other billing details pertaining to the same service (event) as the target billing. And the reimbursement accounting comprises reimbursement of the target accounting and red word accounting of accounting details of the same business as the target accounting and/or blue word accounting representing correct accounting.
Reimbursement billing (including reimbursement of the target billing and red-word billing for other billing details pertaining to the same business as the target billing and/or one or more blue-word billing for proper billing) as general billing also requires evidence to be deposited on the blockchain.
Fig. 2 is a block diagram of a block chain-based financial accounting cancellation device according to an embodiment of the present invention. As shown in fig. 2, there is provided a block chain based financial accounting cancellation apparatus, the apparatus 20 comprising:
a receiving module 202, configured to receive a financial accounting cancellation request initiated by an accounting cancellation party for target accounting of the evidence stored in the blockchain;
a first determining module 204, configured to determine, in response to the financial billing reimbursement request, whether the billing reimburser has the reimbursement authority of the target billing;
and the accounting reimbursement module 210 is configured to invoke accounting reimbursement logic declared in the intelligent contract issued on the blockchain to reimburse the target accounting if the accounting reimbursement party has the reimbursement authority of the target accounting.
In one embodiment, the intelligent contract also declares authority verification logic for the billing impulse party; the first determining module 204 is specifically configured to: and calling the authority verification logic declared in the intelligent contract to determine whether the accounting impulse distributor has the impulse authority of the target accounting.
In a certain embodiment, the financial accounting reimbursement request carries the user identifier of the accounting reimbursement party; the first determining module 204 is specifically configured to: determining whether the billing impulse party is an original billing party or a trusted third party of the target billing based on the user identification; and if the accounting reimbursement party is the accounting reimbursement party or the trusted third party of the target accounting, determining that the accounting reimbursement party has the reimbursement authority of the target accounting.
In a certain embodiment, the financial accounting reimbursement request carries an accounting identifier of the target accounting; the device further comprises: a second determining module 206, configured to determine, based on the billing identifier, whether a billing corresponding to the billing identifier is stored in the blockchain; a third determining module 208, configured to determine the accounting as the target accounting if an accounting corresponding to the accounting identifier is stored in the blockchain.
In one embodiment, the billing identification comprises: any string within the blockchain system that can uniquely identify a billing.
In a certain embodiment, the accounting cancellation module 210 is specifically configured to: changing the state of the target billing from a valid state to an invalid state.
In a certain embodiment, the financial billing reimbursement request carries correct billing data to be reimbursed for billing; the intelligent contract also declares the impulse accounting logic; the accounting cancellation module 210 includes:
and the reimbursement accounting unit 2106 is used for calling reimbursement accounting logic declared in the intelligent contract based on the correct accounting data of the to-be-reimbursed accounting and the accounting data of the target accounting to generate reimbursement accounting corresponding to the target accounting.
In one embodiment, the intelligent contract further declares a billing viewing logic, and the billing reimbursement module further includes: and the billing viewing unit 2102 is used for calling the billing viewing logic declared in the intelligent contract to acquire the billing data of the target billing based on the billing identification of the target billing.
In one embodiment, compliance verification logic for reimbursement accounting is also declared in the smart contract; the accounting reimbursement module further comprises:
and a compliance verification unit 2104 for invoking compliance verification logic declared in the intelligent contract based on the correct billing data of the to-be-reimbursed bookings and the target bookings to determine whether the correct billing data and the target bookings match.
The reimbursement accounting unit 2106 is specifically configured to invoke reimbursement accounting logic declared in the smart contract to generate reimbursement accounting corresponding to the target accounting if it is determined that the correct accounting data and the accounting data of the target accounting are matched.
In a certain embodiment, the apparatus further comprises: the accounting and evidence-storing unit 2108 is specifically configured to perform evidence storage on the block chain by accounting for the reimbursement corresponding to the target accounting.
The embodiment of the accounting and canceling device based on the block chain can be applied to electronic equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. As shown in fig. 4, a hardware structure diagram of an apparatus according to an exemplary embodiment of the present invention is provided, and in a hardware level, the apparatus includes a processor 402, a bus 404, a network interface 406, a memory 408, and a non-volatile storage 410, but may also include other hardware components. Processor 402 reads the corresponding computer program from non-volatile memory 410 into memory 408 and runs it, forming a block chain based financial accounting cancellation mechanism on a logical level.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A block chain based financial accounting cancellation method is characterized by comprising the following steps:
receiving a financial accounting cancellation request initiated by an accounting cancellation party and aiming at target accounting for evidence stored in a block chain;
responding to the financial accounting reimbursement request, and determining whether the accounting reimbursement party has the reimbursement authority of the target accounting;
and c, if the accounting reimbursement party has the reimbursement authority of the target accounting, invoking accounting reimbursement logic declared in the intelligent contract issued on the block chain, and performing reimbursement processing on the target accounting.
2. The blockchain-based financial billing impulse method according to claim 1, wherein a rights validation logic for the billing impulse party is also declared in the intelligent contract; the step b of determining whether the billing impulse party has the impulse right of the target billing or not comprises the following steps: and calling the authority verification logic declared in the intelligent contract to determine whether the accounting impulse distributor has the impulse authority of the target accounting.
3. The block chain-based financial accounting cancellation method according to claim 1, wherein the financial accounting cancellation request carries a user identifier of the accounting cancellation party; the step b of determining whether the billing impulse party has the impulse right of the target billing or not comprises the following steps: determining whether the billing impulse party is an original billing party or a trusted third party of the target billing based on the user identification; and if the accounting reimbursement party is the accounting reimbursement party or the trusted third party of the target accounting, determining that the accounting reimbursement party has the reimbursement authority of the target accounting.
4. The block chain-based financial accounting cancellation method according to claim 1, wherein the financial accounting cancellation request carries an accounting identifier of the target accounting; the method further comprises the following steps: and determining whether the block chain stores the accounting corresponding to the accounting identifier or not based on the accounting identifier, and if so, determining the block chain as the target accounting.
5. The block chain-based financial accounting offsetting method according to claim 1, wherein the offsetting the target accounting in the step c comprises: changing the state of the target billing from a valid state to an invalid state.
6. The block chain-based financial accounting offsetting method according to claim 1, wherein the financial accounting offsetting request carries correct accounting data to be offset accounting; the intelligent contract also declares the impulse accounting logic; the step c of canceling the target account comprises: and calling the reimbursement accounting logic declared in the intelligent contract based on the correct accounting data of the to-be-reimbursed accounting and the accounting data of the target accounting to generate reimbursement accounting corresponding to the target accounting.
7. The blockchain-based financial billing impulse method according to claim 6, wherein billing viewing logic and/or compliance verification logic is also declared in the intelligent contract.
8. A block chain based financial accounting cancellation device, characterized in that the device comprises: the receiving module is used for receiving a financial accounting cancellation request initiated by an accounting cancellation party and aiming at target accounting for the evidence stored in the block chain; a first determination module, configured to determine, in response to the financial billing reimbursement request, whether the billing reimburser has the reimbursement authority of the target billing; and the accounting reimbursement module is used for calling accounting reimbursement logic declared in the intelligent contract issued on the block chain to reimburse the target accounting if the accounting reimbursement party has the reimbursement authority of the target accounting.
9. Block chain based financial accounting cancellation apparatus according to claim 8, wherein the apparatus employs the method of any one of claims 1-7 to achieve accounting cancellation.
10. An electronic device, comprising: a processor; a memory for storing a processor executable computer program; characterized in that the processor implements the method of any of claims 1-7 by running the executable computer program.
CN201910974140.1A 2019-10-14 2019-10-14 Financial accounting and sales rushing method and device based on block chain and electronic equipment Pending CN110751483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910974140.1A CN110751483A (en) 2019-10-14 2019-10-14 Financial accounting and sales rushing method and device based on block chain and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910974140.1A CN110751483A (en) 2019-10-14 2019-10-14 Financial accounting and sales rushing method and device based on block chain and electronic equipment

Publications (1)

Publication Number Publication Date
CN110751483A true CN110751483A (en) 2020-02-04

Family

ID=69278221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910974140.1A Pending CN110751483A (en) 2019-10-14 2019-10-14 Financial accounting and sales rushing method and device based on block chain and electronic equipment

Country Status (1)

Country Link
CN (1) CN110751483A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339567A (en) * 2020-02-25 2020-06-26 四川长虹电器股份有限公司 Accounting method and accounting system based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678520A (en) * 2016-01-07 2016-06-15 北京中电普华信息技术有限公司 Accounting offset processing method and apparatus
CN109166021A (en) * 2018-07-26 2019-01-08 阿里巴巴集团控股有限公司 Bookkeeping methods, device and business finance integral system
CN109409749A (en) * 2018-10-30 2019-03-01 四川长虹电器股份有限公司 A kind of IT assets management method based on block chain
CN109451061A (en) * 2018-12-20 2019-03-08 全链通有限公司 The contract of block chain adjusts processing method and system
CN110046900A (en) * 2018-12-27 2019-07-23 阿里巴巴集团控股有限公司 Invoice based on block chain cancels method and apparatus, electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678520A (en) * 2016-01-07 2016-06-15 北京中电普华信息技术有限公司 Accounting offset processing method and apparatus
CN109166021A (en) * 2018-07-26 2019-01-08 阿里巴巴集团控股有限公司 Bookkeeping methods, device and business finance integral system
CN109409749A (en) * 2018-10-30 2019-03-01 四川长虹电器股份有限公司 A kind of IT assets management method based on block chain
CN109451061A (en) * 2018-12-20 2019-03-08 全链通有限公司 The contract of block chain adjusts processing method and system
CN110046900A (en) * 2018-12-27 2019-07-23 阿里巴巴集团控股有限公司 Invoice based on block chain cancels method and apparatus, electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339567A (en) * 2020-02-25 2020-06-26 四川长虹电器股份有限公司 Accounting method and accounting system based on block chain

Similar Documents

Publication Publication Date Title
US11538105B2 (en) Cryptographic-asset collateral management
CN110147990B (en) Payment withholding subscription method and device based on block chain and electronic equipment
CN109325747B (en) Remittance method and device based on block chain
CN111770198B (en) Information sharing method, device and equipment
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN109347651B (en) MSVL (modeling, simulation and verification language) -based block chain system modeling and security verification method and system
CN112801658B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN111090581B (en) Intelligent contract testing method, intelligent contract testing device, computer equipment and storage medium
CN111818186B (en) Information sharing method and system
CN111770112B (en) Information sharing method, device and equipment
CN111383114A (en) Asset information management method and device based on block chain
WO2018100371A1 (en) Secure processing of electronic transactions by a decentralized, distributed ledger system
CN111402033A (en) Asset information management method and device based on block chain
CN111340628A (en) Asset information management method and device based on block chain
US20210406876A1 (en) Permissioned eventing in a decentralized database
CN113129017B (en) Information sharing method, device and equipment
CN110751483A (en) Financial accounting and sales rushing method and device based on block chain and electronic equipment
CN111177171A (en) Service data authentication and management method and system based on block chain
CN115701078B (en) Cross-chain transaction processing method, device, electronic equipment and storage medium
Antal et al. Distributed Ledger Technology Review and Decentralized Applications Development Guidelines. Future Internet 2021, 13, 62
Stampernas Blockchain technologies and smart contracts in the context of the Internet of Things
CN113626881B (en) Object evaluation method, device, electronic equipment and storage medium
CN112967049B (en) Method and device for issuing receivable through block chain
CN113240426B (en) Transaction method and system for realizing block chain user identity authentication based on intelligent contract
US20230097203A1 (en) System and method for generating blockchain token support from a set of declarations

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204