CN110166442A - A kind of data processing method and device based on block chain - Google Patents

A kind of data processing method and device based on block chain Download PDF

Info

Publication number
CN110166442A
CN110166442A CN201910362551.5A CN201910362551A CN110166442A CN 110166442 A CN110166442 A CN 110166442A CN 201910362551 A CN201910362551 A CN 201910362551A CN 110166442 A CN110166442 A CN 110166442A
Authority
CN
China
Prior art keywords
block chain
service platform
business service
card information
calculated result
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.)
Granted
Application number
CN201910362551.5A
Other languages
Chinese (zh)
Other versions
CN110166442B (en
Inventor
徐惠
李敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910362551.5A priority Critical patent/CN110166442B/en
Priority to CN202211284845.9A priority patent/CN115632854A/en
Publication of CN110166442A publication Critical patent/CN110166442A/en
Application granted granted Critical
Publication of CN110166442B publication Critical patent/CN110166442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/46Secure multiparty computation, e.g. millionaire problem

Abstract

One or more embodiments of this specification provide a kind of data processing method and device based on block chain, applied in the block chain network including business service platform nodes equipment and multiple data source clients;The described method includes: the business service platform nodes equipment obtains multiple encryption datas that the multiple data source client is sent;Based on preset multi-party computations logic, the multiple encryption data is calculated to obtain target calculated result;Card information is deposited by the first of the target calculated result and is sent to the block chain, so that described first deposits card information is embodied in block chain distributed data base after block chain common recognition verifying.

Description

A kind of data processing method and device based on block chain
Technical field
This specification is related to technical field of data processing more particularly to a kind of data processing method and dress based on block chain It sets.
Background technique
Block chain technology is also referred to as distributed account book technology, is that one kind is participated in " remembering jointly by several calculating equipment Account ", the emerging technology of common a complete distributed data base of maintenance.Since block chain technology has decentralization, openly Transparent, every calculating equipment can participate in data-base recording and respectively calculate that data synchronization can be rapidly performed by between equipment Characteristic so that block chain technology is widely applied in numerous fields.
Summary of the invention
In view of this, this specification one or more embodiment provide a kind of data processing method based on block chain, Device, computer equipment and computer readable storage medium.
To achieve the above object, this specification one or more embodiment provides a kind of data processing based on block chain Method, applied in the block chain network including business service platform nodes equipment and multiple data source clients;The method Include:
The business service platform nodes equipment obtains multiple encryption datas that the multiple data source client is sent;
Based on preset multi-party computations logic, the multiple encryption data is calculated to obtain target and calculate knot Fruit;
Card information is deposited by the first of the target calculated result and is sent to the block chain, so that described first deposits card information The distributed data base of the block chain is embodied in after block chain common recognition verifying.
In the another embodiment shown, the business service platform nodes equipment obtains the multiple data source client Hold the multiple encryption datas sent, comprising:
The business service platform nodes equipment obtains the more of the multiple data source client transmission based on chain outer tunnel A encryption data.
In the another embodiment shown, code relevant to the preset multi-party computations logic or to described The second of code deposits the distributed data base that card information is stored in the block chain.
In the another embodiment shown, the business service platform nodes equipment obtains the multiple data source client Hold the multiple encryption datas sent, comprising:
The business service platform nodes equipment obtains the multiple data from the distributed data base of the block chain Multiple encryption datas that source client is sent.
It is described to be based on preset multi-party computations logic in the another embodiment shown, to the multiple encryption Data are calculated to obtain target calculated result, are deposited card information for the first of the target calculated result and are sent to the block Chain, so that described first deposits card information is embodied in block chain distributed data base after block chain common recognition verifying, Include:
The intelligent contract disposed on the block chain is called, the intelligent contract is executed and states multi-party computations logic sum Card logic is deposited, the multiple encryption data is calculated to obtain target calculated result, and be based on the target calculated result It generates and first deposits card information, so that described first deposits card information and be embodied in the block chain after block chain common recognition verifying Distributed data base.
In the another embodiment shown, the block chain is alliance's chain, and the business service platform nodes equipment is Allied member's node, the multiple data source client are that access block chain power is controlled by the business service platform nodes equipment The client of limit.
Correspondingly, this specification additionally provides a kind of data processing equipment based on block chain, is applied to include that business takes In the block chain network of platform nodes equipment of being engaged in and multiple data source clients;Described device is applied to the business service platform Node device end, comprising:
Acquiring unit, the multiple encryption datas sent for obtaining the multiple data source client;
Computing unit, for be based on preset multi-party computations logic, to the multiple encryption data calculated with Obtain target calculated result;
Transmission unit is sent to the block chain for depositing card information for the first of the target calculated result, so that institute It states first and deposits card information is embodied in block chain distributed data base after block chain common recognition verifying.
In the another embodiment shown, the acquiring unit is further used for:
Multiple encryption datas that the multiple data source client is sent are obtained based on chain outer tunnel.
In the another embodiment shown, code relevant to the preset multi-party computations logic or to described The second of code deposits the distributed data base that card information is stored in the block chain.
In the another embodiment shown, the acquiring unit is further used for:
Multiple encryption numbers that the multiple data source client is sent are obtained from the distributed data base of the block chain According to.
In the another embodiment shown, the computing unit and transmission unit are further used for:
The intelligent contract disposed on the block chain is called, the intelligent contract is executed and states multi-party computations logic sum Card logic is deposited, the multiple encryption data is calculated to obtain target calculated result, and be based on the target calculated result It generates and first deposits card information, so that described first deposits card information and be embodied in the block chain after block chain common recognition verifying Distributed data base.
In the another embodiment shown, the block chain is alliance's chain, and the business service platform nodes equipment is Allied member's node, the multiple data source client are that access block chain power is controlled by the business service platform nodes equipment The client of limit.
Correspondingly, this specification also proposed a kind of computer equipment, comprising: memory and processor;The memory On be stored with the computer program that can be run by the processor;When the processor runs the computer program, industry is executed Data processing method performed by business service platform node device.
Correspondingly, this specification also proposed a kind of computer readable storage medium, be stored thereon with computer program, institute When stating computer program and being run by processor, data processing method performed by business service platform nodes equipment is executed.
By above technical scheme as it can be seen that the data processing method and device based on block chain of this specification offer, calculating Machine equipment and computer readable storage medium, the tamper-proof mechanisms based on block chain deposit the result of multi-party computations Card.
Detailed description of the invention
Fig. 1 is the process signal of the data processing method based on block chain shown in an embodiment provided by this specification Figure;
Fig. 2 be this specification provided by an embodiment provide be applied to business service platform nodes equipment end based on The schematic diagram of the data processing equipment of block chain;
Fig. 3 is a kind of hardware structure diagram for running data processing equipment embodiment provided by this specification.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification one or more embodiment.Phase Instead, they are only some aspects phases with the one or more embodiments of as detailed in the attached claim, this specification The example of consistent device and method.
It should be understood that the sequence that might not show and describe according to this specification in other embodiments executes The step of correlation method.In some other embodiments, step included by method can than described in this specification more It is more or less.In addition, single step described in this specification, may be broken down into other embodiments multiple steps into Row description;And multiple steps described in this specification, it may also be merged into single step progress in other embodiments Description.
Business service platform is when providing corresponding business service for user, it usually needs user provides to be taken with above-mentioned business It is engaged in relevant much information, in many cases, above-mentioned much information may include the privacy information of user, especially when business takes Business platform is the service platform for seeking advice from type, and formulation consulting or marketing program usually require some sensitive commercial informations of user In the case where, user considers that the service of above-mentioned business service platform may be selected based on privacy secrecy, thus limits The business development of business service platform.Alternatively, since user may to be supplied directly to business service platform comprehensive without wish And accurate information, business service platform is consequently led to based on being inaccurate or comprehensive data information and user's clothes for providing It is engaged in not accurate, user experience is poor.
To solve posed problems above, one or more embodiments of this specification provide a kind of based on block chain Data processing method, applied in the block chain network including business service platform nodes equipment and multiple data source clients.
Block chain network described in this specification one or more embodiment specifically can refer to each node device and pass through altogether P2P network system that knowledge mechanism is reached, with Distributed Storage structure, the data distribution in the block chain is in time Within connected " block (block) " one by one, latter block includes the data summarization of previous block, and according to specific common recognition The difference of mechanism (such as POW, POS, DPOS or PBFT) reaches the data full backup of all or part of node.The skill of this field Art personnel are known, since block chain network system is run under corresponding common recognition mechanism, included to the number in block chain database According to being difficult to be distorted by arbitrary node, for example, by using the block chain of Pow common recognition, the attack at least needing the whole network 51% to calculate power just has Data with existing, therefore the guarantee data peace that block catenary system there are other centralization Database Systems incomparable may be distorted Entirely, the characteristic that attack protection is distorted.It follows that the data being included into the distributed data base of block chain will not be attacked or It distorts, to ensure that the real reliability for depositing the data information for demonstrate,proving the distributed data base into block chain.
The exemplary types of block chain network may include publicly-owned block chain network, privately owned block chain network and alliance's block chain Network.Although term block chain is usually associated with bit coin encryption currency network, come generally using block chain herein Refer to the DLS (distributed account book system) without reference to any specific use-case.
In publicly-owned block chain network, common recognition process by common recognition network node control.For example, hundreds of, thousands of, even several Million entities can cooperate in publicly-owned block chain network, and each entity operates at least one section in publicly-owned block chain network Point.Therefore, publicly-owned block chain network is considered relative to the global network for participating in entity.The publicly-owned block chain network of example Including bit coin network, bit coin network is payment versus payment network.Bit coin network utilizes distributed account book, referred to as block Chain.However as described above, term block chain is commonly used to refer to not with particular reference to the distributed account book of bit coin network.
In general, publicly-owned block chain network supports publicly-owned transaction.All nodes in publicly-owned transaction and publicly-owned block chain network It is shared, and be stored in global block chain.Global block chain is the block chain across the duplication of all nodes.That is, for complete Office's block chain, all nodes are in completely the same state.In order to reach common understanding (for example, with intention block chain add block), Implement common recognition agreement in publicly-owned block chain network.Example common recognition agreement includes but is not limited to the work implemented in bit coin network (proof-of-work, POW) is proved as amount.
In general, privately owned block chain network is supplied to special entity, special entity centralized control reads and writees permission.The reality Which node body, which controls, can participate in block chain network.Therefore, privately owned block chain network is commonly known as granted network, to fair Perhaps who participates in network and its participates in horizontal (for example, only in certain transaction) application limitation.Various types of access can be used Controlling mechanism (for example, existing participant votes, addition novel entities, regulatory agency can control access).
In general, alliance's block chain network is privately owned in participating in entity.In alliance's block chain network, common recognition process by The group node control of authorization, one or more nodes are operated by corresponding entity (for example, enterprise).For example, a by ten (10) The alliance of entity (for example, enterprise) composition can operate alliance's block chain network, and each entity is in alliance's block chain network Operate at least one node.Therefore, for participating in entity, alliance's block chain network is considered private network.One In a little examples, each entity (node) must sign to each piece, so that the block is effective and effective block is added to area Block chain.In some instances, the subset (for example, at least seven entity) of at least entity (node) must sign to each piece So that the block is effective, and effective block is added to block chain.
It is contemplated that embodiment provided by this specification can be real in the block chain network of any suitable type It is existing.
Node (or node device) described in this specification one or more embodiment refers to can be by following respective nodes The block chain is added in agreement, the installation for running node protocol program, node as the block chain.Those skilled in the art The node device of the data full backup with block chain distributed data base is usually known as full node, there will be the distribution of block chain The node device of the incremental backup data (data for such as only having block head) of formula database is known as light node.In this specification In one or more embodiments, the node type of above-mentioned business service platform nodes equipment is not limited.
In one or more embodiments that this specification provides, the entity for providing data source for business service platform passes through It is added to above-mentioned block chain network in terminal operating installation program of client, above-mentioned installation program of client can be block The installation procedure of chain node device, correspondingly, the data source client are also used as the node device of above-mentioned block chain;Above-mentioned client End installation procedure is also possible to and allied member's node device (such as above-mentioned business service platform nodes in alliance's block chain chain Equipment) connection, by control access block chain user client program, correspondingly, the client is not due to having direct visit Ask the permission of the distributed data base of block chain, and it is general not by the node as above-mentioned block chain, it needs to connected to it One or more allied member's nodes carry out the request of data that there is permission to know.This specification does not limit above-mentioned data source visitor Family end whether be above-mentioned block chain node device.It is worth noting that, the corresponding entity of above-mentioned data source client can be The user of above-mentioned business service platform is mentioned by providing data to above-mentioned business service platform with obtaining above-mentioned business service platform The business service of confession, is not construed as limiting in the present specification.
As shown in Figure 1, the data processing side based on block chain provided by one or more embodiments in this specification Method includes:
Step 102, the business service platform nodes equipment obtains the multiple the multiple of data source client transmission and adds Ciphertext data.
Above-mentioned multiple data source clients can state directly up the transmission of business service platform nodes equipment by chain outer tunnel Above-mentioned multiple encryption datas;Above-mentioned target can also be sent to above-mentioned business service platform nodes equipment by block chain buy number According to also that is, the multiple data source client sends encryption data to the block chain, so that multiple encryption datas are by the area The distributed data base of block chain is included, and the business service platform nodes equipment can be from the distributed data of the block chain later Library obtains the multiple encryption data.Based on the tamper-proof mechanisms of block chain, the distributed data base based on block chain obtains more The implementation of a encryption data more can guarantee that above-mentioned multiple encryption datas are sent by corresponding data source client, prevent Only encryption data is tampered.
Step 104, it is based on preset multi-party computations logic, the multiple encryption data is calculated to obtain mesh Mark calculated result.
Multi-party computations described in this specification are it is to be understood that multiparty data source possesses respective privately owned number respectively According in the case where not leaking respective private data, for example, data are by phase in each embodiment that this specification provides Answer data source client encryption and generate encryption data, business service platform nodes equipment can calculate about with it is above-mentioned more The relevant public function of a private data as a result, i.e. above-mentioned target calculated result.In entire calculating process, including business service Each side including platform and each data source does not know the data of its other party.Based on multi-party computations, business service platform and Data source entity is not necessarily to provide the private data respectively stored to either one, but can be based on the private data peace treaty respectively stored Fixed public function calculates and obtains corresponding target calculated result.
In this way, both ensure that data during multi-party computations by carrying out multi-party computations to encryption data Privacy is solved the data source client for providing data and is trusted using the data between the business service platform of data, and made It calculates resulting target calculated result and has been based on more extensive data source;Therefore, both due to based on more extensively and accurately number According to, improve business service platform provide service accurate match degree;Above-mentioned multiple data source clients are improved again to be stored Data utilization rate, or even corresponding economic well-being of workers and staff can also be brought for above-mentioned data source entity.
Above-mentioned target calculated result may include the public function based on multi-party computations acquisition as a result, also may include The calculated result further obtained based on above-mentioned public function result can also include being made based on above-mentioned public function result Fixed target service scheme (such as trade marketing scheme, market consultation scheme) content, is not construed as limiting in the present specification.
Business service platform nodes equipment, can be by above-mentioned target calculated result after calculating the above-mentioned target calculated result of acquisition One be sent in the user client for having business demand to above-mentioned target calculated result, such as above-mentioned multiple data source clients It is a or multiple or other lift the user client of business service application.
In the present specification, in order to further deposit the above-mentioned target calculated result of card, prevent business service platform from modifying without authorization Target calculation result data, the above-mentioned data processing method based on block chain further include:
Step 106, card information is deposited by the first of the target calculated result and be sent to the block chain, so that described first Deposit card information is embodied in block chain distributed data base after block chain common recognition verifying.
It may include above-mentioned target calculated result that the first of target calculated result described above, which deposits card information, or further The above-mentioned target calculated result of encryption or " digital finger-print " of above-mentioned target calculated result --- state target calculated result Hash digest, etc., this specification do not limit this first deposit card information specific manifestation form.
Card information is embodied in the block chain distributed number after block chain common recognition verifying is deposited about above-mentioned first According to the detailed process in library, can according to the block chain common recognition mechanism and transaction verification rule and specifically set.Shown in one In embodiment, the business service platform nodes equipment will include the above-mentioned first distribution for depositing that card information is distributed to the block chain In formula database, comprising:
There is the node of book keeping operation permission to be added to the transaction for depositing card information including above-mentioned first in the block chain Candidate block;
The common recognition accounting nodes for meeting the block chain common recognition mechanism are determined from the node with book keeping operation permission;
Candidate block described in node broadcasts of the common recognition accounting nodes to the block chain;
After meeting the verifying approval of the node of preset quantity by the block chain in the candidate block, the candidate regions Block is considered as newest block, is added in the distributed data base of the block chain.
It is worth noting that, transaction (transaction) described in one or more embodiments in this specification, Refer to the node device creation by block chain, and the stroke count for needing finally to be distributed in the distributed data base of block chain According to.Wherein, the transaction in block chain, there are points of the transaction of narrow sense and the transaction of broad sense.The transaction of narrow sense refer to user to One value Transfer of block chain publication;For example, transaction can be user in block in traditional bit coin block chain network One initiated in chain transfers accounts.And the transaction of broad sense refers to that user subject has business by one that node is issued to block chain The business datum of intention.The first transaction for depositing card information described in present embodiment including above-mentioned target calculated result, can be with Card information is deposited comprising above-mentioned first to above-mentioned target calculated result, to play to store card in above-mentioned target calculated result Effect.
In the above-described embodiment, the node with book keeping operation permission refers to the node for generating candidate block permission.Root According to the common recognition mechanism of the block chain, there can be determining common recognition book keeping operation in the node of book keeping operation permission to the candidate block from above-mentioned Node, above-mentioned common recognition mechanism may include that proof of work mechanism (PoW) or right prove mechanism (PoS) or share warrant Bright mechanism (DPoS) etc..
PoS or DPoS common recognition mechanism is similar with PoW, belongs to confirmation common recognition accounting nodes institute Chang Xuanyong in publicly-owned block chain Common recognition algorithm.To reduce the acknowledging time of transaction or data, raising transaction handling capacity, meeting the needs of to safety and performance, Alliance's chain framework can be selected also to construct the block chain in embodiment provided by this specification.Above-mentioned business service platform nodes, Business regulator agencies node etc. can be used as the node of the pre-selection of alliance's chain with the mechanism of higher credit, participate in block Book keeping operation.The common recognition process of alliance's chain is also by the node control of the pre-selection, when the node for having more than setting ratio (such as 2/3) on network Confirm a block, the transaction of block record or data will obtain the whole network confirmation.
Alliance's chain usually mostly uses the common recognition algorithm such as equity proof or PBFT, RAFT.PBFT algorithm is as this specification institute A kind of preferred embodiment of the common recognition algorithm of alliance's chain of offer, be due to using the high-efficient of this kind of algorithm common recognition, can Meets the needs of high frequency trading volume;And the time delay of common recognition is very low, basically reaches the requirement handled in real time, it can be quickly in real time in area The transaction for depositing card information comprising above-mentioned first is included in the newborn block of block chain;Moreover, trusted node in alliance's chain network is made For the accounting nodes of pre-selection, safety and stability have been taken into account;It is calculated in addition, excessive computer will not be consumed using PBFT algorithm Power resource is also not necessarily required to that token circulates, therefore has good workability.
In the another embodiment shown in this specification, in addition to card information will be deposited to the first of above-mentioned target calculated result Card is deposited into the distributed data base of block chain, in order to further ensure obtain above-mentioned target calculated result process it is just Property, prevent above-mentioned business service platform from modifying the calculating process of target calculated result privately, with above-mentioned preset Secure meter It calculates the relevant code of logic or deposits the distributed data base that card information is stored in the block chain to the second of the code.
Those skilled in the art is, it should be understood that code relevant to above-mentioned preset multi-party computations logic generally includes to pacify The correlation computers executable program generations such as the calculating process of the public function, public function result arranged in complete multi-party calculating Code;The original text or be encrypted upper that card information may include above-mentioned computer executable program code are deposited to the second of above-mentioned code The information such as the Hash digest of computer executable program code or above-mentioned computer executable program code are stated, block chain is based on Tamper-proof mechanisms, for above-mentioned code carry out block chain deposit card.About above-mentioned with the preset multi-party computations logic phase The code of pass deposits the detailed process that card information is included distributed data base to block chain to the second of the code, can be with Above-mentioned first deposits that the detailed process that is included of card information is similar, and details are not described herein.
It is patrolled it is worth noting that, this specification does not limit to send on block chain with the preset multi-party computations The sender's identity collected relevant code or deposit card information to the second of the code, the sender typically writing are above-mentioned The business service platform of preset multi-party computations logic is also possible to formulate industry rule for industry where business service platform The regulatory agency of model formulates the above-mentioned preset multi-party computations logic of writing, so that member abides by jointly in industry, etc. Deng.
In the another embodiment shown of this specification, when above-mentioned multiple encryption datas are by above-mentioned multiple data source visitors When family end is sent to the distributed data base of block chain, based on preset multi-party computations described in above-mentioned steps 104 and 106 Logic calculates the multiple encryption data to obtain target calculated result, the first of the target calculated result is deposited Card information be sent to the block chain so that described first deposit card information by the block chain common recognition verifying after be embodied in the area The process of the distributed data base of block chain can execute the intelligent contract by calling the intelligent contract disposed on the block chain Statement multi-party computations logic sum deposits card logic, is calculated the multiple encryption data to obtain target calculated result, And generated based on the target calculated result and first deposit card information, so that described first deposits card information and is tested by block chain common recognition The distributed data base of the block chain is embodied in after card.
It can develop, test and portion in block chain network to further provide for the background of the embodiment of this specification Application program is affixed one's name to execute in block chain network.Sample application program can include but is not limited to intelligent contract.Intelligent contract The digital representation for influencing the law contract of the real world of agreement terms of each side can be described as having.Intelligent contract is by reality It applies, store, updating (as needed) and being executed in block chain network.Contract side associated with intelligent contract is (for example, buy Side and the seller) it is represented as the node in block chain network.
In some instances, intelligent contract can store data, which can be used for recording the information, fact, association, remaining Any other information needed for volume and realization contract execute logic.Intelligent contract can be described as the calculating being made of function Machine executable program calls function to execute intelligent contract wherein the example (instance) of the intelligence contract can be created Logic.
In technical aspect, intelligent contract can be realized based on the class of object and object-oriented.For example, the item of intelligent contract Money and component can be expressed as the object by realizing the application program processing of intelligent contract.Intelligent contract (or in intelligent contract Object) another intelligent contract (or object in same intelligent contract) can be called as the object of other object-orienteds. For example, the calling that object carries out can be creation, update, deletion, propagation or the calling with the object communication of another class.Object Between calling can by function, method, application programming interface (application programming interface, API) or other call-by mechanisms are realized.For example, the first object can call a function to the second object of creation.
It therefore, in the present embodiment, can be by above-mentioned multi-party computations based on the description above with respect to intelligent contract Logic and the calculating logic for deposit to target calculated result card, are written as intelligent contract code, and the common recognition through block chain is tested Deployment is demonstrate,proved on block chain.It is executed in multi-party computations and the embodiment for depositing card above-mentioned by intelligent contract, including more The calling transaction for multiple intelligent contracts comprising encryption data that a data source client is sent, may also include called intelligence Contract address or function name, etc. other parameters, details are not described herein.Those skilled in the art is, it should be understood that the intelligence contract It executes logic to verify through the common recognition of block chain node device, tamper-proof mechanisms and common recognition mechanism based on block chain have and execute Efficiently (can at any time should the triggering comprising the calling transaction of encryption data and execute), execute that accurate (implementing result is total through block chain Know verifying), low human intervention risk (code performed by intelligent contract through block chain common recognition verifying put distorts), lower operation The advantages that cost (such as human cost) to automatically, not only deposit card for multi-party computations logic, but also is Secure meter The result for calculating logic has carried out depositing card.
Corresponding with the realization of above-mentioned process, the embodiment of this specification additionally provides the data processing equipment based on block chain 20.Device 20 can also be realized by software realization by way of hardware or software and hardware combining.It is implemented in software to be Example, is the CPU (Central Process Unit, central processing unit) by place equipment as the device on logical meaning Corresponding computer program instructions are read into memory what operation was formed.For hardware view, in addition to CPU shown in Fig. 3, Except memory and memory, the equipment where above-mentioned data processing equipment is also typically included for carrying out wireless signal transmitting-receiving Other hardware such as chip, and/or for realizing other hardware such as board of network communicating function.
As shown in Fig. 2, this specification additionally provides a kind of data processing equipment 20 based on block chain, it is applied to include industry In the block chain network of business service platform node device and multiple data source clients;Described device 20 takes applied to the business Business platform nodes equipment end, comprising:
Acquiring unit 202, the multiple encryption datas sent for obtaining the multiple data source client;
Computing unit 204 calculates the multiple encryption data for being based on preset multi-party computations logic To obtain target calculated result;
Transmission unit 206 is sent to the block chain for depositing card information for the first of the target calculated result, so that Described first deposits card information is embodied in block chain distributed data base after block chain common recognition verifying.
In the another embodiment shown, the acquiring unit 202 is further used for:
Multiple encryption datas that the multiple data source client is sent are obtained based on chain outer tunnel.
In the another embodiment shown, code relevant to the preset multi-party computations logic or to described The second of code deposits the distributed data base that card information is stored in the block chain.
In the another embodiment shown, the acquiring unit 202 is further used for:
Multiple encryption numbers that the multiple data source client is sent are obtained from the distributed data base of the block chain According to.
In the another embodiment shown, the computing unit 204 and transmission unit 206 are further used for:
The intelligent contract disposed on the block chain is called, the intelligent contract is executed and states multi-party computations logic sum Card logic is deposited, the multiple encryption data is calculated to obtain target calculated result, and be based on the target calculated result It generates and first deposits card information, so that described first deposits card information and be embodied in the block chain after block chain common recognition verifying Distributed data base.
In the another embodiment shown, the block chain is alliance's chain, and the business service platform nodes equipment is Allied member's node, the multiple data source client are that access block chain power is controlled by the business service platform nodes equipment The client of limit.
The function of each unit and the realization process of effect are specifically detailed in above-mentioned business service platform section in above-mentioned apparatus 20 The realization process of step is corresponded in data processing method performed by point device, related place is said referring to the part of embodiment of the method Bright, details are not described herein.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics mould Block, it can it is in one place, or may be distributed on multiple network modules.It can be selected according to the actual needs In some or all of unit or module realize the purpose of this specification scheme.Those of ordinary skill in the art are not paying In the case where creative work, it can understand and implement.
Device that above-described embodiment illustrates, unit, module can specifically be realized, Huo Zheyou by computer chip or entity Product with certain function is realized.A kind of typically to realize that equipment is computer, the concrete form of computer can be a People's computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation It is any several in equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of kind equipment.
Corresponding with above method embodiment, the embodiment of this specification additionally provides a kind of computer equipment, such as Fig. 3 institute Show, which includes memory and processor.Wherein, the computer that can be run by processor is stored on memory Program;Processor executes above-mentioned business service platform nodes in this specification embodiment in the computer program of operation storage Each step of data processing method performed by equipment.To data processing performed by above-mentioned business service platform nodes equipment The detailed description of each step of method refer to before content, be not repeated.
Corresponding with above method embodiment, the embodiment of this specification additionally provides a kind of computer-readable storage medium Matter is stored with computer program on the storage medium, and it is real to execute this specification when being run by processor for these computer programs Apply each step of data processing method performed by above-mentioned business service platform nodes equipment in example.It is flat to above-mentioned business service The detailed description of each step of data processing method performed by platform node device refer to before content, be not repeated.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection Within enclosing.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include temporary computer readable media (transitory media), such as modulation Data-signal and carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program Product.Therefore, the embodiment of this specification can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes that computer is available that the embodiment of this specification, which can be used in one or more, It is real in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form for the computer program product applied.

Claims (14)

1. a kind of data processing method based on block chain is applied to include business service platform nodes equipment and multiple data sources In the block chain network of client;The described method includes:
The business service platform nodes equipment obtains multiple encryption datas that the multiple data source client is sent;
Based on preset multi-party computations logic, the multiple encryption data is calculated to obtain target calculated result;
Card information is deposited by the first of the target calculated result and is sent to the block chain, so that described first deposits card information by institute State the distributed data base that the block chain is embodied in after block chain common recognition is verified.
2. according to the method described in claim 1, the business service platform nodes equipment obtains the multiple data source client Hold the multiple encryption datas sent, comprising:
The business service platform nodes equipment obtains the multiple the multiple of data source client transmission based on chain outer tunnel and adds Ciphertext data.
3. method according to claim 1 or 2, code relevant to the preset multi-party computations logic or to institute It states the second of code and deposits the distributed data base that card information is stored in the block chain.
4. according to the method described in claim 1, the business service platform nodes equipment obtains the multiple data source client Hold the multiple encryption datas sent, comprising:
The business service platform nodes equipment obtains the multiple data source visitor from the distributed data base of the block chain Multiple encryption datas that family end is sent.
5. according to the method described in claim 4, described be based on preset multi-party computations logic, to the multiple encryption number According to being calculated to obtain target calculated result, card information is deposited by the first of the target calculated result and is sent to the block Chain, so that described first deposits card information is embodied in block chain distributed data base after block chain common recognition verifying, Include:
The intelligent contract disposed on the block chain is called, the intelligent contract statement multi-party computations logic sum is executed and deposits card Logic is calculated the multiple encryption data to obtain target calculated result, and generated based on the target calculated result First deposits card information, so that described first deposits card information is embodied in block chain distribution after block chain common recognition verifying Formula database.
6. method according to claim 1 or 2, the block chain is alliance's chain, the business service platform nodes equipment For allied member's node, the multiple data source client is that access block chain is controlled by the business service platform nodes equipment The client of permission.
7. a kind of data processing equipment based on block chain is applied to include business service platform nodes equipment and multiple data sources In the block chain network of client;Described device is applied to the business service platform nodes equipment end, comprising:
Acquiring unit, the multiple encryption datas sent for obtaining the multiple data source client;
Computing unit calculates to obtain the multiple encryption data for being based on preset multi-party computations logic Target calculated result;
Transmission unit is sent to the block chain for depositing card information for the first of the target calculated result, so that described the One deposits card information is embodied in block chain distributed data base after block chain common recognition verifying.
8. device according to claim 7, the acquiring unit is further used for:
Multiple encryption datas that the multiple data source client is sent are obtained based on chain outer tunnel.
9. device according to claim 7 or 8, code relevant to the preset multi-party computations logic or to institute It states the second of code and deposits the distributed data base that card information is stored in the block chain.
10. device according to claim 7, the acquiring unit is further used for:
Multiple encryption datas that the multiple data source client is sent are obtained from the distributed data base of the block chain.
11. device according to claim 10, the computing unit and transmission unit, are further used for:
The intelligent contract disposed on the block chain is called, the intelligent contract statement multi-party computations logic sum is executed and deposits card Logic is calculated the multiple encryption data to obtain target calculated result, and generated based on the target calculated result First deposits card information, so that described first deposits card information is embodied in block chain distribution after block chain common recognition verifying Formula database.
12. device according to claim 7 or 8, the block chain is alliance's chain, the business service platform nodes equipment For allied member's node, the multiple data source client is that access block chain is controlled by the business service platform nodes equipment The client of permission.
13. a kind of computer equipment, comprising: memory and processor;Being stored on the memory can be transported by the processor Capable computer program;When the processor runs the computer program, execute as described in claims 1 to 6 any one Method.
14. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is run by processor When, execute the method as described in claims 1 to 6 any one.
CN201910362551.5A 2019-04-30 2019-04-30 Data processing method and device based on block chain Active CN110166442B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910362551.5A CN110166442B (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain
CN202211284845.9A CN115632854A (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910362551.5A CN110166442B (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202211284845.9A Division CN115632854A (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain

Publications (2)

Publication Number Publication Date
CN110166442A true CN110166442A (en) 2019-08-23
CN110166442B CN110166442B (en) 2022-09-06

Family

ID=67633147

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910362551.5A Active CN110166442B (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain
CN202211284845.9A Pending CN115632854A (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202211284845.9A Pending CN115632854A (en) 2019-04-30 2019-04-30 Data processing method and device based on block chain

Country Status (1)

Country Link
CN (2) CN110166442B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110929293A (en) * 2019-12-11 2020-03-27 佛山科学技术学院 Beauty data storage system based on block chain
CN111506584A (en) * 2020-03-26 2020-08-07 金蝶软件(中国)有限公司 Service data processing method and device based on block chain and computer equipment
CN112272208A (en) * 2020-09-22 2021-01-26 国网上海市电力公司 Secure multiparty computing method, electronic device and storage medium
CN112583572A (en) * 2019-09-30 2021-03-30 北京京东尚科信息技术有限公司 Block chain network, service processing method, device and equipment
CN112632014A (en) * 2020-12-30 2021-04-09 杭州亿房达科技有限公司 Private data sharing method based on block chain and private security calculation
CN112685767A (en) * 2020-12-25 2021-04-20 联想(北京)有限公司 Data processing method and system based on block chain
CN112884574A (en) * 2021-01-29 2021-06-01 上海分布信息科技有限公司 Safety processing method and system for block chain service
CN113159944A (en) * 2021-03-10 2021-07-23 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device
CN113255001A (en) * 2021-06-09 2021-08-13 湖北央中巨石信息技术有限公司 Block chain-based calculation accounting method, system, device and medium
CN113409045A (en) * 2021-01-27 2021-09-17 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain and electronic equipment
CN113612766A (en) * 2021-07-30 2021-11-05 北京锐安科技有限公司 Data management device, method, computer equipment and storage medium
CN114826667A (en) * 2022-03-22 2022-07-29 浪潮卓数大数据产业发展有限公司 Data sharing method, device, equipment and medium based on block chain
CN115292419A (en) * 2022-10-09 2022-11-04 深圳市明源云科技有限公司 Data processing method, device and equipment based on poH consensus and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180005239A1 (en) * 2016-06-29 2018-01-04 Paypal, Inc. Mobile devices enabling customer identity validation via central depository
CN109241778A (en) * 2018-08-13 2019-01-18 阿里巴巴集团控股有限公司 A kind of public transport data processing method and device based on block chain
CN109359973A (en) * 2018-08-24 2019-02-19 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and apparatus
CN109615378A (en) * 2019-01-24 2019-04-12 上海点融信息科技有限责任公司 Multi-party computations method, apparatus and readable storage medium storing program for executing based on block chain
CN109615383A (en) * 2018-10-26 2019-04-12 阿里巴巴集团控股有限公司 Data based on block chain deposit card, acquisition methods and device
CN109660350A (en) * 2018-10-31 2019-04-19 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and device, electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180005239A1 (en) * 2016-06-29 2018-01-04 Paypal, Inc. Mobile devices enabling customer identity validation via central depository
CN109241778A (en) * 2018-08-13 2019-01-18 阿里巴巴集团控股有限公司 A kind of public transport data processing method and device based on block chain
CN109359973A (en) * 2018-08-24 2019-02-19 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and apparatus
CN109615383A (en) * 2018-10-26 2019-04-12 阿里巴巴集团控股有限公司 Data based on block chain deposit card, acquisition methods and device
CN109660350A (en) * 2018-10-31 2019-04-19 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and device, electronic equipment
CN109615378A (en) * 2019-01-24 2019-04-12 上海点融信息科技有限责任公司 Multi-party computations method, apparatus and readable storage medium storing program for executing based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张亮等: "区块链技术综述", 《计算机工程》 *
朱岩等: "基于安全多方计算的区块链智能合约执行系统", 《密码学报》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583572A (en) * 2019-09-30 2021-03-30 北京京东尚科信息技术有限公司 Block chain network, service processing method, device and equipment
CN112583572B (en) * 2019-09-30 2023-01-31 北京京东尚科信息技术有限公司 Block chain network, service processing method, device and equipment
CN110929293B (en) * 2019-12-11 2022-11-15 佛山科学技术学院 Beautifying data storage system based on block chain
CN110929293A (en) * 2019-12-11 2020-03-27 佛山科学技术学院 Beauty data storage system based on block chain
CN111506584A (en) * 2020-03-26 2020-08-07 金蝶软件(中国)有限公司 Service data processing method and device based on block chain and computer equipment
CN111506584B (en) * 2020-03-26 2023-07-25 金蝶软件(中国)有限公司 Block chain-based service data processing method and device and computer equipment
CN112272208A (en) * 2020-09-22 2021-01-26 国网上海市电力公司 Secure multiparty computing method, electronic device and storage medium
CN112685767B (en) * 2020-12-25 2024-03-26 联想(北京)有限公司 Data processing method and system based on block chain
CN112685767A (en) * 2020-12-25 2021-04-20 联想(北京)有限公司 Data processing method and system based on block chain
CN112632014A (en) * 2020-12-30 2021-04-09 杭州亿房达科技有限公司 Private data sharing method based on block chain and private security calculation
CN113409045A (en) * 2021-01-27 2021-09-17 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain and electronic equipment
CN113409045B (en) * 2021-01-27 2023-03-21 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain and electronic equipment
CN112884574A (en) * 2021-01-29 2021-06-01 上海分布信息科技有限公司 Safety processing method and system for block chain service
CN113159944A (en) * 2021-03-10 2021-07-23 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device
CN113255001A (en) * 2021-06-09 2021-08-13 湖北央中巨石信息技术有限公司 Block chain-based calculation accounting method, system, device and medium
CN113612766A (en) * 2021-07-30 2021-11-05 北京锐安科技有限公司 Data management device, method, computer equipment and storage medium
CN114826667A (en) * 2022-03-22 2022-07-29 浪潮卓数大数据产业发展有限公司 Data sharing method, device, equipment and medium based on block chain
CN115292419A (en) * 2022-10-09 2022-11-04 深圳市明源云科技有限公司 Data processing method, device and equipment based on poH consensus and storage medium

Also Published As

Publication number Publication date
CN110166442B (en) 2022-09-06
CN115632854A (en) 2023-01-20

Similar Documents

Publication Publication Date Title
CN110166442A (en) A kind of data processing method and device based on block chain
CN110009498A (en) Resource allocation methods and device based on block chain
US20230281449A1 (en) Architectures, systems and methods for program defined transaction system and decentralized cryptocurrency systems
CN110363527A (en) Card, monitoring and managing method and device are deposited based on block chain
Khrais Comparison study of blockchain technology and IOTA technology
TWI771618B (en) Method and device for distribution of copyright of works based on blockchain
CN110060112A (en) Invoice creation method and device, electronic equipment based on block chain
CN110175913A (en) Data processing system, method, calculating equipment and storage medium based on block chain
CN110163753A (en) Houseclearing based on block chain deposits card, application method and device
CN110047008A (en) A kind of Claims Resolution method and apparatus based on block chain
CN109614438A (en) A kind of Claims Resolution method and apparatus based on block chain
CN110310203A (en) A kind of block chain method of commerce and device
CN110298755A (en) A kind of block chain method of commerce and device
CN109376008A (en) A kind of distribution method and device of virtual resource
US20200211007A1 (en) Blockchain-based product purchase method and apparatus
CN110163483A (en) Virtual resource allocation method and apparatus based on block chain
CN110162470A (en) A kind of test method and device of block chain
CN110009337A (en) A kind of data processing method and device based on block chain
CN110175208A (en) Rent method and device based on block chain
Abdelhamid et al. Blockchain and smart contracts
CN110162570A (en) The gradation acquisition methods and device of block chain data
CN110263092A (en) Rent method and device based on block chain
CN110471982A (en) Data processing method and device based on block chain
CN113221191B (en) Block chain-based data evidence storage method, device, equipment and storage medium
CN110263580A (en) Data processing method, device and block chain node based on block chain

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200930

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20200930

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant