CN110888936A - Data processing method and device based on block chain, electronic equipment and storage medium - Google Patents

Data processing method and device based on block chain, electronic equipment and storage medium Download PDF

Info

Publication number
CN110888936A
CN110888936A CN201911126069.8A CN201911126069A CN110888936A CN 110888936 A CN110888936 A CN 110888936A CN 201911126069 A CN201911126069 A CN 201911126069A CN 110888936 A CN110888936 A CN 110888936A
Authority
CN
China
Prior art keywords
user
proportion
bill
target
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911126069.8A
Other languages
Chinese (zh)
Inventor
李茂材
朱耿良
杨常青
刘区城
蓝虎
刘攀
时一防
周开班
王宗友
张劲松
黄焕坤
孔利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201911126069.8A priority Critical patent/CN110888936A/en
Publication of CN110888936A publication Critical patent/CN110888936A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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

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)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a data processing device, electronic equipment and a storage medium based on a block chain, wherein the method comprises the following steps: receiving a proportion bill request submitted by the terminal equipment, generating a proportion bill for each first user included in the target user set based on proportion data and the target bill carried in the proportion bill request, writing identification information of each first user and the corresponding proportion bill into a block chain, and sending the proportion bill of each first user to the terminal equipment corresponding to each first user. And each subsequent first user can view the own occupation bill through the terminal equipment and declares own ownership of the asset based on the own occupation bill. The embodiment of the invention realizes the ownership management of each first user for the assets through the block chain, solves the problem of opacity of the existing ownership management process, and is favorable for improving the accuracy and the credibility of ownership determination.

Description

Data processing method and device based on block chain, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus based on a block chain, an electronic device, and a storage medium.
Background
With the continuous development of internet technology, people pay more and more attention to the ownership management of assets. When there are multiple owners corresponding to a certain asset, it is particularly important to clarify ownership of the asset by each owner. Currently, determining ownership rights of assets by each owner generally includes two ways, the first is to agree on ownership rights of assets by each owner in the form of contracts; the second is that after the assets are securitized, the ownership of the assets by each owner is determined by the proportion of the securities held by each owner. It can be seen that the above two ways of determining ownership of an asset by each owner are not transparent enough, and ownership of the asset by each owner is easily tampered with maliciously, and has low credibility.
Disclosure of Invention
The embodiment of the invention provides a data processing method and device based on a block chain, electronic equipment and a storage medium, which can improve the reliability of ownership allocation of assets by each first user in a target user set.
In one aspect, an embodiment of the present invention provides a data processing method based on a block chain, where the method includes:
receiving, by a node of a blockchain network, a proportion bill request submitted by a terminal device, where the proportion bill request carries proportion data of each first user included in a target user set for an asset corresponding to a target bill, where the target bill is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes a proportion of each first user to the asset;
the node generates a proportion bill for each first user included in the target user set based on the proportion data and the target bills;
and the node writes the identification information of each first user and the corresponding proportion bill into a block chain, and sends the proportion bill of each first user to the terminal equipment corresponding to each first user.
In another aspect, an embodiment of the present invention provides a data processing apparatus based on a block chain, where the apparatus includes:
a communication module, configured to receive a proportion bill request submitted by a terminal device, where the proportion bill request carries proportion data of each first user included in a target user set for an asset corresponding to a target bill, the target bill is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes a proportion of each first user to the asset;
the processing module is used for generating a proportion bill for each first user included in the target user set based on the proportion data and the target bill;
the processing module is further configured to write the identification information of each first user and the corresponding proportion ticket into a block chain;
the communication module is further configured to send the duty ticket of each first user to the terminal device corresponding to each first user.
In another aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a communication interface, where the processor, the memory, and the communication interface are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the foregoing method, and the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:
receiving a proportion bill request submitted by a terminal device through a communication interface, wherein the proportion bill request carries proportion data of each first user aiming at assets corresponding to a target bill, the proportion bill request is generated based on transaction information of the assets between a second user and each first user, and the proportion data comprises proportion of each first user to the assets;
generating a proportion bill for each first user included in the target user set based on the proportion data and the target bills;
and writing the identification information of each first user and the corresponding proportion bill into a block chain, and sending the proportion bill of each first user to the terminal equipment corresponding to each first user.
In yet another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which computer program instructions are stored, and when executed by a processor, the computer program instructions are configured to perform the method for processing data based on a blockchain according to the first aspect.
In the embodiment of the present invention, a node of a block chain network may receive a proportion bill request submitted by a terminal device, where the proportion bill request carries proportion data of assets corresponding to a target bill by each first user included in a target user set. Further, the node generates a proportion bill for each first user included in the target user set based on the proportion data and the target bill, writes the identification information of each first user and the corresponding proportion bill into the block chain, and sends the proportion bill of each first user to the terminal device corresponding to each first user. And each subsequent first user can view the own occupation bill through the terminal equipment and declares own ownership of the asset based on the own occupation bill. Therefore, the ownership management of each first user for the assets is realized through the block chain, the opacity of the existing ownership management process is solved, and the accuracy and the reliability of ownership determination are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a block chain according to an embodiment of the present invention;
FIG. 2 is a block diagram of a data processing system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a data processing method based on a block chain according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a data processing method based on a block chain according to another embodiment of the present invention;
fig. 5 is a schematic block diagram of a data processing apparatus based on a block chain according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a data processing method based on a block chain, which can be applied to a node of a block chain network, wherein the node can be any node accessed into the block chain network, and the node can be any form of electronic equipment, such as a server, a user terminal and the like. In one embodiment, a node may receive a proportion ticket request submitted by a terminal device, where the proportion ticket request carries proportion data of each first user included in a target user set for an asset corresponding to a target ticket, the target ticket is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes a proportion of each first user to the asset. Further, the node may generate a proportion ticket for each first user included in the target user set based on the proportion data and the target ticket, write the identification information of each first user and the corresponding proportion ticket into the block chain, and send the proportion ticket of each first user to the terminal device corresponding to each first user, and each subsequent first user may declare ownership (i.e., proportion) of the asset based on the proportion ticket of each subsequent first user. The first user may be a buyer who purchases the asset, and the second user may be a seller who sells the asset. According to the embodiment of the invention, the ownership management of each first user for the assets is realized through the block chain in combination with the non-tamper-proof property of the block chain, so that the problems of the existing ownership management process that the ownership is easily tampered are solved, and the accuracy and the reliability of ownership determination are favorably improved.
The Block Chain (Block Chain) is a Chain data structure which combines data blocks in a sequential connection mode according to a time sequence and is a distributed book which is cryptographically used for ensuring that the data cannot be tampered and forged. Multiple independent distributed nodes (i.e., block-linked node devices) maintain the same record. The blockchain technology realizes decentralization and becomes a foundation for credible digital asset storage, transfer and transaction.
Taking the block chain structure diagram shown in fig. 1 as an example, when new data needs to be written into the block chain, the data is collected into a block (block) and added to the end of the existing block chain, and the newly added block of each node is ensured to be identical through a consensus algorithm. A plurality of transaction records are recorded in each block, and the transaction records also comprise the hash (hash) value of the previous block, and all blocks store the hash value of the previous block in the way and are connected in sequence to form a block chain. The hash value of the previous block is stored in the block head of the next block in the block chain, and when the transaction data in the current block changes, the hash value of the block is changed, so that the transaction data uploaded to the block chain network is difficult to tamper, the transaction is carried out on the block chain, the transaction process is transparent, and the reliability of the transaction data is improved.
In order to better understand the data processing method based on the block chain disclosed in the embodiment of the present invention, a block chain system applicable to the embodiment of the present invention is first described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a data processing system according to an embodiment of the present invention. As shown in fig. 2, the data processing system comprises at least one terminal device 201, a first node 202, at least one second node 203 of a blockchain network. It should be noted that the block chain network shown in fig. 2 is composed of one first node 202 and two second nodes 203, which are only used for illustration and do not constitute a limitation to the embodiment of the present invention. For example, in another example, a blockchain network may be comprised of one first node 202 and four second nodes 203.
In an embodiment, the first node 202 may be any one of the blockchain node devices in the blockchain network, the first node 202 may also be the blockchain node device closest to the terminal device 201, and the first node 202 may also be the blockchain node device with the best communication quality with the terminal device 201, which is not limited herein.
In one embodiment, the first nodes 202 are selected from all first nodes in the blockchain network according to a consensus algorithm, wherein the consensus algorithm includes, but is not limited to, a Proof of workload (Proof of Work, PoW) algorithm, a Proof of rights (Proof of stamp, PoS) algorithm, a granted Proof of rights (DPoS) algorithm, a Practical Byzantine Fault Tolerant (PBFT) algorithm, and the like. The first node 202 may also be obtained by periodic election through a consensus algorithm, and the first nodes 202 obtained by different periodic elections may be the same or different.
In one embodiment, after the second user performs an asset transaction with each first user in the target user set, the second user may upload, through the terminal device 202, invoicing data related to the asset transaction to the first node 202 in the blockchain network, and the first node 202 may generate a target ticket for the asset based on the invoicing data and write the target ticket into the blockchain. Further, any one of the first users may submit a proportion bill request for the target bill through the terminal device 201, where the proportion bill request carries proportion data of the first user for an asset corresponding to the target bill, and the proportion data includes a proportion of the first user to the asset. Further, after receiving the duty ticket request, the first node 202 may generate a duty ticket for each first user based on the duty data and the target ticket, write the identification information of each first user and the corresponding duty ticket into the block chain, send the duty ticket of each first user to the terminal device 201 corresponding to each first user, and each subsequent first user may view its own duty ticket through the terminal device 201 and declare its own ownership of the asset based on its own duty ticket.
It is to be understood that the data processing system described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not constitute a limitation to the technical solution provided in the embodiment of the present invention, and as a person having ordinary skill in the art knows that along with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems.
Referring to fig. 3, a flow chart of a data processing method based on a blockchain according to an embodiment of the present invention is shown, where the method according to the embodiment of the present invention can be executed by a node of a blockchain network. The method of an embodiment of the present invention includes the following steps.
S301: a node of the block chain network receives a proportion bill request submitted by a terminal device, wherein the proportion bill request carries proportion data of each first user, which is included in a target user set, aiming at assets corresponding to a target bill, the target bill is generated based on transaction information of the second user and each first user about the assets, and the proportion data comprises the proportion of each first user to the assets.
In one embodiment, after the second user performs asset transaction with each first user in the target user set, the second user may upload, through a terminal device, invoicing data related to the asset transaction to a node of a blockchain network, where the node may generate a target ticket for the asset based on the invoicing data, and write the target ticket into a blockchain. Each first user in the target user set may refer to all buyers (i.e., owners) who purchase the assets, and the second user may refer to a seller who sells the assets.
Further, in an embodiment, after the target ticket is written into the block chain, each first user in the target user set may agree on the occupation ratio of the first user to the asset, generate occupation ratio data for the asset corresponding to the target ticket, and digitally sign the occupation ratio data based on a private key of the first user. In this case, the digitally signed percentage data includes the digital signature of each first user, before the node generates one percentage ticket for each first user included in the target user set based on the percentage data and the target ticket, the node may also verify the digital signature of each first user based on the public key of each first user, and when the node passes the verification of the digital signature of each first user, the following step S302 is triggered to be executed.
S302: the node generates a proportion ticket for each first user included in the set of target users based on the proportion data and the target tickets.
In an embodiment, the proportion ticket request further carries identification information of the target ticket, and a specific implementation manner of the node generating a proportion ticket for each first user included in the target user set based on the proportion data and the target ticket may be: and the node acquires the target bill from the block chain according to the identification information of the target bill and generates a proportion bill for each first user included in the target user set based on the proportion data and the target bill.
Exemplarily, it is assumed that 2 first users included in the target user set are user sheets, user plums and user kings, respectively, the total amount of assets corresponding to the target ticket is 100 ten thousand yuan, and the occupation ratio of each first user to the assets included in the occupation ratio data is shown in table 1. In this case, the node may generate a proportion bill 01 for the user sheet based on the proportion data and the target bill, and the total virtual asset amount of the proportion bill 01 is 100 ten thousand yuan by 50%, namely 50 ten thousand yuan; generating a proportion bill 02 for the user plum based on the proportion data and the target bill, wherein the total virtual asset amount corresponding to the proportion bill 02 is 100 ten thousand yuan by 20 percent to 20 ten thousand yuan; and generating a proportion bill 03 for the user king based on the proportion data and the target bill, wherein the total virtual asset amount of the proportion bill 03 is 100 ten thousand yuan by 30 percent to 30 ten thousand yuan.
TABLE 1
First user Percentage of assets (%)
User sheet 50
User baggage 20
King of user 30
S303: and the node writes the identification information of each first user and the corresponding proportion bill into the block chain, and sends the proportion bill of each first user to the terminal equipment corresponding to each first user.
In one implementation, the node may perform consensus verification on the identification information of each first user and the corresponding proportion ticket, and if the consensus verification passes, the node generates a new block corresponding to the identification information of each first user and the corresponding proportion ticket, and adds the new block to the block chain.
The specific implementation manner of performing consensus verification on the identification information of each first user and the corresponding proportion bill by the node may be that the node sends the identification information of each first user and the corresponding proportion bill to other nodes in the block chain network, the other nodes may perform block chain consensus on the identification information of each first user and the corresponding proportion bill, and if the identification information of each first user and the corresponding proportion bill are confirmed to pass by more than a preset number of other nodes in the block chain network, it is determined that the consensus verification on the identification information of each first user and the corresponding proportion bill passes. Wherein the preset number is preset by a developer based on experimental measurement and calculation data.
In the embodiment of the present invention, a node of a block chain network may receive a proportion bill request submitted by a terminal device, where the proportion bill request carries proportion data of assets corresponding to a target bill by each first user included in a target user set. Further, the node generates a proportion bill for each first user included in the target user set based on the proportion data and the target bill, writes the identification information of each first user and the corresponding proportion bill into the block chain, and sends the proportion bill of each first user to the terminal device corresponding to each first user. And each subsequent first user can view the own occupation bill through the terminal equipment and declares own ownership of the asset based on the own occupation bill. Therefore, the ownership management of each first user for the assets is realized through the block chain, the opacity of the existing ownership management process is solved, and the accuracy and the reliability of ownership determination are improved.
Referring to fig. 4, which is a schematic flow chart of a data processing method based on a blockchain according to another embodiment of the present invention, the method according to an embodiment of the present invention may be executed by a node of a blockchain network, as shown in fig. 4, where the method includes:
s401: a node of the block chain network receives a proportion bill request submitted by a terminal device, wherein the proportion bill request carries proportion data of each first user, which is included in a target user set, aiming at assets corresponding to a target bill, the target bill is generated based on transaction information of the second user and each first user about the assets, and the proportion data comprises the proportion of each first user to the assets.
S402: the node generates a proportion ticket for each first user included in the set of target users based on the proportion data and the target tickets.
S403: and the node writes the identification information of each first user and the corresponding proportion bill into the block chain, and sends the proportion bill of each first user to the terminal equipment corresponding to each first user. For specific implementation of steps S401 to S403, refer to the related description of steps S301 to S303 in the above embodiments.
S404: the node receives a transfer application aiming at the target bill, the transfer application is provided when each first user and each third user included in the target user set trade aiming at the assets, and the transfer application carries a virtual resource transfer amount corresponding to the trade.
In one embodiment, after the second user performs asset transaction with each first user in the target user set, the second user may upload, through a terminal device, invoicing data related to the asset transaction to a node of a blockchain network, where the node may generate a target ticket for the asset based on the invoicing data, and write the target ticket into a blockchain. Further, when the asset is transferred and transferred from each first user in the target user set to a third user (that is, when each first user and the third user perform a transaction on the asset), any one of the first users may submit a transfer application for the target ticket to a node in the blockchain network through the terminal device, where the transfer application carries a virtual resource transfer amount corresponding to the transaction. The virtual resource transfer amount may be a transaction amount (e.g., 100 ten thousand yuan) related to the current transaction, or may be a virtual currency transfer amount (e.g., 10 bitcoins) related to the current transaction, and the like, which is not specifically limited in this embodiment of the present application.
In an embodiment, before any one of the first users in the target user set submits a transfer application for the target ticket to a node in the block chain network through a terminal device, the first users in the target user set need to perform data signature on the transfer application based on their own private keys, and the transfer application after data signature also carries the data signature of each first user. In this case, after receiving the transfer application for the target ticket, the node may further obtain the data signature of each first user from the transfer application, verify the data signature of each first user based on the own public key of each first user, and if the verification passes, execute the following step S405.
Illustratively, suppose that a first user included in the target user set is a user Zhang and a user Li respectively, the user Zhang and the user Li are ownership of an asset corresponding to the target instrument, and a third user is a user K, and a transaction occurs between the user Zhang and the user Li and the user K for the asset, and the asset is transferred from the user Zhang and the user Li to the user K. In this case, after the negotiation between the user bundle and the user bundle, any one of the user bundle and the user bundle can submit a transfer application for the target bill to a node in the block chain network through the terminal device, where the transfer application carries a virtual resource transfer amount corresponding to the transaction.
S405: and the node determines the transfer income of each first user according to the occupation ratio indicated by the occupation ratio bill of each first user and the virtual resource transfer amount. The transfer revenue may be the amount of revenue (e.g., 100 ten thousand dollars) or the amount of virtual currency (e.g., 7 bitcoins) obtained by each first user during the current asset transfer process, etc.
Illustratively, assuming that the virtual resource transfer amount is 100 ten thousand yuan, the target user set includes 2 first users, namely user zhang and user lie, and the duty ratio indicated by the duty ratio ticket of each first user is shown in table 2. In this case, the node may determine that the transfer income obtained by the user sheet in the asset transfer process is "100 ten thousand yuan by 70%" according to the occupation ratio "70%" indicated by the occupation ratio ticket of the user sheet and the virtual resource transfer amount "100 ten thousand yuan"; the node can determine that the transfer income obtained by the user plum in the asset transfer process is 100 ten thousand yuan by 30 percent to 30 ten thousand yuan according to the occupation ratio '30 percent' indicated by the occupation ratio bill of the user plum and the virtual resource transfer amount '100 ten thousand yuan'.
TABLE 2
First user Percentage ratio indicated by percentage ratio Ticket (%)
User sheet 70
User baggage 30
S406: and the node transmits the virtual resource transfer amount and the transfer income of each first user to the terminal equipment corresponding to each first user.
In one embodiment, the first user also carries the device information of the terminal device corresponding to each first user in the target user set through the preemption bill request submitted by the terminal device, and the device information can be a terminal number; or the first user also carries account information (such as a social application account, a mailbox address and the like) corresponding to each first user in the target user set in the comparison bill request submitted by the first user through the terminal device. In this case, the node writes account information of each user or device information of the corresponding terminal device, and identification information of each first user and the corresponding proportion ticket into the blockchain when executing step S403.
Further, after determining the transfer revenue of each first user according to the occupation ratio and the virtual resource transfer amount indicated by the occupation ratio bill of each first user, the node may send the virtual resource transfer amount and the transfer revenue of each first user to the terminal device corresponding to each first user through account information of each user or device information of the corresponding terminal device, so that each first user can know the transfer revenue which should be obtained by the first user for the current transaction of the asset, and the virtual resource transfer amount corresponding to the current transaction may be reasonably distributed among the first users based on the transfer revenue corresponding to each first user.
In one embodiment, after the node sends the virtual resource transfer amount and the transfer income of each first user to the terminal device corresponding to each first user, each first user in the target user set is no longer an owner of the asset because the asset corresponding to the target data has been transferred, and therefore, for this case, the node may mark the proportion bill of each first user as a failure state. Further, in one embodiment, in addition to marking the status of each first user's proportion instrument as invalid, the node may also mark the reason for each first user's proportion instrument as invalid (e.g., a transfer of an asset occurred).
In one embodiment, the node acquires the asset account of each first user and the asset account of the third user, and the node transfers the virtual resource amount corresponding to the transfer income of each first user from the asset account of the third user to the asset account of each first user. The asset account may refer to a bank account (e.g., a bank card number), or may refer to a platform account corresponding to a service platform of the first user or the third account in the blockchain network.
Illustratively, assuming the above asset accounts are bank card numbers of the first user, the second user, and the third user, the first user in the target user set includes user Zhang and user Li, the bank card number of the user Zhang is XXXXXXXXXXX 01, the bank card number of the user Li is XXXXXXXXXXX 02, the bank card number of the third user is XXXXXXXXXXXXXXX 03, the transfer income of the user Zhang is 70 ten thousand yuan, and the transfer income of the user Li is 30 ten thousand yuan. In this case, the node may send a transfer request to a bank corresponding to the bank card of the third user requesting the bank to transfer 70 ten thousand dollars from the bank card xxxxxxxx03 of the third user to the bank card xxxxxxxxxx 01 of the third user and 30 ten thousand dollars from the bank card xxxxxxxxxx 03 of the third user to the bank card xxxxxxxx02 of the user's lie.
In the embodiment of the present invention, a node of a block chain network may receive a transfer application for a target ticket, where the transfer application is provided when each first user and a third user included in a target user set transact for an asset, and the transfer application carries a virtual resource transfer amount corresponding to the transaction. Further, the transfer revenue of each first user can be determined according to the proportion indicated by the proportion ticket of each first user and the virtual resource transfer amount, and the virtual resource transfer amount and the transfer revenue of each first user are sent to the terminal device corresponding to each first user. By adopting the embodiment of the invention, the transfer income of each first user aiming at the asset in the asset transfer process can be determined through the block chain, the opacity of the asset transfer management process is solved, and the accuracy and the reliability of determining the transfer income are improved.
Embodiments of the present invention further provide a computer storage medium, in which program instructions are stored, and when the program instructions are executed, the computer storage medium is configured to implement the corresponding method described in the above embodiments.
Based on the above description of the embodiment of the data processing method based on the blockchain, an embodiment of the present invention further provides a data processing apparatus based on the blockchain, where the data processing apparatus based on the blockchain may be a computer program (including a program code) running in the above node. The block chain based data processing apparatus may be configured to perform the block chain based data processing method shown in fig. 3 and 4, and referring to fig. 5, the block chain based data processing apparatus may include: a communication module 50 and a processing module 51.
A communication module 50, configured to receive a proportion ticket request submitted by a terminal device, where the proportion ticket request carries proportion data of each first user included in a target user set for an asset corresponding to a target ticket, where the target ticket is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes a proportion of each first user to the asset;
a processing module 51, configured to generate a proportion ticket for each first user included in the set of target users based on the proportion data and the target ticket;
the processing module 51 is further configured to write the identification information of each first user and the corresponding proportion ticket into a block chain;
the communication module 50 is further configured to send the duty ticket of each first user to the terminal device corresponding to each first user.
In an embodiment, the processing module 51 is specifically configured to perform consensus verification on the identification information of each first user and the corresponding proportion ticket; and if the consensus verification is passed, generating the identification information of each first user and a new block corresponding to the corresponding proportion bill, and adding the new block into a block chain.
In an embodiment, the communication module 50 is further configured to receive a transfer application for the target instrument, where the transfer application is provided when each first user and a third user included in the target user set perform a transaction for the asset, and the transfer application carries a virtual resource transfer amount corresponding to the transaction; the processing module 51 is further configured to determine a transfer income of each first user according to the percentage indicated by the percentage ticket of each first user and the virtual resource transfer amount; the communication module 50 is further configured to send the virtual resource transfer amount and the transfer revenue of each first user to the terminal device corresponding to each first user.
In one embodiment, the processing module 51 is further configured to mark the proportion ticket of each first user as a disabled state.
In one embodiment, the processing module 51 is further configured to obtain an asset account of each first user and an asset account of the third user; and transferring the virtual resource amount corresponding to the transfer income of each first user from the asset account of the third user to the asset account of each first user.
In an embodiment, the proportion data further includes a digital signature of each first user, and the processing module 51 is further configured to verify, by the node, the digital signature of each first user based on the public key of each first user, and when the node verifies the digital signature of each first user, trigger execution of the step of generating a proportion ticket for each first user included in the target user set based on the proportion data and the target ticket.
In an embodiment, the proportion ticket request further carries identification information of the target ticket, and the processing module 51 is further specifically configured to obtain the target ticket from the block chain according to the identification information of the target ticket; generating a proportion bill for each first user included in the set of target users based on the proportion data and the target bills.
In this embodiment of the present invention, the communication module 50 may receive a proportion ticket request submitted by the terminal device, where the proportion ticket request carries proportion data of each first user included in the target user set for an asset corresponding to the target ticket. Further, the processing module 51 generates a proportion bill for each first user included in the target user set based on the proportion data and the target bill, writes the identification information of each first user and the corresponding proportion bill into the block chain, and sends the proportion bill of each first user to the terminal device corresponding to each first user. And each subsequent first user can view the own occupation bill through the terminal equipment and declares own ownership of the asset based on the own occupation bill. Therefore, the ownership management of each first user for the assets is realized through the block chain, the opacity of the existing ownership management process is solved, and the accuracy and the reliability of ownership determination are improved.
Referring to fig. 6 again, the schematic structural diagram of an electronic device according to an embodiment of the present invention is shown, where the electronic device may be any node in a block chain network, for example, the first node 202 or the second node 203 shown in fig. 2, and the electronic device according to the embodiment of the present invention includes a power supply module and the like, and includes a processor 601, a memory 602, and a communication interface 603. Data can be exchanged among the processor 601, the memory 602 and the communication interface 603, and the processor 601 implements a corresponding root certificate management function.
The memory 602 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 602 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 602 may also comprise a combination of memories of the kind described above.
The processor 601 may be a Central Processing Unit (CPU) 601. In one embodiment, the processor 601 may also be a Graphics Processing Unit (GPU) 601. The processor 601 may also be a combination of a CPU and a GPU. In the electronic device, a plurality of CPUs and GPUs may be included as necessary to perform corresponding root certificate management. In one embodiment, the memory 602 is used to store program instructions. The processor 601 may invoke the program instructions to implement the various methods as described above in embodiments of the invention.
In one embodiment, the processor 601 of the electronic device calls a program instruction stored in the memory 602, and is configured to receive, through the communication interface 603, a proportion ticket request submitted by a terminal device, where the proportion ticket request carries proportion data of an asset, corresponding to a destination ticket, of each first user included in a set of destination users, where the destination ticket is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes proportion of the asset by each first user; generating a proportion bill for each first user included in the target user set based on the proportion data and the target bills; and writing the identification information of each first user and the corresponding proportion bill into a block chain, and sending the proportion bill of each first user to the terminal equipment corresponding to each first user.
In an embodiment, the processor 601 is specifically configured to perform consensus verification on the identification information of each first user and the corresponding proportion ticket; and if the consensus verification is passed, generating the identification information of each first user and a new block corresponding to the corresponding proportion bill, and adding the new block into a block chain.
In an embodiment, the communication interface 603 is further configured to receive a transfer application for the target instrument, where the transfer application is provided when each first user and third user included in the target user set transact for the asset, and the transfer application carries a virtual resource transfer amount corresponding to the transaction; the processor 601 is further configured to determine a transfer income of each first user according to the percentage indicated by the percentage ticket of each first user and the virtual resource transfer amount; the communication interface 603 is further configured to send the virtual resource transfer amount and the transfer revenue of each first user to a terminal device corresponding to each first user.
In one embodiment, the processor 601 is further configured to mark the status of the duty ticket of each first user as invalid.
In one embodiment, the processor 601 is further configured to obtain an asset account of each first user and an asset account of the third user; and transferring the virtual resource amount corresponding to the transfer income of each first user from the asset account of the third user to the asset account of each first user.
In an embodiment, the proportion data further includes a digital signature of each first user, and the processor 601 is further configured to verify the digital signature of each first user based on the public key of each first user, and when the node verifies the digital signature of each first user, trigger execution of the step of generating a proportion ticket for each first user included in the target user set based on the proportion data and the target ticket.
In an embodiment, the request for the proportion ticket further carries identification information of the target ticket, and the processor 601 is further specifically configured to obtain the target ticket from the block chain according to the identification information of the target ticket; generating a proportion bill for each first user included in the set of target users based on the proportion data and the target bills.
In the embodiment of the present invention, the specific implementation of the processor 601 may refer to the description of relevant contents in the embodiments corresponding to the foregoing drawings.
In this embodiment of the present invention, the processor 601 may receive, through the communication interface 603, a proportion ticket request submitted by the terminal device, where the proportion ticket request carries proportion data of each first user included in the target user set for an asset corresponding to the target ticket. Further, the processor 601 generates a proportion bill for each first user included in the target user set based on the proportion data and the target bill, writes the identification information of each first user and the corresponding proportion bill into the block chain, and sends the proportion bill of each first user to the terminal device corresponding to each first user. And each subsequent first user can view the own occupation bill through the terminal equipment and declares own ownership of the asset based on the own occupation bill. Therefore, the ownership management of each first user for the assets is realized through the block chain, the opacity of the existing ownership management process is solved, and the accuracy and the reliability of ownership determination are improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A data processing method based on a block chain is characterized by comprising the following steps:
receiving, by a node of a blockchain network, a proportion bill request submitted by a terminal device, where the proportion bill request carries proportion data of each first user included in a target user set for an asset corresponding to a target bill, where the target bill is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes a proportion of each first user to the asset;
the node generates a proportion bill for each first user included in the target user set based on the proportion data and the target bills;
and the node writes the identification information of each first user and the corresponding proportion bill into a block chain, and sends the proportion bill of each first user to the terminal equipment corresponding to each first user.
2. The method of claim 1, wherein the node writes the identification information of each first user and the corresponding proportion ticket into a blockchain, comprising:
the node performs consensus verification on the identification information of each first user and the corresponding proportion bill;
and if the consensus verification is passed, the node generates the identification information of each first user and a new block corresponding to the corresponding proportion bill, and adds the new block to a block chain.
3. The method of claim 1 or 2, wherein after the node writes the identification information of each first user and the corresponding proportion ticket into a blockchain, the method further comprises:
the node receives a transfer application aiming at the target bill, wherein the transfer application is provided when each first user and each third user included in the target user set trade the asset, and the transfer application carries a virtual resource transfer amount corresponding to the trade;
the node determines the transfer income of each first user according to the occupation ratio indicated by the occupation ratio bill of each first user and the virtual resource transfer amount;
and the node sends the virtual resource transfer amount and the transfer income of each first user to the terminal equipment corresponding to each first user.
4. The method of claim 3, wherein after the node sends the virtual resource transfer amount and the transfer revenue of each first user to the terminal device corresponding to each first user, the method further comprises:
the node marks the status of the each first user's proportion ticket as invalid.
5. The method of claim 3, further comprising:
the node acquires the asset account of each first user and the asset account of the third user;
and the node transfers the virtual resource amount corresponding to the transfer income of each first user from the asset account of the third user to the asset account of each first user.
6. The method of claim 1, wherein the proportion data further includes a digital signature of the respective first user, and wherein before the node generates a proportion ticket for each first user included in the set of target users based on the proportion data and the target ticket, the method further comprises:
the node verifies the digital signature of each first user based on the public key of each first user;
and when the digital signatures of the first users are verified by the node, triggering and executing the step of generating a proportion bill for each first user included in the target user set based on the proportion data and the target bill.
7. The method according to claim 1, wherein the proportion ticket request further carries identification information of the target ticket, and the node generates a proportion ticket for each first user included in the set of target users based on the proportion data and the target ticket, including:
the node of the block chain network acquires the target bill from the block chain according to the identification information of the target bill;
the node generates a proportion ticket for each first user included in the set of target users based on the proportion data and the target tickets.
8. A blockchain-based data processing apparatus, comprising:
a communication module, configured to receive a proportion bill request submitted by a terminal device, where the proportion bill request carries proportion data of each first user included in a target user set for an asset corresponding to a target bill, the target bill is generated based on transaction information about the asset between a second user and each first user, and the proportion data includes a proportion of each first user to the asset;
the processing module is used for generating a proportion bill for each first user included in the target user set based on the proportion data and the target bill;
the processing module is further configured to write the identification information of each first user and the corresponding proportion ticket into a block chain;
the communication module is further configured to send the duty ticket of each first user to the terminal device corresponding to each first user.
9. An electronic device comprising a processor, a memory and a communication interface, the processor, the memory and the communication interface being interconnected, wherein the memory is configured to store computer program instructions and the processor is configured to execute the program instructions to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, are adapted to perform the method of blockchain-based data processing according to any one of claims 1 to 7.
CN201911126069.8A 2019-11-15 2019-11-15 Data processing method and device based on block chain, electronic equipment and storage medium Pending CN110888936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911126069.8A CN110888936A (en) 2019-11-15 2019-11-15 Data processing method and device based on block chain, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911126069.8A CN110888936A (en) 2019-11-15 2019-11-15 Data processing method and device based on block chain, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110888936A true CN110888936A (en) 2020-03-17

