CN111539730A - Data processing method and device based on block chain and electronic equipment - Google Patents
Data processing method and device based on block chain and electronic equipment Download PDFInfo
- Publication number
- CN111539730A CN111539730A CN202010477886.4A CN202010477886A CN111539730A CN 111539730 A CN111539730 A CN 111539730A CN 202010477886 A CN202010477886 A CN 202010477886A CN 111539730 A CN111539730 A CN 111539730A
- Authority
- CN
- China
- Prior art keywords
- equity
- virtual resource
- block chain
- transaction
- rights
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000012545 processing Methods 0.000 claims description 42
- 238000013507 mapping Methods 0.000 claims description 35
- 230000008901 benefit Effects 0.000 claims description 17
- 230000008569 process Effects 0.000 description 11
- 230000006872 improvement Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000004873 anchoring Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Databases & Information Systems (AREA)
- General Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the specification discloses a data processing method and device based on a block chain and an embodiment of electronic equipment. The method comprises the following steps: receiving a right and interest shelving transaction, wherein the right and interest shelving transaction comprises a server side identifier and a right and interest type identifier, the server side identifier is used for identifying a server side, and the right and interest type identifier is used for identifying a right and interest type; calling the equity value in the block chain to determine an intelligent contract, and obtaining the equity value matched with the virtual resource issued by the service party; calling the equity quantity in the block chain to determine an intelligent contract, and obtaining the equity quantity matched with the equity value; and executing the right shelf loading operation according to the right corresponding to the right type and the right quantity. The data processing method and device based on the block chain and the electronic device in the embodiments of the description can improve user experience.
Description
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a data processing method and device based on a block chain and electronic equipment.
Background
To encourage users to use the services provided by themselves, the service may leverage some of the above benefits for the users to gain.
In the related art, a user of one service party can only earn the right of the service party on the shelf, but cannot earn the right of other service parties on the shelf, so that the types of the rights which can be earned by the user are fewer, and the user experience is not high.
Disclosure of Invention
The embodiment of the specification provides a data processing method and device based on a block chain and electronic equipment, so as to improve user experience. The technical scheme of the embodiment of the specification is as follows.
In a first aspect of the embodiments of the present specification, a data processing method based on a block chain is provided, and is applied to a node device in a block chain network, and includes: receiving a virtual resource allocation transaction, wherein the virtual resource allocation transaction comprises the contribution degree of a user; calling a virtual resource issuing intelligent contract in the block chain to obtain a virtual resource matched with the contribution degree; allocating the virtual resource to a user account of the user.
In a second aspect of the embodiments of the present specification, there is provided a data processing method based on a blockchain, which is applied to a node device in a blockchain network, and includes: receiving a right and interest shelving transaction, wherein the right and interest shelving transaction comprises a server side identifier and a right and interest type identifier, the server side identifier is used for identifying a server side, and the right and interest type identifier is used for identifying a right and interest type; calling the equity value in the block chain to determine an intelligent contract, and obtaining the equity value matched with the virtual resource issued by the service party; calling the equity quantity in the block chain to determine an intelligent contract, and obtaining the equity quantity matched with the equity value; and executing the right shelf loading operation according to the right corresponding to the right type and the right quantity.
In a third aspect of the embodiments of the present specification, there is provided a data processing method based on a block chain, which is applied to a node device in a block chain network, and includes: receiving a rights pick-up transaction, the rights pick-up transaction including a user account and a target benefit to be picked, the target benefit selected from a set of benefits, the set of benefits including benefits that a plurality of servers have been on-shelf; assigning the target equity to the user account.
In a fourth aspect of the embodiments of the present specification, there is provided a data processing apparatus based on a blockchain, which is applied to a node device in a blockchain network, and includes: a receiving unit, configured to receive a virtual resource allocation transaction, where the virtual resource allocation transaction includes a contribution degree of a user; the calling unit is used for calling the virtual resource in the block chain to issue an intelligent contract and obtaining the virtual resource matched with the contribution degree; an allocating unit, configured to allocate the virtual resource to a user account of the user.
In a fifth aspect of the embodiments of the present specification, there is provided a data processing apparatus based on a blockchain, which is applied to a node device in a blockchain network, and includes: the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving right and interests on-shelf transaction, the right and interests on-shelf transaction comprises a server side identifier and a right and interests type identifier, the server side identifier is used for identifying a server side, and the right and interests type identifier is used for identifying a right and interests type; the calling unit is used for calling the interest value in the block chain to determine an intelligent contract and obtain the interest value matched with the virtual resource issued by the service party; calling the equity quantity in the block chain to determine an intelligent contract, and obtaining the equity quantity matched with the equity value; and the execution unit is used for executing the right shelf-loading operation according to the right corresponding to the right type and the right quantity.
In a sixth aspect of the embodiments of the present specification, there is provided a data processing apparatus based on a blockchain, which is applied to a node device in a blockchain network, and includes: the system comprises a receiving unit, a receiving unit and a processing unit, wherein the receiving unit is used for receiving a rights and interests acquisition transaction, the rights and interests acquisition transaction comprises a user account and a target rights and interests to be acquired, the target rights and interests are selected from a rights and interests set, and the rights and interests set comprises rights and interests of a plurality of service parties which are on the shelf; an allocation unit for allocating the target equity to the user account.
A seventh aspect of the embodiments of the present specification provides an electronic device, including: at least one processor; a memory storing program instructions configured to be suitable for execution by the at least one processor, the program instructions comprising instructions for performing the method of the first, second or third aspect.
According to the technical scheme provided by the embodiment of the specification, the user can obtain the rights and interests of any server on the shelf through the block chain, and the rights and interests capable of being obtained are rich in types and good in experience.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment in an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a data processing method based on a blockchain in an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a virtual resource issuing process in an embodiment of the present specification;
FIG. 4 is a flowchart illustrating a method for processing data based on a blockchain in an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of the equity value determination process and the equity amount determination process in an embodiment of the present specification;
FIG. 6 is a flowchart illustrating a method for processing data based on a blockchain in an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a rights extraction process in an embodiment of the present specification;
FIG. 8 is a flowchart illustrating a method for processing data based on a blockchain in an embodiment of the present disclosure;
FIG. 9 is a flowchart illustrating a method for processing data based on a blockchain in an embodiment of the present disclosure;
FIG. 10 is a flowchart illustrating a method for processing data based on a blockchain in an embodiment of the present disclosure;
FIG. 11 is a block chain-based data processing apparatus according to an embodiment of the present disclosure;
FIG. 12 is a block chain-based data processing apparatus according to an embodiment of the present disclosure;
FIG. 13 is a block chain-based data processing apparatus according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of an electronic device in an embodiment of this specification.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
The virtual resource may be an electronic data, and may be in a specific form such as a virtual asset, a credit, a bitcoin, and the like.
The rights may be in the form of electronic data, such as a red envelope, a coupon, multiple points, an extremely fast refund, etc.
The block chain is a distributed account book which organizes a plurality of data blocks in a chain structure according to the time sequence and ensures safety, traceability and non-falsification by a cryptographic algorithm. The blockchain may include a public blockchain, a federated blockchain (also referred to as a federation blockchain), a private blockchain, and so forth. The distributed ledger is maintained collectively by a plurality of node devices in a blockchain network. The block chain network is formed by a plurality of node devices through a consensus mechanism. The blockchain network may include, for example, a P2P network (peer-to-peer network) or the like. The consensus mechanism may be implemented based on algorithms such as Proof of Work (POW), Proof of rights and interests (POS), Proof of equity authority (DPOS), or active Byzantine Fault Tolerance (PBFT).
By deploying intelligent contracts (Smart contracts) in a blockchain, the blockchain can be made to function as intelligent contracts. The intelligent contract is a computer program capable of running on a node device of a blockchain network. The deployment of the smart contracts may be effected through transactions. For example, a business person may write an intelligent contract using a computer high-level language. Bytecodes can be obtained by compiling the written intelligent contract. Node devices of the blockchain may construct transactions to deploy the smart contract from the bytecode. The smart contracts may be deployed in blockchains by submitting transactions to deploy the smart contracts to blockchain networks.
Referring to fig. 1, a block chain based data processing system according to an embodiment of the present disclosure is shown. The data processing system may include: terminal equipment, a service server, a rights and interests server and a block chain network.
In some embodiments, the data processing system may include at least one user-oriented terminal device. The terminal device includes but is not limited to a smart phone, a tablet electronic device, a portable computer, a desktop computer, a smart wearable device, and the like.
In some embodiments, the data processing system may include a plurality of business servers. The plurality of traffic servers are set up by a plurality of service parties. The service server is used for processing services of a server side, and includes but is not limited to a single server, a server cluster formed by a plurality of servers, or a server deployed in the cloud. The service party can provide services for the user, and specifically, for example, the service party may be a business that can provide third party payment services, a business that can provide online shopping services, and the like.
In some embodiments, the equity server is configured to provide equity to the user that the plurality of servers have been on-shelf for the user to earn. The user may specifically receive rights through the blockchain via the rights server. The rights server includes, but is not limited to, a single server, a server cluster composed of a plurality of servers, or a server deployed in the cloud.
In some embodiments, the blockchain network may include a plurality of node devices. The plurality of node devices may be set up by some or all of the plurality of servers.
In some embodiments, the terminal device may communicate with the service server. The traffic server may communicate with a node device in the blockchain network. Such that the multiple services facilitate access to the blockchain. In addition, the terminal device may communicate with the rights server. The equity server may be in communication with a node device in the blockchain network. So that the user can receive rights through the blockchain via the rights server.
In some example scenarios, the data processing system may include terminal device 1, terminal device 2, terminal device 3, terminal device 4, and terminal device 5. The terminal device 1 is a terminal device of a user 1, and the user 1 is a user of an enterprise a. The terminal device 2 is a terminal device of the user 2, and the user 2 is a user of the enterprise B. The terminal device 3 is a terminal device of a user 3, and the user 3 is a user of an enterprise C. The terminal device 4 is a terminal device of a user 4, and the user 4 is a user of an enterprise D. The terminal device 5 is a terminal device of a user 5, and the user 5 is a user of an enterprise E.
The data processing system may further include a service server 1, a service server 2, a service server 3, a service server 4, and a service server 5. The business server 1 is set up by enterprise a, the business server 2 by enterprise B, the business server 3 by enterprise C, the business server 4 by enterprise D, and the business server 5 by enterprise E.
The data processing system may also include a blockchain network and a rights server.
The terminal device 1 may communicate with the service server 1, the terminal device 2 may communicate with the service server 2, the terminal device 3 may communicate with the service server 3, the terminal device 4 may communicate with the service server 4, and the terminal device 5 may communicate with the service server 5. The service server 1, the service server 2, the service server 3, the service server 4, and the service server 5 may all communicate with node devices in the blockchain network. In addition, the terminal device 1, the terminal device 2, the terminal device 3, the terminal device 4, and the terminal device 5 may communicate with the rights server. The equity server may be in communication with a node device in the blockchain network.
The data processing system based on blockchain of the present specification is described in detail above with reference to fig. 1. An embodiment of the data processing method based on the block chain in the present specification will be described in detail below with reference to fig. 2 and 3. The block chain based data processing method may include the following steps.
Step S202: and the terminal equipment sends a service request to the service server.
In some embodiments, the service request may be any type of service request, such as a payment transaction request, or a merchandise purchase request. The service request may include a user account. Of course, the information included in the service request may also be different according to the different types of the service request. For example, the service request may be a payment transaction request, which may include a user account and a transaction amount, and the user account may include a payment account and a collection account.
The information in the service request can be input by a user at the terminal equipment; or, the terminal device may also actively acquire the information; or, alternatively, may be obtained by other means. For example, the service request may be a payment transaction request. The terminal device may obtain a transaction amount input by a user as a transaction amount in the payment transaction request; a logged-in user account can be acquired as a payment account in the payment transaction request; the merchant account can be obtained as the payment receiving account in the payment transaction request by scanning the two-dimensional code.
In some embodiments, the terminal device may send a service request to a service server after detecting the trigger instruction. The trigger instruction may be generated after detecting that a control is pressed, clicked, double-clicked, or stroked. Of course, the trigger instruction may also be generated by other means. For example, the terminal device may provide a payment interface. The payment interface may include a payment control. The user may press the payment control. The terminal device may send a payment transaction request to the service server after detecting that the payment control is pressed.
Step S204: and the service server receives the service request and executes service operation corresponding to the service request.
In some embodiments, the service operation may be different according to the service request type. For example, the transaction request may be a payment transaction request, which may include a payment account, a collection account, and a transaction amount. The transaction server may deduct a transaction amount from a payment account; the transaction amount may be credited to the collection account.
Step S206: the traffic server sends a virtual resource allocation transaction to the node device.
In some embodiments, the user generates a value to the service provider by using the service provided by the service provider. For example, through steps S202-S204, the user generates a certain value to the service party. How much value a user generates to a service can be measured by the degree of contribution. The larger the contribution degree is, the larger the value generated by the user to the service party is. The contribution may include a transaction amount. Of course, the contribution degree may also include other information, such as the number of purchases of the merchandise, and the like.
In some embodiments, to encourage users to use the services provided by themselves, the service may issue virtual resources to the users. For this purpose, the service server may construct a virtual resource allocation transaction; the virtual resource allocation transaction may be sent to a node device. The virtual resource allocation transaction includes a degree of contribution of the user to the service party. Of course, the virtual resource allocation transaction may also include other information. For example, the virtual resource allocation transaction may further include at least one of: user account, service party identification. The user account may be an account of a user holding the terminal device. The server identity may be used to identify a server that sets up the traffic server. The service party identification may be, for example, a code of the service party, or an account, etc.
Step S208: the node equipment receives the virtual resource allocation transaction; and calling the virtual resource in the block chain to issue an intelligent contract to obtain the virtual resource matched with the contribution degree.
In some embodiments, the virtual resource issuance intelligence contract may be pre-deployed in the blockchain. The virtual resource issuing intelligent contract is used for anchoring the mapping relation between the contribution degree and the virtual resource. For example, the mapping relationship between the contribution degree and the virtual resource may be the contribution degree: virtual resource =1: N, where N is a positive number. Specifically, for example, the contribution degree may include a transaction amount, and the virtual resource may include points. In the virtual resource issuing intelligent contract, the mapping relation between the transaction amount and the point can be transaction amount, point =1: 0.5.
In some embodiments, the node device may invoke a virtual resource issuance smart contract deployed in the block chain according to the virtual resource allocation transaction, to obtain a virtual resource matching the contribution degree. Specifically, the node device may execute data processing logic in the virtual resource issuance intelligent contract; the virtual resources can be calculated according to the contribution degrees and by using the mapping relation between the contribution degrees and the virtual resources.
In one aspect, the contribution degree may be a contribution degree of the user to the service party, and the virtual resource may be a virtual resource that the service party should issue. This allows the virtual resources issued by the server to match the user's contribution to the server.
For example, the virtual resource allocation transaction may include the user account of user 1, the server identification of enterprise a, and the contribution level. Wherein the contribution degree includes a transaction amount of the user 1 performing the payment transaction through the enterprise a, and the transaction amount may be 1000, for example. The virtual resources may include credits. In the virtual resource issuing intelligent contract, the mapping relation between the transaction amount and the point is that the point is =1: 0.5. Then, the node device may calculate, according to the transaction amount 1000, the point that the enterprise a should issue to the user 1 as 500 by using the mapping relationship between the transaction amount and the point.
On the other hand, through the intelligent contract for virtual resource distribution, a plurality of service parties can distribute virtual resources to users based on a uniform mapping relation, so that the distribution of the virtual resources is fair and can be checked in a chain.
For example, the plurality of service parties may include Enterprise A, Enterprise B, Enterprise C, Enterprise D, and Enterprise E. Users of Enterprise A may include user 1, Users of Enterprise B may include user 2, Users of Enterprise C may include user 3, Users of Enterprise D may include user 4, and Users of Enterprise E may include user 5. Then, enterprise a may issue a virtual resource to user 1 based on the virtual resource issuance smart contract, enterprise B may issue a virtual resource to user 2 based on the virtual resource issuance smart contract, enterprise C may issue a virtual resource to user 3 based on the virtual resource issuance smart contract, enterprise D may issue a virtual resource to user 4 based on the virtual resource issuance smart contract, and enterprise E may issue a virtual resource to user 5 based on the virtual resource issuance smart contract. Thus, enterprise a, enterprise B, enterprise C, enterprise D, and enterprise E can issue virtual resources to users based on a unified mapping relationship, so that the issuance of virtual resources is fair and chain-viewable.
In some embodiments, the node device may deposit the virtual resource allocation transaction in its own transaction pool. The node device may also broadcast the virtual resource allocation transaction to the blockchain network, so that other node devices in the blockchain network can receive the virtual resource allocation transaction and store the virtual resource allocation transaction in their own transaction pools. The block chain network can select the consensus node equipment with the accounting authority through a consensus mechanism. The consensus node device may obtain the virtual resource allocation transaction from its own transaction pool; the virtual resource allocation transaction may be packed into a data block; the data chunks may be assembled into a blockchain. For a virtual resource allocation transaction in a data chunk, a node device in the blockchain network may perform the virtual resource allocation transaction. Specifically, for a virtual resource allocation transaction in a data block, a node device in the block chain network may invoke the virtual resource issuing intelligent contract to execute data processing logic in the virtual resource issuing intelligent contract.
Step S210: and the node equipment allocates the virtual resource to the user account of the user.
In some embodiments, the node device may allocate the virtual resource to a user account of the user. For example, the node device may credit the virtual resource to a user account of the user.
Step S212: and the node equipment feeds back the virtual resource allocation result to the service server.
In some embodiments, the virtual resource allocation result may include information that virtual resource allocation is successful or information that virtual resource allocation is failed. Of course, the virtual resource allocation result may also include other information. For example, the virtual resource allocation result may further include at least one of: the node device allocates the virtual resource, the virtual resource held by the user account, and the virtual resource released by the server in history in step S210.
Step S214: and the service server receives the virtual resource allocation result.
Step S216: and the service server feeds back the notification information to the terminal equipment.
In some embodiments, the notification information may include information that the virtual resource allocation is successful or information that the virtual resource allocation is failed. Of course, the notification information may also include other information. For example, the notification information may further include at least one of: the virtual resource allocated by the node device in step S210, and the virtual resource held by the user account.
The service server may feed back the notification information to the terminal device. The terminal device may receive the notification information.
In the data processing method in the embodiment of the present specification, the node device may obtain, by using a virtual resource issuing intelligent contract, a virtual resource matching the contribution degree; the virtual resource may be allocated to a user account of the user. Therefore, the server can issue the virtual resources to the user based on the uniform mapping relation, so that the virtual resources are issued fairly and can be checked on the chain.
The data processing system based on blockchain of the present specification is described in detail above with reference to fig. 1. Another embodiment of the data processing method based on the blockchain according to the present disclosure will be described in detail below with reference to fig. 4 and 5. The block chain based data processing method may include the following steps.
Step S402: the service server sends the equity shelving transaction to the node device.
In some embodiments, the server may have some rights over the shelf for the user to pick up. The type of the right may be set by the service provider as needed, and specific examples thereof may include a red envelope, a coupon, a multiple point, or an extremely fast refund. The red envelope may include, for example, a red envelope having an amount of 5 yen, a red envelope having an amount of 10 yen, and the like. The coupons may include, for example, coupons with a coupon value of 5 dollars, coupons with a coupon value of 10 dollars, and the like. The equity may have a certain equity value. For example, the equity value of the red packet may be the amount of the red packet, the equity value of the coupon may be the coupon value of the coupon, the equity value of the multiple points may be a fixed value (e.g., 10), and the equity value of the ultrafast refund may be another fixed value (e.g., 15).
In some embodiments, the business server may construct equity shelving transactions; the equity racking transaction may be sent to a node device. The equity shelving transaction may specifically include a server identifier and an equity type identifier. The server identity may be used to identify a server that sets up the traffic server. The service party identification may be, for example, a code of the service party, or an account, etc. The equity type identifier may be used to identify the type of equity to be placed on shelf by the server. For example, the equity type identification may be t1-5, t1-10, t2-5, t2-10, t3, or t 4. The interest type identifier t1-5 is used for identifying a red packet with the money amount of 5 yuan, the interest type identifier t1-10 is used for identifying a red packet with the money amount of 10 yuan, the interest type identifier t2-5 is used for identifying a coupon with the coupon value of 5 yuan, the interest type identifier t2-10 is used for identifying a coupon with the coupon value of 10 yuan, the interest type identifier t3 is used for identifying multiple points, and the interest type identifier t4 is used for identifying the very fast refund.
The virtual resource allocation transaction may also include other information, such as virtual resources that have been issued by the service party. The virtual resources that have been issued by the service may include virtual resources that have been historically issued by the service. In particular, the virtual resources that have been issued by the server may include virtual resources that have been issued by the server during the historical time interval. The historical time interval comprises a time interval formed by a first time and a second time. The first time may be a current time. The current time may be the time when the right on-shelf transaction is sent by the service server, or other times when the time difference from the time is within the error tolerance (for example, the time when the right on-shelf transaction sent by the service server is received by the node device). The second time may be the time when the service server last sends the equity on-shelf transaction, or other times when the time difference from the time is within the error tolerance (for example, the time when the node device last receives the equity on-shelf transaction sent by the service server).
The equity shelving transaction may be constructed by the service server after receiving the virtual resource allocation result. Alternatively, the equity shelf transactions may also be automatically periodically built by the business server. For example, the business server may construct the equity shelving transaction every 1 or 3 days.
Step S404: the node equipment receives the equity shelving transaction; calling the equity value in the block chain to determine an intelligent contract, and obtaining the equity value matched with the virtual resource issued by the service party; and calling the interest quantity in the block chain to determine an intelligent contract and obtain the interest quantity matched with the interest value.
In some embodiments, the equity value determination smart contracts may be pre-deployed in the blockchain. The equity value determination intelligent contract is used to anchor a mapping relationship between a virtual resource and an equity value. For example, the mapping relationship between the virtual resource and the equity value may be virtual resource equity value =1: M. M is a positive number, and may be 1, for example.
In some embodiments, the node device may invoke a equity value determination intelligent contract deployed in the blockchain according to the equity overhead transaction, to obtain an equity value matching a virtual resource already issued by a service party. In particular, the node device may execute data processing logic in the equity value determination intelligence contract; the equity value can be calculated according to the virtual resources issued by the service party by utilizing the mapping relation between the virtual resources and the equity value.
In one aspect, the computed equity value may be an equity value to be on-shelf by the server. Thus, the interest value of the server to be put on shelf is matched with the virtual resource issued by the server. Here, the equity value of the server to be shelved may be understood as the sum of the equity values of the respective equities of the server to be shelved.
For example, the equity shelving transaction may include the identity of the server for Enterprise A. Enterprise a has historically issued 500 virtual resources. In the equity value determination intelligent contract, the mapping relationship between the virtual resource and the equity value can be virtual resource equity value =1: 1. The node device may calculate, according to the virtual resource 500, the equity value 500 of the enterprise a to be put on shelf by using the mapping relationship between the virtual resource and the equity value.
On the other hand, through the interest value determination intelligent contract, a plurality of service parties can determine the interest value to be shelved based on the unified mapping relation, and the too high or too low interest value of some service parties is prevented.
In practical applications, the equity shelf transaction may include virtual resources that have been issued by the service party. Therefore, the node equipment can calculate the equity value by utilizing the mapping relation between the virtual resources and the equity value directly according to the virtual resources issued by the service party. Or the equity shelf transaction does not include the virtual resource issued by the service party. In this way, the node device can also query the virtual resource issued by the server from the block chain according to the identifier of the server; and then the equity value can be calculated by utilizing the mapping relation between the virtual resources and the equity value according to the virtual resources issued by the service party. In addition, the process of calling the interest value to determine the intelligent contract by the node equipment can be similar to the process of calling the virtual resource to issue the intelligent contract.
In some embodiments, the interest amount determination intelligence contract may be pre-deployed in the blockchain. The equity amount determines a mapping relationship that the intelligent contract uses to anchor the equity value and the equity amount. The equity amount determining intelligent contracts and the equity value determining intelligent contracts may be different intelligent contracts. Alternatively, the interest amount determination intelligent contract and the interest value determination intelligent contract may also be integrated into one intelligent contract.
The equity quantity determination intelligent contract may be used to anchor at least one mapping between equity value and equity quantity, each of which may correspond to an equity type identifier. For example, the equity amount determination intelligent contract may be used to anchor a mapping corresponding to equity type identifier t2-5 and a mapping corresponding to equity type identifier t 2-10. The equity type identifier t2-5 is used to identify a coupon having a coupon value of 5-ary. In the mapping relationship corresponding to the equity type identifier t2-5, the mapping relationship between the equity value and the equity quantity can be equity value, equity quantity =20: 1. The interest type identifier t2-10 is used to identify a coupon with a coupon value of 10 dollars. In the mapping relationship corresponding to the equity type identifier t2-10, the mapping relationship between the equity value and the equity quantity can be equity value =10: 1.
In some embodiments, the node device may invoke an interest amount determination intelligent contract deployed in the blockchain according to an interest value, and obtain an interest amount matching the interest value. In particular, the node device may execute data processing logic in the equity quantity determination smart contract; mapping relation corresponding to the rights type identification can be obtained; the equity quantity can be calculated by using the obtained mapping relation according to the equity value.
For example, the equity shelving transaction may include the server identification of Enterprise A and the equity type identification t 1-5. The equity type identifier t2-5 is used to identify a red packet with a coupon value of 5-tuple. The equity value of enterprise a to be on shelf is 500. The node apparatus may acquire a mapping relationship corresponding to the equity type identification t 2-5. In the mapping relationship corresponding to the equity type identifier t2-5, the mapping relationship between the equity value and the equity quantity can be equity value =20: 1. The node device may calculate the equity quantity 25 by using the mapping relationship corresponding to the equity type identifier t2-5 according to the equity value 500. Thus, by determining the intelligent contract for the amount of interest, the node device may determine that enterprise a requires 25 coupons with a coupon value of 20 to be placed on the shelf.
Step S406: and the node equipment executes the right shelf-loading operation according to the right corresponding to the right type and the right quantity.
In some embodiments, the equity listing transaction may include an equity type identifier for identifying a type of equity to be listed by the server. The node device can execute the right shelf operation according to the right and the right quantity corresponding to the right type identifier, so as to put the right quantity on shelf and the right type identifier corresponding to the right type identifier.
Step S408: the node device sends the rights and the number of rights on the shelf to the rights server.
In some embodiments, the node device may add the right amount and the right type identifier to a right set; the set of rights can be sent to the rights server. The set of benefits may include benefits that have been on-shelf by a plurality of servers accessing the blockchain. The equity server may receive the set of equities to provide the set of equities to the user.
Or, the node device may further send the right amount and the right type identifier to a right server. The right and interest server can receive the right and interest corresponding to the right and interest quantity and the right and interest type identification, so as to provide the right and interest corresponding to the right and interest quantity and the right and interest type identification for the user.
Step S410: and the node equipment feeds back the right and interest putting result to the service server.
In some embodiments, the equity shelving result may include information that equity shelving succeeded, or information that equity shelving failed. Of course, the equity listing result may also include other information. For example, the equity listing result may further include the equity quantity and the equity type identifier corresponding to the equity.
Step S412: and the service server receives the right and interest shelving result.
In the data processing method according to the embodiment of the present specification, the node device may determine an intelligent contract through the equity value determination intelligent contract and the equity amount determination intelligent contract to perform the equity shelving operation. So that the server can put rights on shelf according to the issued virtual resources.
The data processing system based on blockchain of the present specification is described in detail above with reference to fig. 1. Another embodiment of the data processing method based on the blockchain according to the present disclosure will be described in detail below with reference to fig. 6 and 7. The block chain based data processing method may include the following steps.
Step S602: and the terminal equipment sends a rights and interests obtaining request to the rights and interests server.
In some embodiments, the terminal device may send a rights claim request to the rights server upon detecting the triggering instruction. The trigger instruction may be generated after detecting that a control is pressed, clicked, double-clicked, or stroked. The rights and interests receiving request can specifically comprise a user account and a target rights and interests to be received. The user account may be an account of a user holding the terminal device. The number of the target interests may be one or more. The target equity may be selected from an equity set. The set of benefits may include benefits that have been on-shelf by multiple servers accessing the blockchain.
For example, the terminal device may send a page data acquisition request to the equity server. The equity server may receive the page data acquisition request; page data may be fed back to the terminal device. The terminal equipment can receive the page data; and displaying a rights getting interface corresponding to the page data. The equity pickup interface may include an equity pickup control and an equity set, which may include equity that a plurality of servers of the access block chain have been on the shelf. The user can select a target interest on the interest obtaining interface; the rights pickup control may be pressed. The terminal device may send a rights getting request to the rights server after detecting that the rights getting control is pressed. The rights gain request may include a user account and the target rights.
Step S604: and the right and interest server receives the right and interest obtaining request and sends right and interest obtaining transaction to the node equipment.
In some embodiments, the interest claim transaction may specifically include a user account and a target interest to be claimed.
Step S606: and the node equipment receives the interest obtaining transaction and distributes the target interest to the user account.
In some embodiments, the node device may receive the equity areas transaction; the equity pickup transaction may be performed such that the target equity may be assigned to the user account.
Further, the node device may also query the virtual resources held by the user account from the blockchain; certain virtual resources may be deducted from the virtual resources held by the user account. The deducted virtual resources may be understood as the virtual resources spent earning the target interest. The deduction can be determined according to actual needs, for example, the mapping relationship between the virtual resource and the equity value in the intelligent contract can be determined according to the equity value.
Further, the node device may also delete the target right from the set of rights; the set of rights after the target right has been deleted may be sent to the rights server. The equity server may receive the set of equities with the target equity deleted to provide the set of equities with the target equity deleted to the user. This may prevent the target interests from being repeatedly picked up by the user.
In practical applications, the node device may store the equity obtaining transaction in its own transaction pool. The node device may also broadcast the equity procurement transaction to the blockchain network so that other node devices in the blockchain network can receive the equity procurement transaction and store the equity procurement transaction in their own transaction pools. The block chain network can select the consensus node equipment with the accounting authority through a consensus mechanism. The consensus node device may obtain the equity obtaining transaction from its own transaction pool; the rights pickup transaction may be packaged into a data block; the data chunks may be assembled into a blockchain. For a benefit earner transaction in a data block, a node device in the blockchain network may perform the benefit earner transaction.
Step S608: and the node equipment feeds back the right obtaining result to the right server.
In some embodiments, the right gain result may specifically include information that the right gain is successful or information that the right gain is failed. Of course, the rights-receiving result may also include other information.
Step S610: and the right server receives the right receiving result.
Step S612: and the interest server feeds back the notification information to the terminal equipment.
In some embodiments, the notification information may specifically include information that the rights and interests are successfully obtained or information that the rights and interests are unsuccessfully obtained. Of course, the notification information may also include other information.
According to the data processing method in the embodiment of the specification, the user can obtain the rights and interests of any server on the shelf through the block chain, and the rights and interests capable of being obtained are rich in types and good in experience. For example, the plurality of service parties may include Enterprise A, Enterprise B, Enterprise C, Enterprise D, and Enterprise E. Users of Enterprise A may include user 1, Users of Enterprise B may include user 2, Users of Enterprise C may include user 3, Users of Enterprise D may include user 4, and Users of Enterprise E may include user 5. Enterprise A, Enterprise B, Enterprise C, Enterprise D, and Enterprise E may be on-shelf via a blockchain network. Then, the user 1 can not only receive the rights and interests of the enterprise A on the shelf, but also receive the rights and interests of the enterprise B on the shelf, the rights and interests of the enterprise C on the shelf, the rights and interests of the enterprise D on the shelf, and the rights and interests of the enterprise E on the shelf. The types of rights and interests that the user 1 can earn are rich, so that the user experience of the user 1 is improved.
It is noted that any combination of some or all of the embodiments of the present description may occur to those skilled in the art without inventive faculty upon reading the present description, and such combinations are within the scope of the present disclosure and protection. Specifically, for example, after reading the present specification, a person skilled in the art can conceive of any combination of the embodiment corresponding to fig. 2, the embodiment corresponding to fig. 4, and the embodiment corresponding to fig. 6, which is also within the scope of the disclosure and protection of the present specification, without any inventive work.
The data processing method according to the embodiment of the present specification is described in detail above with reference to fig. 2, 4, and 6. The method steps executed by the node device in the above may be implemented separately as a data processing method on the node device side. The following describes in detail a data processing method on the node device side in the embodiment of the present specification, with reference to fig. 8, 9, and 10.
Please refer to fig. 8. This specification provides one embodiment of a blockchain-based data processing method. The execution subject of the data processing method based on the block chain may be a node device, and specifically may include the following steps.
Step S82: receiving a virtual resource allocation transaction, the virtual resource allocation transaction including a contribution of a user.
Step S84: and calling the virtual resource in the block chain to issue an intelligent contract to obtain the virtual resource matched with the contribution degree.
Step S86: allocating the virtual resource to a user account of the user.
The specific implementation process of steps S82-S86 can be referred to the embodiment corresponding to fig. 2.
In the data processing method in the embodiment of the present specification, virtual resources matching with the contribution degree can be obtained by issuing an intelligent contract for the virtual resources; the virtual resource may be allocated to a user account of the user. Therefore, the server can issue the virtual resources to the user based on the uniform mapping relation, so that the virtual resources are issued fairly and can be checked on the chain.
Please refer to fig. 9. The present specification provides another embodiment of a blockchain-based data processing method. The execution subject of the data processing method based on the block chain may be a node device, and specifically may include the following steps.
Step S92: and receiving a right and interest on-shelf transaction, wherein the right and interest on-shelf transaction comprises a server side identifier and a right and interest type identifier, the server side identifier is used for identifying a server side, and the right and interest type identifier is used for identifying a right and interest type.
Step S94: calling the equity value in the block chain to determine an intelligent contract, and obtaining the equity value matched with the virtual resource issued by the service party; and calling the interest quantity in the block chain to determine an intelligent contract and obtain the interest quantity matched with the interest value.
Step S96: and executing the right shelf loading operation according to the right corresponding to the right type and the right quantity.
The specific implementation process of steps S92-S96 can be referred to the embodiment corresponding to fig. 4.
The data processing method of the embodiment of the present specification can determine an intelligent contract through the right value determination and the right amount determination to perform right shelving operation. So that the server can put rights on shelf according to the issued virtual resources.
Please refer to fig. 10. The present specification provides another embodiment of a blockchain-based data processing method. The execution subject of the data processing method based on the block chain may be a node device, and specifically may include the following steps.
Step S102: receiving a rights pickup transaction, the rights pickup transaction including a user account and a target right to be picked, the target right selected from a set of rights including rights that a plurality of servers have been on the shelf.
Step S104: assigning the target equity to the user account.
The specific implementation process of steps S102 to S104 can refer to the embodiment corresponding to fig. 6.
According to the data processing method in the embodiment of the specification, the user can obtain the rights and interests of any server on the shelf through the block chain, and the rights and interests capable of being obtained are rich in types and good in experience.
Please refer to fig. 11. This specification also provides one embodiment of a blockchain-based data processing apparatus. The data processing apparatus may be applied to a node device in a blockchain network, and specifically may include the following units.
A receiving unit 112, configured to receive a virtual resource allocation transaction, where the virtual resource allocation transaction includes a contribution degree of a user;
a calling unit 114, configured to call a virtual resource in the block chain to issue an intelligent contract, so as to obtain a virtual resource matching the contribution degree;
an allocating unit 116, configured to allocate the virtual resource to a user account of the user.
Please refer to fig. 12. This specification also provides another embodiment of a blockchain based data processing apparatus. The data processing apparatus may be applied to a node device in a blockchain network, and specifically may include the following units.
A receiving unit 122, configured to receive a right on shelf transaction, where the right on shelf transaction includes a server identifier and a right type identifier, the server identifier is used to identify a server, and the right type identifier is used to identify a right type;
the calling unit 124 is used for calling the interest value in the block chain to determine an intelligent contract, and obtaining the interest value matched with the virtual resource issued by the service party; calling the equity quantity in the block chain to determine an intelligent contract, and obtaining the equity quantity matched with the equity value;
and the execution unit 126 is configured to execute the right shelf loading operation according to the right and the right amount corresponding to the right type.
Please refer to fig. 13. This specification also provides another embodiment of a blockchain based data processing apparatus. The data processing apparatus may be applied to a node device in a blockchain network, and specifically may include the following units.
A receiving unit 132, configured to receive a rights-receiving transaction, where the rights-receiving transaction includes a user account and a target right to be received, and the target right is selected from a right set, where the right set includes rights that a plurality of service parties have been on the shelf;
an assigning unit 134 for assigning the target right to the user account.
An embodiment of an electronic device of the present description is described below. Fig. 14 is a hardware configuration diagram of the electronic apparatus in this embodiment. As shown in fig. 14, the electronic device may include one or more processors (only one of which is shown), memory, and a transmission module. Of course, it is understood by those skilled in the art that the hardware structure shown in fig. 14 is only an illustration, and does not limit the hardware structure of the electronic device. In practice the electronic device may also comprise more or fewer component elements than those shown in fig. 14; or have a different configuration than that shown in fig. 14.
The memory may comprise high speed random access memory; alternatively, non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory may also be included. Of course, the memory may also comprise a remotely located network memory. The remotely located network storage may be connected to the electronic device through a network such as the internet, an intranet, a local area network, a mobile communications network, or the like. The memory may be used to store program instructions or modules of application software, such as the program instructions or modules of the embodiments corresponding to fig. 8, 9, or 10 of the present specification.
The processor may be implemented in any suitable way. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The processor may read and execute the program instructions or modules in the memory.
The transmission module may be used for data transmission via a network, for example via a network such as the internet, an intranet, a local area network, a mobile communication network, etc.
This specification also provides one embodiment of a computer storage medium. The computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk (HDD), a Memory Card (Memory Card), and the like. The computer storage medium stores computer program instructions. The computer program instructions when executed implement: the program instructions or modules of the embodiments corresponding to fig. 5, fig. 6, or fig. 7 of this specification.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and the same or similar parts in each embodiment may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, apparatus embodiments, electronic device embodiments, and computer storage medium embodiments are substantially similar to method embodiments and therefore are described with relative ease, where reference may be made to some descriptions of method embodiments.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most popular applications. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be essentially or partially implemented in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the appended claims include such variations and modifications that do not depart from the spirit of the specification.
Claims (10)
1. A data processing method based on a block chain is applied to node equipment in a block chain network and comprises the following steps:
receiving a virtual resource allocation transaction, wherein the virtual resource allocation transaction comprises the contribution degree of a user;
calling a virtual resource issuing intelligent contract in the block chain to obtain a virtual resource matched with the contribution degree;
allocating the virtual resource to a user account of the user.
2. The method of claim 1, wherein the contribution degree is a contribution degree of a user to a service party, and the virtual resource is a virtual resource which should be issued by the service party; the virtual resource allocation transaction further comprises at least one of: a user account, a service party identification; the virtual resource issuing intelligent contract comprises a mapping relation between the contribution degree and the virtual resource.
3. A data processing method based on a block chain is applied to node equipment in a block chain network and comprises the following steps:
receiving a right and interest shelving transaction, wherein the right and interest shelving transaction comprises a server side identifier and a right and interest type identifier, the server side identifier is used for identifying a server side, and the right and interest type identifier is used for identifying a right and interest type;
calling the equity value in the block chain to determine an intelligent contract, and obtaining the equity value matched with the virtual resource issued by the service party; calling the equity quantity in the block chain to determine an intelligent contract, and obtaining the equity quantity matched with the equity value;
and executing the right shelf loading operation according to the right corresponding to the right type and the right quantity.
4. The method of claim 3, the equity onboarding transaction further comprising a virtual resource that has been issued by the server; the equity value determination intelligent contract includes a mapping between virtual resources and equity values.
5. The method of claim 3, further comprising:
and inquiring the virtual resources issued by the server from the block chain according to the server identifier.
6. A data processing method based on a block chain is applied to node equipment in a block chain network and comprises the following steps:
receiving a rights pick-up transaction, the rights pick-up transaction including a user account and a target benefit to be picked, the target benefit selected from a set of benefits, the set of benefits including benefits that a plurality of servers have been on-shelf;
assigning the target equity to the user account.
7. A data processing device based on a block chain is applied to a node device in a block chain network, and comprises:
a receiving unit, configured to receive a virtual resource allocation transaction, where the virtual resource allocation transaction includes a contribution degree of a user;
the calling unit is used for calling the virtual resource in the block chain to issue an intelligent contract and obtaining the virtual resource matched with the contribution degree;
an allocating unit, configured to allocate the virtual resource to a user account of the user.
8. A data processing device based on a block chain is applied to a node device in a block chain network, and comprises:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving right and interests on-shelf transaction, the right and interests on-shelf transaction comprises a server side identifier and a right and interests type identifier, the server side identifier is used for identifying a server side, and the right and interests type identifier is used for identifying a right and interests type;
the calling unit is used for calling the interest value in the block chain to determine an intelligent contract and obtain the interest value matched with the virtual resource issued by the service party; calling the equity quantity in the block chain to determine an intelligent contract, and obtaining the equity quantity matched with the equity value;
and the execution unit is used for executing the right shelf-loading operation according to the right corresponding to the right type and the right quantity.
9. A data processing device based on a block chain is applied to a node device in a block chain network, and comprises:
the system comprises a receiving unit, a receiving unit and a processing unit, wherein the receiving unit is used for receiving a rights and interests acquisition transaction, the rights and interests acquisition transaction comprises a user account and a target rights and interests to be acquired, the target rights and interests are selected from a rights and interests set, and the rights and interests set comprises rights and interests of a plurality of service parties which are on the shelf;
an allocation unit for allocating the target equity to the user account.
10. An electronic device, comprising:
at least one processor;
a memory storing program instructions configured for execution by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010477886.4A CN111539730A (en) | 2020-05-29 | 2020-05-29 | Data processing method and device based on block chain and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010477886.4A CN111539730A (en) | 2020-05-29 | 2020-05-29 | Data processing method and device based on block chain and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111539730A true CN111539730A (en) | 2020-08-14 |
Family
ID=71976594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010477886.4A Pending CN111539730A (en) | 2020-05-29 | 2020-05-29 | Data processing method and device based on block chain and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111539730A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113553378A (en) * | 2020-10-20 | 2021-10-26 | 支付宝(杭州)信息技术有限公司 | Block chain data deleting method and device |
CN113570459A (en) * | 2020-10-20 | 2021-10-29 | 支付宝(杭州)信息技术有限公司 | Block chain data deleting method and device |
CN113779155A (en) * | 2021-09-24 | 2021-12-10 | 支付宝(杭州)信息技术有限公司 | Block chain transaction processing method, device and equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138348A1 (en) * | 2000-10-27 | 2002-09-26 | Sandhya Narayan | Electronic coupon system |
CN104008492A (en) * | 2013-08-07 | 2014-08-27 | 艺枫文化传播(上海)有限公司 | Credit exchange system |
CN104408647A (en) * | 2014-11-29 | 2015-03-11 | 深圳市无微不至数字技术有限公司 | Credit exchange method, credit exchange device and system |
CN107122993A (en) * | 2017-04-24 | 2017-09-01 | 杭州趣链科技有限公司 | A kind of General integral system based on block chain |
CN110148017A (en) * | 2019-04-29 | 2019-08-20 | 阿里巴巴集团控股有限公司 | Equity distribution method and device, electronic equipment, storage medium based on block chain |
CN110348882A (en) * | 2019-06-19 | 2019-10-18 | 阿里巴巴集团控股有限公司 | Integration method, system, device and equipment based on intelligent contract |
CN110458702A (en) * | 2019-07-15 | 2019-11-15 | 阿里巴巴集团控股有限公司 | Based on the virtual resource allocation method and device of block chain, electronic equipment |
EP3582168A1 (en) * | 2018-06-14 | 2019-12-18 | Capital One Services, LLC | Semi-private blockchain virtual currency exchange systems |
WO2020016792A1 (en) * | 2018-07-19 | 2020-01-23 | Asia Top Loyalty Limited | A method of loyalty exchange transaction by using blockchain for reward point exchange |
CN110737723A (en) * | 2019-10-12 | 2020-01-31 | 腾讯科技(深圳)有限公司 | Method, device and equipment for getting card ticket and storage medium |
CN110766380A (en) * | 2019-10-15 | 2020-02-07 | 深圳市新系区块链技术有限公司 | Data processing method, system and related equipment |
-
2020
- 2020-05-29 CN CN202010477886.4A patent/CN111539730A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138348A1 (en) * | 2000-10-27 | 2002-09-26 | Sandhya Narayan | Electronic coupon system |
CN104008492A (en) * | 2013-08-07 | 2014-08-27 | 艺枫文化传播(上海)有限公司 | Credit exchange system |
CN104408647A (en) * | 2014-11-29 | 2015-03-11 | 深圳市无微不至数字技术有限公司 | Credit exchange method, credit exchange device and system |
CN107122993A (en) * | 2017-04-24 | 2017-09-01 | 杭州趣链科技有限公司 | A kind of General integral system based on block chain |
EP3582168A1 (en) * | 2018-06-14 | 2019-12-18 | Capital One Services, LLC | Semi-private blockchain virtual currency exchange systems |
WO2020016792A1 (en) * | 2018-07-19 | 2020-01-23 | Asia Top Loyalty Limited | A method of loyalty exchange transaction by using blockchain for reward point exchange |
CN110148017A (en) * | 2019-04-29 | 2019-08-20 | 阿里巴巴集团控股有限公司 | Equity distribution method and device, electronic equipment, storage medium based on block chain |
CN110348882A (en) * | 2019-06-19 | 2019-10-18 | 阿里巴巴集团控股有限公司 | Integration method, system, device and equipment based on intelligent contract |
CN110458702A (en) * | 2019-07-15 | 2019-11-15 | 阿里巴巴集团控股有限公司 | Based on the virtual resource allocation method and device of block chain, electronic equipment |
CN110737723A (en) * | 2019-10-12 | 2020-01-31 | 腾讯科技(深圳)有限公司 | Method, device and equipment for getting card ticket and storage medium |
CN110766380A (en) * | 2019-10-15 | 2020-02-07 | 深圳市新系区块链技术有限公司 | Data processing method, system and related equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113553378A (en) * | 2020-10-20 | 2021-10-26 | 支付宝(杭州)信息技术有限公司 | Block chain data deleting method and device |
CN113570459A (en) * | 2020-10-20 | 2021-10-29 | 支付宝(杭州)信息技术有限公司 | Block chain data deleting method and device |
CN113779155A (en) * | 2021-09-24 | 2021-12-10 | 支付宝(杭州)信息技术有限公司 | Block chain transaction processing method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108876380B (en) | Transaction method and system based on centralized settlement and block chain deposit certificate | |
US10827016B2 (en) | Resource processing method and apparatus | |
CN109377216B (en) | Transaction method and system based on centralized settlement and block chain deposit certificate | |
CN108985742B (en) | Transaction processing method and device and block chain system | |
CN112016921B (en) | Transaction processing method, device and equipment | |
CN111383019A (en) | Transaction execution method and system based on alliance link network | |
CN110020854B (en) | Data evidence storage method and system based on multiple block chain networks | |
CN111539730A (en) | Data processing method and device based on block chain and electronic equipment | |
CN110020846B (en) | Transfer service processing method and system | |
CN108196952A (en) | A kind of resource allocation methods, device and equipment | |
CN110597916B (en) | Data processing method and device based on block chain, storage medium and terminal | |
KR102118178B1 (en) | Multiple transaction parallel processing method and system for blockchain | |
CN110060153B (en) | Data evidence storage method and system based on multiple block chain networks | |
CN110020945B (en) | Data reading method and system based on multiple block chain networks | |
CN110428237B (en) | Resource processing method and device, storage medium and electronic device | |
CN111461763A (en) | Resource allocation method and device | |
US20240232932A1 (en) | Stake sharing processing method and apparatus | |
CN107392582B (en) | Method and device for realizing resource transfer and method and device for realizing collection and payment | |
CN111415146A (en) | Resource data processing method, device and equipment | |
CN111930786B (en) | Resource acquisition request processing system, method and device | |
CN111402058B (en) | Data processing method, device, equipment and medium | |
CN112015577A (en) | Calling method and device of intelligent contract | |
CN114548963B (en) | Payment interaction processing method and device | |
CN113762940A (en) | Asset management method and device based on block chain and electronic equipment | |
CN105354190A (en) | Numerical information transfer method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40035851 Country of ref document: HK |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200814 |
|
RJ01 | Rejection of invention patent application after publication |