CN110061856A - A kind of communication means based on block chain, device and electronic equipment - Google Patents

A kind of communication means based on block chain, device and electronic equipment Download PDF

Info

Publication number
CN110061856A
CN110061856A CN201910172207.XA CN201910172207A CN110061856A CN 110061856 A CN110061856 A CN 110061856A CN 201910172207 A CN201910172207 A CN 201910172207A CN 110061856 A CN110061856 A CN 110061856A
Authority
CN
China
Prior art keywords
block chain
node
client
candidate access
multiple candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910172207.XA
Other languages
Chinese (zh)
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 CN201910172207.XA priority Critical patent/CN110061856A/en
Publication of CN110061856A publication Critical patent/CN110061856A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the present application provides a kind of block chain communication means, device and electronic equipment.Wherein, block chain communication means includes: block chain client when preparing to send message to block chain, the selection target node in multiple candidate access nodes of the block chain;Block chain client initiates the connection for being directed to the destination node;If successful connection, block chain client sends the message to the destination node.

Description

A kind of communication means based on block chain, device and electronic equipment
Technical field
The invention relates to technical field of data processing more particularly to a kind of communication means based on block chain, dress It sets 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.
In block platform chain development process, the client-side program that there is an urgent need to can communicate with block chain, for initiating It (such as trades, inquire) in the relevant operation of encryption currency.For this purpose, realizing block chain how under the requirement of low consumption of resources Communication between client and block chain is technical problems to be solved in this application.
Summary of the invention
The embodiment of the present application purpose is to provide a kind of block chain communication means, device and electronic equipment, can be in low-resource Under the requirement of consumption, the communication between block chain client and block chain is realized.
To achieve the goals above, the embodiment of the present application is achieved in that
In a first aspect, providing a kind of block chain communication means, comprising:
Block chain client is when preparing to send message to block chain, in multiple candidate access nodes of the block chain Selection target node;
Block chain client initiates the connection for being directed to the destination node;
If successful connection, block chain client sends the message to the destination node.
Second aspect provides a kind of block chain communication device, comprising:
Node selection module, when block chain client prepares to send message to block chain, in the multiple of the block chain Selection target node in candidate access node;
Initiation module is connected, the connection for the destination node is played;
Information sending module sends communication data to destination node if being used for successful connection.
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:
Block chain client is when preparing to send message to block chain, in multiple candidate access nodes of the block chain Selection target node;
Block chain client initiates the connection for being directed to the destination node;
If successful connection, block chain client sends the message to the destination node.
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:
Block chain client is when preparing to send message to block chain, in multiple candidate access nodes of the block chain Selection target node;
Block chain client initiates the connection for being directed to the destination node;
If successful connection, block chain client sends the message to the destination node.
Scheme based on the embodiment of the present application, block chain client are directly attempted when preparing to send information to block chain The access node in block chain is connected, and sends information to access node after successful connection.Since entire communication process is not required to Block chain client is wanted to monitor the available mode of access node, so that the execution complexity of block chain client and resource consumption obtain To being greatly optimized.
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 block chain communication means provided by the embodiments of the present application.
Fig. 2 is second of flow diagram of block chain communication means provided by the embodiments of the present application.
Fig. 3 is the third flow diagram of block chain communication means provided by the embodiments of the present application.
Fig. 4 is the structural schematic diagram of block chain communication device provided by the embodiments of the present application.
Fig. 5 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, in block platform chain development process, the client-side program that there is an urgent need to can communicate with block chain, For initiating operation relevant to currency is encrypted.For this purpose, the application is intended to provide a kind of block chain client of low consumption of resources With the communication plan between block chain.
Fig. 1 is the flow chart of the embodiment of the present application block chain communication means.Method shown in FIG. 1 can be by hereafter corresponding Device execute, comprising:
Step S102, block chain client is when preparing to send message to block chain, in multiple candidate accesses of block chain Selection target node in node.
In this step, block chain client can be based on pre-set selection mode, connect from available multiple candidates Destination node is chosen in ingress.
For example, block chain client can be based on priority weighting, the candidate access node conduct of highest priority is selected Destination node.For another example, electronic equipment can pick out a candidate access node as destination node using polling mode.By Not unique in the selection mode of destination node, the embodiment of the present application is not especially limited.
Step S104, block chain client initiate the connection for being directed to destination node.
In this step, the number for allowing block chain client to initiate the connection to destination node is preset.Block chain visitor The connection for being directed to destination node is persistently initiated at family end within a preset period of time, until successful connection or connection failure number reach To preset times.Wherein, in order to avoid block chain client consumes excess resource during initiating the connection, preset times with It is advisable for no less than 2 times and not more than 4 times.
Step S106, if successful connection, block chain client transmits the message to destination node.
It should be understood that access node of the destination node as block chain, received message can be further sent to block Chain server-side.
Based on block chain communication means shown in FIG. 1, block chain client is when preparing to send information to block chain, directly The access node in connection block chain is attempted, and sends information to access node after successful connection.Due to entire communication process The available mode that block chain client monitors access node is not needed, so that the execution complexity and resource of block chain client disappear Consumption is greatly optimized.
On above-mentioned basis, the method for the embodiment of the present application can also connect mistake with destination node in block chain client When losing, above-mentioned steps S102 is re-executed to above-mentioned steps S106.As long as that is, having attachable candidate access node, block chain Client is surely successfully transmitted outbound message with regard to one.
It describes in detail below to block chain communication means.
In the embodiment of the present application, block chain client can be arranged in multiple candidate access nodes in block chain client Host node and slave node.Wherein, host node, which is elected to be, is higher than slave node for the priority of destination node.
As a kind of implementation, block chain client starts communication thread when preparing to send message to block chain, with Obtain multiple candidate access nodes of access block chain.Later, block chain client configuring area in multiple candidate access nodes The host node and slave node of block chain client
Specifically, block chain client can be connect based on the priority weighting of candidate access node from above-mentioned multiple candidates The candidate access node of highest priority is chosen in ingress as host node, remaining candidate access node is as slave node.
It is connect for example, block chain client gets candidate access node 1, candidate access node 2 and choosing based on communication thread Ingress 3.Wherein, the corresponding priority weighting of candidate access node 1 is III, the corresponding priority weighting of candidate access node 2 It is III, the corresponding priority weighting of candidate access node 3 is I.If priority weighting is directly proportional to value, block chain client Candidate access node 1 can be used as to host node, and regard candidate access node 2 and candidate access node 3 as slave node.
As another implementation, block chain client starts communication thread when preparing to send message to block chain, To obtain multiple candidate access nodes of access block chain.Later, block chain client is matched based on the history node of local cache Confidence breath determines the host node and slave node of block chain client from multiple candidate access nodes.
Specifically, block chain client can continue to use the host node and slave node previously configured when being ready for sending message.
For example, block chain client, which is based on communication thread, gets candidate access node 1 to candidate access node 8.Wherein, If history node indicates that candidate access node 5 was once used as the host node of block chain client, block chain client with confidence Candidate access node 5 is directly continued to use as host node, remaining candidate access node 1-4,6-8 is made when this sends message in end For slave node.
After determining host node, block chain client can be using host node as destination node, and attempts to initiate for mesh Mark the connection of node.
Wherein, if host node (for example the number of connection master node failure is greater than predetermined threshold), block chain can not be connected Client can select slave node as updated host node in multiple candidate access nodes of block chain, and will be after update Host node as the destination node.
As exemplary introduction, block chain client can be when that can not connect host node, according to priority weighting from big To small sequence, a slave node is chosen as host node.Alternatively, block chain client can also be chosen by the way of poll One slave node is as host node.Since mode is not unique, the embodiment of the present application is not especially limited.
In addition, in extreme circumstances, if block chain client is whole in the connection initiated for multiple candidate access nodes When failure, then multiple candidate access nodes of access block chain can be updated again through communication thread, and re-execute above-mentioned Step S102 to step S106, to guarantee that message can be successfully transmitted.
In addition, block chain client can also be mentioned in the connection all failures initiated for multiple candidate access nodes Show the inspection network equipment, or starting network state check process, so that whether check in time is that network problem causes connection to be lost It loses.
Example introduction is carried out below with reference to main flow of the different implementations to the method for the present embodiment.
Implementation one
As shown in Fig. 2, the main flow of this implementation one includes:
Step S201, block chain client configure the host node of block chain client and standby in multiple candidate access nodes Node.
Step S202, block chain client initiate the connection for being directed to host node.
Step S203, block chain client judge whether to be successfully connected host node;It is to then follow the steps S204;It is no, then it holds Row step S206.
Step S204, block chain client send message to host node.
Step S205, block chain client judge whether message sends success;It is then to terminate;It is no, then return to step S202。
Whether step S206, the judgement of block chain client are directed to the reconnection number of host node less than 3;It is then to return to step S202;It is no, then follow the steps S207.
Step S207, block chain client chooses a slave node and is updated to host node, and returns to step S202.
Based on above-mentioned implementation one, block chain client, can be in candidate access node when needing to send communication data Middle configuration host node and slave node, and preferentially attempt to initiate the connection to host node.If successful connection, disappear to host node transmission Breath.If connection failure, then slave node is updated to host node, and reattempt to and initiate the connection to updated host node, thus As long as guarantee has attachable candidate access node, information one is surely sent successfully, realizes block chain client and block Reliability communications between chain.Maintain communication to monitor candidate access node in addition, whole process does not need block chain client Available mode, therefore the execution logic and resource consumption of block chain client has been greatly optimized.
This implementation two
As shown in figure 3, the main flow of this implementation two includes:
Step S301, block chain client judge locally whether be cached with history node configuration information, the configuration of history node Information indicates the host node of block chain client history setting and from node;It is to then follow the steps S302;It is no, it thens follow the steps S303。
Step S302, block chain client are based on history node configuration information, determine the master in multiple candidate access nodes Node and slave node.
In this step, the candidate access section for being once set as host node can be determined based on history node configuration information Point, and host node is set by candidate's access node, remaining candidate access node is set as slave node.
Step S303, block chain client configure the host node of block chain client and standby in multiple candidate access nodes Node.
Step S304, block chain client initiate the connection for being directed to host node.
Step S305, block chain client judge whether to be successfully connected host node;It is to then follow the steps S306;It is no, then it holds Row step S309.
Step S306, block chain client send message to host node.
Step S307, block chain client judge whether message sends success;It is then to terminate;It is no, then return to step S304。
Step S308, block chain client generate new history node configuration information and are cached.
In this step, if previously caching the history node configuration information haveing been friends in the past, new history node can be configured Information replaces old history node configuration information.
Whether step S309, the judgement of block chain client are directed to the reconnection number of host node less than 3;It is then to return to step S304;It is no, then follow the steps S310.
Step S310, block chain client chooses a slave node and is updated to host node, and returns to step S304.
Based on above-mentioned implementation two, block chain client, can be according to local cache when needing to send communication data History node configuration information continues to continue to use in multiple candidate choosing accesses once configured host node, and preferentially attempts to main section Point initiates the connection.If successful connection, message is sent to host node.If connection failure, then slave node is updated to host node, and It reattempts to and is initiated the connection to updated host node, as long as to guarantee there is attachable candidate access node, information one Surely send the reliability communications successfully realized between block chain client and block chain.In addition, whole process does not need area Block chain client maintains communication to monitor the available mode of candidate access node, therefore holding for block chain client has been greatly optimized Row logic and resource consumption.
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 above-mentioned block chain communication means correspondingly, as shown in figure 4, the embodiment of the present application also provide it is a kind of based on block Chain communication device 400, comprising:
Node selection module 410, when block chain client prepares to send message to block chain, in the more of the block chain Selection target node in a candidate's access node.
Initiation module 420 is connected, the connection for the destination node is played.
Information sending module 430 sends communication data to destination node if being used for successful connection.
Block chain communication device based on shown in Fig. 4, block chain client is when preparing to send information to block chain, directly The access node in connection block chain is attempted, and sends information to access node after successful connection.Due to entire communication process The available mode that block chain client monitors access node is not needed, so that the execution complexity and resource of block chain client disappear Consumption is greatly optimized.
Optionally, the device of the embodiment of the present application can also determine block chain client in multiple candidate access nodes Host node and slave node, and preferentially choose host node as destination node.
As one of implementation, the node selection module 410 of the embodiment of the present application includes:
Node acquiring unit starts communication thread, to obtain multiple candidate access nodes of access block chain.
Node configuration unit configures the host node of the block chain client and standby in the multiple candidate access node Node, wherein the priority that the host node is selected as the destination node is higher than the slave node.
Illustratively, it is assumed that node acquiring unit is based on communication thread and gets candidate access node 1, candidate access node 2 and select access node 3.Wherein, the corresponding priority weighting of candidate access node 1 is III, and candidate access node 2 is corresponding preferential Grade weight is III, and the corresponding priority weighting of candidate access node 3 is I.If priority weighting is directly proportional to value, Qu Jiedian Configuration unit as standby to save candidate access node 1 as host node, and by candidate access node 2 and candidate access node 3 Point.
As another implementation, the node selection module 410 of the embodiment of the present application can also include:
Node acquiring unit starts communication thread, to obtain multiple candidate access nodes of access block chain.
Node configures determining module, the history node configuration information based on local cache, from multiple candidate access nodes Determine the host node and slave node of the block chain client.
Illustratively, it is assumed that node acquiring unit is based on communication thread and gets candidate access node 1 to candidate's access section Point 8.Wherein, find that candidate access node 5 was once used as the host node of block chain client with confidence based on history node, then Node, which configures determining module, directly to regard candidate access node 5 as host node, remaining candidate access node 1-4,6-8 conduct Slave node.
Optionally, node selection module 410 specifically selected in multiple candidate access nodes of block chain host node as Destination node.
Optionally, when the number for connecting master node failure is greater than predetermined threshold, node selection module 410 is in block chain Select slave node as updated host node in multiple candidate's access nodes, and using updated host node as the target Node.As long as the device one of the embodiment of the present application is surely successfully transmitted information that is, there is attachable candidate access node.
Optionally, the device node acquiring unit of the embodiment of the present application can also be for the multiple candidate access node When the connection of initiation all fails, multiple candidate access nodes of access block chain are updated again through communication thread.
Optionally, the device of the embodiment of the present application includes:
Network prompts module prompts to check in the connection all failures initiated for the multiple candidate access node The network equipment.
Obviously, the block chain communication device of the embodiment of the present application can be used as above-mentioned block chain communication means shown in FIG. 1 Executing subject, therefore the block chain communication device can be realized the function that block chain communication means is realized in Fig. 1-Fig. 3.By Identical in principle, repeats no more herein.
Fig. 5 is the structural schematic diagram of one embodiment electronic equipment of the application.Referring to FIG. 5, 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. 5, 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 Question and answer are formed on face to data mining device.Processor executes the program that memory is stored, and is specifically used for executing following behaviour Make:
When block chain client prepares to send message to block chain, in multiple candidate access nodes of the block chain Selection target node;
Initiate the connection for being directed to the destination node;
If successful connection, the destination node is sent the message to.
Electronic equipment based on the embodiment of the present application, block chain client is when preparing to send information to block chain, directly The access node in connection block chain is attempted, and sends information to access node after successful connection.Due to entire communication process The available mode that block chain client monitors access node is not needed, so that the execution complexity and resource of block chain client disappear Consumption is greatly optimized.
Block chain communication means disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application can be applied in processor, or It is realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.During realization, on Each step for stating method can be completed by the integrated logic circuit of the hardware in processor or the instruction of software form.It is above-mentioned Processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processes Device (Network Processor, NP) etc.;Can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystalline substance Body pipe logical device, discrete hardware components.May be implemented or execute disclosed each method in the embodiment of the present application, step and Logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with The step of method disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute completion, or with decoding Hardware and software module combination in processor execute completion.Software module can be located at random access memory, flash memory, read-only storage In the storage medium of this fields such as device, programmable read only memory or electrically erasable programmable memory, register maturation.It should The step of storage medium is located at memory, and processor reads the information in memory, completes the above method in conjunction with its hardware.
It should be understood that above-mentioned block chain communication device may be implemented shown in Fig. 1-Fig. 3 in the electronic equipment of the embodiment of the present application Embodiment function, 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 block chain client prepares to send message to block chain, in multiple candidate access nodes of the block chain Selection target node;
Initiate the connection for being directed to the destination node;
If successful connection, the destination node is sent the message to.
It should be understood that above-metioned instruction can make above when the portable electronic device for being included multiple application programs executes The block chain communication device realizes Fig. 1-embodiment illustrated in fig. 3 function, 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 block chain communication means, comprising:
Block chain client selects in multiple candidate access nodes of the block chain when preparing to send message to block chain Destination node;
Block chain client initiates the connection for being directed to the destination node;
If successful connection, block chain client sends the message to the destination node.
2. according to the method described in claim 1,
In block chain client in multiple candidate access nodes of the block chain before selection target node, the method is also Include:
Block chain client terminal start-up communication thread, to obtain multiple candidate access nodes of access block chain;
Block chain client configures the host node and slave node of the block chain client in the multiple candidate access node, Wherein, the priority that the host node is selected as the destination node is higher than the slave node.
3. according to the method described in claim 1,
In block chain client in multiple candidate access nodes of the block chain before selection target node, the method packet It includes:
Block chain client terminal start-up communication thread, to obtain multiple candidate access nodes of access block chain;
History node configuration information of the block chain client based on local cache is determined described from multiple candidate access nodes The host node and slave node of block chain client.
4. according to the method in claim 2 or 3,
Block chain client selection target node in multiple candidate access nodes of the block chain, comprising:
Block chain client selects host node as destination node in multiple candidate access nodes of block chain.
5. according to the method in claim 2 or 3,
Block chain client selection target node in multiple candidate access nodes of block chain, further includes:
When the number for connecting master node failure is greater than predetermined threshold, multiple candidate access sections of the block chain client in block chain Select slave node as updated host node in point, and using updated host node as the destination node.
6. according to the method described in claim 5,
Block chain client is in the connection all failures initiated for the multiple candidate access node, again through communication line Cheng Gengxin accesses multiple candidate access nodes of block chain.
7. according to the method described in claim 5,
Block chain client prompts to check that network is set in the connection all failures initiated for the multiple candidate access node It is standby.
8. according to the method in claim 2 or 3,
Block chain client initiates the connection for being directed to the destination node, comprising:
Block chain client persistently initiates the connection for being directed to the destination node within a preset period of time, until successful connection, or Person's connection failure number reaches preset times.
9. a kind of block chain communication device, comprising:
Node selection module, when block chain client prepares to send message to block chain, in multiple candidates of the block chain Selection target node in access node;
Initiation module is connected, the connection for the destination node is played;
Information sending module sends communication data to destination node if being used for successful connection.
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 block chain client prepares to send message to block chain, selected in multiple candidate access nodes of the block chain Destination node;
Initiate the connection for being directed to the destination node;
If successful connection, the destination node is sent the message to.
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 block chain client prepares to send message to block chain, selected in multiple candidate access nodes of the block chain Destination node;
Initiate the connection for being directed to the destination node;
If successful connection, the destination node is sent the message to.
CN201910172207.XA 2019-03-07 2019-03-07 A kind of communication means based on block chain, device and electronic equipment Pending CN110061856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910172207.XA CN110061856A (en) 2019-03-07 2019-03-07 A kind of communication means based on block chain, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910172207.XA CN110061856A (en) 2019-03-07 2019-03-07 A kind of communication means based on block chain, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110061856A true CN110061856A (en) 2019-07-26

