CN110659975B - Resource transfer method, device, equipment and storage medium based on block chain - Google Patents

Resource transfer method, device, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN110659975B
CN110659975B CN201910964991.8A CN201910964991A CN110659975B CN 110659975 B CN110659975 B CN 110659975B CN 201910964991 A CN201910964991 A CN 201910964991A CN 110659975 B CN110659975 B CN 110659975B
Authority
CN
China
Prior art keywords
deduction
target
data
blockchain
value
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
CN201910964991.8A
Other languages
Chinese (zh)
Other versions
CN110659975A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910964991.8A priority Critical patent/CN110659975B/en
Publication of CN110659975A publication Critical patent/CN110659975A/en
Application granted granted Critical
Publication of CN110659975B publication Critical patent/CN110659975B/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/12Accounting
    • G06Q40/123Tax preparation or submission
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a resource transfer method, device and equipment based on a blockchain and a storage medium, and belongs to the technical field of blockchains. According to the method, the target deduction condition is acquired from the blockchain based on the deduction request of the target user, the first data is acquired from the blockchain according to the target deduction items in the target deduction condition and the identity of the target user, the deduction value of the target user is determined based on the first data and the deduction limit of each deduction item in the target deduction condition, and the resource transfer is completed based on the deduction value.

Description

Resource transfer method, device, equipment and storage medium based on block chain
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a blockchain-based resource transfer method, device, apparatus, and storage medium.
Background
After the tax law reform, six special items of additional deduction such as child education, continuous education, sick medical treatment, housing loan interest, housing rent and the elderly are added, and the measure greatly reduces the burden of tax payers in education, medical treatment, housing and the like. When the tax payer declares the special additional deduction, the tax payer needs to fill in a declaration form and declare the tax by himself, then the tax agency or the unit where the tax payer is located can audit the declaration information filled in the declaration form, after confirming that the information is correct, the deduction value of the tax payer can be calculated according to the special additional deduction policy, and then the resource transfer, namely tax deduction, is carried out based on the deduction value.
However, in the above resource transfer process, it is difficult to ensure the authenticity of the reporting information provided by the tax payer, so that the auditing difficulty of the reporting information is high, and when false or wrong reporting information is not audited, the calculated deduction value is inaccurate, and thus the tax deduction is wrong.
Disclosure of Invention
The embodiment of the application provides a resource transfer method, device, equipment and storage medium based on a blockchain, which can solve the problems that deduction numerical values calculated in related technologies are inaccurate and tax deduction is wrong. The technical scheme is as follows:
In one aspect, a method for resource transfer based on a blockchain is provided, the method comprising:
based on a deduction request of a target user, acquiring a target deduction condition from a blockchain of the blockchain system, wherein the target deduction condition comprises a target deduction item and a deduction amount corresponding to the target deduction item;
based on the identity of the target user and the target deduction item, acquiring first data from a blockchain of the blockchain system, wherein the first data corresponds to the identity and belongs to the target deduction item;
determining a deduction value of the target user based on the first data and the deduction amount corresponding to the target deduction item;
storing the deduction value on a blockchain of the blockchain system, and performing a resource transfer by the blockchain system based on the deduction value.
In one aspect, there is provided a blockchain-based resource transfer apparatus, the apparatus comprising:
the condition acquisition module is used for acquiring a target deduction condition from a blockchain of the blockchain system based on a deduction request of a target user, wherein the target deduction condition comprises a target deduction item and a deduction amount corresponding to the target deduction item;
The first data acquisition module is used for acquiring first data from a blockchain of the blockchain system based on the identity of the target user and the target deduction item, wherein the first data corresponds to the identity and belongs to the target deduction item;
the deduction value determining module is used for determining the deduction value of the target user based on the first data and the deduction amount corresponding to the target deduction item;
and a resource transfer module for storing the deduction value on a blockchain of the blockchain system, and executing a resource transfer step by the blockchain system based on the deduction value.
In one possible implementation, the target withholding condition belongs to a target category, at least one withholding condition in the target category carrying the same category identification.
In one possible implementation, the condition acquisition module is configured to:
based on the category identification, obtaining at least one withhold condition from a blockchain of the blockchain system, one of the withhold conditions corresponding to a start time and a stop time;
and determining the target deduction condition as the deduction condition that the starting time is smaller than the current time and the cut-off time is larger than the current time.
In one possible implementation, the apparatus further includes:
the generation module is used for generating data records based on the user behavior of the target user, wherein one data record corresponds to one data category;
and the record storage module is used for storing the data record to the blockchain of the blockchain system based on a consensus mechanism.
In one possible implementation, the apparatus further includes:
the identification acquisition module is used for acquiring the identity identification of the family member of the target user;
the second data acquisition module acquires second data of the family member from a blockchain of the blockchain system based on the identity of the family member and the target deduction item;
and the partial deduction value determining module is used for determining the partial deduction value of the family member based on the first data, the second data and the deduction amount corresponding to the target deduction item.
In one possible implementation, the partial deduction value determination module is configured to:
acquiring a deduction item corresponding to the family member and a deduction proportion corresponding to the deduction item;
and determining a partial deduction value of the family member based on the first data, the second data, the deduction amount corresponding to the deduction item and the deduction proportion corresponding to the deduction item.
In one possible implementation, the apparatus further includes:
the remaining deduction value determining module is used for determining a remaining deduction value of the family based on the deduction value of the family member and the partial deduction value of the family member;
and the value storage module is used for storing the household residual deduction value to a blockchain of the blockchain system.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having stored therein at least one piece of program code that is loaded and executed by the one or more processors to implement operations performed by the blockchain-based resource transfer method.
In one aspect, a computer readable storage medium having at least one program code stored therein is provided, the at least one program code loaded and executed by a processor to implement operations performed by the blockchain-based resource transfer method.
According to the technical scheme provided by the embodiment of the application, the target deduction condition is acquired from the blockchain based on the deduction request of the target user, the first data is acquired from the blockchain according to the target deduction item in the target deduction condition and the identity of the target user, the deduction value of the target user is determined based on the first data and the deduction limit of each deduction item in the target deduction condition, and the resource transfer is completed based on the deduction value.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation environment of a blockchain-based resource transfer method according to an embodiment of the present application;
FIG. 2 is a block chain system functional architecture diagram according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of a blockchain-based resource transfer method provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a data structure of a tax policy according to an embodiment of the present application;
FIG. 5 is a block chain structure diagram according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a data structure of a data record according to an embodiment of the present application;
fig. 7 is a flowchart of a method for generating a deduction value for a family member according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a block chain based resource transfer device according to an embodiment of the present disclosure;
Fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a blockchain-based resource transfer method according to an embodiment of the present application, and referring to fig. 1, the implementation environment may include a plurality of computer devices, where the plurality of computer devices may be a plurality of node devices in a blockchain system, and any node device in the blockchain system may perform one or more steps in the blockchain-based resource transfer method provided by the embodiment of the present application. The plurality of computer devices may be a plurality of node devices belonging to the same organization, or may be a plurality of node devices belonging to different organizations. For example, the plurality of computer devices may each belong to a tax authority, each department in the tax authority corresponds to at least one of the computer devices, or at least one of the plurality of computer devices is a user device, the at least one computer device belongs to the tax authority, although it is also possible that at least one computer device belongs to other authorities, such as banks, real estate companies, consumption authorities, civil authorities, etc. Referring to fig. 2, fig. 2 is a functional architecture schematic of a blockchain system provided in the embodiments of the present application, where the blockchain system may include node devices corresponding to a tax organization, a consumption organization, a bank, a civil administration department, and other organizations, and of course, at least one blockchain, where each node device may perform data interaction with the blockchain, for example, the consumption organization may store consumption information of a user to the blockchain, the civil administration department may store personal information and family information of the user to the blockchain, the bank may store loan information, income information, and other information of the user on the blockchain, and may also obtain tax payment values of each user to perform tax deduction.
The plurality of computer devices may be servers or terminals, which are not specifically limited in the embodiment of the present application.
In order to facilitate understanding of the technical process of the embodiments of the present application, some terms related to the embodiments of the present application are explained below:
blockchain (Block chain): is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The blockchain is essentially a de-centralized database, which is a series of data blocks generated by cryptographic association, each data block containing information of a network transaction for verifying the validity (anti-counterfeiting) of the information and generating a next block, each block containing a time stamp and a link to the previous block. In a narrow sense, a blockchain is a chain data structure that combines blocks of data in a sequential manner in time order, and cryptographically guaranteed, non-tamperable and non-counterfeitable, distributed ledgers, i.e., the data in the blockchain will be irreversible once recorded.
Consensus mechanism (Consensus mechanism): is a mathematical algorithm for realizing trust establishment and rights acquisition among different nodes in a block chain system. In a blockchain system, the verification and confirmation of a transaction can be completed in a short time through voting of special nodes, and if a plurality of nodes with irrelevant interests can reach consensus for one transaction, all the nodes in the system can be considered to reach consensus for the same.
Smart contract: is a computer protocol that aims to propagate, verify or execute contracts in an informative manner. Each node in the blockchain system can operate the data stored on the chain according to the contract program automatically executed by the specific condition, and is an important way for users to interact with the blockchain and realize business logic by using the blockchain. The purpose of smart contracts is to provide a secure method over traditional contracts and reduce other transaction costs associated with the contracts, which allows trusted transactions to be conducted without third parties, which transactions are traceable and irreversible.
FIG. 3 is a flowchart of a method for transferring resources based on a blockchain, where the method for processing insurance data may be applied to any node device in the blockchain system, see FIG. 3, and the embodiment may specifically include the following steps:
301. the first node device stores the withholding condition on a blockchain of the blockchain system.
In this embodiment of the present application, the first node device may be a server corresponding to a tax agency, where the tax agency may store a tax policy on a blockchain, and may also obtain user data of each user from the blockchain to calculate tax information of each user, where the tax policy may be a deduction condition, a tax standard, and so on.
In one possible implementation, tax policies may be divided into different categories based on tax types, taxpayers, etc., one category may correspond to one category identification, tax policies belonging to the same category may carry the same category identification, e.g., a personal resulting tax policy formulated in 2011 may correspond to category identification a, a personal resulting tax policy formulated in 2018 may correspond to category identification a, and an enterprise resulting tax may correspond to category identification B. In this embodiment of the present application, the first node device may classify tax policies collected in a period of time, integrate multiple tax policies carrying the same class identifier, and sequence the multiple tax policies according to release time, referring to fig. 4, fig. 4 is a schematic data structure of a tax policy provided in this embodiment of the present application, the class identifier C may correspond to multiple tax policies belonging to the same class, for example, a current tax policy, a historical tax policy 1, a historical tax policy N, etc., each tax policy may include information such as a specific measure, a start time, a stop time, and a release time stamp of the tax policy, where the release time stamp may be used to indicate the release time of the tax policy, and the stop time of the current tax policy may be determined based on the start time of the last tax policy obtained, for example, after the first node device obtains the last tax policy, the start time of the last tax policy may be read, and the start time may be regarded as the stop time of the current tax policy.
In one possible implementation, the first node device will store tax policies collected over a period of time on the blockchain based on a consensus mechanism. Specifically, for each node in the blockchain system, the node identifier corresponding to the node is provided, and each node device in the blockchain system can store the node identifiers of other node devices in the blockchain system, so that the generated block is broadcast to other node devices in the blockchain system according to the node identifiers of the other node devices, and the other node devices can realize consensus on the block. Each node device may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol, protocol of interconnection between networks) address, and any other information that can be used to identify the node, and the IP address is only illustrated in table 1.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Each node device in a blockchain system may store one and the same blockchain. Fig. 5 is a schematic block chain structure provided in the embodiment of the present application, referring to fig. 5, the block chain is composed of a plurality of blocks, the starting block 501 includes a block header and a block body, the block header stores an input information feature value, a version number, a timestamp and a difficulty value, and the block body stores input information; the next block 502 of the starting block takes the starting block 501 as a father block, the next block 502 also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block 503, the block head characteristic value of the father block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the father block, and the safety of the input information in the block is ensured.
When each block in the blockchain is generated, when node equipment in which the blockchain is located receives input information, checking the input information, wherein in the embodiment of the application, the input information can be at least one tax policy and the like, after the node equipment completes checking the input information, the input information is stored in a memory pool, a hash tree used for recording the input information is updated, then, an update timestamp is updated to be the time of receiving the input information, different random numbers are tried, and characteristic value calculation is carried out for a plurality of times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_merkle_rool+ntime+nbits+x))<TARGET
wherein SHA256 is a eigenvalue algorithm used to calculate eigenvalues; version (version number) is version information of the related block protocol in the block chain; the prev_hash is the block header characteristic value of the parent block of the current block; the merkle_root is a characteristic value of input information; ntime is the update time of the update timestamp; the nbits is the current difficulty, is a fixed value in a period of time, and is determined again after exceeding a fixed period of time; x is a random number; TARGET is a eigenvalue threshold that can be determined from nbits.
Thus, when the random number meeting the formula is calculated, the information can be correspondingly stored to generate the block head and the block main body, and the current block is obtained. And then, the node where the blockchain is located sends the newly generated current block to other nodes in the blockchain system where the node is located according to the node identification of other nodes in the blockchain system, the other nodes carry out consensus on the newly generated current block, and the current block can be added into the blockchain after the current block passes the consensus, if the current block does not pass the consensus, the block uplink operation can be omitted.
It should be noted that the foregoing description of storing the tax policy in the blockchain is merely an exemplary description of a storage manner, and the embodiment of the present application does not limit what storage manner is specifically adopted.
302. The second node device stores the collected user data onto a blockchain of the blockchain system.
The user data may be data generated based on any user behavior, one user data may correspond to one data category, the user data may include work information, lease information, medical records, consumption records and the like of the user, and of course, the user data collected by the second node device may carry an identity of the user, where the identity may be used to uniquely identify a user, and in one possible implementation, the identity may be a public key of the user.
In the embodiment of the present application, the second node device may be any node device in the blockchain system, and the second node device may collect user data of the target user and store the user data on the blockchain. Specifically, the second node device may generate a data record based on the user behavior of the target user, where one data record corresponds to a data class, for example, when the target user has consumption behavior in any institution, the second node device may generate a data record based on the consumption behavior, where the data record may include information about the amount, class, and the like of the consumption of the target user, where the data record may further include the identity of the target user and a timestamp, where the timestamp may be used to indicate the occurrence time of the consumption behavior, where the second node device may store the data record on a blockchain of the blockchain system based on a consensus mechanism, where in one possible implementation, the second node device may integrate the data records generated during a period of time and store the data records with the same identity together, where in an embodiment of the present application, the second node device may further integrate the data records based on a timestamp in the data record and store the data records generated during a target period, and referring to fig. 6, where the data records are shown as the data record of the target embodiment of the present application 1 may be represented as a data class: total amount "," category 2: total amount "etc., data belonging to the same target period are integrated together, and the second node device may store the integrated data record onto the blockchain.
The above process of storing the data record into the blockchain is the same as the process of storing the deduction condition into the blockchain in step 301, and will not be described here.
303. The first node device obtains a target deduction condition from a blockchain of the blockchain system based on a deduction request of a target user, wherein the target deduction condition comprises a target deduction item and a deduction amount corresponding to the target deduction item.
The deduction request may carry an identity of the target user, the target deduction condition may be a part of terms in the tax policy, the deduction item may be house rent, continuous education, etc., and different deduction items may correspond to different deduction amounts.
The target deduction condition belongs to a target category, at least one deduction condition in the target category carries the same category identifier, and in the embodiment of the present application, the first node device may acquire at least one deduction condition from a blockchain of the blockchain system based on the category identifier, where one of the deduction conditions corresponds to a starting time and a stopping time, and the first node device may determine the deduction condition that the starting time is less than the current time and the stopping time is greater than the current time as the target deduction condition.
304. The first node device obtains first data from a blockchain of the blockchain system based on the identity of the target user and the target deduction item, wherein the first data corresponds to the identity and belongs to the target deduction item.
In one possible implementation manner, the first node device may query, in the blockchain system, user data carrying the identity based on the identity of the target user, obtain, based on the target withholding item, data indicated by the target withholding item from the user data as the first data, and specifically in this embodiment of the present application, one target withholding item may correspond to at least one data category, for example, when the target withholding item is a child education expenditure, the data category corresponding to the target withholding item may be child identity information, child education information, or the like, the first node device may obtain, based on at least one data category corresponding to the target withholding item, a plurality of data records belonging to the at least one data category, use the plurality of data records as the first data, and of course, one target withholding item may also correspond to a target time period, after the first node device obtains the plurality of data records belonging to the at least one data category, may read the data category, the data category corresponding to the data category may be child identity information, child education information, or the like, the first node device may obtain the plurality of data records belonging to the at least one data category, and set the time stamp the time of the target time period may be obtained by the target time period, and the time stamp the data may be set by the developer.
In an embodiment of the present application, the step of obtaining the target deduction condition and the first data may be performed based on an intelligent contract, and in a possible implementation manner, the deduction request may be used as a trigger manner of the intelligent contract, when the first node device receives the deduction request, the intelligent contract on the blockchain may be automatically triggered, so that the first node device automatically performs the step of obtaining the target deduction condition and the first data, and when the deduction request is not received, the intelligent contract is not triggered.
In the embodiment of the present application, the execution sequence of acquiring the target deduction condition and then acquiring the first data is used for description, but in some embodiments, the step of acquiring the first data may be performed first and then the step of acquiring the target deduction condition may be performed, or the two steps are performed simultaneously, which is not limited in particular.
305. The first node device determines a deduction value of the target user based on the first data and a deduction amount corresponding to the target deduction item.
In one possible implementation manner, the first node device may compare the first data with the target deduction condition, when the first data meets the target deduction condition, the first node device may calculate a deduction value of the target user based on the first data and a deduction amount corresponding to the target deduction item, for example, the target deduction condition may be "the child of the taxpayer receives a related expenditure of full-day education, deduction is performed according to a standard quota of 1000 yuan per month" of each child, the first data may include the number of children of the target user, child education information, and the like, the first node device may read the child education information, determine whether each child of the target user is receiving full-day education, determine that the first data meets the target deduction condition if one child is receiving full-day education, calculate that the deduction value of the target user is 1000, and may not perform the step if the child is not receiving full-day education.
In an embodiment of the present application, the step of calculating the deduction value may be performed based on an intelligent contract, where the intelligent contract may include a calculation rule of the deduction value, where the calculation rule may be set by a developer, in one possible implementation manner, a comparison result of the first data and the target deduction condition may be used as a trigger manner of the intelligent contract, when the first data matches the target deduction condition, the intelligent contract on the blockchain may be automatically triggered, so that the first node device calculates the deduction value of the target user based on the calculation rule, and when the first data does not match the target deduction condition, the intelligent contract is not triggered.
306. The first node device stores the deduction value on a blockchain of the blockchain system, and the blockchain system performs a resource transfer step based on the deduction value.
In this embodiment, after determining the deduction value of the target user, the first node device may synchronize the deduction value to the blockchain system for later verification. The process of synchronizing the deduction value to the blockchain system is the same as the process of storing the deduction condition to the blockchain in step 301, and will not be described herein.
When the target user pays tax, the blockchain system can determine the tax paying value of the target user based on the deduction value, and further the tax paying is completed. In one possible implementation manner, the tax payment process can be completed based on an intelligent contract, when the tax payment time of the target user is reached, the intelligent contract on the blockchain can be automatically triggered, so that the first node device obtains the deduction value and income information of the target user and the tax policy applicable to the target user from the blockchain based on the identity of the target user, calculates the tax payment value of the target user, wherein the first node device can be the node device of a tax institution or the node device of a personal user, can also be the node device of a tax payment institution such as a bank, and can initiate a tax payment request when the first node device is the node device of the tax institution or the personal user, and the first node device calculates the tax transfer value of the target user when the first node device is the node device of the tax institution based on the tax payment value, namely, can execute the tax payment step after the first node device calculates the tax transfer value of the target user.
According to the technical scheme provided by the embodiment of the application, the target deduction condition is acquired from the blockchain based on the deduction request of the target user, the first data is acquired from the blockchain according to the target deduction item in the target deduction condition and the identity of the target user, the deduction value of the target user is determined based on the first data and the deduction limit of each deduction item in the target deduction condition, and the resource transfer is completed based on the deduction value.
The information such as income records and consumption records of the user is recorded through the blockchain, the node equipment corresponding to the tax agency can automatically judge whether the user meets tax deduction conditions according to the income information, the consumption information and the current tax policy of the user, the tax deduction value of the user is calculated and stored in the blockchain, and when the user pays tax, tax payment institutions such as enterprises and banks can finish resource transfer, namely tax payment steps, based on the tax deduction value stored in the blockchain. In the resource process, related tax deduction projects are not required to be declared by users in a personal way, the users are prevented from submitting declaration information such as consumption invoices and consumption certificates, staff are prevented from auditing the declaration information of the users, the information in the tax payment process is more public and transparent, the deduction value and tax payment value of each user are automatically calculated based on data in a blockchain and intelligent contracts, the tax payment value of each user can be accurately and efficiently obtained, and further the accuracy and the high efficiency of resource transfer are ensured.
The above embodiment mainly describes that the node device in the blockchain system calculates the deduction value of the target user, so as to complete the resource transfer process, and for the family to which the target user belongs, the blockchain system may further generate the deduction proportion of each family member in the family to reduce the tax payment total value of the family, and fig. 7 is a flowchart of a method for generating the deduction value of the family member provided by the embodiment of the present application, and referring to fig. 7, the method may specifically include the following steps:
701. the first node device obtains an identity of a family member of the target user based on the deduction request.
In one possible implementation manner, the deduction request may carry an identity of the target user, and the first node device may query family information of the target user on a blockchain based on the identity of the target user, to obtain identities of all family members in the family information.
In one possible implementation manner, the first node device may provide the identity of at least one family member to the target user, specifically, the target user may initiate a deduction request on any client device, the client device may display a request initiating page, the request initiating page may include an identity information input area and a confirmation control, the target user may input the identity of the at least one family member in the identity information input area, the client device may acquire the at least one identity in the identity information input area after detecting the triggering operation of the target user on the confirmation control, generate a deduction request based on the at least one identity, send the deduction request to the first node device, and the first node device may acquire the identity of the at least one family member carried in the deduction request.
702. The first node device obtains second data of the family member from a blockchain of the blockchain system based on the identity of the family member and the target deduction item.
The process of obtaining the second data of the family member is the same as the process of obtaining the first data of the target user in step 304, and will not be described herein.
703. The first node device determines a partial deduction value of the family member based on the first data, the second data and a deduction amount corresponding to the target deduction item.
In one possible implementation manner, the first node device may compare the first data and the second data with the target deduction condition, and when the first data and the second data meet the target deduction condition, the first node device may determine a partial deduction value of the family member based on a deduction amount corresponding to the target deduction item.
In this embodiment of the present application, the first node device may obtain a deduction item corresponding to the family member and a deduction proportion corresponding to the deduction item, and determine a partial deduction value of the family member based on the deduction value of the family member, the deduction item and the deduction proportion corresponding to the deduction item. In one possible implementation manner, the request initiating page may include a deduction information input area, where the target user may input a deduction item and a deduction proportion of the family member in the deduction information input area, for example, the deduction item corresponding to the family member may be child education, the deduction proportion may be 50%, the deduction request received by the first node device may carry the identity of the family member, the deduction item and the deduction proportion, and after determining that the first data and the second data meet the target deduction condition, the first node device may calculate a partial deduction value of the family member, for example, when the deduction amount corresponding to child education is 1000, the family member may deduct 50%, and the deduction value of the family member is 500.
In one possible implementation manner, the deduction proportion corresponding to each family member may be further generated by the first node device based on the income information and tax policy of each family member, specifically, the first node device may obtain the first income information of the target user and the second income information of the family member, calculate the total household tax value corresponding to different deduction proportions based on the first income information, the second income information, the deduction limit corresponding to the target deduction item and the tax standard corresponding to different income information, and obtain the deduction proportion of each family member corresponding to the minimum total tax value.
The revenue information of each family member may be provided by the target user, or may be obtained by the first node device from the blockchain based on the identity of each family member, which is not specifically limited in the embodiment of the present application.
In the embodiment of the present application, the first node device may determine a remaining home withholding value based on the withholding value of the family member and a partial withholding value of the family member, and store the remaining home withholding value to a blockchain of the blockchain system. The above process of storing the remaining deduction value of the family onto the blockchain is the same as the process of storing the deduction condition onto the blockchain in step 301, and will not be described herein.
In the process of calculating the deduction value of the family member, the blockchain system performs tax deduction degree distribution based on the data stored on the blockchain, including income information, consumption information, applicable tax policy and the like of each family member, so that the minimum household tax payment value can be obtained, and the deduction proportion among the family members is ensured to be optimal.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
Fig. 8 is a schematic structural diagram of a resource transferring device based on blockchain according to an embodiment of the present application, referring to fig. 8, the device includes:
a condition obtaining module 801, configured to obtain, based on a deduction request of a target user, a target deduction condition from a blockchain of the blockchain system, where the target deduction condition includes a target deduction item and a deduction amount corresponding to the target deduction item;
a first data obtaining module 802, configured to obtain, based on the identity of the target user and the target deduction item, first data from a blockchain of the blockchain system, where the first data corresponds to the identity and belongs to the target deduction item;
A deduction value determining module 803, configured to determine a deduction value of the target user based on the first data and a deduction amount corresponding to the target deduction item;
a resource transfer module 804 for storing the deduction value on a blockchain of the blockchain system, the blockchain system performing a resource transfer step based on the deduction value.
In one possible implementation, the target withholding condition belongs to a target category, at least one withholding condition in the target category carrying the same category identification.
In one possible implementation, the condition acquisition module 801 is configured to:
based on the category identification, obtaining at least one withhold condition from a blockchain of the blockchain system, one of the withhold conditions corresponding to a start time and a stop time;
and determining the target deduction condition as the deduction condition that the starting time is smaller than the current time and the cut-off time is larger than the current time.
In one possible implementation, the apparatus further includes:
the generation module is used for generating data records based on the user behavior of the target user, wherein one data record corresponds to one data category;
and the record storage module is used for storing the data record to the blockchain of the blockchain system based on a consensus mechanism.
In one possible implementation, the apparatus further includes:
the identification acquisition module is used for acquiring the identity identification of the family member of the target user;
the second data acquisition module acquires second data of the family member from a blockchain of the blockchain system based on the identity of the family member and the target deduction item;
and the partial deduction value determining module is used for determining the partial deduction value of the family member based on the first data, the second data and the deduction amount corresponding to the target deduction item.
In one possible implementation, the partial deduction value determination module is configured to:
acquiring a deduction item corresponding to the family member and a deduction proportion corresponding to the deduction item;
and determining a partial deduction value of the family member based on the first data, the second data, the deduction amount corresponding to the deduction item and the deduction proportion corresponding to the deduction item.
In one possible implementation, the apparatus further includes:
the remaining deduction value determining module is used for determining a remaining deduction value of the family based on the deduction value of the family member and the partial deduction value of the family member;
And the value storage module is used for storing the household residual deduction value to a blockchain of the blockchain system.
According to the device provided by the embodiment of the application, the target deduction condition is acquired from the blockchain based on the deduction request of the target user, the first data is acquired from the blockchain according to the target deduction item in the target deduction condition and the identity of the target user, the deduction value of the target user is determined based on the first data and the deduction limit of each deduction item in the target deduction condition, and the resource transfer is completed based on the deduction value.
It should be noted that: in the resource transfer device based on blockchain provided in the above embodiment, only the division of the above functional modules is used for illustration, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus for transferring a blockchain-based resource provided in the above embodiment and the method embodiment for transferring a blockchain-based resource belong to the same concept, and detailed implementation processes of the apparatus and the method embodiment are detailed and will not be described herein.
The computer device provided by the above technical solution may be implemented as a terminal or a server, for example, fig. 9 is a schematic structural diagram of a terminal provided in an embodiment of the present application. The terminal 900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 900 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 900 includes: one or more processors 901 and one or more memories 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 901 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one piece of program code for execution by processor 901 to implement the blockchain-based resource transfer method provided by the method embodiments in the present application.
In some embodiments, the terminal 900 may further optionally include: a peripheral interface 903, and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 903 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 904, a display 905, a camera assembly 906, audio circuitry 907, and a power source 909.
The peripheral interface 903 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 901, the memory 902, and the peripheral interface 903 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 904 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication ) related circuits, which are not limited in this application.
The display 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 905 is a touch display, the display 905 also has the ability to capture touch signals at or above the surface of the display 905. The touch signal may be input as a control signal to the processor 901 for processing. At this time, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing a front panel of the terminal 900; in other embodiments, the display 905 may be at least two, respectively disposed on different surfaces of the terminal 900 or in a folded design; in some embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display 905 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 905 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 906 is used to capture images or video. Optionally, the camera assembly 906 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be plural and disposed at different portions of the terminal 900. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 907 may also include a headphone jack.
The power supply 909 is used to supply power to the various components in the terminal 900. The power supply 909 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 909 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can further include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 901 may control the display 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 911. The acceleration sensor 911 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may collect a 3D motion of the user on the terminal 900 in cooperation with the acceleration sensor 911. The processor 901 may implement the following functions according to the data collected by the gyro sensor 912: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 913 may be provided at a side frame of the terminal 900 and/or at a lower layer of the display 905. When the pressure sensor 913 is provided at a side frame of the terminal 900, a grip signal of the user to the terminal 900 may be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 913. When the pressure sensor 913 is provided at the lower layer of the display 905, the processor 901 performs control of the operability control on the UI interface according to the pressure operation of the user on the display 905. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The optical sensor 915 is used to collect the intensity of ambient light. In one embodiment, the processor 901 may control the display brightness of the display panel 905 based on the intensity of ambient light collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display luminance of the display screen 905 is turned up; when the ambient light intensity is low, the display luminance of the display panel 905 is turned down. In another embodiment, the processor 901 may also dynamically adjust the shooting parameters of the camera assembly 906 based on the ambient light intensity collected by the optical sensor 915.
A proximity sensor 916, also referred to as a distance sensor, is typically provided on the front panel of the terminal 900. Proximity sensor 916 is used to collect the distance between the user and the front of terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the display 905 to switch from the bright screen state to the off screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually increases, the processor 901 controls the display 905 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 9 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
Fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1000 may have a relatively large difference due to configuration or performance, and may include one or more processors (Central Processing Units, CPU) 1001 and one or more memories 1002, where at least one program code is stored in the one or more memories 1002, and the at least one program code is loaded and executed by the one or more processors 1001 to implement the methods provided in the foregoing method embodiments. Of course, the server 1000 may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
In an exemplary embodiment, a computer readable storage medium, such as a memory, comprising at least one program code executable by a processor to perform the blockchain-based resource transfer method of the above embodiments is also provided. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of implementing the above-described embodiments may be implemented by hardware, or may be implemented by at least one piece of hardware associated with a program, where the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to be limiting, but rather is intended to cover any and all modifications, equivalents, alternatives, and improvements within the spirit and principles of the present application.

