CN109165319B - Accounting method, device and system based on block chain - Google Patents

Accounting method, device and system based on block chain Download PDF

Info

Publication number
CN109165319B
CN109165319B CN201810870174.1A CN201810870174A CN109165319B CN 109165319 B CN109165319 B CN 109165319B CN 201810870174 A CN201810870174 A CN 201810870174A CN 109165319 B CN109165319 B CN 109165319B
Authority
CN
China
Prior art keywords
data
platform
bill
income
participants
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
CN201810870174.1A
Other languages
Chinese (zh)
Other versions
CN109165319A (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.)
Kang Wulin
Original Assignee
Beijing Xiandibao Technology 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 Beijing Xiandibao Technology Co ltd filed Critical Beijing Xiandibao Technology Co ltd
Priority to CN201810870174.1A priority Critical patent/CN109165319B/en
Publication of CN109165319A publication Critical patent/CN109165319A/en
Application granted granted Critical
Publication of CN109165319B publication Critical patent/CN109165319B/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

Abstract

The invention relates to a block chain-based accounting method, a device and a system, comprising the following steps: sending a bill query request to a certificate storage platform, receiving bill data sent by the certificate storage platform, calculating income data of a participant according to the bill data and a preset income proportion, receiving a cash withdrawal application of the participant, calculating a cash withdrawal amount according to the cash withdrawal application and the income data, and transferring the cash withdrawal amount to an account of the participant. The billing basis of the method and the device is obtained from the block chain, and based on the characteristics of the block chain, the bill data are difficult to tamper, so that the authenticity of the bill is guaranteed, and the benefit of all participants in billing is further guaranteed not to be damaged.

Description