Family

ID=67316655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910172207.XA Pending CN110061856A (en) 2019-03-07 2019-03-07 A kind of communication means based on block chain, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110061856A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021217849A1 (en) * 2020-04-30 2021-11-04 平安科技(深圳)有限公司 Blockchain node synchronization method, apparatus and device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395659A (en) * 2017-03-28 2017-11-24 阿里巴巴集团控股有限公司 A kind of method and device of service handling and common recognition
CN108111604A (en) * 2017-12-21 2018-06-01 广州广电运通金融电子股份有限公司 Block chain common recognition methods, devices and systems, identification information treating method and apparatus
WO2018177264A1 (en) * 2017-03-30 2018-10-04 腾讯科技(深圳)有限公司 Distributed system, message processing method, node, client, and storage medium
CN109286668A (en) * 2018-09-26 2019-01-29 上海点融信息科技有限责任公司 It is sent for the communication of block chain network, message, message receival method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395659A (en) * 2017-03-28 2017-11-24 阿里巴巴集团控股有限公司 A kind of method and device of service handling and common recognition
WO2018177264A1 (en) * 2017-03-30 2018-10-04 腾讯科技(深圳)有限公司 Distributed system, message processing method, node, client, and storage medium
CN108111604A (en) * 2017-12-21 2018-06-01 广州广电运通金融电子股份有限公司 Block chain common recognition methods, devices and systems, identification information treating method and apparatus
CN109286668A (en) * 2018-09-26 2019-01-29 上海点融信息科技有限责任公司 It is sent for the communication of block chain network, message, message receival method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021217849A1 (en) * 2020-04-30 2021-11-04 平安科技(深圳)有限公司 Blockchain node synchronization method, apparatus and device, and storage medium

Similar Documents

Publication Publication Date Title
CN108323200B (en) Data training method and device based on block chain, storage medium and block chain link points
CN108011935B (en) Program upgrading method of NB-IOT (network node B-IOT) equipment, server and NB-IOT equipment
CN108984645B (en) Block chain processing method, device, equipment and storage medium
CN103647820B (en) Referee method and arbitration device for distributed cluster system
CN110601849A (en) Trusted timestamp adding method and device and storage medium
CN107832329A (en) Page resource acquisition methods and terminal device
CN110912990B (en) Method and related equipment for updating consensus period
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN110061856A (en) A kind of communication means based on block chain, device and electronic equipment
CN112954716A (en) Network access method and device of mesh network, computer equipment and storage medium
CN109669642B (en) Node joining method, system and device of storage system and readable storage medium
KR100767986B1 (en) Terminal unit
CN114827967B (en) Software updating method, bluetooth device and storage medium
CN110347380A (en) Front and back end development approach and equipment
CN114003525B (en) Data transmission method, module, device, equipment and storage medium
CN110069274A (en) Pond server ReDriver chip configures update method and device
CN111314151B (en) Node management method, node management device, electronic equipment and computer readable storage medium
CN110495157A (en) The communication system of serial communication is carried out between communication equipment
CN111464395B (en) Method and device for creating blockchain and readable storage medium
CN113377385A (en) Client automatic deployment method and device
CN108121580A (en) The implementation method and device of application notification service
CN111371799A (en) Method, device and equipment for controlling data transmission and reception of MCTP (Multi-channel media processing protocol) controller
CN100356363C (en) Methods and systems for dynamic partition management of shared-interconnect partitions
CN110086661B (en) Method and device for identifying virtual terminal
CN111476663B (en) Data processing method and device, node 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40011385

Country of ref document: HK

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: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 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.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190726