CN109146490A - block generation method, device and system - Google Patents

block generation method, device and system Download PDF

Info

Publication number
CN109146490A
CN109146490A CN201811181724.5A CN201811181724A CN109146490A CN 109146490 A CN109146490 A CN 109146490A CN 201811181724 A CN201811181724 A CN 201811181724A CN 109146490 A CN109146490 A CN 109146490A
Authority
CN
China
Prior art keywords
endorsement
node
block
response
transaction information
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
CN201811181724.5A
Other languages
Chinese (zh)
Other versions
CN109146490B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811181724.5A priority Critical patent/CN109146490B/en
Publication of CN109146490A publication Critical patent/CN109146490A/en
Application granted granted Critical
Publication of CN109146490B publication Critical patent/CN109146490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The embodiment of the present application discloses block generation method, device and system.One specific embodiment of this method includes: the Transaction Information for receiving client and sending, and Transaction Information includes the transaction data generated by client according to the transactional operation of user;The endorsement to the Transaction Information that default endorsement node is sent is received to respond, and determine whether the endorsement response meets preset rules, wherein, the endorsement request that the endorsement response is sent by endorsement node according to the client carries out endorsement generation, and the endorsement request includes the Transaction Information;Meet preset rules in response to the determination endorsement response, block is generated, wherein the block includes the transaction data.The embodiment can simplify block product process, so as to improve the speed of block generation.

Description

Block generation method, device and system
Technical field
The invention relates to field of computer technology, and in particular to block chain technical field more particularly to block are raw At methods, devices and systems.
Background technique
Block chain is a kind of technology of shared account book, is generated and being superimposed cryptographic block data sequentially in time Lasting, not revisable record, and by record storage in each node of block chain network, so that participating in block chain In each node safeguard a reliable data record jointly.Block chain has decentralization, can not distort, process as a result, The technical advantages such as transparent and traceable are considered numerous in finance, reference, Internet of Things, economic trade clearing, asset management etc. Field is owned by broad application prospect.
According to the difference of block chain participant, block chain is typically divided into publicly-owned chain, alliance's chain and privately owned chain three types, Wherein alliance's chain is the common form of business application.
Super account book (Hyperledger Fabric) is current popular block chain solution, and multiple tissues can To form alliance's chain network by super account book.In super account book network, the completion of a transaction comprising the following three steps: Motion of trading is endorsed, transaction is sorted and block generates and trade confirmation.
The block chain network of current super account book, the originating end (client) for motion of trading need first to send to endorsement node Motion endorsement request.Then originating end (client) waits endorsement node to return to endorsement response.It is returned receiving endorsement node Endorsement response after, originating end (client) verifying endorsement response whether with endorsement strategy matching, when be collected into it is enough with Endorse strategy matching endorsement response when, client could will trade motion and endorse node to transaction motion endorsement respond Block generation node is sent to be ranked up.Block generates node after receiving transaction motion, and can verify the transaction motion is It is no contain originating end (client) signature, whether the endorsement response of endorsement node meets preset rules, when meeting above-mentioned condition When, block generates node and generates block.
Summary of the invention
The embodiment of the present application proposes a kind of block generation method, device and system.
In a first aspect, the embodiment of the present application provides a kind of block generation method, sent this method comprises: receiving client Transaction Information, Transaction Information includes the transaction data generated by client according to the transactional operation of user;Receive default back The endorsement to Transaction Information that book node is sent responds, and determines whether endorsement response meets preset rules, wherein endorsement response The endorsement request sent by endorsement node according to client carries out endorsement generation, and endorsement request includes Transaction Information;In response to true Fixed endorsement response meets preset rules, generates block, wherein block includes transaction data.
In some embodiments, it receives the endorsement to Transaction Information that default endorsement node is sent to respond, comprising: receive pre- If the endorsement to Transaction Information that in the period, default endorsement node is sent responds.
In some embodiments, in response to determining that endorsement response meets preset rules, block is generated, comprising: in response to true Fixed endorsement response meets preset rules, and transaction data is stored in the tail of the queue of preset data queue;Determine the friendship in data queue Whether the quantity of easy data is greater than preset threshold;It is greater than preset quantity threshold in response to the quantity of the transaction data in data queue Value generates block.
In some embodiments, endorsement node is based on default endorsement strategy by client, chooses from multiple peer nodes.
In some embodiments, determine whether endorsement response meets preset rules, comprising: whether determine above-mentioned endorsement response Including default endorsement node to the endorsement result of above-mentioned Transaction Information for by information;Or it determines receiving, indicated Endorsement result be by the quantity of the corresponding endorsement node of endorsement response whether be more than or equal to preset threshold;Or it determines Endorsement result receive, indicated be by the corresponding endorsement node of endorsement response in whether include weight be greater than it is pre- If the endorsement node of weight threshold.
In some embodiments, block generated is synchronized to multiple peer nodes, so that each peer node is to block In transaction data confirmed.
Second aspect, the embodiment of the present application provide a kind of block generating means, which includes: the first receiving unit, It is configured to receive the Transaction Information of client transmission, Transaction Information includes being generated by client according to the transactional operation of user Transaction data;Second receiving unit is configured to receive the endorsement to Transaction Information that default endorsement node is sent and responds, and Whether confirmation endorsement response meets preset rules, wherein endorsement response is requested by endorsement node according to the endorsement that client is sent Endorsement generation is carried out, endorsement request includes Transaction Information;Block generation unit is configured in response to determine that endorsement response meets Preset rules generate block, and wherein block includes transaction data.
In some embodiments, the second receiving unit is further configured to: receiving in preset time period, default endorsement The endorsement to Transaction Information that node is sent responds.
In some embodiments, block generation unit is further configured to: if it is determined that endorsement response meets preset rules, Transaction data is stored in the tail of the queue of preset data queue;It is default to determine whether the quantity of the transaction data in data queue is greater than Threshold value;It is greater than preset quantity threshold value in response to the quantity of the transaction data in data queue, generates block.
In some embodiments, endorsement node is based on default endorsement strategy by client, chooses from multiple peer nodes.
In some embodiments, the second receiving unit is further configured to: determining whether above-mentioned endorsement response includes pre- If endorse node to the endorsement result of above-mentioned Transaction Information for by information;Or determine endorsement receive, indicated As a result for by the quantity of the corresponding endorsement node of endorsement response whether be more than or equal to preset threshold;Or determination receives , indicated endorsement result be by the corresponding endorsement node of endorsement response in whether include that weight is greater than default weight The endorsement node of threshold value.
In some embodiments, which further includes synchronization unit;Synchronization unit is configured to: block generated is same Multiple peer nodes are walked, so that each peer node confirms the transaction data in block.
The third aspect, the embodiment of the present application provide a kind of block generation system, which includes: client, is used for root Transaction Information is generated according to the transactional operation of user;And Transaction Information is sent to block and generates node, and will include transaction letter The endorsement request of breath is sent to default endorsement node;Wherein, Transaction Information include by client according to the transactional operation of user and The transaction data of generation;Endorsement node, for receiving the endorsement request of client transmission;To number of deals indicated by Transaction Information According to endorsing, endorsement response is generated;And endorsement response is sent to block and generates node;Wherein, endorsement request includes transaction Information;Block generates node, for receiving the Transaction Information that client is sent using such as any implementation in first aspect And the endorsement response of the Transaction Information of endorsement node transmission, and block is generated according to Transaction Information and endorsement response, wherein Block includes transaction data.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, which includes: one or more processing Device;Storage device is stored thereon with one or more programs, when said one or multiple programs are by said one or multiple processing When device executes, so that said one or multiple processors realize the method as described in implementation any in first aspect.
5th aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, In, the method as described in implementation any in first aspect is realized when which is executed by processor.
Block generation method provided by the embodiments of the present application, device and system pass through and receive the transaction letter that client is sent Breath receives the endorsement to Transaction Information that default endorsement node is sent and responds, and determines whether endorsement response meets preset rules, In response to determining that endorsement response meets preset rules, block is generated, wherein block includes above-mentioned transaction data.The embodiment of the present application In block generation method, compared to the existing block generation method mentioned in background technique, eliminate by endorsement node will The step of endorsement response is sent to client, and client verifies endorsement response, so that the process of block generation is simplified, The speed of block generation can be improved.It is possible to further increase the quantity of block chain network processing transaction data.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the block generation method of one embodiment of the application can be applied to exemplary system architecture therein Figure;
Fig. 2 is the flow chart according to one embodiment of the block generation method of the application;
Fig. 3 is a schematic diagram of the transaction flow being related to according to the block generation method of the application;
Fig. 4 is the flow chart according to another embodiment of the block generation method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the block generating means of the application;
Fig. 6 is the structural schematic diagram that one embodiment of system is generated according to the block of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
The block generation method that Fig. 1 shows one embodiment of the application can be applied to exemplary system frame therein Structure 100.
As shown in Figure 1, system architecture 100 may include client 101, node 102,103,104 of endorsing, block generates section Point 105 and network 106,107,108.Network 106 is to provide between client 101 and endorsement node 102,103,104 The medium of communication link, network 107 are logical to provide between endorsement node 102,103,104 and block generation node 105 Believe that the medium of link, network 108 are to provide the medium of communication link between node 105 to generate in client 101 and block. Network 106,107,108 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
Client 101 can be interacted by network 106 with endorsement node 102,103,104, to receive or send message etc.. Endorsement node 102,103,104 can install various block chain client applications, such as super account book client application etc..
Client 101 can be hardware, be also possible to software.When client 101 is hardware, can be with display screen And support the various electronic equipments of block chain, including but not limited to smart phone, tablet computer, pocket computer on knee and Desktop computer etc..When client 101 is software, may be mounted in above-mentioned cited electronic equipment.It can be real Ready-made multiple softwares or software module (such as providing the software of Distributed Services or software module), also may be implemented into list A software or software module.It is not specifically limited herein.
Endorsement node 102,103,104 can generate node 105 with block by network 107 and interact, to generate to block Node sends endorsement response, and endorsement node 102,103,103 can be various servers.
Block generate node 105 can by network 107 and endorsement node 102,103,104 interact, with reception or Message is sent, block generates node 105 and can interact by network 108 and client 101, to receive or send message.
Block, which generates node 105, can provide various services, such as the Transaction Information and back that send according to client 101 The endorsement response that book node 102,103,104 is sent, generates block.
It should be noted that block, which generates node 105, can be hardware, it is also possible to software.When block generates node 105 When for hardware, it can be realized, can also be realized by individual server by the distributed server cluster that multiple servers form.When Block generates node when being software, and multiple softwares or software module may be implemented into (such as providing the soft of Distributed Services Part or software module), single software or software module also may be implemented into.It is not specifically limited herein.
It is held it should be noted that block generation method provided by the embodiment of the present application generally generates node 105 by block Row, correspondingly, block generating means are generally positioned at block and generate in node 105.
It should be understood that it is only to illustrate that client, endorsement node in Fig. 1, block, which generate node and the number of network, Property.According to needs are realized, it can have any number of client, endorsement node, block and generate node and network.
With continued reference to Fig. 2, it illustrates the processes 200 according to one embodiment of the block generation method of the application.It should Block generation method, comprising the following steps:
Step 201, the Transaction Information that client is sent is received.
In the present embodiment, block chain network (such as super account book network) may include client node, multiple equities Node and block generate node.Above-mentioned multiple peer nodes can safeguard an account book jointly.On in application scenes Stating account book can be to include multiple be superimposed sequentially in time and generate lasting, not revisable transaction data record.
Above-mentioned client node may be generally referred to as client.In the present embodiment, client (such as visitor shown in FIG. 1 Family end) it is the final entity by user's operation.The function that client can be completed includes but is not limited to: (1) operation block link network Network, including the configuration of more new block chain network, start and stop peer node etc..(2) chain code of operation operation in a network, including installation, Transaction calling chain code is initiated in instantiation.Letter of identity can be obtained ahead of time in client.Client can pass through above-mentioned letter of identity Any peer node being linked in block chain, to realize above-mentioned function.Above-mentioned letter of identity for example can be by block link network The node that all certificates are managed in network generates.It may include signing messages, the client place of client in above-mentioned letter of identity Corresponding public key information of the essential informations such as position, client etc..
User can pass through client implementation transactional operation.Client can generate number of deals according to the transactional operation of user According to.Further, client can generate Transaction Information according to above-mentioned transaction data.Here transactional operation, which can be, leads to area The operation that the account book state of block chain changes.Transaction data can include but is not limited to user identifier, transaction ID, parameter transaction (such as transaction amount), exchange hour etc..
Here Transaction Information may include Contract ID, the contract method, friendship of transaction ID, the contract to be called of trading Easy data and client signature etc..Here transaction refers to the transaction initiated by the transactional operation of user.
Above-mentioned transaction ID is generated by client.Transaction ID can be used for distinguishing and determining that account book is held in transaction Capable operation.Above-mentioned transaction ID can be the character string being made of number and letter.It is right in application scenes In each transaction, it is corresponding to the exchange to operation performed by account book, above-mentioned transaction data that hash function can be used Etc. being handled, using obtained cryptographic Hash as the transaction ID of the transaction.
Above-mentioned client signature can be the signature that client is generated using the private key of itself.The private key of above-mentioned client can To be the cryptographic Hash generated using hash algorithm, it is also possible to the random number etc. generated using random number functions.
Above-mentioned Contract ID refers to the mark for the intelligent contract that each peer node in block chain is abided by jointly.Above-mentioned intelligence Contract can be operate in the application program in block chain network.In application scenes, above-mentioned intelligence contract is also known as chain Code.Chain code includes system chain code and user's chain code, and system chain code is used to realize the function of system level, the configuration including system, Deployment, the upgrading of user's chain code, the signature of customer transaction and authentication policy etc..The application function of user's chain code realization user.Chain Code can be compiled into an independent application program.Chain code can be using a variety of programming languages (such as Go language, Java language Speech, Nodejs language) it writes.In addition, preset interface (such as GetState and PutState interface) and each can be used in chain code Peer node is communicated to access data.
Block chain network may include multiple peer nodes.Peer node is divided by function, and may include following three kinds The peer node of type: transaction submits node, node of endorsing, determines node.For different Transaction Informations, any one equity Node may show as executing the peer node of different functions.For example, a peer node may be the transaction of A Transaction Information Submit node;In addition, the peer node be also possible to be B Transaction Information endorsement node;And the peer node may be A transaction The confirmation node of the confirmation node and B Transaction Information of information.
Here peer node can be any type of node in block chain network.Each peer node can be right Ying Yitai server can also correspond to the server of more cooperations.In addition, the peer node of multiple and different function types can be with It operates on the same physical server.Above-mentioned peer node has but is not limited to following characteristics: have certain memory space, Network is connected, there is visualized operation terminal, be block chain network interior joint.Wherein, memory space refers to electronic storage space, Including daily mobile hard disk, computer, USB flash disk etc..
Intelligent contract can be installed in advance in each peer node.For any one Transaction Information, believe with the transaction The endorsement node ceased in corresponding peer node can call intelligent contract to verify the Transaction Information.
Here block generates node, also known as ordering joint.It is block chain network (such as alliance's link network that block, which generates node, Network) in all transaction data for meeting preset rules carry out global sequences, and by the transaction data combination producing after a batch sequence Block structure.
In the present embodiment, the executing subject (such as block shown in FIG. 1 generates node) of block generation method can connect Receive the Transaction Information that client is sent by wired connection mode or radio connection.Above-mentioned Transaction Information may include visitor The transaction data that family end is generated according to the transactional operation of user.In addition, above-mentioned Transaction Information can also include that transactional operation indicates The corresponding transaction ID of transaction, the contract to be called of trading Contract ID, contract method, transaction data and client label Name etc..
Step 202, it receives the endorsement to Transaction Information that default endorsement node is sent to respond, and whether determines endorsement response Meet preset rules.
In block chain network, transaction data indicated by the Transaction Information that any one client is initiated is needed by one Or multiple endorsement nodes are verified.
In the present embodiment, above-mentioned default endorsement node may include by least one preset endorsement section of client Point.In application scenes, client can be called in intelligent contract before sending Transaction Information to above-mentioned executing subject At least one endorsement node to determine to endorse for above-mentioned Transaction Information from multiple peer nodes of endorsement strategy.? That is above-mentioned default endorsement node is based on default endorsement strategy by client in these application scenarios, from multiple equities It is chosen in endorsement node.Further, client may include above-mentioned pre- in the Transaction Information sent to above-mentioned executing subject If the identification information for node of endorsing.
In the present embodiment, above-mentioned Transaction Information can be sent to identified each default endorsement section by above-mentioned client Point.
After above-mentioned default endorsement node receives the above-mentioned Transaction Information of client transmission, the correlation in intelligent contract can be called Code simulation executes transaction indicated by Transaction Information.Such as endorsement node using the transaction data in Transaction Information as input, Simulation executes transaction on itself corresponding account book, generates comprising executing return value, read operation set and write operation intersection of sets Easy result (not will be updated account book at this time).Above-mentioned endorsement node can tie above-mentioned read operation set and write operation set, endorsement Fruit (by or do not pass through) and endorsement node signature be packaged, thus generate endorsement response.In addition, above-mentioned endorsement is rung It should can also include the mark and transaction ID of the corresponding client of above-mentioned Transaction Information.
The signature of above-mentioned endorsement node can be generated by endorsement node according to its corresponding private key.The private of above-mentioned endorsement node Key can be the cryptographic Hash generated by hash algorithm, or the random number generated by random number generation function.
Endorsement node can will be sent to above-mentioned executing subject to the endorsement of above-mentioned Transaction Information response.
Above-mentioned executing subject can receive the endorsement to Transaction Information that each default endorsement node is sent and respond, and then determine Whether endorsement response meets preset rules.
In practice, above-mentioned executing subject can by the corresponding client identification of the Transaction Information received in step 201, Transaction ID, the client identification and trading standard in endorsement response sent with the default endorsement node received in this step Knowledge is matched, if successful match, further determines that whether endorsement response meets preset rules.
In some optional implementations of the present embodiment, whether above-mentioned determining endorsement response meets preset rules, can With comprise determining that above-mentioned endorsement response whether include default endorsement node to the endorsement result of above-mentioned Transaction Information for by letter Breath, however, it is determined that endorsement response include default endorsement node to the endorsement result of Transaction Information be by information, it is determined that endorse Response meets preset rules;Or determine endorsement result receive, indicated be by endorsement response corresponding to back Whether the quantity of book node is more than or equal to preset threshold, however, it is determined that endorsement result receive, indicated be by endorsement The quantity of the corresponding endorsement node of response is more than or equal to preset threshold, it is determined that endorsement response meets preset rules;Or really Surely endorsement result receive, indicated be by the corresponding endorsement node of endorsement response in whether be greater than including weight The endorsement node of default weight threshold;If it is determined that receive, indicated endorsement result be by endorsement response corresponding to Endorsement node in include endorsement node that weight is greater than default weight threshold, it is determined that endorsement response meets preset rules.
In the optional implementation of other of the present embodiment, whether above-mentioned determining endorsement response meets default rule It then, may include: to determine whether the signature in responding of endorsing matches with endorsement node using the corresponding public key of endorsement node.Its In, the signature in endorsement response is based on its corresponding private key by endorsement node and generates.
In these optional implementations, the executing subject of block generation method (such as block shown in FIG. 1 generates section Point), after receiving endorsement corresponding with the Transaction Information response that a default endorsement node is sent, the default back can be used The corresponding public key of book node, come determine the endorsement node in above-mentioned endorsement response signature whether with the default endorsement node phase Match.If matching, the endorsement of above-mentioned Transaction Information indicated in above-mentioned endorsement response is further determined that the result is that passing through, or Do not pass through.
It should be noted that the method for above-mentioned determining endorsement node, and endorse what node verified Transaction Information Method is the well-known technique studied and applied extensively at present, and details are not described herein.
Step 203, in response to determining that endorsement response meets preset rules, block is generated, wherein block includes above-mentioned transaction Data.
In the present embodiment, in response to determining that endorsement response meets preset rules, block is can be generated in above-mentioned executing subject. It include the transaction data in above-mentioned Transaction Information in block generated.
In the present embodiment, above-mentioned block can include but is not limited to following data: current block number is corresponding, according to Kazakhstan The cryptographic Hash that uncommon algorithm obtains, the corresponding cryptographic Hash of a upper block number, timestamp and a plurality of transaction data.
It is above-mentioned in response to determining that endorsement response meets preset rules in some optional implementations of the present embodiment, Block is generated, may include steps of:
Firstly, transaction data to be stored in the team of preset data queue in response to determining that endorsement response meets preset rules Tail.
In these optional implementations, above-mentioned preset data queue be used to store corresponding endorsement response meet it is pre- If the corresponding transaction data of Transaction Information of rule.
Secondly, determining whether the quantity of the transaction data in data queue is greater than preset threshold.
In these optional implementations, a transaction data can be stored in preset data team by upper executing subject When the tail of the queue of column, it can determine whether the quantity of the transaction data stored in data queue is greater than preset threshold.It is above-mentioned default Threshold value can be any positive integer.Above-mentioned preset threshold can be set according to specific application scenarios, herein without limitation.
Finally, the quantity in response to the transaction data in data queue is greater than preset threshold, block is generated.
It is a schematic diagram of the transaction flow being related to according to the block generation method of the application with continued reference to Fig. 3, Fig. 3 300.In the transaction flow schematic diagram of Fig. 3, client generates Transaction Information according to the transactional operation of user.Client can be adjusted At least one endorsement node endorsed to above-mentioned Transaction Information is determined with intelligent contract: endorsement node 1, endorsement node 2, back Book node 3.Above-mentioned client can will include client identification, Transaction Information mark, the mark of transaction data and node 1 of endorsing Know, the Transaction Information 301 ' of the mark of endorsement node 2, the mark for node 2 of endorsing is sent to block generation node and is sorted in advance. Client will generate the transaction of the mark of node including client identification, Transaction Information mark, transaction data and block simultaneously Information 301 is sent to endorsement node 1, endorsement node 2 and endorsement node 3.Endorsing node 1, endorsement node 2 and endorsement node 3 can To call chain code to verify Transaction Information, and endorsement response is generated, endorsement response may include testing Transaction Information Demonstrate,prove obtain be verified or it is unacceptable endorsement result and endorse node signature.Endorse node 1, endorsement node 2 and The block that respective endorsement response is sent to Transaction Information instruction is generated node respectively by endorsement node 3.Above-mentioned block generates section Point receives endorsement node 1, endorsement node 2 and endorsement that node 3 is sent, with the transaction information match sent by client of endorsing Response, and determine whether endorsement response meets preset rules, if above-mentioned endorsement response meets preset rules, according to above-mentioned transaction Information and above-mentioned endorsement response generate block.
The method provided by the above embodiment of the application, by the way that Transaction Information is sent to endorsement node simultaneously by client Node is generated with block, then block generates node and believes according to what above-mentioned Transaction Information and endorsement node were sent above-mentioned transaction The endorsement response of breath generates block.It is provided in this embodiment compared to the existing block generation method mentioned in background technique Method eliminates the step of endorsement response is sent to client by endorsement node and client and verifies to endorsement response The step of, to simplify the process of block generation, the speed of block generation can be improved.It is possible to further increase block The quantity of chain network processing transaction data.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of block generation method.The block generates The process 400 of method, comprising the following steps:
Step 401, the Transaction Information that client is sent is received.
Step 401 is identical as the step 201 of embodiment illustrated in fig. 2, does not repeat herein.
Step 402, the endorsement to Transaction Information that in preset time period, default endorsement node is sent is received to respond, and Determine whether endorsement response meets preset rules.
In the present embodiment, (such as block shown in FIG. 1 is raw in the executing subject to block generation method for above-mentioned client At node) transmitted by Transaction Information in carry the information for being used to indicate the mark of default endorsement node.Here endorsement section Point identification can be used for distinguishing different endorsement nodes, and the mark for node of endorsing can be a series of numbers, symbol or letter, or Person's endorsement node identification is made of number, symbol and letter.
In the present embodiment, after above-mentioned executing subject has received the Transaction Information of client transmission in step 401, It can be sorted in advance to above-mentioned Transaction Information.Here pre- sequence for example may include above-mentioned Transaction Information is put into it is default In storage region.
In addition, after above-mentioned executing subject has received the Transaction Information of client transmission in step 401, above-mentioned execution Main body can monitor the endorsement response that the specified endorsement node of above-mentioned Transaction Information is sent, and respond corresponding client according to endorsement End mark and transaction ID come determine endorsement that endorsement node is sent respond whether with sorting in advance, above-mentioned client is preparatory It is sent to the transaction information match of above-mentioned executing subject.
Above-mentioned executing subject can determine within a preset period of time, the endorsement response that is sent by default endorsement node whether With above-mentioned transaction information match.
Above-mentioned preset time period for example can be 5 minutes.Above-mentioned preset time period can according to specific application scenarios into Row setting, herein without limiting.
Further, however, it is determined that within a preset period of time, the endorsement response and above-mentioned friendship that are sent by default endorsement node Whether easy information matches, the endorsement response that above-mentioned executing subject can determine that above-mentioned default endorsement node is sent meet default rule Then.
For example, determining whether above-mentioned endorsement response is to pass through to above-mentioned Transaction Information endorsement result including default endorsement node Information, if include default endorsement node to above-mentioned Transaction Information endorsement result be by information, it is determined that endorsement responder Close preset rules.
In another example determine the indicated endorsement result of received endorsement response for by the quantity of endorsement node be It is no to be more than or equal to preset threshold, however, it is determined that the indicated endorsement result of received endorsement response be by node of endorsing Quantity is more than or equal to preset threshold, it is determined that endorsement response meets preset rules;
In another example determine the indicated endorsement result of received endorsement response for by endorsement node in whether wrap The endorsement node that weight is greater than default weight threshold is included, if including the endorsement node that weight is greater than default weight threshold, it is determined that Endorsement response meets preset rules.
Step 403, in response to determining that endorsement response meets preset rules, block is generated, wherein block includes above-mentioned transaction Data.
Step 403 is identical as the step 203 of embodiment illustrated in fig. 2, does not repeat herein.
In addition, in the present embodiment, if the endorsement response of received default endorsement node is not within a preset period of time Meet preset rules, above-mentioned executing subject can give up above-mentioned Transaction Information.So, above-mentioned executing subject can be with above-mentioned Preset time period is time restriction, if receiving the endorsement response for meeting the endorsement node of preset rules within a preset period of time, Then generate block;Otherwise, above-mentioned Transaction Information is abandoned.Therefore, the time point except preset time period, above-mentioned executing subject is not It needs to wait and be responded with the endorsement of the endorsement node of the transaction information match.So as to increase executing subject for handling other The time of Transaction Information, to improve the efficiency of block generation.
Figure 4, it is seen that compared with the corresponding embodiment of Fig. 2, the process of the block generation method in the present embodiment 400 highlight the step of endorsement to Transaction Information that endorsement node receive in preset time period, default is sent responds.By This, the scheme of the present embodiment description can to receive within a preset period of time, default endorsement node generates and Transaction Information Corresponding endorsement response is verified, and gives up the transaction letter for not meeting the endorsement response of preset rules within a preset period of time Breath, so as to avoid due to the resource occupation caused by the endorsement response for generating block duration time waiting endorsement node;It can To further speed up the efficiency of block generation.
In some optional implementations of each embodiment of block generation method of the application, embodiment illustrated in fig. 2 and The block generation method of embodiment illustrated in fig. 4 may further include following steps:
Block generated is synchronized to multiple peer nodes, so that each peer node carries out the transaction data in block Confirmation.
In these optional implementations, the executing subject of block generation method (such as block shown in FIG. 1 generates section Point) block that the block generation step of embodiment according to Fig.2, or embodiment illustrated in fig. 4 generates can be synchronized to block chain Multiple peer nodes in network.Here multiple peer nodes can be used as the confirmation node confirmed to transaction data. Above-mentioned each peer node can confirm the transaction data in above-mentioned block according to default confirmation method.
The transaction data in block is confirmed for example, existing various confirmation nodes can be used in above-mentioned peer node Method, to confirm the transaction data in above-mentioned block.The side that above-mentioned confirmation node confirms the transaction data in block Method is the well-known technique studied and applied extensively at present, is not repeated herein.
It generates and fills this application provides a kind of block as the realization to method shown in above-mentioned each figure with further reference to Fig. 5 The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively In kind electronic equipment.
As shown in figure 5, the block generating means 500 of the present embodiment include: the first receiving unit 501, the second receiving unit 502 and block generation unit 503.Wherein, the first receiving unit 501 is configured to receive the Transaction Information of client transmission, hands over Easy information includes the transaction data generated by client according to the transactional operation of user;Second receiving unit 502, is configured to It receives the endorsement to Transaction Information that default endorsement node is sent to respond, and determines whether endorsement response meets preset rules, In, the endorsement request that endorsement response is sent by endorsement node according to client carries out endorsement generation, and endorsement request includes transaction letter Breath;Block generation unit 503 is configured in response to determine that endorsement response meets preset rules, generates block, wherein block packet Include transaction data.
In the present embodiment, the first receiving unit 501, the second receiving unit 502 and block of block generating means 500 are raw It can be respectively with reference to step 201, step in Fig. 2 corresponding embodiment at the specific processing of unit 503 and its brought technical effect 202 and step 203 related description, details are not described herein.
In some optional implementations of the present embodiment, the second receiving unit 502 is further configured to: being received pre- If the endorsement to Transaction Information that in the period, default endorsement node is sent responds.
In some optional implementations of the present embodiment, block generation unit 503 is further configured to: if it is determined that Endorsement response meets preset rules, and transaction data is stored in the tail of the queue of preset data queue;Determine the transaction in data queue Whether the quantity of data is greater than preset threshold;It is greater than preset quantity threshold value in response to the quantity of the transaction data in data queue, Generate block.
In some optional implementations of the present embodiment, endorsement node is based on default endorsement strategy by client, from It is chosen in multiple peer nodes.
In some optional implementations of the present embodiment, the second receiving unit 502 is further configured to: in determination State endorsement response whether include default endorsement node to the endorsement result of above-mentioned Transaction Information for by information;Or determination connects Endorsement result receive, indicated be by the corresponding endorsement node of endorsement response quantity whether be more than or equal to it is default Threshold value;Or determine endorsement result receive, indicated be by endorsement response corresponding in endorsement node whether It is greater than the endorsement node of default weight threshold including weight.
In some optional implementations of the present embodiment, block generating means 500 further include synchronization unit (in figure not It shows).Above-mentioned synchronization unit is configured to: block generated being synchronized to multiple peer nodes, so that each peer node pair Transaction data in block is confirmed.
The schematic diagram that a kind of block provided by the embodiments of the present application generates system is shown with further reference to Fig. 6, Fig. 6.Such as Shown in Fig. 6, it includes: that client 601, endorsement node 602,603,604 and block generate node 605 that block, which generates system 600,.
Transaction Information for generating Transaction Information according to the transactional operation of user, and is sent to block life by client 601 Default endorsement node 602,603,604 is sent at node 605, and by the endorsement request including Transaction Information;Wherein, it trades Information includes the transaction data generated by client according to the transactional operation of user.
Endorsement node 602,603,604, for receiving the endorsement request of the transmission of client 601, to indicated by Transaction Information Transaction data endorse, generate endorsement response, and will endorsement response be sent to block generate node 605;Wherein, endorsement is asked It asks including Transaction Information.
Block generates node 605, for receiving client using the method for embodiment as shown in Figure 2 or embodiment illustrated in fig. 4 The endorsement response for the Transaction Information that the Transaction Information and endorsement node 602,603,604 that end 601 is sent are sent, and according to transaction Information and endorsement response generate block, wherein block includes above-mentioned transaction data.
In addition, block, which generates node 605, can be sent to the block of generation each endorsement node 602,603,604, so that Each transaction data in each endorsement 602,603,604 pairs of above-mentioned blocks of node confirms.
Above-mentioned client 601, endorsement node 602,603,604 and block generate the explanation of node 605, can be with reference to figure The explanation that node is generated about client, endorsement node and block in 2 illustrated embodiments, does not repeat herein.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the electronic equipment for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 7 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU, Central Processing Unit) 701, it can be according to the program being stored in read-only memory (ROM, Read Only Memory) 702 or from storage section 706 programs being loaded into random access storage device (RAM, Random Access Memory) 703 and execute various appropriate Movement and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.CPU 701,ROM 702 and RAM 703 is connected with each other by bus 704.Input/output (I/O, Input/Output) interface 705 is also connected to Bus 704.
I/O interface 705 is connected to lower component: the storage section 706 including hard disk etc.;And including such as LAN (local Net, Local Area Network) card, modem etc. network interface card communications portion 707.Communications portion 707 passes through Communication process is executed by the network of such as internet.Driver 708 is also connected to I/O interface 705 as needed.Detachable media 709, such as disk, CD, magneto-optic disk, semiconductor memory etc., are mounted on as needed on driver 708, in order to from The computer program read thereon is mounted into storage section 706 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 707, and/or from detachable media 709 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service Quotient is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include the first receiving unit, the second receiving unit and block generation unit.Wherein, the title of these units is not under certain conditions The restriction to the unit itself is constituted, for example, the first receiving unit is also described as " receiving the Transaction Information that client is sent Unit ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: the Transaction Information that client is sent is received, Transaction Information includes being generated by client according to the transactional operation of user Transaction data;It receives the endorsement to Transaction Information that default endorsement node is sent to respond, and it is pre- to determine whether endorsement response meets If regular, wherein the endorsement request that endorsement response is sent by endorsement node according to client carries out endorsement generation, request packet of endorsing Include Transaction Information;In response to determining that endorsement response meets preset rules, block is generated, wherein block includes transaction data.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (15)

1. a kind of block generation method, comprising:
The Transaction Information that client is sent is received, the Transaction Information includes being generated by client according to the transactional operation of user Transaction data;
It receives the endorsement to the Transaction Information that default endorsement node is sent to respond, and determines whether the endorsement response meets Preset rules, wherein the endorsement request that the endorsement response is sent by endorsement node according to the client carries out endorsement generation, The endorsement request includes the Transaction Information;
Meet preset rules in response to the determination endorsement response, block is generated, wherein the block includes the transaction data.
2. according to the method described in claim 1, wherein, it is described receive that default endorsement node sends to the Transaction Information Endorsement response, comprising:
The endorsement to the Transaction Information that in preset time period, default endorsement node is sent is received to respond.
3. according to the method described in claim 1, wherein, described respond in response to the determination endorsement meets preset rules, raw At block, comprising:
Meet preset rules in response to the determination endorsement response, the transaction data is stored in the team of preset data queue Tail;
Determine whether the quantity of the transaction data in the data queue is greater than preset threshold;
It is greater than preset quantity threshold value in response to the quantity of the transaction data in the data queue, generates block.
4. the endorsement node is based on default endorsement strategy by client according to the method described in claim 1, wherein, from more It is chosen in a peer node.
5. according to the method described in claim 1, wherein, whether the determination endorsement response meets preset rules, comprising:
Determine above-mentioned endorsement response whether include the default endorsement node to the endorsement result of above-mentioned Transaction Information for by Information;Or
Determine endorsement result receive, indicated be by the corresponding node of endorsing of endorsement response quantity it is whether big In equal to preset threshold;Or
Determine endorsement result receive, indicated be by the corresponding endorsement node of endorsement response in whether include weighing The great endorsement node in default weight threshold.
6. according to the method described in claim 1, wherein, the method also includes:
Block generated is synchronized to multiple peer nodes, so that each peer node is to the transaction data in the block Confirmed.
7. a kind of block generating means, comprising:
First receiving unit is configured to receive the Transaction Information of client transmission, and the Transaction Information includes by client root The transaction data generated according to the transactional operation of user;
Second receiving unit is configured to receive the endorsement to the Transaction Information that default endorsement node is sent and responds, and really Whether the fixed endorsement response meets preset rules, wherein the endorsement response is sent by endorsement node according to the client Endorsement request carry out endorsement generation, the endorsement request includes the Transaction Information;
Block generation unit is configured in response to determine that the endorsement response meets preset rules, block is generated, wherein described Block includes the transaction data.
8. device according to claim 7, wherein second receiving unit is further configured to:
The endorsement to the Transaction Information that in preset time period, default endorsement node is sent is received to respond.
9. device according to claim 7, wherein the block generation unit is further configured to:
If it is determined that the endorsement response meets preset rules, the transaction data is stored in the tail of the queue of preset data queue;
Determine whether the quantity of the transaction data in the data queue is greater than preset threshold;
It is greater than preset quantity threshold value in response to the quantity of the transaction data in the data queue, generates block.
10. device according to claim 7, wherein the endorsement node is based on default endorsement strategy by client, from more It is chosen in a peer node.
11. device according to claim 7, wherein second receiving unit is further configured to:
Determine above-mentioned endorsement response whether include the default endorsement node to the endorsement result of above-mentioned Transaction Information for by Information;Or
Determine endorsement result receive, indicated be by the corresponding node of endorsing of endorsement response quantity it is whether big In equal to preset threshold;Or
Determine endorsement result receive, indicated be by the corresponding endorsement node of endorsement response in whether include weighing The great endorsement node in default weight threshold.
12. device according to claim 7, wherein described device further includes synchronization unit;
The synchronization unit is configured to:
Block generated is synchronized to multiple peer nodes, so that each peer node is to the transaction data in the block Confirmed.
13. a kind of generation tile system, comprising:
Client, for generating Transaction Information according to the transactional operation of user;And the Transaction Information is sent to block and is generated Node, and the endorsement request including the Transaction Information is sent to default endorsement node;Wherein, the Transaction Information includes The transaction data generated by client according to the transactional operation of user;
Endorsement node, for receiving the endorsement request of client transmission;It endorses to transaction data indicated by Transaction Information, Generate endorsement response;And endorsement response is sent to block and generates node;Wherein, the endorsement request includes that the transaction is believed Breath;
Block generates node, the Transaction Information for being sent using the client as described in receiving the method for one of claim 1-6 And the endorsement response of the Transaction Information of the endorsement node transmission, and according to the Transaction Information and endorsement response life At block, wherein the block includes the transaction data.
14. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 6.
15. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor Such as method as claimed in any one of claims 1 to 6.
CN201811181724.5A 2018-10-11 2018-10-11 Block generation method, device and system Active CN109146490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811181724.5A CN109146490B (en) 2018-10-11 2018-10-11 Block generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811181724.5A CN109146490B (en) 2018-10-11 2018-10-11 Block generation method, device and system

Publications (2)

Publication Number Publication Date
CN109146490A true CN109146490A (en) 2019-01-04
CN109146490B CN109146490B (en) 2023-04-07

Family

ID=64811545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811181724.5A Active CN109146490B (en) 2018-10-11 2018-10-11 Block generation method, device and system

Country Status (1)

Country Link
CN (1) CN109146490B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858908A (en) * 2019-01-09 2019-06-07 暨南大学 Alliance's chain building method, method of commerce and distributed supply chain system
CN110223170A (en) * 2019-05-15 2019-09-10 北京瑞卓喜投科技发展有限公司 The distributing method and system of the logical card of security type based on alliance's chain
CN110233823A (en) * 2019-05-06 2019-09-13 深圳壹账通智能科技有限公司 Block chain implementation method, system and storage medium
CN110365685A (en) * 2019-07-18 2019-10-22 恒生电子股份有限公司 A kind of data processing method, device, equipment and computer readable storage medium
CN110555769A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 Block chain transaction data processing method and device, computer equipment and storage medium
CN110659907A (en) * 2019-09-24 2020-01-07 北京海益同展信息科技有限公司 Method and device for executing intelligent contracts
CN110992030A (en) * 2019-12-03 2020-04-10 银清科技有限公司 Transaction method and system based on super account book fabric
CN111078696A (en) * 2019-12-04 2020-04-28 杭州复杂美科技有限公司 Block generation method, device and storage medium
CN111127005A (en) * 2019-11-18 2020-05-08 远光软件股份有限公司 Transaction endorsement method for block chain, electronic device and storage medium
CN111563744A (en) * 2020-04-21 2020-08-21 杭州趣链科技有限公司 Method for verifying Fabric complex endorsement policy in cross-chain
CN111831739A (en) * 2019-04-19 2020-10-27 国际商业机器公司 Database composite endorsement
CN112039987A (en) * 2020-08-28 2020-12-04 平安科技(深圳)有限公司 Method and device for processing blocks in block chain, node equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain
CN108009917A (en) * 2017-10-13 2018-05-08 中国银联股份有限公司 The transaction verification and register method and system of digital cash
WO2018119930A1 (en) * 2016-12-29 2018-07-05 深圳前海达闼云端智能科技有限公司 Transaction verification processing method, apparatus and node device
CN108376368A (en) * 2018-03-07 2018-08-07 物数(上海)信息科技有限公司 Endorsement strategy determines method, apparatus, electronic equipment, storage medium
WO2018172439A1 (en) * 2017-03-22 2018-09-27 NEC Laboratories Europe GmbH Method for operating a blockchain
CN108595126A (en) * 2018-04-27 2018-09-28 腾讯科技(深圳)有限公司 Data-storage system, querying method, inquiry unit, server and storage medium
CN108632381A (en) * 2018-05-14 2018-10-09 济南浪潮高新科技投资发展有限公司 A kind of environment measure of supervision and system based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018119930A1 (en) * 2016-12-29 2018-07-05 深圳前海达闼云端智能科技有限公司 Transaction verification processing method, apparatus and node device
WO2018172439A1 (en) * 2017-03-22 2018-09-27 NEC Laboratories Europe GmbH Method for operating a blockchain
CN107451874A (en) * 2017-07-27 2017-12-08 武汉天喻信息产业股份有限公司 Electronic invoice integrated conduct method and system based on block chain
CN108009917A (en) * 2017-10-13 2018-05-08 中国银联股份有限公司 The transaction verification and register method and system of digital cash
CN108376368A (en) * 2018-03-07 2018-08-07 物数(上海)信息科技有限公司 Endorsement strategy determines method, apparatus, electronic equipment, storage medium
CN108595126A (en) * 2018-04-27 2018-09-28 腾讯科技(深圳)有限公司 Data-storage system, querying method, inquiry unit, server and storage medium
CN108632381A (en) * 2018-05-14 2018-10-09 济南浪潮高新科技投资发展有限公司 A kind of environment measure of supervision and system based on block chain

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858908A (en) * 2019-01-09 2019-06-07 暨南大学 Alliance's chain building method, method of commerce and distributed supply chain system
CN109858908B (en) * 2019-01-09 2021-07-27 暨南大学 Alliance chain construction method, transaction method and distributed supply chain system
CN111831739A (en) * 2019-04-19 2020-10-27 国际商业机器公司 Database composite endorsement
CN110233823A (en) * 2019-05-06 2019-09-13 深圳壹账通智能科技有限公司 Block chain implementation method, system and storage medium
CN110223170A (en) * 2019-05-15 2019-09-10 北京瑞卓喜投科技发展有限公司 The distributing method and system of the logical card of security type based on alliance's chain
CN110365685A (en) * 2019-07-18 2019-10-22 恒生电子股份有限公司 A kind of data processing method, device, equipment and computer readable storage medium
CN110555769A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 Block chain transaction data processing method and device, computer equipment and storage medium
CN110659907A (en) * 2019-09-24 2020-01-07 北京海益同展信息科技有限公司 Method and device for executing intelligent contracts
CN111127005A (en) * 2019-11-18 2020-05-08 远光软件股份有限公司 Transaction endorsement method for block chain, electronic device and storage medium
CN110992030A (en) * 2019-12-03 2020-04-10 银清科技有限公司 Transaction method and system based on super account book fabric
CN111078696A (en) * 2019-12-04 2020-04-28 杭州复杂美科技有限公司 Block generation method, device and storage medium
CN111563744A (en) * 2020-04-21 2020-08-21 杭州趣链科技有限公司 Method for verifying Fabric complex endorsement policy in cross-chain
CN111563744B (en) * 2020-04-21 2023-05-26 杭州趣链科技有限公司 Method for verifying Fabric complex endorsement policy in cross-chain
CN112039987A (en) * 2020-08-28 2020-12-04 平安科技(深圳)有限公司 Method and device for processing blocks in block chain, node equipment and storage medium

Also Published As

Publication number Publication date
CN109146490B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN109146490A (en) block generation method, device and system
JP2023164828A (en) Transaction account data maintenance using blockchain
CN108985757A (en) Information processing method, apparatus and system, storage medium, electronic equipment
CN109522362A (en) Incomplete markets synchronous method, system and equipment based on block chain data
CN109995877A (en) Information-pushing method and device
CN113409045B (en) Data processing method and device based on block chain and electronic equipment
CN108846753A (en) Method and apparatus for handling data
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN108390872A (en) Certificate management method, device, medium and electronic equipment
CN109492013A (en) Data processing method, device and system applied to data-base cluster
CN113657900A (en) Cross-chain transaction verification method and system and cross-chain transaction system
CN110400217A (en) The regular changing process method and device of intelligent contract
CN114567643B (en) Cross-blockchain data transfer method, device and related equipment
CN110910143A (en) Identity identification generation method, device, related node and medium
CN109005208A (en) Method and apparatus for pushed information
CN109325744A (en) Payment processing method, device, medium and electronic equipment
CN110516463A (en) Method and apparatus for generating information
CN111709857B (en) House resource sharing method and device and electronic equipment
CN109995775A (en) Block chain identifying code application method, equipment and storage medium
CN109410063A (en) Transaction processing method, device and storage medium based on block chain
CN111951112A (en) Intelligent contract execution method based on block chain, terminal equipment and storage medium
CN110059097B (en) Data processing method and device
CN112348197A (en) Model generation method and device based on federal learning
CN110473108B (en) Method and device for generating contracts based on block chain
CN112667753A (en) Method for excavating entity node path and computer equipment

Legal Events

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