Claims (16)

1. A blockchain-based resource transfer method, for use with any node device in a blockchain system, the method comprising:
based on a deduction request of a target user, acquiring a target deduction condition from a blockchain of the blockchain system, wherein the target deduction condition comprises a target deduction item and a deduction amount corresponding to the target deduction item, and the target deduction item comprises a special additional deduction category;
acquiring a plurality of data records belonging to at least one data category from a blockchain of the blockchain system based on the identity of the target user and at least one data category corresponding to the target deduction item, wherein the plurality of data records are used as first data, and the first data correspond to the identity and belong to the target deduction item;
determining a deduction value of the target user based on the first data and the deduction amount corresponding to the target deduction project;
storing the deduction value on a blockchain of the blockchain system, the step of performing, by the blockchain system, a resource transfer based on the deduction value.
2. The method of claim 1, wherein the target withholding condition belongs to a target category, at least one withholding condition in the target category carrying the same category identification.
3. The method of claim 2, wherein the obtaining a target withholding condition from a blockchain of the blockchain system comprises:
based on the category identification, obtaining at least one withholding condition from a blockchain of the blockchain system, wherein one withholding condition corresponds to a starting moment and a stopping moment;
and determining the deduction condition that the starting time is smaller than the current time and the cut-off time is larger than the current time as the target deduction condition.
4. The method of claim 1, wherein the obtaining a plurality of data records belonging to the at least one data category from a blockchain of the blockchain system, the method further comprises, prior to the plurality of data records being the first data:
generating the data records based on the user behavior of the target user, one of the data records corresponding to each data category;
the data record is stored on a blockchain of the blockchain system based on a consensus mechanism.
5. The method of claim 1, wherein prior to determining the deduction value for the target user based on the first data and the deduction amount corresponding to the target deduction item, the method further comprises:
Acquiring the identity of the family member of the target user;
acquiring second data of the family member from a blockchain of the blockchain system based on the identity of the family member and the target deduction item;
and determining a partial deduction value of the family member based on the first data, the second data and the deduction amount corresponding to the target deduction item.
6. The method of claim 5, wherein determining the partial deduction value for the family member based on the first data, the second data, and a deduction amount corresponding to the target deduction item comprises:
acquiring a deduction item corresponding to the family member and a deduction proportion corresponding to the deduction item;
and determining a partial deduction value of the family member based on the first data, the second data, the deduction amount corresponding to the deduction item and the deduction proportion corresponding to the deduction item.
7. The method of claim 6, wherein after the determining the partial deduction value for the family member, the method further comprises:
determining a remaining household deduction value based on the deduction value of the household member and a part of deduction value of the household member;
The home remaining withhold value is stored onto a blockchain of the blockchain system.
8. A blockchain-based resource transfer apparatus for use with any node device in a blockchain system, the apparatus comprising:
the condition acquisition module is used for acquiring target deduction conditions from a blockchain of the blockchain system based on a deduction request of a target user, wherein the target deduction conditions comprise a target deduction item and a deduction amount corresponding to the target deduction item, and the target deduction item comprises a special additional deduction category;
the first data acquisition module is used for acquiring a plurality of data records belonging to at least one data category from a blockchain of the blockchain system based on the identity of the target user and at least one data category corresponding to the target deduction item, and taking the plurality of data records as first data, wherein the first data corresponds to the identity and belongs to the target deduction item;
the deduction value determining module is used for determining the deduction value of the target user based on the first data and the deduction amount corresponding to the target deduction project;
And a resource transfer module for storing the deduction value on a blockchain of the blockchain system, and executing a resource transfer step by the blockchain system based on the deduction value.
9. The apparatus of claim 8, wherein the target withholding condition belongs to a target category, at least one withholding condition in the target category carrying the same category identification.
10. The apparatus of claim 9, wherein the condition acquisition module is configured to:
based on the category identification, obtaining at least one withholding condition from a blockchain of the blockchain system, wherein one withholding condition corresponds to a starting moment and a stopping moment;
and determining the deduction condition that the starting time is smaller than the current time and the cut-off time is larger than the current time as the target deduction condition.
11. The apparatus of claim 8, wherein the apparatus further comprises:
the generation module is used for generating the data records based on the user behaviors of the target user, wherein one data record corresponds to one data category;
and the record storage module is used for storing the data record to a blockchain of the blockchain system based on a consensus mechanism.
12. The apparatus of claim 8, wherein the apparatus further comprises:
the identification acquisition module is used for acquiring the identity identification of the family member of the target user;
the second data acquisition module is used for acquiring second data of the family member from a blockchain of the blockchain system based on the identity of the family member and the target deduction item;
and the partial deduction value determining module is used for determining the partial deduction value of the family member based on the first data, the second data and the deduction amount corresponding to the target deduction project.
13. The apparatus of claim 12, wherein the partial deduction value determination module is configured to:
acquiring a deduction item corresponding to the family member and a deduction proportion corresponding to the deduction item;
and determining a partial deduction value of the family member based on the first data, the second data, the deduction amount corresponding to the deduction item and the deduction proportion corresponding to the deduction item.
14. The apparatus of claim 13, wherein the apparatus further comprises:
The residual deduction value determining module is used for determining a residual deduction value of the family based on the deduction value of the family member and the partial deduction value of the family member;
and the numerical value storage module is used for storing the household residual deduction numerical value to a blockchain of the blockchain system.
15. A computer device comprising one or more processors and one or more memories having stored therein at least one piece of program code that is loaded and executed by the one or more processors to implement the operations performed by the blockchain-based resource transfer method of any of claims 1-7.
16. A computer readable storage medium having stored therein at least one program code that is loaded and executed by a processor to implement operations performed by a blockchain-based resource transfer method of any of claims 1 to 7.
CN201910964991.8A 2019-10-11 2019-10-11 Resource transfer method, device, equipment and storage medium based on block chain Active CN110659975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910964991.8A CN110659975B (en) 2019-10-11 2019-10-11 Resource transfer method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964991.8A CN110659975B (en) 2019-10-11 2019-10-11 Resource transfer method, device, equipment and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN110659975A CN110659975A (en) 2020-01-07
CN110659975B true CN110659975B (en) 2023-06-16

Family

ID=69040670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964991.8A Active CN110659975B (en) 2019-10-11 2019-10-11 Resource transfer method, device, equipment and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN110659975B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311277B (en) * 2020-02-10 2021-11-05 腾讯科技(深圳)有限公司 Bill processing method and device based on block chain network and related equipment
CN112733191A (en) * 2021-01-21 2021-04-30 广西师范大学 NFC (near field communication) safety equipment based on block chain technology

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001035678A2 (en) * 1999-11-11 2001-05-17 Esalestax.Com Transaction tax collection system and method
EP1359523A1 (en) * 2002-05-02 2003-11-05 Accenture Global Services GmbH A tax transaction system
CN102289770A (en) * 2010-06-19 2011-12-21 梁军 Online real-time anti-counterfeit and tax-control method for special value added tax (VAT) invoices
KR20140022593A (en) * 2012-08-14 2014-02-25 웹케시 주식회사 Apparatus and method for determining input tax amount which is deducted from output tax amount
CN105303400A (en) * 2015-09-30 2016-02-03 腾讯科技(深圳)有限公司 Resource deduction method and device
CN107862594A (en) * 2017-10-31 2018-03-30 深圳瑞柏科技有限公司 The method and system that autoelectrinic is paid taxes
KR101854394B1 (en) * 2017-06-01 2018-05-03 비즈플레이 주식회사 System, method and computer program for preventing double deduction of tax on personal expenses
CN109359113A (en) * 2018-10-16 2019-02-19 平安科技(深圳)有限公司 It pays taxes report checking method, device and storage medium, server
CN109636561A (en) * 2018-12-14 2019-04-16 浙江诺诺网络科技有限公司 The additional method, device and equipment deducted of Individual Income Tax special project is declared on a kind of line

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395230B2 (en) * 2001-03-13 2008-07-01 Intuit Inc. System and method for tracking charitable deductions
CN101211450A (en) * 2006-12-31 2008-07-02 李书勋 Invoices and hypothecary voucher checking system and method
US8359239B1 (en) * 2007-03-30 2013-01-22 Intuit Inc. Method and apparatus for tracking mobile transactions
US10872389B2 (en) * 2016-03-15 2020-12-22 Hrb Innovations, Inc. Taxpayer identity determination through external verfication
US10762479B2 (en) * 2017-04-05 2020-09-01 Samsung Sds Co., Ltd. Method and system for processing blockchain-based real-time transaction
US10643202B2 (en) * 2017-07-25 2020-05-05 Bank Of America Corporation Real-time processing distributed ledger system
US11461854B2 (en) * 2017-11-03 2022-10-04 Mastercard International Incorporated Systems and methods for using multi-factor authentication for tax filings
CN108596749A (en) * 2018-04-24 2018-09-28 深圳市元征科技股份有限公司 Qualification method based on block chain and relevant apparatus
CN109087024B (en) * 2018-08-28 2023-07-04 深圳市智税链科技有限公司 Data processing method, device, storage medium and equipment for electronic bill
CN109377343A (en) * 2018-12-14 2019-02-22 浙江诺诺网络科技有限公司 The additional method, device and equipment deducted of Individual Income Tax special project is declared on a kind of line
CN109636562A (en) * 2018-12-14 2019-04-16 浙江诺诺网络科技有限公司 A kind of additional method for deducting electronics contract of signature Individual Income Tax special project on line
CN109559392B (en) * 2018-12-28 2021-10-12 西安艾润物联网技术服务有限责任公司 Method for using parking coupon and related product
CN109840839A (en) * 2018-12-29 2019-06-04 广东源恒软件科技有限公司 Individual Income Tax special project is additional to deduct intelligent preliminary hearing platform, method and system
CN109726991A (en) * 2018-12-29 2019-05-07 广东源恒软件科技有限公司 A kind of end Individual Income Tax Tax Treatment APP and method
CN109919654A (en) * 2019-01-23 2019-06-21 深圳壹账通智能科技有限公司 Integral monitoring method, device, equipment and storage medium based on block chain
CN109615501A (en) * 2019-02-15 2019-04-12 浙江诺诺网络科技有限公司 A kind of approaches to IM, device, equipment and readable storage medium storing program for executing
CN110188109B (en) * 2019-04-03 2023-10-31 创新先进技术有限公司 Block chain-based information management method, device and equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001035678A2 (en) * 1999-11-11 2001-05-17 Esalestax.Com Transaction tax collection system and method
EP1359523A1 (en) * 2002-05-02 2003-11-05 Accenture Global Services GmbH A tax transaction system
CN102289770A (en) * 2010-06-19 2011-12-21 梁军 Online real-time anti-counterfeit and tax-control method for special value added tax (VAT) invoices
KR20140022593A (en) * 2012-08-14 2014-02-25 웹케시 주식회사 Apparatus and method for determining input tax amount which is deducted from output tax amount
CN105303400A (en) * 2015-09-30 2016-02-03 腾讯科技(深圳)有限公司 Resource deduction method and device
KR101854394B1 (en) * 2017-06-01 2018-05-03 비즈플레이 주식회사 System, method and computer program for preventing double deduction of tax on personal expenses
CN107862594A (en) * 2017-10-31 2018-03-30 深圳瑞柏科技有限公司 The method and system that autoelectrinic is paid taxes
CN109359113A (en) * 2018-10-16 2019-02-19 平安科技(深圳)有限公司 It pays taxes report checking method, device and storage medium, server
CN109636561A (en) * 2018-12-14 2019-04-16 浙江诺诺网络科技有限公司 The additional method, device and equipment deducted of Individual Income Tax special project is declared on a kind of line

Also Published As

Publication number Publication date
CN110659975A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN110401715B (en) Resource collection task management method, device, storage medium and system
CN109615516B (en) Resource transfer method, device, electronic equipment and storage medium
CN110569909B (en) Block chain-based fault early warning method, device, equipment and storage medium
WO2020114279A1 (en) Debt certificate transferring method and apparatus, electronic device, and storage medium
CN110889772B (en) Policy processing method and device, computer equipment and storage medium
CN111339086B (en) Block processing method, and data query method and device based on block chain
CN110598879B (en) Garbage collection method, device, equipment and storage medium based on block chain
CN111080443B (en) Block chain-based service processing method, device, equipment and storage medium
CN110378678B (en) Numerical value integration method, device, system, node equipment and storage medium
CN110826103B (en) Method, device, equipment and storage medium for processing document authority based on blockchain
CN111340482B (en) Conflict detection method, device, node equipment and storage medium
CN110555780B (en) Insurance data processing method, device and equipment based on block chain and storage medium
CN110689460A (en) Traffic accident data processing method, device, equipment and medium based on block chain
CN110933113B (en) Block chain-based interactive behavior detection method, device, equipment and storage medium
CN110597906B (en) Entrance integral generation method, device and equipment based on blockchain and storage medium
CN111260347A (en) Resource processing method, device and equipment based on block chain and storage medium
CN110597924B (en) Block chain-based user identification processing method, device, equipment and storage medium
CN111339181B (en) Block storage method, block storage device, node equipment and storage medium
CN111667371B (en) Resource aggregation method, system, device and storage medium based on block chain
CN113034265B (en) Data verification method, device, computer equipment and computer readable storage medium
CN111212074B (en) Blockchain-based qualification identification method, device, equipment and storage medium
CN110659975B (en) Resource transfer method, device, equipment and storage medium based on block chain
CN110599328B (en) Block chain based risk user determination method, device, equipment and storage medium
CN110597840B (en) Partner relationship establishment method, device, equipment and storage medium based on blockchain
CN112991069A (en) Resource processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40019473

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant