CN109101664A - A kind of data transmission method, device, equipment and the medium of lightweight node - Google Patents

A kind of data transmission method, device, equipment and the medium of lightweight node Download PDF

Info

Publication number
CN109101664A
CN109101664A CN201811087950.7A CN201811087950A CN109101664A CN 109101664 A CN109101664 A CN 109101664A CN 201811087950 A CN201811087950 A CN 201811087950A CN 109101664 A CN109101664 A CN 109101664A
Authority
CN
China
Prior art keywords
data
node
block
lightweight
lightweight node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811087950.7A
Other languages
Chinese (zh)
Other versions
CN109101664B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811087950.7A priority Critical patent/CN109101664B/en
Publication of CN109101664A publication Critical patent/CN109101664A/en
Application granted granted Critical
Publication of CN109101664B publication Critical patent/CN109101664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses data transmission method, device, equipment and the media of a kind of lightweight node.This method is applied to lightweight node, comprising: lightweight data transfer request is sent at least one full node, to request full node to exclude the transmission of lightweight node dereferenced Transaction Information;Receive the data including block head and lightweight node association affairs data that full node is sent;The data received are verified.Above-mentioned technical proposal is by way of excluding lightweight node dereferenced Transaction Information, the data to be received to lightweight node are screened, the volume of transmitted data for reducing lightweight node, optimizes data transfer mode, reduces the performance requirement to lightweight node.

Description

A kind of data transmission method, device, equipment and the medium of lightweight node
Technical field
The present embodiments relate to block chain data communication technology more particularly to a kind of transmission side datas of lightweight node Method, device, equipment and medium.
Background technique
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm Application model.Each node is required to the total data of memory block chain in block chain network, and this kind of node can be described as full node.
With the progress of block chain technology and the demand of application scenarios, the concept of lightweight node has been gradually appeared.Gently Magnitude node is only storage section block chain data, such as only memory block build relative to the difference of full node, not memory block Thus body mitigates the requirement to node hardware equipment.
But the operation rule based on block chain, high requirement still is proposed to the performance of lightweight node various aspects, Such as data computing capability, data transmission capabilities etc., limit the popularization and application of lightweight node.
Summary of the invention
The embodiment of the present invention provides data transmission method, device, equipment and the medium of a kind of lightweight node, to optimize number According to transmission mode, the performance requirement to lightweight node is reduced.
In a first aspect, being applied to lightweight the embodiment of the invention provides a kind of data transmission method of lightweight node Node, this method comprises:
Lightweight data transfer request is sent at least one full node, to request the full node to exclude the lightweight The transmission of node dereferenced Transaction Information;
Receive the data that the full node is sent, wherein the data include: block head and lightweight node association affairs Data;
The data received are verified.
Second aspect, the embodiment of the invention also provides a kind of data transmission methods of lightweight node, are applied to full section Point, this method comprises:
Receive the lightweight data transfer request that lightweight node is sent;
According to the lightweight data transfer request, block to be transmitted is determined;
The lightweight node association affairs data are extracted from the block;
By the block head of the block and lightweight node association affairs data, it is sent to the lightweight node.
The third aspect, the embodiment of the invention also provides a kind of data transmission devices of lightweight node, are configured at light weight Grade node, the device include:
Request sending module is described complete to request for sending lightweight data transfer request at least one full node Node excludes the transmission of the lightweight node dereferenced Transaction Information;
Data reception module, the data sent for receiving the full node, wherein the data include: block head and Lightweight node association affairs data;
Data Verification module, for being verified to the data received.
Fourth aspect, the embodiment of the invention also provides a kind of data transmission devices of lightweight node, are configured at full section Point, the device include:
Request receiving module, for receiving the lightweight data transfer request of lightweight node transmission;
Block determining module, for determining block to be transmitted according to the lightweight data transfer request;
Data extraction module, for extracting the lightweight node association affairs data from the block;
Data transmission blocks, for being sent to institute for the block head of the block and lightweight node association affairs data State lightweight node.
5th aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes a kind of data transmission method of lightweight node as provided by first aspect embodiment.
6th aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes a kind of data transmission method of lightweight node as provided by second aspect embodiment.
7th aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes a kind of data transmission of lightweight node as provided by first aspect embodiment when the program is executed by processor Method.
Eighth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes a kind of data transmission of lightweight node as provided by second aspect embodiment when the program is executed by processor Method.
Lightweight of embodiment of the present invention node sends lightweight data transfer request at least one full node, please demand perfection The transmission of node exclusion lightweight node dereferenced Transaction Information;Receive full node transmission includes block head and lightweight node The data of association affairs data;The data received are verified.Above-mentioned technical proposal is by excluding the non-pass of lightweight node Join the mode of Transaction Information, the data to be received to lightweight node are screened, and the data transmission of lightweight node is reduced Amount, optimizes data transfer mode, reduces the performance requirement to lightweight node.
Detailed description of the invention
Fig. 1 is the flow chart of the data transmission method of one of embodiment of the present invention one lightweight node;
Fig. 2 is the flow chart of the data transmission method of one of embodiment of the present invention two lightweight node;
Fig. 3 is the flow chart of the data transmission method of one of embodiment of the present invention three lightweight node;
Fig. 4 is the flow chart of the data transmission method of one of embodiment of the present invention four lightweight node;
Fig. 5 is the structure chart of the data transmission device of one of embodiment of the present invention five lightweight node;
Fig. 6 is the structure chart of the data transmission device of one of embodiment of the present invention six lightweight node;
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention seven provides.
Specific embodiment
The present invention 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 the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the data transmission method of one of embodiment of the present invention one lightweight node.The present invention is real The case where example is applicable to full node to lightweight node transmission data is applied, this method can be transmitted by the data of lightweight node Device executes, and the device is by software and or hardware realization, and concrete configuration is in the electronic equipment for carrying lightweight node In.
The data transmission method of lightweight node as shown in Figure 1, comprising:
S110, lightweight data transfer request is sent at least one full node, to request described in the full node exclusion The transmission of lightweight node dereferenced Transaction Information.
Wherein, lightweight node is different from the full node in block chain network, not fully stores the number of all block chains According to therefore, when needing intact block chain or need newly-increased one or more block datas or need query history block counts According to when, then initiate lightweight data transfer request.For example, user belonging to lightweight node, which may infrequently be in, enlivens shape State, so-called active state refer to generation or processing transactions requests, then, lightweight node can trigger to enter in user enlivens shape Lightweight data transfer request is triggered when state.For example, when lightweight user is based on then entering work when block chain is traded Jump state.
Lightweight data transfer request indicates to obtain the transactions requests with lightweight node association affairs data.Wherein, institute The association affairs data of acquisition can be at least one of following: in block chain with all number of transactions associated by lightweight node According to;In block chain in designated blocks with Transaction Information associated by lightweight node;Lightweight node is inquired in block chain Specified Transaction Information.Wherein, designated blocks can be current block, can also be other blocks in specified block chain.Its In, association affairs data can be understood as the Transaction Information of lightweight node or lightweight Node registers account as participant.
Wherein, the full node for receiving lightweight data transfer request can be and any in block chain network have memory block The regular node of the total data of block chain can also be the trusted node of lightweight node.Wherein, trusted node can be block Have in chain network the node of higher public credibility, the higher node of data-handling capacity, with lightweight node link number compared with Node high, and/or that fixed-link relationship is established with lightweight node.
Preferably, lightweight node is sent out to one or two higher full node of the public credibility that fixed-link relationship has been established Send lightweight data transfer request.
Optionally, include the correlation rule of Transaction Information in lightweight data transfer request, be used to indicate the full node Association affairs data and dereferenced Transaction Information are determined according to the correlation rule.
Wherein, correlation rule may include data decimation condition set by user.Wherein data decimation condition may include: It is related to lightweight node identification, or basic qualifications relevant to lightweight Node registers account;It can also include: thing Additional qualifications such as block height of block etc. where timing node or Transaction Information that data of being engaged in generate.
Wherein, correlation rule can also include the data transmission format of data needed for lightweight node.Optionally, data pass Transport format can be pre-configured in the data communication protocol of deployment data of lightweight node.
Specifically, when user executes the association affairs number with lightweight node in the electronic equipment of carrying lightweight node According to inquiry operation or lightweight node learn there is new block to go out block in block chain network when, it will generate corresponding light weight Grade data transfer request;The lightweight data transfer request of generation is sent in the block chain network that lightweight node is participated in At least one full node.Correspondingly, obtaining whole block counts after full node receives the lightweight data transfer request According to, designated blocks data or specified Transaction Information, and exclude with lightweight node dereferenced Transaction Information, obtain lightweight section Point association affairs data.
Wherein, lightweight node association affairs data may include being related to the element of the lightweight node to be transferred to number of transactions According to and/or element produce Transaction Information.Wherein, association affairs data can also include the operation result etc. of intelligent contract.
S120, the data that the full node is sent are received, wherein the data include: that block head and lightweight node close Join Transaction Information.
Block body and corresponding block head comprising lightweight node association affairs data are fed back to light weight by full node Grade node.Wherein, block body is to delete dereferenced Transaction Information on the basis of former block body and obtain, the area block Tou Zewei Former block head in block chain.Correspondingly, lightweight node carries out data receiver.It wherein, include that lightweight node closes in block head Join the Transaction Identifier of Transaction Information.
It is understood that being verified for the ease of lightweight node to the data received, the number that full node is sent According to can also include lightweight node identification or lightweight Node registers account etc. matching verification information.
S130, the data received are verified.
Illustratively, received data are verified, can be the legitimacy to received block, validity and/ Or the correctness of association affairs data is verified in reception area block.
Illustratively, the data received are verified, can also be to received data with it is currently used light The matching of the logon account of magnitude node or lightweight node is verified.Specifically, matching verification process may is that and sentence Whether the lightweight node identification for including in the data that disconnecting receives is identical as the node identification of currently used lightweight node, Or judge whether the lightweight Node registers account and currently used logon account that include in the data received are identical.
Lightweight of embodiment of the present invention node sends lightweight data transfer request at least one full node, please demand perfection The transmission of node exclusion lightweight node dereferenced Transaction Information;Receive full node transmission includes block head and lightweight node The data of association affairs data;The data received are verified.Above-mentioned technical proposal is by excluding the non-pass of lightweight node The data that the mode of connection Transaction Information is to be received to lightweight node are screened, and the data transmission of lightweight node is reduced Amount, optimizes data transfer mode, reduces the performance requirement to lightweight node.
On the basis of the technical solution of the various embodiments described above, further, " data received are being tested After card ", further includes: stored to the data received.
Specifically, the data that lightweight node is received according to, are established in association affairs data and lightweight node The corresponding relationship of account, and stored.In order to reduce the requirement to lightweight node storage space, allow lightweight node not There are all block datas, and therefore, lightweight node can be after obtaining block data and carrying out respective handling, then abandons, Lightweight block chain data can be formed with fixed storage in local.To the respective handling of block data, such as it can be and be shown to User checks.Logon account corresponding to lightweight node can for one or more, preferably by association affairs data with The corresponding storage of account in lightweight node, facilitates the user of account to inquire, is equivalent to a lightweight account book.The present invention Embodiment realizes management of the lightweight node to received data in such a way that the data received are locally stored.
Embodiment two
Fig. 2 is the flow chart of the data transmission method of one of embodiment of the present invention two lightweight node.The present invention is real Example is applied on the basis of the technical solution of the various embodiments described above, has carried out subdivision optimization.
Further, operation " is verified the data received ", is refined as " according to the number received According to, in the correctness of the legitimacy of the block, validity and association affairs data at least one of verify ", with complete The data authentication mechanism of kind lightweight node.
The data transmission method of lightweight node as shown in Figure 2, comprising:
S210, lightweight data transfer request is sent at least one full node, to request described in the full node exclusion The transmission of lightweight node dereferenced Transaction Information.
S220, the data that the full node is sent are received, wherein the data include: that block head and lightweight node close Join Transaction Information.
S230, the data received according to, just to the legitimacy of the block, validity and association affairs data At least one in true property is verified.
Wherein, whether legitimacy is used for raw by node correct in block chain network as block where the data received At judgment basis;Whether validity is used to as block where the data received be correct continuous block in block chain Judgment basis.
Illustratively, according to the data received, the validity of the block is verified, may is that basis The block head for the history block being locally stored, obtains the block-identified of previous block;If including in the block head received Previous block it is block-identified, then validation verification passes through.Wherein, history block currently connects for what is stored in lightweight node The previous block of the block received.
Illustratively, according to the data received, the legitimacy of the block is verified, may is that basis The data received verify the legitimacy of the block according to mechanism of knowing together used by block chain.Work as block When the common recognition mechanism difference that chain node uses, determine that the mode for generating the node of block is not also identical.
Specifically, acquisition connects when block chain network is using POW (Proof of Work, proof of work) common recognition mechanism Nonce nonce value in the block head received, and according to other data in nonce value and block head, it is calculated Cryptographic Hash;The block-identified of block head of obtained cryptographic Hash and acquisition is compared;If comparison result be it is identical, it is legal Property is verified.Wherein, other data in block head include previous block-identified, timestamp, Transaction Identifier array and plum At least one of the root of Ke Er tree.
Specifically, when block chain network is using POS (Proof of Stake, equity prove) common recognition mechanism, lightweight Node obtains the block height or block-identified of received block;This is block-identified according in lightweight node deployment data Common recognition mechanism determines corresponding generation node identification;Search institute received block head in generate node identification with determination generation Whether node identification matches;If matching, legitimate verification pass through.Wherein, block-identified including generating block in block head Node identification namely node public key.Wherein, the block preset in common recognition mechanism in block chain network generates node, And each block generates time cycle or the block height that node goes out block.
Wherein, the block height of received block is obtained, comprising: directly acquire the history area that lightweight node is locally stored The block height of block, alternatively, determining received block according to set algorithm based on data included in the received block head of institute Block height.
Illustratively, according to the data received, the correctness of association affairs data is verified, may is that Affairs array is verified whether in the block head;Transaction Identifier is determined if so, calculating according to the association affairs data, and is tested The Transaction Identifier of the association affairs data is demonstrate,proved whether in affairs array;If so, verification of correctness passes through.Wherein, affairs Array is the array of Transaction Identifier of each Transaction Information after Hash operation in memory block.It is understood that when being received Block head in do not include the Transaction Identifiers of affairs array or association affairs data not in affairs array, then correctness Authentication failed.
It should be noted that lightweight node is to pass when association affairs data include the operation result of intelligent contract When the correctness of connection Transaction Information is verified, it is also necessary to further be verified to the correctness of intelligent contract operation result.
If due to the mechanism of common recognition or lightweight node calculates the various reasons such as power, so that lightweight node is difficult With realize in the correctness of the legitimacy of block, validity and association affairs data at least one of verify or light weight When grade node wishes to further increase verifying reliability, optionally, lightweight node can also be according to the full node of local maintenance List sends verifying advisory message at least one full node, to request other full nodes to the legitimacy of the block, effectively Property and association affairs data correctness at least one of verified, request consulting full node and send lightweight data The full node for transmitting request is not identical;Receive the verification result of other full node feeding backs.Correspondingly, lightweight node is according to full section Point feedback verification result, in the correctness of the legitimacy of received data, validity and association affairs data extremely One item missing is judged.Wherein, verifying advisory message includes: legitimate verification message, validation verification message and association affairs Data correctness verifies at least one of message.
Specifically, the validity to block is verified, full node listing of the lightweight node to local maintenance may is that At least one of full node send validation verification message, wherein validation verification message includes the block of block to be verified Head.Correspondingly, full node receives the validation verification message, and the phase being locally stored based on the block-identified lookup in block head The block-identified of block is answered, block-identified with block to be verified is compared, and obtains comparison result;Obtain the phase being locally stored It answers the block-identified of the previous block of block to be compared with the block-identified of previous block included in block to be verified, obtains To comparison result;If comparison result be it is identical, validation verification passes through;Otherwise validation verification does not pass through;To lightweight The verification result of node feeding back validation verification.
Specifically, the legitimacy to block is verified, full node listing of the lightweight node to local maintenance may is that At least one of full node send legitimate verification message, wherein legitimate verification message includes the block of block to be verified Head.Correspondingly, full node receives the legitimate verification message, and the data for being included according to the block head of block to be verified, with Information comparison in local institute's memory block chain in the build of respective area, is verified with the legitimacy to block;To lightweight section The verification result of point feedback validation verification.
Specifically, verifying to the correctness of association affairs data, it may is that lightweight node to the complete of local maintenance The full node of at least one of node listing sends association affairs data correctness and verifies message, and wherein association affairs data are correct Property verifying message include lightweight node received data.Correspondingly, after full node receives verification of correctness message, according to Received data searches the association affairs data corresponded in block in block chain, is compared;If comparison result is consistent, close The verification of correctness of connection Transaction Information passes through;Otherwise verification of correctness does not pass through;It is verified to lightweight node feeding back correctness Verification result.
It is understood that for the data volume of less lightweight node-node transmission, it can also be directly to the data received It is signed to obtain data signature mark, and is added in verifying advisory message and is sent in the full node listing of local maintenance At least one full node.The operation that the full node verified executes is similar with the full node of data is provided, and is similarly the light weight Grade querying node obtains block head and association affairs data to the block needed.The data content that different full nodes provide should It is identical.Signature calculation is then carried out based on set algorithm, is compared with the data signature mark that lightweight node provides, It is verified if consistent.
It should be noted that lightweight node can be verified with correctness of the machine to block data, it can be difficult to right Integrality is verified.Specifically, association affairs data are typically include, element is transferred to Transaction Information and element produces number of transactions According to.Transaction Information is produced for element, be by lightweight node side initiate transactions requests, therefore can according to local record come Determine whether to include that all elements produce Transaction Information.Transaction Information is transferred to for element, lightweight node possibly can not be known, Can not verify full node whether provide oriented the machine account be transferred to the Transaction Information of element.Therefore, verifying can be initiated to consult Message is ask, carries out consulting verifying to multiple full nodes.Integrity verification has no effect on the correctness of block data in block chain, i.e., Element is transferred to Transaction Information and incorporates block chain during processing, has obtained the confirmation of all full nodes.Integrity verification It can select to execute according to conditions such as user demand and/or network bandwidths.
The embodiment of the present invention passes through according to the data received to the legitimacy of block, validity and/or association affairs number According to correctness verified, and power situation is calculated according to lightweight node and provides different verification modes, perfect lightweight The data authentication mechanism of node.
Embodiment three
Fig. 3 is the flow chart of the data transmission method of one of embodiment of the present invention three lightweight node.The present invention is real The case where example is applicable to full node to lightweight node transmission data is applied, this method can be by the data transmission device of full node It executes, the device is by software and or hardware realization, from concrete configuration in the electronic equipment for carrying full node.
Wherein, full node can be the regular node of any total data for having memory block chain in block chain network, It can also be the trusted node of lightweight node.Wherein, trusted node, which can be, has higher public credibility in block chain network The higher node of node, data-handling capacity and lightweight node link number are higher, and/or solid with the foundation of lightweight node Determine the node of linking relationship.Preferably, full node involved in the embodiment of the present invention is that fixed chain has been established with lightweight node Connect one or two higher full node of public credibility of relationship.
A kind of data transmission method of lightweight node as shown in Figure 3, comprising:
S310, the lightweight data transfer request that lightweight node is sent is received.
Wherein, lightweight data transfer request indicates to obtain the transactions requests with lightweight node association affairs data.Its In, acquired association affairs data can be at least one of following: busy with institute associated by lightweight node in block chain Business data;In block chain in designated blocks with Transaction Information associated by lightweight node;Lightweight node is looked into block chain The specified Transaction Information ask.Wherein, designated blocks can be current block, can also be other areas in specified block chain Block.Wherein, association affairs data can be understood as the affairs of lightweight node or lightweight Node registers account as participant Data.
It is looked into when user executes in the electronic equipment of carrying lightweight node with the association affairs data of lightweight node Operation is ask, or when lightweight node is learnt has new block to go out block in block chain network, it will generate corresponding lightweight data Transmission request;The lightweight data transfer request of generation is sent in the block chain network that lightweight node is participated at least One full node.Correspondingly, full node receives lightweight data transfer request.
S320, according to the lightweight data transfer request, determine block to be transmitted.
It optionally, include the correlation rule of Transaction Information in lightweight data transfer request.Full node obtains the light weight The correlation rule of Transaction Information in grade data transfer request;Institute is extracted from the block according to the correlation rule of Transaction Information State lightweight node association affairs data.
Wherein, correlation rule includes data decimation condition set by user.Wherein data decimation condition may include: with gently Magnitude node identification is related, or basic qualifications relevant to lightweight Node registers account;It can also include: number of transactions According to additional qualifications such as block height of block etc. where the timing node or Transaction Information of generation.
Specifically, full node, according to data decimation condition, determination meets corresponding to the Transaction Information of data decimation condition Block is as block to be transmitted.
Alternatively, full node can also be required according to the prespecified lightweight node-node transmission of local disposition data, to light weight Grade node provides association affairs data.
S330, the lightweight node association affairs data are extracted from the block.
Specifically, being arranged included in block body by block to be transmitted with lightweight node dereferenced Transaction Information It removes, obtains association affairs data.Can be and replicate the delete operation that former block carries out dereferenced Transaction Information again, be also possible to from Block head and required association affairs data are extracted in former block, are equivalent to and are deleted the non-pass of lightweight node from former block Join Transaction Information.Therefore the block chain that full node is locally stored does not change.
Wherein, lightweight node association affairs data include being related to the element of the lightweight node to be transferred to Transaction Information And/or element produces Transaction Information.Wherein, association affairs data can also include the operation result of intelligent contract.
S340, by the block head of the block and lightweight node association affairs data, be sent to the lightweight node.
Wherein, correlation rule can also include the data transmission format of data needed for lightweight node.Optionally, data pass Transport format can be only fitted in the data communication protocol of deployment data of lightweight node.
Specifically, node is by the block head and association affairs data of block entirely, according to data needed for lightweight node Data transmission format is sent to lightweight node.It is understood that when association affairs data are not present in block, it can be direct Block head is transmitted to lightweight node.
The full node of the embodiment of the present invention receives the lightweight data transfer request that lightweight node is sent;According to light weight series It is requested according to transmission, determines block to be transmitted;Lightweight node association affairs data are extracted from block;By the block head of block With lightweight node association affairs data, it is sent to lightweight node.Above-mentioned technical proposal is by excluding the non-pass of lightweight node The mode for joining Transaction Information, screens the data for being sent to lightweight node, reduces the data transmission of lightweight node Amount, optimizes data transfer mode, reduces the performance requirement to lightweight node.
Example IV
Fig. 4 is the flow chart of the data transmission method of one of embodiment of the present invention four lightweight node.The present invention is real Example is applied on the basis of the technical solution of the various embodiments described above, has carried out additional optimization.
Further, full node can be also used for " receiving the verifying advisory message of other lightweight nodes transmission;According to this Data in ground block chain verify the verifying demand in the verifying advisory message, and verification result are carried out instead Feedback " assists other lightweight nodes to carry out data verification to respond the verifying advisory message of other lightweight nodes.It is usually light The full node that the request of magnitude node provides block data is different with the full node of request consulting verifying.Each full node can be to not Same lightweight node provides the service of transmission data, and the service of consulting verifying.
The data transmission method of lightweight node as shown in Figure 4, comprising:
S410, the verifying advisory message that lightweight node is sent is received.
Wherein, verifying advisory message includes: that legitimate verification message, validation verification message and association affairs data are correct Property verifying message at least one of.Wherein, legitimate verification message and validation verification message are for the conjunction to block to be verified Method or validity are verified.Wherein, whether legitimacy is used for as block where the data received by block chain network In correctly node generate judgment basis;Validity be used for as receive data place block whether be in block chain just The judgment basis of the block really connected.
S420, according to the data in local block chain, the verifying demand in the verifying advisory message is verified, and Verification result is fed back.
It is specific: full node of the lightweight node to local maintenance when verifying advisory message is validity advisory message The full node of at least one of list sends validation verification message, and wherein validation verification message includes the area of block to be verified Build.Correspondingly, full node receives the validation verification message, and be locally stored based on the block-identified lookup in block head Respective block it is block-identified, block-identified with block to be verified is compared, and obtains comparison result;What acquisition was locally stored The block-identified of the previous block of respective block is compared with the block-identified of previous block included in block to be verified, Obtain comparison result;If comparison result be it is identical, validation verification passes through;Otherwise validation verification does not pass through;To light weight The verification result of grade node feeding back validation verification.
It is specific: full node of the lightweight node to local maintenance when verifying advisory message is legitimate verification message The full node of at least one of list sends legitimate verification message, and wherein legitimate verification message includes the area of block to be verified Build.Correspondingly, full node receives the legitimate verification message, and the data for being included according to the block head of block to be verified, With the information comparison in local institute's memory block chain in the build of respective area, verified with the legitimacy to block;To lightweight The verification result of node feeding back validation verification.
Specific when verifying advisory message is that association affairs data correctness verifies message: lightweight node is to local The full node of at least one of full node listing of maintenance sends association affairs data correctness and verifies message, wherein association affairs It includes lightweight node received data that data correctness, which verifies message,.Correspondingly, full node receives verification of correctness and disappears After breath, the association affairs data corresponded in block in block chain are searched according to received data, are compared;If comparison result Unanimously, then the verification of correctness of association affairs data passes through;Otherwise verification of correctness does not pass through;It is correct to lightweight node feeding back Property verifying verification result.
It is understood that for the data volume of less lightweight node-node transmission, lightweight node can also be docked directly The data received are signed to obtain data signature mark, and are added to the full section that local maintenance is sent in verifying advisory message The full node of at least one of point list.The operation that the full node verified executes is similar with the full node of data is provided, together Sample is the lightweight querying node to the block needed, obtains block head and association affairs data.The number that different full nodes provide It should be identical according to content.Signature calculation is then carried out based on set algorithm, the data signature mark provided with lightweight node Knowledge is compared, and is verified if consistent.The verification result verified to lightweight node feeding back correctness.
The full node of the embodiment of the present invention receives the verifying advisory message that lightweight node is sent;According in local block chain Data, auxiliary lightweight node to lightweight node the legitimacy of received block, validity and/or association affairs data Correctness is verified, while also providing verifying foundation for the integrality of lightweight node received data, perfect gently The authentication mechanism of magnitude node.
Embodiment five
Fig. 5 is the structure chart of the data transmission device of one of embodiment of the present invention five lightweight node.The present invention is real Apply the case where example is applicable to full node to lightweight node transmission data, the device is by software and or hardware realization, from specific It is configured in the electronic equipment for carrying lightweight node.The data transmission device of lightweight node as shown in Figure 5, comprising: Request sending module 510, data reception module 520 and Data Verification module 530.
Wherein, request sending module 510, for sending lightweight data transfer request at least one full node, to ask The full node is asked to exclude the transmission of the lightweight node dereferenced Transaction Information;
Data reception module 520, the data sent for receiving the full node, wherein the data include: block head With lightweight node association affairs data;
Data Verification module 530, for being verified to the data received.
The embodiment of the present invention sends lightweight data at least one full node by request sending module lightweight node Transmission request, to request full node to exclude the transmission of lightweight node dereferenced Transaction Information;It is received by data reception module The data including block head and lightweight node association affairs data that full node is sent;By Data Verification module to receiving Data verified.Above-mentioned technical proposal is by way of excluding lightweight node dereferenced Transaction Information, to lightweight section Point data to be received are screened, and are reduced the volume of transmitted data of lightweight node, are optimized data transfer mode, reduce To the performance requirement of lightweight node.
Further, include the correlation rule of Transaction Information in the lightweight data transfer request, be used to indicate described Full node determines association affairs data and dereferenced Transaction Information according to the correlation rule.
Further, the correlation rule of the Transaction Information configures in the deployment data of the lightweight node.
Further, lightweight node association affairs data include being related to the element of the lightweight node to be transferred to number of transactions According to and/or element produce Transaction Information.
Further, Data Verification module 530 are specifically used for:
According to the data received, to the correctness of the legitimacy of the block, validity and association affairs data In at least one of verified.
Further, Data Verification module 530, including auxiliary authentication unit, are used for:
According to the full node listing of local maintenance, verifying advisory message is sent at least one full node, to request other Full node verifies at least one in the correctness of the legitimacy of the block, validity and association affairs data;
Receive the verification result of other full node feeding backs.
Further, Data Verification module 530 further include message adding unit, are used in auxiliary authentication unit according to this The full node listing of ground maintenance, before sending verifying advisory message at least one full node, to the data received into Row signature, is added in the verifying advisory message.
Further, Data Verification module 530, including validity authentication unit, are specifically used for:
According to the block head for the history block being locally stored, the block-identified of previous block is obtained;
If block-identified including previous block in the block head received, validation verification passes through.
Further, Data Verification module 530, including legitimate verification unit, are specifically used for:
According to the data received, according to mechanism of knowing together used by block chain, to the legitimacy of the block into Row verifying.
Further, Data Verification module 530, including verification of correctness unit, are specifically used for:
Affairs array is verified whether in the block head;
Transaction Identifier is determined if so, calculating according to the association affairs data, and verifies the thing of the association affairs data Business identifies whether in affairs array;
If so, verification of correctness passes through.
Further, described device further includes data memory module, is used for: being verified to the data received Later, the data received are stored.
Further, data memory module is specifically used for: according to the data received, establishing association affairs data With the corresponding relationship of account in lightweight node, and stored.
Any embodiment of that present invention institute can be performed in the data transmission device of lightweight node provided by the embodiment of the present invention The data transmission method of the lightweight node of offer has the corresponding functional module of data transmission method for executing lightweight node And beneficial effect.
Embodiment six
Fig. 6 is the structure chart of the data transmission device of one of embodiment of the present invention six lightweight node.The present invention is real Apply the case where example is applicable to full node to lightweight node transmission data, the device is by software and or hardware realization, from specific It is configured in the electronic equipment for carrying full node.The data transmission device of lightweight node as shown in FIG. 6, comprising: request Receiving module 610, block determining module 620, data extraction module 630 and data transmission blocks 640.
Wherein, request receiving module 610, for receiving the lightweight data transfer request of lightweight node transmission;
Block determining module 620, for determining block to be transmitted according to the lightweight data transfer request;
Data extraction module 630, for extracting the lightweight node association affairs data from the block;
Data transmission blocks 640, for being sent to the block head of the block and lightweight node association affairs data The lightweight node.
The embodiment of the present invention receives the lightweight data transfer request that lightweight node is sent by request receiving module;It is logical Block determining module is crossed according to lightweight data transfer request, determines block to be transmitted;By data extraction module from block Middle extraction lightweight node association affairs data;The block head of block is associated with thing with lightweight node by data transmission blocks Business data, are sent to lightweight node.Above-mentioned technical proposal is right by way of excluding lightweight node dereferenced Transaction Information The data for being sent to lightweight node are screened, and are reduced the volume of transmitted data of lightweight node, are optimized transmission side data Formula reduces the performance requirement to lightweight node.
Further, data extraction module 630, comprising:
Relationship data mining unit, the association for obtaining the Transaction Information in the lightweight data transfer request are advised Then;
Data extracting unit extracts the lightweight node for the correlation rule according to Transaction Information from the block Association affairs data.
Further, lightweight node association affairs data include being related to the element of the lightweight node to be transferred to number of transactions According to and/or element produce Transaction Information.
Further, the device further includes verifying feedback module, specifically includes:
Consultation information receiving unit is verified, for receiving the verifying advisory message of other lightweight nodes transmission;
Verification result feedback unit, for verifying testing in advisory message to described according to the data in local block chain Card demand is verified, and verification result is fed back.
Further, verification result feedback unit is specifically used for:
Data signature is obtained from the verifying advisory message;
Block to be verified is obtained from local block chain, and block head and lightweight node pass are obtained from the block Join Transaction Information;
Signature calculation, the signature of contrast conting and acquisition are carried out to the block head and lightweight node association affairs data Data signature it is whether consistent, if unanimously, the verification result passed through is fed back.
Any embodiment of that present invention institute can be performed in the data transmission device of lightweight node provided by the embodiment of the present invention The data transmission method of the lightweight node of offer has the corresponding functional module of data transmission method for executing lightweight node And beneficial effect.
Embodiment seven
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention seven provides.Fig. 7, which is shown, to be suitable for being used in fact The block diagram of the example electronic device 712 of existing embodiment of the present invention.The electronic equipment 712 that Fig. 7 is shown is only an example, Should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 712 is showed in the form of universal computing device.The component of electronic equipment 712 can wrap Include but be not limited to: one or more processor or processing unit 716, system storage 728 connect different system components The bus 718 of (including system storage 728 and processing unit 716).
Bus 718 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment 712 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that electronic equipment 712 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 728 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 730 and/or cache memory 732.Electronic equipment 712 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 734 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 7 To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive Dynamic device can be connected by one or more data media interfaces with bus 718.Memory 728 may include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair The function of bright each embodiment.
Program/utility 740 with one group of (at least one) program module 742, can store in such as memory In 728, such program module 742 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 742 Usually execute the function and/or method in embodiment described in the invention.
Electronic equipment 712 can also be with one or more external equipments 714 (such as keyboard, sensing equipment, display 724 Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 712 communicate, and/or with make Any equipment (such as network interface card, the modem that the electronic equipment 712 can be communicated with one or more of the other calculating equipment Etc.) communication.This communication can be carried out by input/output (I/O) interface 722.Also, electronic equipment 712 can also lead to Cross network adapter 720 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, example Such as internet) communication.As shown, network adapter 720 is communicated by bus 718 with other modules of electronic equipment 712.It answers When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 712, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Processing unit 716 passes through at least one program in multiple programs that operation is stored in system storage 728, from And application and data processing are performed various functions, such as realize a kind of number of lightweight node provided by the embodiment of the present invention According to transmission method.
Embodiment eight
The embodiment of the present invention eight additionally provides a kind of electronic equipment, and the structure chart of the electronic equipment equally can be found in Fig. 7.
The difference of the embodiment of the present invention and embodiment seven is only that: processing unit 716 is stored in system storage by operation Program in device 728 thereby executing various function application and data processing, such as is realized another provided by the embodiment of the present invention A kind of data transmission method of lightweight node.
Embodiment nine
The embodiment of the present invention nine provides a kind of computer readable storage medium, is stored thereon with computer program, the journey A kind of data transmission method of lightweight node provided by any embodiment of the present invention, application are realized when sequence is executed by processor In lightweight node, this method comprises: lightweight data transfer request is sent at least one full node, to request the full section Point excludes the transmission of the lightweight node dereferenced Transaction Information;Receive the data that the full node is sent, wherein the number According to including: block head and lightweight node association affairs data;The data received are verified.
The embodiment of the invention also provides another computer readable storage mediums, are stored thereon with computer program, should A kind of data transmission method of lightweight node provided by any embodiment of the present invention is realized when program is executed by processor, and is answered For full node, which comprises receive the lightweight data transfer request that lightweight node is sent;According to the lightweight Data transfer request determines block to be transmitted;The lightweight node association affairs data are extracted from the block;By institute The block head and lightweight node association affairs data for stating block, are sent to the lightweight node.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (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 above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (23)

1. a kind of data transmission method of lightweight node, which is characterized in that be applied to lightweight node, which comprises
Lightweight data transfer request is sent at least one full node, to request the full node to exclude the lightweight node The transmission of dereferenced Transaction Information;
Receive the data that the full node is sent, wherein the data include: block head and lightweight node association affairs number According to;
The data received are verified.
2. the method according to claim 1, wherein including Transaction Information in the lightweight data transfer request Correlation rule, be used to indicate the full node according to the correlation rule and determine association affairs data and dereferenced number of transactions According to.
3. according to the method described in claim 2, it is characterized in that, the correlation rule of the Transaction Information is configured in the light weight In the deployment data of grade node.
4. the method according to claim 1, wherein lightweight node association affairs data are described light including being related to The element of magnitude node is transferred to Transaction Information and/or element produces Transaction Information.
5. the method according to claim 1, wherein to the data received carry out verifying include:
According to the data received, in the correctness of the legitimacy of the block, validity and association affairs data At least one is verified.
6. according to the method described in claim 5, it is characterized in that, conjunction according to the data received, to the block In the correctness of method, validity and association affairs data at least one of carry out verifying include:
According to the full node listing of local maintenance, verifying advisory message is sent at least one full node, to request other to save entirely Point verifies at least one in the correctness of the legitimacy of the block, validity and association affairs data;
Receive the verification result of other full node feeding backs.
7. according to the method described in claim 6, it is characterized in that, according to the full node listing of local maintenance, at least one Full node is sent before verifying advisory message, further includes:
It signs, is added in the verifying advisory message to the data received.
8. according to the method described in claim 5, it is characterized in that, being had according to the data received to the block Effect property carries out verifying
According to the block head for the history block being locally stored, the block-identified of previous block is obtained;
If block-identified including previous block in the block head received, validation verification passes through.
9. according to the method described in claim 5, it is characterized in that, conjunction according to the data received, to the block Method carries out verifying
The legitimacy of the block is tested according to mechanism of knowing together used by block chain according to the data received Card.
10. according to the method described in claim 5, it is characterized in that, according to the data received, to association affairs data Correctness carry out verifying include:
Affairs array is verified whether in the block head;
Transaction Identifier is determined if so, calculating according to the association affairs data, and verifies the affairs mark of the association affairs data Know whether in affairs array;
If so, verification of correctness passes through.
11. the method according to claim 1, wherein also being wrapped after being verified to the data received It includes:
The data received are stored.
12. according to the method for claim 11, which is characterized in that carrying out storage to the data received includes:
According to the data received, the corresponding relationship of account in association affairs data and lightweight node is established, and is carried out Storage.
13. a kind of data transmission method of lightweight node, which is characterized in that be applied to full node, which comprises
Receive the lightweight data transfer request that lightweight node is sent;
According to the lightweight data transfer request, block to be transmitted is determined;
The lightweight node association affairs data are extracted from the block;
By the block head of the block and lightweight node association affairs data, it is sent to the lightweight node.
14. according to the method for claim 13, which is characterized in that extract the lightweight node association from the block Transaction Information includes:
Obtain the correlation rule of the Transaction Information in the lightweight data transfer request;
The lightweight node association affairs data are extracted from the block according to the correlation rule of Transaction Information.
15. according to the method for claim 14, which is characterized in that lightweight node association affairs data are described including being related to The element of lightweight node is transferred to Transaction Information and/or element produces Transaction Information.
16. according to the method for claim 14, which is characterized in that further include:
Receive the verifying advisory message of other lightweight nodes transmission;
According to the data in local block chain, the verifying demand in the verifying advisory message is verified, and verifying is tied Fruit is fed back.
17. according to the method for claim 16, which is characterized in that according to the data in local block chain, to the verifying Verifying demand in advisory message is verified, and verification result is carried out feedback and includes:
Data signature is obtained from the verifying advisory message;
Block to be verified is obtained from local block chain, and is obtained block head from the block and be associated with thing with lightweight node Business data;
Signature calculation, the signature of contrast conting and the number obtained are carried out to the block head and lightweight node association affairs data It is whether consistent according to signing, if unanimously, the verification result passed through is fed back.
18. a kind of data transmission device of lightweight node, which is characterized in that be configured at lightweight node, described device includes:
Request sending module, for sending lightweight data transfer request at least one full node, to request the full node Exclude the transmission of the lightweight node dereferenced Transaction Information;
Data reception module, the data sent for receiving the full node, wherein the data include: block head and light weight Grade node association affairs data;
Data Verification module, for being verified to the data received.
19. a kind of data transmission device of lightweight node, which is characterized in that be configured at full node, described device includes:
Request receiving module, for receiving the lightweight data transfer request of lightweight node transmission;
Block determining module, for determining block to be transmitted according to the lightweight data transfer request;
Data extraction module, for extracting the lightweight node association affairs data from the block;
Data transmission blocks, for being sent to the block head of the block and lightweight node association affairs data described light Magnitude node.
20. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing 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 a kind of described in any item data transmission methods of lightweight node of claim 1-12.
21. a kind of electronic equipment characterized by comprising
One or more processors;
Memory, for storing 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 a kind of described in any item data transmission methods of lightweight node of claim 13-17.
22. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor A kind of such as claim 1-12 described in any item data transmission methods of lightweight node are realized when execution.
23. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor A kind of such as claim 13-17 described in any item data transmission methods of lightweight node are realized when execution.
CN201811087950.7A 2018-09-18 2018-09-18 Data transmission method, device, equipment and medium for lightweight node Active CN109101664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811087950.7A CN109101664B (en) 2018-09-18 2018-09-18 Data transmission method, device, equipment and medium for lightweight node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811087950.7A CN109101664B (en) 2018-09-18 2018-09-18 Data transmission method, device, equipment and medium for lightweight node

Publications (2)

Publication Number Publication Date
CN109101664A true CN109101664A (en) 2018-12-28
CN109101664B CN109101664B (en) 2021-12-07

Family

ID=64866590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811087950.7A Active CN109101664B (en) 2018-09-18 2018-09-18 Data transmission method, device, equipment and medium for lightweight node

Country Status (1)

Country Link
CN (1) CN109101664B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598456A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Data storage method and device, electronic equipment and storage medium
CN110889729A (en) * 2019-11-29 2020-03-17 腾讯科技(深圳)有限公司 Data verification method and device based on block chain network
CN111064711A (en) * 2019-11-27 2020-04-24 朱培培 Block chain-based data stream detection method and device and server
CN111343177A (en) * 2020-02-25 2020-06-26 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for supervising lightweight node
CN115037755A (en) * 2022-04-27 2022-09-09 东北大学 Block chain lightweight storage method based on data redistribution and dynamic node strategy

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485495A (en) * 2016-09-18 2017-03-08 江苏通付盾科技有限公司 Transaction Information method for subscribing, device, server and system
CN106528746A (en) * 2016-10-26 2017-03-22 江苏通付盾科技有限公司 Trade information inquiring method, device and system
CN107077674A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 Transaction verification processing method and device and node equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485495A (en) * 2016-09-18 2017-03-08 江苏通付盾科技有限公司 Transaction Information method for subscribing, device, server and system
CN106528746A (en) * 2016-10-26 2017-03-22 江苏通付盾科技有限公司 Trade information inquiring method, device and system
CN107077674A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 Transaction verification processing method and device and node equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LIHENG: "区块链知识讲解:SPV简单支付验证", 《 HTTPS://WWW.SOHU.COM/A/231836275_114819》 *
小李没有子: "区块链应用案例:玩客云与链克,看区块链在C端应用", 《HTTP://WWW.WOSHIPM.COM/BLOCKCHAIN/930531.HTML》 *
邰雪 等: "能源互联网中基于区块链的电力交易和阻塞管理方法", 《电网技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598456A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Data storage method and device, electronic equipment and storage medium
CN111064711A (en) * 2019-11-27 2020-04-24 朱培培 Block chain-based data stream detection method and device and server
CN110889729A (en) * 2019-11-29 2020-03-17 腾讯科技(深圳)有限公司 Data verification method and device based on block chain network
CN110889729B (en) * 2019-11-29 2024-03-26 腾讯科技(深圳)有限公司 Data verification method and device based on blockchain network
CN111343177A (en) * 2020-02-25 2020-06-26 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for supervising lightweight node
CN115037755A (en) * 2022-04-27 2022-09-09 东北大学 Block chain lightweight storage method based on data redistribution and dynamic node strategy

Also Published As

Publication number Publication date
CN109101664B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN111416808B (en) Cross-block-chain data mutual storage method, device, equipment and storage medium
CN109101664A (en) A kind of data transmission method, device, equipment and the medium of lightweight node
CN110365491B (en) Service processing method, device, equipment, storage medium and data sharing system
US20230318836A1 (en) Computer-implemented systems and methods for linking a blockchain to a digital twin
CN109194669A (en) A kind of data transmission method, device, equipment and the medium of lightweight node
CN110084377B (en) Method and device for constructing decision tree
KR101795695B1 (en) Method for providing archiving service and verification service of data transceived via messenger service and server using the same
CN108961052A (en) Verification method, storage method, device, equipment and the medium of block chain data
US20210304201A1 (en) Transaction verification method and apparatus, storage medium, and electronic device
KR101795696B1 (en) Method for providing archiving and verification services of data transceived via messenger service and server using the same
CN109669986A (en) Blacklist sharing method, device, equipment and storage medium based on block chain
CN108990002A (en) A kind of block chain data processing method, device, terminal and storage medium
CN111163182B (en) Block chain-based device registration method and apparatus, electronic device, and storage medium
CN109361740A (en) A kind of block generation method, device, equipment and the medium of block chain
CN109981297A (en) Block chain processing method, device, equipment and storage medium
CN108804706A (en) A kind of block chain data processing method, device, equipment and storage medium
CN109347917A (en) Block chain data common recognition processing method, system, storage medium and electronic equipment
CN109241192A (en) The data modification and block verification method, device, equipment and medium of block chain
CN108984645A (en) block chain processing method, device, equipment and storage medium
CN109344631A (en) The data modification and block verification method, device, equipment and medium of block chain
CN109951546A (en) Transactions requests processing method, device, equipment and medium based on intelligent contract
CN108769171A (en) The copy of distributed storage keeps verification method, device, equipment and storage medium
CN114567643B (en) Cross-blockchain data transfer method, device and related equipment
CN109213901A (en) A kind of method of data synchronization, device, equipment and the medium of block chain
CN108665272A (en) Block chain data processing method, device, equipment and storage medium

Legal Events

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