Accounting method, device and system based on block chain
Technical Field
The invention relates to the technical field of internet, in particular to a block chain-based account splitting method, device and system.
Background
With the continuous development of the current science and technology, the mode of commodity transaction also presents diversified development, but no matter which mode is adopted by the commodity transaction, the income generated by the commodity transaction can be divided into accounts by a plurality of participants of the commodity transaction.
In the existing accounting method, the accounting basis is generally the bill recorded in the commodity transaction process. One or several of the participants are typically pre-selected to be responsible for recording and storing the bill, i.e. for billing, which requires that the participant who is performing the billing has a high degree of integrity and that the other participants can give sufficient trust to the participant who is performing the billing.
However, the basis of the above-mentioned billing is only that one or a few participants take charge of recording and storing, and if the participants who do recording and storing agree, the bill is tampered with implicitly, so that it is difficult to ensure that the benefit of the participants who do not perform billing is not damaged during billing.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, and a system for splitting accounts based on a block chain to overcome the shortcomings in the prior art.
According to a first aspect of embodiments of the present application, there is provided a partition method based on a block chain, the method including:
sending a bill query request to a certificate storage platform to enable the certificate storage platform to: sending a bill data acquisition request to a block chain platform, and receiving bill data sent by the block chain platform;
receiving the bill data sent by the certificate storage platform;
calculating the income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is a predetermined profit proportion of the participants;
receiving a withdrawal application of the participant;
calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
and transferring the cash withdrawal amount to an account of the participant.
Optionally, the calculating the profit data of the participant according to the billing data and the preset profit proportion includes:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
Optionally, the method further includes:
and displaying income data in the registered account numbers of the participants in the branch accounting platform.
According to a second aspect of the embodiments of the present application, there is provided a partition chain-based billing method, including:
receiving a bill inquiry request sent by an account distribution platform;
sending a bill data acquisition request to a block chain platform;
receiving bill data sent by the blockchain platform after responding to the bill data acquisition request;
sending the bill data to an account distribution platform so that the account distribution platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and a preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
Optionally, the accounting platform calculates revenue data of the participating party according to the billing data and a preset ratio, including:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
According to a third aspect of the embodiments of the present application, there is provided an accounting apparatus based on a block chain, the apparatus including:
a first sending module, configured to send a bill query request to a certificate storing platform, so that the certificate storing platform: sending a bill data acquisition request to a block chain platform, and receiving bill data sent by the block chain platform;
the first receiving module is used for receiving the bill data sent by the evidence storage platform;
the first calculation module is used for calculating the income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is a predetermined profit proportion of the participants;
the second receiving module is used for receiving the withdrawal application of the participant;
the second calculation module is used for calculating the cash withdrawal amount according to the cash withdrawal application and the income data;
and the transfer module is used for transferring the withdrawal amount to the account of the participant.
Optionally, the first computing module includes:
the first calculation unit is used for calculating total income data according to the bill data;
and the second calculating unit is used for calculating the income data of the participants according to a preset income proportion and the total income data.
Optionally, the apparatus further comprises:
and the display module is used for displaying the income data in the registration account numbers of the participants in the account distribution platform.
According to a fourth aspect of the embodiments of the present application, there is provided an accounting apparatus based on a block chain, the apparatus including:
the third receiving module is used for receiving the bill inquiry request sent by the account separating platform;
the second sending module is used for sending a bill data acquisition request to the block chain platform;
the fourth receiving module is used for receiving the bill data sent by the block chain platform after responding to the bill data acquisition request;
the third sending module is used for sending the bill data to the account distribution platform so as to enable the account distribution platform to execute preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and a preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
According to a fifth aspect of the embodiments of the present application, there is provided a terminal device, where the terminal device is configured as an account splitting platform, and the terminal device includes:
the system comprises a first processor and a first memory connected with the first processor;
the first memory is for storing a computer program for at least the blockchain based accounting method described below:
sending a bill query request to a certificate storage platform to enable the certificate storage platform to: sending a bill data acquisition request to a block chain platform, and receiving bill data sent by the block chain platform;
receiving the bill data sent by the certificate storage platform;
calculating the income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is a predetermined profit proportion of the participants;
receiving a withdrawal application of the participant;
calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
and transferring the cash withdrawal amount to an account of the participant.
Optionally, the calculating the profit data of the participant according to the billing data and the preset profit proportion includes:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
Optionally, the method further includes:
and displaying income data in the registered account numbers of the participants in the branch accounting platform.
The first processor is configured to invoke and execute the computer program in the first memory.
According to a sixth aspect of the embodiments of the present application, there is provided a terminal device, where the terminal device is configured as a certificate storage platform, and the terminal device includes:
the second processor and a second memory connected with the second processor;
the second memory is configured to store a computer program configured to perform at least the blockchain based accounting method described below:
receiving a bill inquiry request sent by an account distribution platform;
sending a bill data acquisition request to a block chain platform;
receiving bill data sent by the blockchain platform after responding to the bill data acquisition request;
sending the bill data to an account distribution platform so that the account distribution platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and a preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
Optionally, the accounting platform calculates revenue data of the participating party according to the billing data and a preset ratio, including:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
The second processor is configured to invoke and execute the computer program in the second memory.
According to a seventh aspect of the embodiments of the present application, there is provided a partition accounting system based on a block chain, including:
an account separating platform;
the branch account platform includes: the system comprises a first processor and a first memory connected with the first processor;
the first memory is for storing a computer program for at least the blockchain based accounting method described below:
sending a bill query request to a certificate storage platform to enable the certificate storage platform to: sending a bill data acquisition request to a block chain platform, and receiving bill data sent by the block chain platform;
receiving the bill data sent by the certificate storage platform;
calculating the income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is a predetermined profit proportion of the participants;
receiving a withdrawal application of the participant;
calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
and transferring the cash withdrawal amount to an account of the participant.
Optionally, the calculating the profit data of the participant according to the billing data and the preset profit proportion includes:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
Optionally, the method further includes:
displaying income data in the registered account numbers of the participants in the branch accounting platform;
the first processor is configured to invoke and execute the computer program in the first memory.
The certificate storage platform is connected with the account distribution platform;
the certificate storage platform comprises:
the second processor and a second memory connected with the second processor;
the second memory is configured to store a computer program configured to perform at least the blockchain based accounting method described below:
receiving a bill inquiry request sent by an account distribution platform;
sending a bill data acquisition request to a block chain platform;
receiving bill data sent by the blockchain platform after responding to the bill data acquisition request;
sending the bill data to an account distribution platform so that the account distribution platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and a preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
Optionally, the accounting platform calculates revenue data of the participating party according to the billing data and a preset ratio, including:
calculating total income data according to the bill data;
calculating the income data of the participants according to a preset income proportion and the total income data;
the second processor is configured to invoke and execute the computer program in the second memory.
According to a seventh aspect of the embodiments of the present application, there is provided a storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps in the partition chain based accounting method according to any one of the first aspect and the second aspect of the embodiments of the present application.
By adopting the technical scheme, the account distribution platform sends a bill inquiry request to the certificate storage platform so that the certificate storage platform can: the method comprises the steps that a bill data acquisition request is sent to a block chain platform, and bill data sent by the block chain platform is received, after the bill data is received by a separate accounting platform, profit data of a participant is calculated according to the bill data and a preset profit proportion, after a cash withdrawal application of the participant is received by a deposit evidence platform, a cash withdrawal amount is calculated according to the cash withdrawal application and the profit data, and then the cash withdrawal amount is transferred to an account of the participant. Therefore, the billing basis of the method and the device is obtained from the block chain, and bill data are difficult to tamper based on the characteristics of the block chain, so that the authenticity of bills is guaranteed, and the benefit of all participants in billing is guaranteed not to be damaged.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an accounting method based on a block chain according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a revenue data calculation method according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a partition method based on a block chain according to a second embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an accounting apparatus based on a block chain according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an accounting apparatus based on a block chain according to a fourth embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present invention.
Fig. 8 is a schematic structural diagram of an accounting system based on a block chain according to a seventh embodiment of the present invention.
Fig. 9 is a flowchart illustrating a partition chain-based billing method according to a ninth embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a schematic flowchart of an accounting method based on a block chain according to an embodiment of the present invention. The embodiment takes the execution on the accounting platform side as an example.
As shown in fig. 1, the method of the first embodiment includes:
step 11, sending a bill inquiry request to the certificate storage platform so that the certificate storage platform: sending a bill data acquisition request to the block chain platform, and receiving bill data sent by the block chain platform;
step 12, receiving bill data sent by a bill storage platform;
step 13, calculating income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is the predetermined profit proportion of the participants;
step 14, receiving withdrawal applications of the participants;
step 15, calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
and step 16, transferring the cash withdrawal amount into the account of the participant.
In the trade, the number of the participants of the trade can be more than one, and the work of each participant for promoting the trade can be different, so the profit generated by the trade is not averagely distributed to each participant, but the proportion of the profit obtained by each participant in the trade is reserved in advance, and the payment is carried out according to the profit proportion, so the trade is fairer. In this embodiment, the income data may be a specific numerical value and may be in equal proportion to the actual amount, that is, the numerical value indicated by the income data may be an accurate amount of money of the income of the participant. In this embodiment, the withdrawal amount may be transferred to any financial account of the participant, such as a bank account or a network financial account.
Because the account separating platform sends a bill inquiry request to the certificate storing platform, the certificate storing platform is enabled to: the method comprises the steps that a bill data acquisition request is sent to a block chain platform, bill data sent by the block chain platform are received, the billing platform calculates income data of a participant according to the bill data and a preset income proportion after receiving the bill data, the deposit evidence platform calculates a withdrawal amount according to the withdrawal application and the income data after receiving the withdrawal application of the participant, and then the withdrawal amount is transferred to an account of the participant. Therefore, the billing basis of the method and the device is obtained from the block chain, and bill data are difficult to tamper based on the characteristics of the block chain, so that the authenticity of bills is guaranteed, and the benefit of all participants in billing is guaranteed not to be damaged.
In addition, there are various methods for calculating revenue data of participants according to the billing data and the preset revenue proportion.
Fig. 2 is a flowchart illustrating a revenue data calculation method according to an embodiment of the present invention. As shown in fig. 2, the first embodiment may adopt the following calculation method:
step 21, calculating total income data according to the bill data;
and step 22, calculating income data of the participants according to the preset income proportion and the total income data.
And calculating the total income data according to the received bill data, wherein the total income data is the income of all the participants. The profit data for each participant can then be calculated based on the total profit data and the predetermined profit margin agreed in advance.
It should be noted that, in order to facilitate the participant to query the income of the participant in the billing platform, the first embodiment may further include:
and displaying the income data in the registered account numbers of the participants in the separate accounting platform.
Therefore, the participator can check the income data of the participator in the registered account number, and the method is more transparent and open.
Fig. 3 is a flowchart illustrating a partition method based on a block chain according to a second embodiment of the present invention. The embodiment takes the execution on the side of the certification platform as an example.
As shown in fig. 3, the method of the second embodiment includes:
step 31, receiving a bill inquiry request sent by the billing platform;
step 32, sending a bill data acquisition request to the blockchain platform;
step 33, receiving the bill data sent by the block chain platform after responding to the bill data acquisition request;
step 34, sending the bill data to the billing platform so that the billing platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and the preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
And after the block chain platform responds to the bill data acquisition request, the bill data is sent to the evidence storage platform so that the account distribution platform executes preset operation.
The bill data sent by the block chain platform to the bill storage platform can be encrypted, the bill storage platform can decrypt the encrypted bill data after receiving the encrypted bill data, and then sends the decrypted bill data to the branch accounting platform.
It should be noted that, the method for encrypting the account data by the blockchain platform may be various, and correspondingly, the decryption method by the certificate storage platform is also various, and the following method is described in detail by using the public key encryption and private key decryption methods.
First, the block chain platform uses public key to encrypt the bill data for details:
the encryption work of the blockchain platform occurs during the process of storing the billing data. When any node in the block chain platform generates a bill in a transaction action, the node sends the bill generated in the transaction to the bill storage platform, the bill storage platform broadcasts the bill to all nodes in the block chain platform for storage after receiving the bill, and before storage, the nodes encrypt bill information by using a public key of the node generating the bill and then store encrypted bill data.
In order to accelerate the speed of the whole block chain platform for storing the bill data, after the node finishes storing the encrypted bill data, the encrypted bill data can be sent to the bill storage platform, so that the hysteresis node in the block chain executes preset operation; the lag node is a node which does not finish storing the encrypted bill data;
wherein the preset operation comprises: and stopping processing operation of the bill information received from the certificate storing platform broadcast, and directly storing the encrypted bill information.
Secondly, the bill data decrypted by the certificate storage platform by using a private key is explained in detail:
the decryption occurs during the process of obtaining the bill data from the blockchain platform by the evidence storage platform.
The bill data acquisition request sent by the evidence storage platform to the blockchain platform may include a transaction number, and the encrypted bill data may also include a transaction number, where the transaction number is a number of a node generating a bill due to a transaction. After the evidence storing platform sends a bill data acquisition request to the blockchain platform, the blockchain platform sends all encrypted bill data with the transaction number to the evidence storing platform according to the transaction number, and after the evidence storing platform receives the data, the encrypted bill data is decrypted by using a private key of a node corresponding to the transaction number.
In the second embodiment, the calculation method for calculating the profit data of the participants according to the bill data and the preset proportion by the separate accounting platform may be, but is not limited to, the following method:
calculating total income data according to the bill data;
and calculating the income data of the participants according to the preset income proportion and the total income data.
Fig. 4 is a schematic structural diagram of an accounting apparatus based on a block chain according to a third embodiment of the present invention. The embodiment takes the execution on the accounting platform side as an example.
As shown in fig. 4, the apparatus of the present embodiment may include:
the first sending module is used for sending a bill inquiry request to the certificate storing platform so as to enable the certificate storing platform to: sending a bill data acquisition request to the block chain platform, and receiving bill data sent by the block chain platform;
the first receiving module is used for receiving bill data sent by the certificate storing platform;
the first calculation module is used for calculating the income data of the participants according to the bill data and the preset income proportion; the preset profit proportion is the predetermined profit proportion of the participants;
the second receiving module is used for receiving the withdrawal application of the participant;
the second calculation module is used for calculating the cash withdrawal amount according to the cash withdrawal application and the income data;
and the transfer module is used for transferring the cash withdrawal amount to an account of the participant.
Further, the first calculation module includes:
the first calculation unit is used for calculating total income data according to the bill data;
and the second calculating unit is used for calculating the income data of the participants according to the preset income proportion and the total income data.
Further, the device also comprises:
and the display module is used for displaying the income data in the registered account numbers of the participants in the separate accounting platform.
Fig. 5 is a schematic structural diagram of an accounting apparatus based on a block chain according to a fourth embodiment of the present invention. The embodiment takes the execution on the side of the certification platform as an example.
As shown in fig. 5, the apparatus provided in the fourth embodiment may include:
the third receiving module is used for receiving the bill inquiry request sent by the account separating platform;
the second sending module is used for sending a bill data acquisition request to the block chain platform;
the fourth receiving module is used for receiving the bill data sent by the block chain platform after responding to the bill data acquisition request;
the third sending module is used for sending the bill data to the account distribution platform so as to enable the account distribution platform to execute preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and the preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
Fig. 6 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention, where the terminal device is configured as an account splitting platform, and as shown in fig. 6, the terminal device includes:
the system comprises a first processor and a first memory connected with the first processor;
the first memory is for storing a computer program for at least the following blockchain based accounting method:
sending a bill inquiry request to the certificate storage platform so that the certificate storage platform: sending a bill data acquisition request to the block chain platform, and receiving bill data sent by the block chain platform;
receiving bill data sent by a certificate storing platform;
calculating the income data of the participants according to the bill data and the preset income proportion; the preset profit proportion is the predetermined profit proportion of the participants;
receiving a withdrawal application of a participant;
calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
the withdrawal amount is transferred to the account of the participant.
Optionally, calculating the profit data of the participating party according to the billing data and the preset proportion includes:
calculating total income data according to the bill data;
and calculating the income data of the participants according to the preset income proportion and the total income data.
Optionally, the method further includes:
and displaying the income data in the registered account numbers of the participants in the separate accounting platform.
The first processor is used for calling and executing the computer program in the first memory.
Fig. 7 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present invention, where the terminal device is configured as a certificate storage platform, and as shown in fig. 7, the terminal device includes:
the second processor and a second memory connected with the second processor;
the second memory is for storing a computer program for performing at least the following block chain based billing method:
receiving a bill inquiry request sent by an account distribution platform;
sending a bill data acquisition request to a block chain platform;
receiving bill data sent by the blockchain platform after responding to the bill data acquisition request;
sending the bill data to the account distribution platform so that the account distribution platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and the preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
Optionally, the accounting platform calculates the income data of the participants according to the bill data and the preset proportion, including:
calculating total income data according to the bill data;
and calculating the income data of the participants according to the preset income proportion and the total income data.
The second processor is used for calling and executing the computer program in the second memory.
Fig. 8 is a schematic structural diagram of an accounting system based on a block chain according to a seventh embodiment of the present invention, and as shown in fig. 8, the system includes:
an account separating platform;
the branch account platform includes: the system comprises a first processor and a first memory connected with the first processor;
the first memory is for storing a computer program for at least the following blockchain based accounting method:
sending a bill inquiry request to the certificate storage platform so that the certificate storage platform: sending a bill data acquisition request to the block chain platform, and receiving bill data sent by the block chain platform;
receiving bill data sent by a certificate storing platform;
calculating the income data of the participants according to the bill data and the preset income proportion; the preset profit proportion is the predetermined profit proportion of the participants;
receiving a withdrawal application of a participant;
calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
the withdrawal amount is transferred to the account of the participant.
Optionally, calculating the profit data of the participating party according to the billing data and the preset proportion includes:
calculating total income data according to the bill data;
and calculating the income data of the participants according to the preset income proportion and the total income data.
Optionally, the method further includes:
displaying income data in a registered account number of a participant in the account distribution platform;
the first processor is used for calling and executing the computer program in the first memory.
The certificate storage platform is connected with the account distribution platform;
deposit the evidence platform and include:
the second processor and a second memory connected with the second processor;
the second memory is for storing a computer program for performing at least the following block chain based billing method:
receiving a bill inquiry request sent by an account distribution platform;
sending a bill data acquisition request to a block chain platform;
receiving bill data sent by the blockchain platform after responding to the bill data acquisition request;
sending the bill data to the account distribution platform so that the account distribution platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and the preset proportion, and obtaining withdrawal amount and transferring the withdrawal amount to accounts of the participants according to the withdrawal application and the income data after receiving the withdrawal application of the participants.
Optionally, the accounting platform calculates the income data of the participants according to the bill data and the preset proportion, including:
calculating total income data according to the bill data;
calculating income data of the participants according to the preset income proportion and the total income data;
the second processor is used for calling and executing the computer program in the second memory.
In addition, a storage medium according to an eighth embodiment of the present invention stores a computer program, and when the computer program is executed by a processor, the method implements each step in the partition chain-based accounting method according to any one of the first embodiment and the second embodiment of the present application.
Fig. 9 is a flowchart illustrating a partition chain-based billing method according to a ninth embodiment of the present application. In this embodiment, taking the interaction between the separate accounting platform and the evidence storing platform as an example, the separate accounting method based on the blockchain is described in more detail.
As shown in fig. 9, the method of the ninth embodiment includes:
step 901, sending a bill inquiry request to a bill storage platform;
step 902, receiving a bill inquiry request sent by a separate accounting platform;
step 903, sending a bill data acquisition request to a block chain platform;
step 904, receiving the bill data sent by the block chain platform after responding to the bill data acquisition request;
step 905, sending the bill data to the billing platform;
step 906, receiving bill data sent by a certificate storing platform;
step 907, calculating income data of the participants according to the bill data and a preset income proportion;
step 908, receiving a withdrawal application of the participant;
step 909, calculating the withdrawal amount according to the withdrawal application and the income data;
step 910, transfer the cash withdrawal amount to the account of the participant.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
The technical scheme of the application can be applied to various scenes, and now detailed description is given for one scene.
The technical scheme of the application can be applied to the scene of the vending machine. The billing platform can be an APP of the mobile terminal and a server thereof, and can also be a webpage and a server thereof. Participating in this scenario may be a free owner who places the vending machine, a vending machine cabinet provider, an operation and maintenance party, and a supplier. All the participants register personal accounts in the billing platform to complete the work of inquiry, cash withdrawal and the like. The vendor places the vending machine on the spare land provided by the spare owner, the supplier delivers the goods to be placed into the vending machine to the operation and maintenance party, and the operation and maintenance party is responsible for placing the goods into the vending machine. The method comprises the steps that bills generated by the vending machine are stored in a blockchain platform, a branch accounting platform obtains bill data from the blockchain platform, income data of each participant are calculated according to a preset income proportion agreed in advance, the income data are displayed in account numbers registered by the participants in the branch accounting platform, when the participants have withdrawal requirements, withdrawal applications can be proposed in the branch accounting platform, the branch accounting platform calculates withdrawal amount according to the withdrawal applications and the income data of the participants, and the withdrawal amount is transferred to accounts of the participants.
The detailed description of the accounting method provided by the present application in this scenario is provided above.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (13)

1. A block chain based billing method is characterized by comprising the following steps:
sending a bill query request to a certificate storage platform to enable the certificate storage platform to: sending a bill data acquisition request to a block chain platform, and receiving bill data sent by the block chain platform;
receiving the bill data sent by the certificate storage platform;
calculating income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is a predetermined profit proportion of the participants;
receiving a withdrawal application of the participant;
calculating to obtain cash withdrawal amount according to the cash withdrawal application and the income data;
and transferring the cash withdrawal amount to the account of the participant, wherein the account of the participant comprises a bank account or a network financial account.
2. The method of claim 1, wherein calculating revenue data for the participant from the billing data and a preset revenue proportion comprises:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
3. The method of claim 1, further comprising:
and displaying the income data in the registered account numbers of the participants in the separate accounting platform.
4. A block chain based billing method is characterized by comprising the following steps:
receiving a bill inquiry request sent by an account distribution platform;
sending a bill data acquisition request to a block chain platform;
receiving bill data sent by the blockchain platform after responding to the bill data acquisition request;
sending the bill data to an account distribution platform so that the account distribution platform executes preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and a preset proportion, obtaining withdrawal amount according to the withdrawal application and the income data and transferring the withdrawal amount to accounts of the participants after receiving the withdrawal application of the participants, wherein the accounts of the participants comprise bank accounts or network financial accounts.
5. The method of claim 4, wherein the billing platform calculates revenue data of the participants based on the billing data and a predetermined ratio, comprising:
calculating total income data according to the bill data;
and calculating the income data of the participants according to a preset income proportion and the total income data.
6. An accounting device based on a block chain is characterized by comprising:
a first sending module, configured to send a bill query request to a certificate storing platform, so that the certificate storing platform: sending a bill data acquisition request to a block chain platform, and receiving bill data sent by the block chain platform;
the first receiving module is used for receiving the bill data sent by the evidence storage platform;
the first calculation module is used for calculating the income data of the participants according to the bill data and a preset income proportion; the preset profit proportion is a predetermined profit proportion of the participants;
the second receiving module is used for receiving the withdrawal application of the participant;
the second calculation module is used for calculating the cash withdrawal amount according to the cash withdrawal application and the income data;
and the transfer module is used for transferring the cash withdrawal amount to an account of the participant, wherein the account of the participant comprises a bank account or a network financial account.
7. The apparatus of claim 6, wherein the first computing module comprises:
the first calculation unit is used for calculating total income data according to the bill data;
and the second calculating unit is used for calculating the income data of the participants according to a preset income proportion and the total income data.
8. The apparatus of claim 6, further comprising:
and the display module is used for displaying the income data in the registered account numbers of the participants in the separate accounting platform.
9. An accounting device based on a block chain is characterized by comprising:
the third receiving module is used for receiving the bill inquiry request sent by the account separating platform;
the second sending module is used for sending a bill data acquisition request to the block chain platform;
the fourth receiving module is used for receiving the bill data sent by the block chain platform after responding to the bill data acquisition request;
the third sending module is used for sending the bill data to the account distribution platform so as to enable the account distribution platform to execute preset operation;
the preset operation comprises the following steps: and calculating income data of the participants according to the bill data and a preset proportion, obtaining withdrawal amount according to the withdrawal application and the income data and transferring the withdrawal amount to accounts of the participants after receiving the withdrawal application of the participants, wherein the accounts of the participants comprise bank accounts or network financial accounts.
10. A terminal device, wherein the terminal device is configured as an account-splitting platform, and wherein the terminal device comprises:
the system comprises a first processor and a first memory connected with the first processor;
the first memory is configured to store a computer program for performing at least the blockchain based ledger method of any one of claims 1-3;
the first processor is configured to invoke and execute the computer program in the first memory.
11. A terminal device, wherein the terminal device is configured as a certificate storage platform, and wherein the terminal device comprises:
the second processor and a second memory connected with the second processor;
the second memory is configured to store a computer program for performing at least the blockchain based ledger method of any one of claims 4-5;
the second processor is configured to invoke and execute the computer program in the second memory.
12. An accounting system based on a blockchain, comprising:
the billing platform of claim 10, and the credentialing platform of claim 11 connected to the billing platform.
13. A storage medium, characterized in that the storage medium stores a computer program, which when executed by a processor implements the steps of the partition chain based accounting method according to any one of claims 1-5.
CN201810870174.1A 2018-08-02 2018-08-02 Accounting method, device and system based on block chain Active CN109165319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810870174.1A CN109165319B (en) 2018-08-02 2018-08-02 Accounting method, device and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810870174.1A CN109165319B (en) 2018-08-02 2018-08-02 Accounting method, device and system based on block chain

Publications (2)

Publication Number Publication Date
CN109165319A CN109165319A (en) 2019-01-08
CN109165319B true CN109165319B (en) 2020-12-01

Family

ID=64898714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810870174.1A Active CN109165319B (en) 2018-08-02 2018-08-02 Accounting method, device and system based on block chain

Country Status (1)

Country Link
CN (1) CN109165319B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020892A (en) * 2019-03-29 2019-07-16 深圳市元征科技股份有限公司 A kind of dining room management method and device
US11049115B2 (en) * 2019-07-31 2021-06-29 Advanced New Technologies Co., Ltd. Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
CN113643034A (en) * 2020-04-27 2021-11-12 北京金山云网络技术有限公司 Cash amount determining method and device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885741B (en) * 2016-02-23 2023-05-16 区块链控股有限公司 Tokenization method and system for realizing exchange on block chain
CN108090752A (en) * 2016-11-22 2018-05-29 深圳银链科技有限公司 Block chain number franc is supplemented with money, method and device of withdrawing deposit
WO2018120057A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Currency management method and system based on block chain
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium

Also Published As

Publication number Publication date
CN109165319A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
KR102309819B1 (en) The trading system and the method based on a blockchain
JP7429281B2 (en) Methods and systems for directing exchanges associated with tokens held anonymously on a blockchain
CN108734576B (en) Block chain-based educational resource sharing method and system
CN112600841B (en) Credit record sharing method and device based on block chain and electronic equipment
CN109359974B (en) Block chain transaction method and device and electronic equipment
EP3491480B1 (en) Secure exchange of cryptographically signed records
WO2020010700A1 (en) Negotiable instrument transaction method and system, computer device, and storage medium
CN108846673B (en) Block data processing method, device, equipment and storage medium
KR20210068031A (en) Methods and systems for providing targeted advertising to consumer devices
US11495075B2 (en) Distributed voting system, method, apparatus, computer device and readable storage medium
CN110796449B (en) Transaction processing method, system, medium and computing device
CN111415159B (en) Block chain-based settlement data processing method, system and relevant nodes
CN109165319B (en) Accounting method, device and system based on block chain
US20200320490A1 (en) Method and system for conducting a transaction using private blockchain
CA3123961A1 (en) Method, system, and computer readable medium for transferring cryptographic tokens
CN111160998A (en) Comment data processing method and device based on block chain and comment system
CN109615376A (en) A kind of method of commerce and device based on zero-knowledge proof
Dold The GNU Taler system: practical and provably secure electronic payments
CN115456613A (en) Digital collection transaction method and equipment
CN116739581A (en) Digital collection management method, system and storage medium of blockchain
CN110417917A (en) Method, system, computer equipment and medium for bill circulation
CN106203976A (en) Payment system based on same fund server and method of payment, device and server
CN114331460A (en) Method, device, equipment and storage medium for confirming fund transaction based on block chain
CN105488718A (en) Video online auction platform
CN110852891A (en) Data processing method and device based on rolling difference and readable storage medium

Legal Events

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

Effective date of registration: 20230519

Address after: No. 1001, Kangzhuang Neighborhood Committee, Kangzhuang Town, Gaomi City, Weifang City, Shandong Province, 261507

Patentee after: Kang Wulin

Address before: 916B, 9th Floor, Haitai Building, No. 229 North Fourth Ring Middle Road, Haidian District, Beijing, 100089

Patentee before: BEIJING XIANDIBAO TECHNOLOGY Co.,Ltd.