Family

ID=69747756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911126069.8A Pending CN110888936A (en) 2019-11-15 2019-11-15 Data processing method and device based on block chain, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110888936A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109360103A (en) * 2018-12-21 2019-02-19 众安信息技术服务有限公司 Assets based on block chain lead to the security product treatment method and device of cardization
CN109598142A (en) * 2018-12-05 2019-04-09 腾讯科技(深圳)有限公司 Credits voucher generation method, device, electronic equipment and storage medium
CN109919778A (en) * 2019-03-11 2019-06-21 昧来网络科技(上海)有限公司 The distributing method and computer-readable medium of asset securitization based on block chain
CN109949111A (en) * 2019-03-06 2019-06-28 深圳市智税链科技有限公司 Electronic bill mark distributing method, electronic bill generation method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598142A (en) * 2018-12-05 2019-04-09 腾讯科技(深圳)有限公司 Credits voucher generation method, device, electronic equipment and storage medium
CN109360103A (en) * 2018-12-21 2019-02-19 众安信息技术服务有限公司 Assets based on block chain lead to the security product treatment method and device of cardization
CN109949111A (en) * 2019-03-06 2019-06-28 深圳市智税链科技有限公司 Electronic bill mark distributing method, electronic bill generation method, apparatus and system
CN109919778A (en) * 2019-03-11 2019-06-21 昧来网络科技(上海)有限公司 The distributing method and computer-readable medium of asset securitization based on block chain

Similar Documents

Publication Publication Date Title
JP7204231B2 (en) Any device, system or method that facilitates value transfer between parties with low or no trust
CN109242681B (en) Asset data storage method, device, equipment and system
CN110458543B (en) Data processing method, related device and medium
US11153069B2 (en) Data authentication using a blockchain approach
CN109035019B (en) Bill transaction method, system, computer device and storage medium
EP3622661B1 (en) Cryptlet identity
WO2019118447A1 (en) Decentralized database associating public keys and communications addresses
US20230410111A1 (en) Cryptocurrency Storage Distribution
US20190164150A1 (en) Using Blockchain Ledger for Selectively Allocating Transactions to User Accounts
US11295402B2 (en) Blockchain-based property repair
CN111260488B (en) Data processing method and device and readable storage medium
KR102295231B1 (en) Method for distributing collectables ownership based on blockchain networks by using multi-signature and online transaction server using the same
CN110889762B (en) Data processing method, device and medium
WO2019108448A1 (en) Network with enterprise smart contracts having a centralized ledger
US20190303882A1 (en) Blockchain-based property utilization
US11699131B2 (en) Distributed ledger system for automated claim adjudication
CN110738471A (en) bill management method based on block chain network and related equipment
CN111209542B (en) Authority management method and device, storage medium and electronic equipment
CN112702410B (en) Evaluation system, method and related equipment based on blockchain network
CN109087207A (en) A kind of investment and financing method and system
CN110888936A (en) Data processing method and device based on block chain, electronic equipment and storage medium
JP7361994B2 (en) Blockchain with merged claims on tokens
US20220006639A1 (en) Information processing program, device, and method
JP2022084095A (en) Information processing system, information processing method and information processing program
CN112037056A (en) Transaction processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination