CN110071876A - A kind of data transmission method based on block chain, device and electronic equipment - Google Patents

A kind of data transmission method based on block chain, device and electronic equipment Download PDF

Info

Publication number
CN110071876A
CN110071876A CN201910348814.7A CN201910348814A CN110071876A CN 110071876 A CN110071876 A CN 110071876A CN 201910348814 A CN201910348814 A CN 201910348814A CN 110071876 A CN110071876 A CN 110071876A
Authority
CN
China
Prior art keywords
node
data
split
fractionation
transmission
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
CN201910348814.7A
Other languages
Chinese (zh)
Other versions
CN110071876B (en
Inventor
王江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910348814.7A priority Critical patent/CN110071876B/en
Publication of CN110071876A publication Critical patent/CN110071876A/en
Application granted granted Critical
Publication of CN110071876B publication Critical patent/CN110071876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The embodiment of the present application provides data transmission method, device and the electronic equipment of a kind of block chain.Wherein, data transmission method: when the first node in block chain prepares the transmission first object data of the second node into the block chain, the first network status transmission between the first node and the second node is determined;Determining the first data to match with the first network status transmission split benchmark;Benchmark is split according to first data to split the first object data, obtains at least one first fractionation data;At least one described first fractionation data are respectively sent to the second node, so that the second node is based on first object data described at least one described first fractionation Data Synthesis to submit upper layer processing.

Description

A kind of data transmission method based on block chain, device and electronic equipment
Technical field
The invention relates to block chain technical field more particularly to a kind of data transmission method based on block chain, Device and electronic equipment.
Background technique
Block chain is a key concept for encrypting currency, it is substantially the database of a decentralization, is made simultaneously For the Floor layer Technology for encrypting currency, it is a string of data blocks using the associated generation of cryptography method, is wrapped in each data block The network transaction information for having contained batch encryption currency, for verifying the validity of its information and generating next block.
It is found in block platform chain development process, network environment has a great impact to inter-node communication, how to guarantee Data are effectively and reliably transmitted under the current network environment between the node of block chain, are that the application technology to be solved is asked Topic.
Summary of the invention
The embodiment of the present application purpose is to provide data transmission method, device and the electronic equipment of a kind of block chain, Neng Goubao It demonstrate,proves and effectively and reliably transmits data under the current network environment between the node of block chain.
To achieve the goals above, the embodiment of the present application is achieved in that
In a first aspect, providing a kind of data transmission method of block chain, comprising:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, really First network status transmission between the fixed first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, is obtained at least one and first is torn open Divided data;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on First object data described at least one described first fractionation Data Synthesis are to submit upper layer processing.
Second aspect provides a kind of data transmission device of block chain, comprising:
Status transmission determining module prepares the second node into the block chain in the first node in block chain and sends When first object data, the first network status transmission between the first node and the second node is determined;
Benchmark determining module is split, determining the first data to match with the first network status transmission split benchmark;
Data split module, split benchmark according to first data and split to the first object data, obtain At least one first fractionation data;
At least one described first fractionation data are respectively sent to the second node, with toilet by data transmission blocks It states second node and is based on first object data described at least one described first fractionation Data Synthesis to submit upper layer processing.
The third aspect provides a kind of electronic equipment and includes: memory, processor and be stored on the memory and can be The computer program run on the processor, the computer program are executed by the processor:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, really First network status transmission between the fixed first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, is obtained at least one and first is torn open Divided data;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on First object data described at least one described first fractionation Data Synthesis are to submit upper layer processing.
Fourth aspect provides a kind of calculation machine readable storage medium storing program for executing, is stored with calculating on the computer readable storage medium Machine program, the computer program realize following steps when being executed by processor:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, really First network status transmission between the fixed first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, is obtained at least one and first is torn open Divided data;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on First object data described at least one described first fractionation Data Synthesis are to submit upper layer processing.
Scheme based on the embodiment of the present application, can according to the network transmission state between first node and second node, The fractionation of adaptability is carried out to data to be transmitted, and is sent respectively to data are obtained after fractionation, to guarantee between node Transmittability of the transmission data without departing from node under the current network environment, it is ensured that the communication between node is unimpeded.This Outside, for the node of execution heartbeat mechanism in block chain, asking because of the transmission excessive and wrong initiation reconnection of data can also be avoided Topic guarantees the stability and validity communicated between node.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application embodiment, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the first flow diagram of the data transmission method of block chain provided by the embodiments of the present application.
Fig. 2 is second of flow diagram of the data transmission method of block chain provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of the data transmission device of block chain provided by the embodiments of the present application.
Fig. 4 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without creative efforts Range.
As previously mentioned, finding in block platform chain development process, network environment will cause very the communication between node Big influence.Transmission data between node once exceed the transmittability of node under the current network environment, then will lead to logical There is not smooth problem in letter.Especially for the node for executing heartbeat mechanism in block chain, this kind of node once triggers heartbeat After the connecting detection logic of mechanism, will disconnect with other nodes it is established connection and attempt reconnection.Therefore network environment not When good, the excessive node that easilys lead to of transmission data between node triggers connecting detection logic, and communication is caused to be forced to interrupt.
For this purpose, the application provides a kind of technical solution to solve the above problems, can guarantee between the node of block chain Stablize under current network environment, communication is effectively performed.
Fig. 1 is the flow chart of the data transmission method of the embodiment of the present application block chain.Method shown in FIG. 1 can be by hereafter Corresponding device executes, comprising:
Step S102 prepares the second node into block chain in the first node (can refer to our node) in block chain When (can refer to Correspondent Node) sends first object data, the first network transmission shape between first node and second node is determined Condition.
Wherein, the embodiment of the present application does not limit the method for determination of the network transmission situation between node specifically.
As exemplary introduction.
Network test dynamically can be carried out to the interface channel between first node and second node according to logic of propositions, And the network transmission situation for obtaining network test carries out local cache.Accordingly, this step is ready for sending in first node When one target data, from the network transmission situation obtained in local cache between first node and second node.Alternatively, can also be with When first node is ready for sending first object data, network survey is carried out to the interface channel between first node and second node Examination, determines the network transmission situation between first node and second node.
In addition, block chain can be the arbitrary forms such as alliance's chain, publicly-owned chain, privately owned chain, the embodiment of the present application is not also made to have Body limits.
Step S104, determining the first data to match with first network status transmission split benchmark, and (data split benchmark Refer to the fractionation mode split to data).
Wherein, first network status transmission may include: the network transmission efficiency between first node and second node.This Step determines that the first data are torn open when first object data have exceeded the network transmission efficiency between first node and second node Divide benchmark.For example, determining that obtained network transmission efficiency is the data of a maximum transmitted 5M, it is assumed that first object data it is big Small is 16M, it is determined that the first data split benchmark and first object data at least should be split into 4 parts, and every 4 parts of data are little In 5M.
Step S106, according to the first data split benchmark first object data are split, obtain at least one first Split data.
Specifically, this step further can also split data configuration first after obtaining the first fractionation data for first The mark of target data, to be used to indicate the first fractionation data source in first object data.At the same time it can also being further each A first, which splits data configuration, splits serial number, can split data to each first based on serial number is split for receiving node It is orderly synthesized, reduction obtains first object data.
At least one above-mentioned first fractionation data are respectively sent to second node, so as to second node base by step S108 In at least one above-mentioned first fractionation Data Synthesis first object data to submit upper layer processing.
Wherein, the sending method that the embodiment of the present application does not split data to first makees specific limit.
As exemplary introduction.
This step can based on the interface channel established between first node and second node by it is above-mentioned at least one First fractionation data are successively sent to second node, can also be based on the multiple connections established between first node and second node At least one above-mentioned first fractionation data parallel is sent to second node by channel.
Further, it is also possible to, based on acknowledgement mechanism is determined, send first on above-mentioned basis and split data.It is answered in determination It answers under mechanism, second node can feed back response message to first node after being successfully received the first fractionation data.If first node Do not receive the response message from second node after sending some first fractionation data, then it can be according to dependency rule, again To the transmission of second node the first fractionation data, until transmission times reaches requirement or receives answering for second node after sending Answer information.
Based on the data transmission method of block chain shown in FIG. 1, the scheme of the embodiment of the present application can be according to first node Network transmission state between second node carries out the fractionation of adaptability to data to be transmitted, and to obtaining data after fractionation It is sent respectively, to guarantee transmission energy of the transmission data without departing from node under the current network environment between node Power, it is ensured that the communication between node is unimpeded.In addition, in block chain execute heartbeat mechanism node, can also avoid because The problem of transmitting data excessive and wrong initiation reconnection guarantees the stability and validity communicated between node.
Further, on above-mentioned basis, the method for the embodiment of the present application is also based on first node and receives other Node transmitted data in the manner described above.
That is, the method for the embodiment of the present application further include:
Step S110 receives at least one second fractionation data that the third node in block chain is sent to first node.
It should be understood that third node can be according to transmission side data normal direction first shown in above-mentioned steps S102- step S108 Node sends the second target data.That is, at least one above-mentioned second fractionation data are third nodes according to the second data fractionation base Standard splits the second target data, and it is to be ready for sending the second target based on third node that the second data, which split benchmark, What the second network transmission situation determination when data between corresponding first node and third node obtained;
At least one above-mentioned second fractionation Data Synthesis is the second target data by step S112.
Exemplary introduction as step S110 and step S112.
Also include the mark of the second target data in the message for carrying the second fractionation data that third node is sent with And second split the corresponding fractionation serial number of data.The method of the embodiment of the present application is based on second after reception second splits data The mark of target data creates the file for the second target data in the spatial cache of first node, is split with caching second Data and the corresponding fractionation serial number of the second fractionation data.It, can be according to tearing open after the completion of splitting data buffer storage for all second Divide the sequence of fractionation indicated by serial number, each second fractionation data in file are orderly synthesized, obtain second with reduction Target data.
It is situated between in detail to the method for determining the network transmission situation between first node and second node further below It continues.
As previously mentioned, the network transmission situation between first node and second node can be, but not limited to include: first Network transmission efficiency between node and second node.
Accordingly, the method for the embodiment of the present application can be by sending test data, to detect first node and the second section Network transmission efficiency between point.That is, establishing interface channel in first node and second node first when executing step S102 Afterwards, the communication of first node and second node is initialized, and after the completion of initialization, is based on the interface channel to second Node sends test data.Later, the test feedback data that second node is sent is received, test feedback data instruction has second Node is directed to the receiving time of test data.Finally, the sending time and test of size, test data based on test data The receiving time of data determines the network transmission efficiency between first segment and second node.
As exemplary introduction.
Assuming that test data size is 600m, the sending time of test data is 3:10, and the receiving time of test data is 3:15.3:15-3:10=5 minutes a length of, corresponding net when can determine the transmission of test data according to these above-mentioned information Network efficiency of transmission is 600m/ (5*60S)=2m/S.
After obtaining the network transmission efficiency between first node and second node, network transmission efficiency can be based on into one Step determines that the first data split benchmark.
Certainly, other than network transmission efficiency, the method for the embodiment of the present application can also be based further on and transmit first Other relevant network informations of target target data determine that the first data split benchmark.For example, being based further on first node The network load of network load and/or second node determines that the first data split benchmark.Since mode is not unique, herein not It illustrates and repeats again.
It should be understood that the method for the embodiment of the present application can send and pass dynamically according to the network transmission situation between node Transmission of data.Therefore, according to the data having determined split benchmark to transmission data split after, if network transmission situation into One step deteriorates, and is also based on new fractionation benchmark and splits again to acquisition data are split.
That is, in the embodiment of the present application, first object data can be first node and split benchmark to the according to third data What three target datas were split.Accordingly, it is to be ready for sending third number of targets based on first node that third data, which split benchmark, According to when corresponding first node and second node between network transmission situation determine and to obtain.
Example introduction is carried out below with reference to method of the concrete implementation mode to the present embodiment.
The method of the present embodiment is applied to the data transmission between alliance's chain interior joint.
Wherein, as shown in Fig. 2, the our node of alliance's chain sends the main flow of target data to Correspondent Node, comprising:
Step S201, our node and Correspondent Node establish connection.
Step S202, our node initiate network detection, the network transmission efficiency between determining and Correspondent Node.
In this step, our node is after establishing interface channel success with Correspondent Node, immediately based on the interface channel Test data packet is sent to Correspondent Node, with the network transmission efficiency between test and Correspondent Node, so that more new data is split Benchmark.
Step S203, our node are based on the corresponding data of network transmission efficiency and split benchmark, judge whether to need to mesh Mark data are split.
In this step, if the size of target data has exceeded network transmission efficiency, it is determined that need to target data into Row is split;Otherwise, it determines not needing to split target data.
Step S204, our node are corresponding based on network transmission efficiency after determination needs to split target data Data split benchmark, target data is split into 2 sub- data packets (subdata packet 1,2).
Step S205, our node are based on ACK mechanism, send subdata packet 1 to Correspondent Node.
Step S206, after receiving subdata packet 1, subdata packet 1 is cached Correspondent Node, and to our node The ACK response message of the subdata packet 1 of transmission.
Step S207, our node after receiving the ACK response message of subdata packet 1, initiate network detection, update with Network transmission efficiency between Correspondent Node.
Step S208, our node judge whether to need based on the updated network transmission efficiency between Correspondent Node Subdata packet 2 is wanted to be split.
Step S209, our node do not need ACK mechanism to be based on, to other side after subdata packet 2 split in judgement Node sends subdata packet 2.
Step S210, after receiving subdata packet 2, subdata packet 2 is cached Correspondent Node, and to our node The ACK response message of the subdata packet 2 of transmission.
Step S211, subdata packet 1 and subdata packet 2 are synthesized target data by Correspondent Node, and target data is passed It is crosslinked the upper layer of alliance's chain.
It is the introduction to the method for the embodiment of the present application above.It should be understood that not departing from hereinbefore basis, Variation appropriate can also be carried out, these variations also should be regarded as the protection scope of the embodiment of the present application.
With the data transmission method of above-mentioned block chain correspondingly, as shown in figure 3, the embodiment of the present application also provides a kind of base In the data transmission device 300 of block chain, comprising:
Status transmission determining module 310 prepares the second node into the block chain in the first node in block chain When sending first object data, the network transmission situation between the first node and the second node is determined.
Benchmark determining module 320 is split, based on the network transmission situation between the first node and the second node, Determine that the first data to match split benchmark.
Data split module 330, split benchmark according to first data and split to the first object data, obtain To at least one the first fractionation data.
At least one described first fractionation data are respectively sent to the second node by data transmission blocks 340.
Based on the data transmission device of block chain shown in Fig. 3, the scheme of the embodiment of the present application can be according to first node Network transmission state between second node carries out the fractionation of adaptability to data to be transmitted, and to obtaining data after fractionation It is sent respectively, to guarantee transmission energy of the transmission data without departing from node under the current network environment between node Power, it is ensured that the communication between node is unimpeded.In addition, in block chain execute heartbeat mechanism node, can also avoid because The problem of transmitting data excessive and wrong initiation reconnection guarantees the stability and validity communicated between node.
Optionally, the device of the embodiment of the present application further include:
Data reception module, receive that the third node in the block chain is sent to the first node at least one Two split data, at least one described second fractionation data, which are the third nodes, splits benchmark to the second mesh according to the second data Mark data are split, and it is to be ready for sending second mesh based on the third node that second data, which split benchmark, What the second network transmission situation determination when marking data between the corresponding first node and the third node obtained;
At least one described second fractionation Data Synthesis is second target data by Data Synthesis module.
Optionally, the first network status transmission includes: the network between the first node and the second node Efficiency of transmission.
Optionally, it is logical specifically to establish connection in the first node and the second node for fractionation benchmark determining module 320 Behind road, test data is sent to the second node based on the interface channel;Later, the survey that the second node is sent is received Feedback data is tried, the test feedback data indicates that the second node is directed to the receiving time of the test data;And it is based on The receiving time of the size of the test data, the sending time of the test data and the test data, determine described in Network transmission efficiency between first segment and the second node.
Optionally, benchmark determining module 320 is split to pass based on the network between the first node and the second node The network load of defeated situation, the network load of the first node and/or the second node determines the first data to match Split benchmark.
Optionally, to be the first node split benchmark to third number of targets according to third data to the first object data It is obtained according to fractionation, it is when being ready for sending the third target data based on the first node that the third data, which split benchmark, What the network transmission situation determination between the corresponding first node and the second node obtained.
Optionally, the data transmission blocks 340 are specifically based on determining acknowledgement mechanism, will at least one described first fractionation Data are respectively sent to the second node.
Optionally, the block chain is alliance's chain.
Obviously, the data transmission device of the block chain of the embodiment of the present application can be used as above-mentioned block chain shown in FIG. 1 The executing subject of data transmission method, therefore the data transmission device can be realized data transmission method and be realized in Fig. 1 and Fig. 2 Function.Since principle is identical, repeats no more herein.
Fig. 4 is the structural schematic diagram of one embodiment electronic equipment of the application.Referring to FIG. 4, in hardware view, the electricity Sub- equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..Only to be indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus or a type of convenient for indicating Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer Data transmission device is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following operation:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, really First network status transmission between the fixed first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, is obtained at least one and first is torn open Divided data;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on First object data described at least one described first fractionation Data Synthesis are to submit upper layer processing.
The data transmission method of block chain disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application can be applied to processor In, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It was realizing Each step of Cheng Zhong, the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional place Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory, This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.The storage medium is located at memory, and processor reads the information in memory, completes above-mentioned side in conjunction with its hardware The step of method.
It should be understood that the electronic equipment of the embodiment of the present application may be implemented the data transmission device of above-mentioned block chain in Fig. 1 and The function of embodiment shown in Fig. 2, repeats no more herein.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of the application, for example patrol Collect device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each patrol Unit is collected, hardware or logical device are also possible to.
In addition, the embodiment of the present application also proposed a kind of computer readable storage medium, the computer readable storage medium One or more programs are stored, which includes instruction, and it is included the portable of multiple application programs which, which works as, When formula electronic equipment executes, the method that the portable electronic device can be made to execute embodiment illustrated in fig. 1, and be specifically used for executing Following methods:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, really First network status transmission between the fixed first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, is obtained at least one and first is torn open Divided data;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on First object data described at least one described first fractionation Data Synthesis are to submit upper layer processing.
It should be understood that above-metioned instruction can make above when the portable electronic device for being included multiple application programs executes The data transmission device of the block chain realizes the function of Fig. 1 and embodiment illustrated in fig. 2, and repeats no more herein.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification The form of example.Moreover, it wherein includes the computer of computer usable program code that this specification, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
The above is only the embodiments of this specification, are not limited to this specification.For those skilled in the art For, this specification can have various modifications and variations.All any modifications made within the spirit and principle of this specification, Equivalent replacement, improvement etc., should be included within the scope of the claims of this specification.

Claims (11)

1. a kind of data transmission method of block chain, comprising:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, institute is determined State the first network status transmission between first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, obtains at least one first fractionation number According to;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on described First object data described at least one first fractionation Data Synthesis are to submit upper layer processing.
2. according to the method described in claim 1, further include:
At least one for receiving that the third node in the block chain sends to the first node second splits data, it is described extremely Few one second fractionation data are that the third node split to the second target data according to the second data fractionation benchmark It arrives, it is to be ready for sending corresponding institute when second target data based on the third node that second data, which split benchmark, State what the second network transmission situation determination between first node and the third node obtained;
It is second target data by least one described second fractionation Data Synthesis.
3. method according to claim 1 or 2,
The first network status transmission includes: the network transmission efficiency between the first node and the second node.
4. according to the method described in claim 3,
Determine the first network status transmission between the first segment and the second node, comprising:
After the first node and the second node establish interface channel, the interface channel is based on to the second node Send test data;
The test feedback data that the second node is sent is received, the test feedback data indicates that the second node is directed to institute State the receiving time of test data;
The sending time of size, the test data based on the test data and the receiving time of the test data, Determine the network transmission efficiency between the first segment and the second node.
5. method according to claim 1 or 2,
Determining the first data to match with the first network status transmission split benchmark, further includes:
Network load based on network transmission situation, the first node between the first node and the second node And/or the network load of the second node, determine that the first data to match split benchmark.
6. method according to claim 1 or 2,
The first object data are that the first node splits to obtain according to third data fractionation benchmark to third target data , the third data split benchmark be ready for sending based on the first node it is corresponding described when the third target data What the network transmission situation determination between first node and the second node obtained.
7. method according to claim 1 or 2,
At least one described first fractionation data are respectively sent to the second node, comprising:
Based on acknowledgement mechanism is determined, at least one described first fractionation data are respectively sent to the second node.
8. method according to claim 1 or 2,
The block chain is alliance's chain.
9. a kind of data transmission device of block chain, comprising:
Status transmission determining module prepares the second node into the block chain in the first node in block chain and sends first When target data, the first network status transmission between the first node and the second node is determined;
Benchmark determining module is split, determining the first data to match with the first network status transmission split benchmark;
Data split module, split benchmark according to first data and split to the first object data, obtain at least One first fractionation data;
At least one described first fractionation data are respectively sent to the second node, so as to described the by data transmission blocks Two nodes are based on first object data described at least one described first fractionation Data Synthesis to submit upper layer processing.
10. a kind of electronic equipment includes: memory, processor and is stored on the memory and can transport on the processor Capable computer program, the computer program are executed by the processor:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, institute is determined State the first network status transmission between first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, obtains at least one first fractionation number According to;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on described First object data described at least one first fractionation Data Synthesis are to submit upper layer processing.
11. a kind of computer readable storage medium, computer program, the meter are stored on the computer readable storage medium Calculation machine program realizes following steps when being executed by processor:
When the first node in block chain prepares the transmission first object data of the second node into the block chain, institute is determined State the first network status transmission between first node and the second node;
Determining the first data to match with the first network status transmission split benchmark;
Benchmark is split according to first data to split the first object data, obtains at least one first fractionation number According to;
At least one described first fractionation data are respectively sent to the second node, so that the second node is based on described First object data described at least one first fractionation Data Synthesis are to submit upper layer processing.
CN201910348814.7A 2019-04-28 2019-04-28 Block chain-based data transmission method and device and electronic equipment Active CN110071876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910348814.7A CN110071876B (en) 2019-04-28 2019-04-28 Block chain-based data transmission method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910348814.7A CN110071876B (en) 2019-04-28 2019-04-28 Block chain-based data transmission method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110071876A true CN110071876A (en) 2019-07-30
CN110071876B CN110071876B (en) 2023-04-28

Family

ID=67369229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910348814.7A Active CN110071876B (en) 2019-04-28 2019-04-28 Block chain-based data transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110071876B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211876A (en) * 2020-01-02 2020-05-29 支付宝(杭州)信息技术有限公司 Method and device for sending response message aiming at data request and block chain system
CN112417052A (en) * 2020-12-03 2021-02-26 腾讯科技(深圳)有限公司 Data synchronization method, device, equipment and storage medium in block chain network
CN113079081A (en) * 2020-09-25 2021-07-06 支付宝(杭州)信息技术有限公司 Message transmission method and device
CN113438219A (en) * 2020-07-08 2021-09-24 支付宝(杭州)信息技术有限公司 Replay transaction identification method and device based on block chain all-in-one machine
CN113507480A (en) * 2021-07-23 2021-10-15 北京众享比特科技有限公司 Network equipment, network gate equipment and system, and data transmission and reporting method between networks
CN113573309A (en) * 2021-09-24 2021-10-29 国网浙江省电力有限公司杭州供电公司 Energy data processing method and device based on multi-order zigbee
CN113835990A (en) * 2020-06-23 2021-12-24 中科寒武纪科技股份有限公司 Detection method, detection device, computer equipment and storage medium
CN114157716A (en) * 2021-12-02 2022-03-08 深圳前海微众银行股份有限公司 Data processing method and device based on block chain and electronic equipment
CN114157670A (en) * 2021-11-05 2022-03-08 支付宝(杭州)信息技术有限公司 Message transmission method and device
US11444783B2 (en) 2020-07-08 2022-09-13 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for processing transactions based on blockchain integrated station
US11463553B2 (en) 2020-07-08 2022-10-04 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for identifying to-be-filtered transaction based on blockchain integrated station
US11665234B2 (en) 2020-07-08 2023-05-30 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for synchronizing data based on blockchain integrated station
US11783339B2 (en) 2020-07-08 2023-10-10 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for transferring transaction based on blockchain integrated station

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016071076A1 (en) * 2014-11-07 2016-05-12 Nokia Solutions And Networks Oy Data forwarding support in dual connectivity
CN108738078A (en) * 2018-06-25 2018-11-02 北斗地网(重庆)科技集团有限公司 A kind of transmission side data subtraction unit, equipment and readable storage medium storing program for executing
CN108809517A (en) * 2018-05-22 2018-11-13 泰康保险集团股份有限公司 Information acquisition method and device in a kind of block chain network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016071076A1 (en) * 2014-11-07 2016-05-12 Nokia Solutions And Networks Oy Data forwarding support in dual connectivity
CN108809517A (en) * 2018-05-22 2018-11-13 泰康保险集团股份有限公司 Information acquisition method and device in a kind of block chain network
CN108738078A (en) * 2018-06-25 2018-11-02 北斗地网(重庆)科技集团有限公司 A kind of transmission side data subtraction unit, equipment and readable storage medium storing program for executing

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211876B (en) * 2020-01-02 2021-10-12 支付宝(杭州)信息技术有限公司 Method and device for sending response message aiming at data request and block chain system
CN111211876A (en) * 2020-01-02 2020-05-29 支付宝(杭州)信息技术有限公司 Method and device for sending response message aiming at data request and block chain system
CN113835990A (en) * 2020-06-23 2021-12-24 中科寒武纪科技股份有限公司 Detection method, detection device, computer equipment and storage medium
CN113835990B (en) * 2020-06-23 2024-01-30 中科寒武纪科技股份有限公司 Detection method, detection device, computer equipment and storage medium
US11783339B2 (en) 2020-07-08 2023-10-10 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for transferring transaction based on blockchain integrated station
CN113438219A (en) * 2020-07-08 2021-09-24 支付宝(杭州)信息技术有限公司 Replay transaction identification method and device based on block chain all-in-one machine
US11463553B2 (en) 2020-07-08 2022-10-04 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for identifying to-be-filtered transaction based on blockchain integrated station
US11665234B2 (en) 2020-07-08 2023-05-30 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for synchronizing data based on blockchain integrated station
US11336660B2 (en) 2020-07-08 2022-05-17 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for identifying replay transaction based on blockchain integrated station
US11444783B2 (en) 2020-07-08 2022-09-13 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for processing transactions based on blockchain integrated station
US11924276B2 (en) 2020-09-25 2024-03-05 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for transmitting messages
CN113079081A (en) * 2020-09-25 2021-07-06 支付宝(杭州)信息技术有限公司 Message transmission method and device
US11388229B2 (en) 2020-09-25 2022-07-12 Alipay (Hangzhou) Information Technology Co., Ltd. Methods and apparatuses for transmitting messages
CN113079081B (en) * 2020-09-25 2022-08-02 支付宝(杭州)信息技术有限公司 Message transmission method and device
CN112417052A (en) * 2020-12-03 2021-02-26 腾讯科技(深圳)有限公司 Data synchronization method, device, equipment and storage medium in block chain network
CN113507480A (en) * 2021-07-23 2021-10-15 北京众享比特科技有限公司 Network equipment, network gate equipment and system, and data transmission and reporting method between networks
CN113507480B (en) * 2021-07-23 2023-10-27 北京众享比特科技有限公司 Network equipment, gateway equipment and system and inter-network data transmission and reporting method
CN113573309B (en) * 2021-09-24 2021-12-10 国网浙江省电力有限公司杭州供电公司 Energy data processing method and device
CN113573309A (en) * 2021-09-24 2021-10-29 国网浙江省电力有限公司杭州供电公司 Energy data processing method and device based on multi-order zigbee
CN114157670A (en) * 2021-11-05 2022-03-08 支付宝(杭州)信息技术有限公司 Message transmission method and device
CN114157716A (en) * 2021-12-02 2022-03-08 深圳前海微众银行股份有限公司 Data processing method and device based on block chain and electronic equipment

Also Published As

Publication number Publication date
CN110071876B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN110071876A (en) A kind of data transmission method based on block chain, device and electronic equipment
CN103368722A (en) System and method for improving bluetooth low energy privacy
CN105897947B (en) The Network Access Method and device of mobile terminal
CN105657000A (en) Message transmission method and device
CN103781055A (en) Data downloading method and associated device
CN112804675B (en) Wireless communication core network and method for analyzing movement of user equipment therein
CN104955095A (en) Communication network detection method and communication network detection device
CN108647131B (en) Output system of running log
CN109408309A (en) The test method and device of multiple terminals
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN108322366A (en) Access the methods, devices and systems of network
CN107248910A (en) Method for security protection and equipment
CN117176802B (en) Full-link monitoring method and device for service request, electronic equipment and medium
CN104050054A (en) Processing method for installation package installation failure and cause determining method and device
CN112383513B (en) Crawler behavior detection method and device based on proxy IP address pool and storage medium
US20230007873A1 (en) Management Method and Apparatus for System Configuration Independent of Smart Contract for Blockchain
CN108650170A (en) A kind of display methods and device of information
CN111432453B (en) Communication channel determination method, device and equipment
CN108647315A (en) Collecting method and system
CN104320766A (en) Spam short message identification method, device and equipment
CN112422485B (en) Communication method and device of transmission control protocol
CN107944861A (en) A kind of cash register system based on block chain technology
CN109586788B (en) Monitoring system fault diagnosis method and device, computer equipment and storage medium
CN109639698A (en) A kind of data processing method and server
CN102346717A (en) Intelligent platform management interface (IPMI) message transmission device, system 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200923

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

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

Applicant after: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant