CN109831313A - Group communication method, equipment and computer readable storage medium - Google Patents

Group communication method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109831313A
CN109831313A CN201910210203.6A CN201910210203A CN109831313A CN 109831313 A CN109831313 A CN 109831313A CN 201910210203 A CN201910210203 A CN 201910210203A CN 109831313 A CN109831313 A CN 109831313A
Authority
CN
China
Prior art keywords
node
group
participates
address
transit
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
CN201910210203.6A
Other languages
Chinese (zh)
Other versions
CN109831313B (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.)
Iallchain Co Ltd
Original Assignee
Iallchain Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iallchain Co Ltd filed Critical Iallchain Co Ltd
Priority to CN201910210203.6A priority Critical patent/CN109831313B/en
Publication of CN109831313A publication Critical patent/CN109831313A/en
Application granted granted Critical
Publication of CN109831313B publication Critical patent/CN109831313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of group communication method, equipment and computer readable storage medium.The embodiment of the present invention initiates node by group and sends group registration message in block chain network, group's participation node that group's initiation node is invited initiates node with the group and establishes connection, allow group to initiate node and the corresponding source IP address of connection foundation request and source port number that node is sent are participated according to group, determine that group participates in the interim link address of node, and the interim link address of node is participated according to group, node forwarding group message is participated in group, so that group initiates node and group participates in node and can carry out normal group-net communication.

Description

Group communication method, equipment and computer readable storage medium
Technical field
The present embodiments relate to fields of communication technology more particularly to a kind of group communication method, equipment and computer can Read storage medium.
Background technique
In the group communication based on domain name block chain network, all nodes in domain name block chain network can be in the domain The address that can be accessed by public network is issued in name block chain network, the initiation node of group or participation node is allowed to pass through domain Name block chain query address simultaneously accesses.
But for the participation node for there was only account or mark, if it is the active of initiation node and the participation node It is communicated, is disconnected connection after primary communication, then initiation node possibly be with can not getting the public network of the participation node Location can not carry out normal group-net communication so as to cause the initiation node and the participation node.
Summary of the invention
The embodiment of the present invention provides a kind of group communication method, equipment and computer readable storage medium, so that group It initiates node and group participates in node and can carry out normal group-net communication.
In a first aspect, the embodiment of the present invention provides a kind of group-net communication method, comprising:
Group initiates node and sends group registration message in block chain network, and the group registration message includes group's ginseng Cryptographic Hash corresponding with the block chain of node mark, the mark of group communication, client file, client software and described The IP address of group's initiation node;
The group initiates node and receives the connection foundation request that the group participates in node, and request packet is established in the connection Include block chain mark and public key that the group participates in node;
Group's initiation node is established according to the connection requests corresponding source IP address and source port number, described in determination The interim link address of group's participation node;
The group initiates the interim link address that node participates in node according to the group, periodically joins to the group Heartbeat message is sent with node, so that the group initiates node and the group participates in node and keeps connecting;
The group initiates the interim link address that node participates in node according to the group, and group message is transmitted to institute It states group and participates in node.
Second aspect, the embodiment of the present invention provide a kind of group communication method, comprising:
Transit node receives group and participates in the connection foundation request that node is sent;
The transit node is established according to the connection and requests corresponding source IP address and source port number, determines the group Participate in the interim link address of node;
The transit node participates in the interim link address of node according to the group, periodically participates in saving to the group Point sends heartbeat message, so that the transit node and the group participate in node and keep connecting;
The transit node is the interface channel distribution session identification that the transit node and the group participate in node;
When the interim link address that the group participates in node changes, the transit node is according to the session mark Know and the group participates in the IP address after node updates, participates in node with the group and establish connection.
The third aspect, the embodiment of the present invention provide a kind of group's initiation node, comprising:
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor following Operation:
Group registration message is sent in block chain network by the communication interface, the group registration message includes group Group participate in the block chain mark of node, the mark of group communication, client file, the corresponding cryptographic Hash of client software and The group initiates the IP address of node;
The connection foundation request that the group participates in node is received by the communication interface, request packet is established in the connection Include block chain mark and public key that the group participates in node;
It is established according to the connection and requests corresponding source IP address and source port number, determine that the group participates in facing for node When link address;
The interim link address that node is participated according to the group is periodically joined to the group by the communication interface Heartbeat message is sent with node, so that the group initiates node and the group participates in node and keeps connecting;
The interim link address that node is participated according to the group, is transmitted to institute for group message by the communication interface It states group and participates in node.
Fourth aspect, the embodiment of the present invention provide a kind of transit node, comprising:
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor following Operation:
Group, which is received, by the communication interface participates in the connection foundation request that node is sent;
It is established according to the connection and requests corresponding source IP address and source port number, determine that the group participates in facing for node When link address;
The interim link address that node is participated according to the group is periodically joined to the group by the communication interface Heartbeat message is sent with node, so that the transit node and the group participate in node and keep connecting;
The interface channel for participating in node for the transit node and the group distributes session identification;
When the interim link address that the group participates in node changes, according to the session identification and the group IP address after participating in node updates participates in node with the group and establishes connection.
5th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program is executed by processor to realize method described in first aspect or second aspect.
Group communication method, equipment and computer readable storage medium provided in an embodiment of the present invention, are initiated by group Node sends group registration message in block chain network, allows group to initiate the group that node is invited and participates in node and this Group initiates node and establishes connection, allows group to initiate node and participates in the connection foundation request pair that node is sent according to group The source IP address and source port number answered determine that group participates in the interim link address of node, and participate in facing for node according to group When link address, participate in node forwarding group message to group so that group initiate node and group participate in node can be with Carry out normal group-net communication.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is group-net communication method flow diagram provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides group-net communication method flow diagram;
Fig. 4 is the structural schematic diagram that group provided in an embodiment of the present invention initiates node;
Fig. 5 is the structural schematic diagram of transit node provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Group-net communication method provided in an embodiment of the present invention, can be adapted for communication system shown in FIG. 1.As shown in Figure 1, The communication system includes: to initiate node A, participate in node B, participate in node C, participate in node D, participate in node E and accounting nodes.Hair Playing node A, participation node B, participation node C, participation node D, participation node E and accounting nodes can be in block chain network Node.It is understood that communication system as shown in Figure 1 only schematically illustrates, the present embodiment does not limit specific logical Letter system.Optionally, which specifically can be domain name block chain network.
Group-net communication method provided in an embodiment of the present invention, it is intended to solve the technical problem as above of the prior art.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is group-net communication method flow diagram provided in an embodiment of the present invention.The embodiment of the present invention is for the prior art Technical problem as above provides group-net communication method, and specific step is as follows for this method:
Step 201, group initiate node and send group registration message, the group registration message package in block chain network Include group participate in the block chain mark of node, the mark of group communication, client file, the corresponding cryptographic Hash of client software, And the group initiates the IP address of node.
In the present embodiment, group, which initiates node, specifically can be initiation node A as shown in Figure 1, and group participates in node At least one of specifically can be participation node B as shown in Figure 1, participate in node C, participate in node D, participate in node E.It initiates Node A can establish group, initiates node A and is identified according to the block chain of all participation nodes for participating in the group, from domain name area Inquiry obtains the IP address of all participation nodes for participating in the group in block chain account book.If some participates in node in the domain name area IP address is not issued in block chain, then initiates node A and waits the active access from the participation node.
When initiation node A needs to create a group, initiation node A sends group registration in block chain network and disappears Breath, specifically, initiation node A can send the group registration message by way of broadcast.The group registration message includes All block chain mark, the mark of group communication, client file, corresponding cryptographic Hash (nothings of client software for participating in node The Kazakhstan for the client software being calculated is intended to by the mode of the mode or direct customer end file that are client downloads address Uncommon value) and initiate the IP address of node A.Specifically, initiating node A can disappear to the group registration by the private key of oneself Breath is signed, and sends the group registration message after the signature in block chain network.
After the group registration message after accounting nodes in the block chain network receive the signature, accounting nodes can The group registration message after the signature to be decrypted using the public key for initiating node A, group registration message is obtained.Into one Step, accounting nodes can be sent to for original group registration message by initiating node A, which compares the group after its decryption Group registration message and original group registration message, if the two is consistent, the group registration message after illustrating the signature is strictly Initiate what node A was sent, the group registration message after the signature is true.Accounting nodes determine to the group registration message into When row signature, used private key is strictly the private key for initiating node A.Further, accounting nodes remember the group registration message Record is in block chain account book.
Step 202, the group initiate node and receive the connection foundation request that the group participates in node, and the connection is built Vertical request includes the block chain mark and public key that the group participates in node.
When participating at least one of node B, participation node C, participation node D, participation node E, oneself is inquired in domain When being invited into the group in name block chain account book, connection is established according to the IP address of initiation node A and initiation node A. For participating in node B, node B is participated according to the IP address of initiation node A, Xiang Faqi node A sends connection and establishes request, It includes the block chain mark and public key for participating in node B in request that the connection, which is established,.Node B is participated in correspondingly, initiating node A and receiving Request is established in the connection sent.
Step 203, the group initiate node and establish the corresponding source IP address of request and source port number according to the connection, Determine that the group participates in the interim link address of node.
When initiation node A receives the connection foundation request for participating in node B transmission, connection foundation request pair is recorded The source IP address and source port number answered, and the connection is established and requests corresponding source IP address and source port number as participation node The interim link address of B.Initiating node A can also request corresponding source IP address and source port number to be recorded in connection foundation It is local.
Step 204, the group initiate the interim link address that node participates in node according to the group, periodically to institute It states group and participates in node transmission heartbeat message, so that the group initiates node and the group participates in node and keeps connection.
Initiating node A periodically can send heartbeat message to participation node B according to the interim link address for participating in node B, Alternatively, participating in node B periodically to node A transmission heartbeat message is initiated, guarantee that the interim link address for participating in node B is not lost Effect allows and initiates node A and participate in node B to keep connecting, so that initiating node A and participating in the connection between node B Channel continuously effective.
Step 205, the group initiate the interim link address that node participates in node according to the group, by group message It is transmitted to the group and participates in node.
In the present embodiment, it does not use Mesh connection type to carry out group communication between each participation node, but passes through It initiates node A and carries out message forwarding to realize group communication.Specifically, facing for node can be participated according to each by initiating node A When link address, group message is transmitted to each participation node.
In some embodiments, group message can also be transmitted to the group by transit node and participates in node.Tool Body, in this case, the method also includes: the group initiates node and sends out the IP address of transit node and port numbers It gives the group and participates in node, so that the group participates in IP address and port of the node according to the transit node, with institute It states transit node and establishes connection, group message is transmitted to the group by the transit node and participates in node.
If carrying out the forwarding of message using the transfer mode of transit node, initiates node A and need to notify to participate in section Point and transit node will initiate node A and participate in the communication connection between node to be redirected to transit node.For example, initiating section The IP address of transit node and port numbers can be sent to by point A participates in node B, directly accesses trochanter in this by participation node B The IP address and port numbers that some of point is fixed.
The embodiment of the present invention initiates node by group and sends group registration message in block chain network, so that group is sent out Rise node invite group participate in node can with the group initiate node establish connection, allow group initiate node according to Group participates in the connection that node is sent and establishes the corresponding source IP address of request and source port number, determines that group participates in the interim of node Link address, and according to the interim link address of group's participation node, node forwarding group message is participated in group, so that Group initiates node and group participates in node and can carry out normal group-net communication.
Fig. 3 be another embodiment of the present invention provides group-net communication method flow diagram.On the basis of the above embodiments, originally The group-net communication method that embodiment provides specifically comprises the following steps:
Step 301, transit node receive group and participate in the connection foundation request that node is sent.
For example, initiate node A by the IP address of transit node and port numbers be sent to participate in node B, participate in node B according to The IP address and port numbers of transit node send connection to the transit node and establish request.
Step 302, the transit node are established according to the connection requests corresponding source IP address and source port number, determines The group participates in the interim link address of node.
The similarly initiation node A described in above-described embodiment, the transit node can also establish request pair according to the connection The source IP address and source port number answered determine the interim link address for participating in node B.
Step 303, the transit node participate in the interim link address of node according to the group, periodically to the group Group participates in node and sends heartbeat message, so that the transit node and the group participate in node and keep connecting.
In order to avoid the participation node B and the transit node just directly break connection, trochanter in this after this time connection Point can be periodically to node B transmission heartbeat message be participated in, alternatively, participating in node B can periodically send to the transit node Heartbeat message allows and participates in node B and the transit node and keep connecting so that participate in node B and the transit node it Between interface channel continuously effective.
Step 304, the transit node are the interface channel that the transit node and the group participate in node, distribute meeting Words mark.
In the present embodiment, which can establish connection with multiple participation nodes, and optionally, which can Think that the transit node and each interface channel participated between node configure a unique session identification.For example, the transfer Node is to the transit node and participates in interface channel one unique session identification of configuration between node B.
Step 305, when the group participate in node interim link address change when, the transit node is according to institute It states session identification and the group participates in the IP address after node updates, participate in node with the group and establish connection.
Assuming that the IP address for participating in node B is changed, then the connection participated between node B and the transit node may It will disconnect, the IP address of transit node and port numbers have been sent to participation node B due to initiating node A, participate in node B can be re-established with the transit node and be connect, and carry in the connection re-established according to oneself updated IP address The session identification.When the transit node detects the session identification, according to the updated IP address of participation node B, with this It participates in node B and re-establishes connection.
In some embodiments, after the transit node participates in node updates according to the session identification and the group IP address participates in after node establishes connection with the group, the method also includes: the transit node is according to the group IP address after participating in node updates periodically participates in node to the group and sends heartbeat message, so that the transit node Node is participated in the group to keep connecting.
After the participation node B and the transit node re-establish connection, the participation node B and the transit node can be Periodicity sending heartbeat message in new interface channel, to avoid the updated IP address failure of participation node B, so that should Participate in the interface channel continuously effective between node B and the transit node.
In other embodiments, the method also includes: the transit nodes participates in node more according to the group IP address after new, updates the address list of the transit node maintenance, and the address list includes protecting with the transit node The group for holding connection participates in the IP address and port numbers of node.
For example, transit node can safeguard address list, which includes the group that connection is kept with transit node Participate in the IP address and port numbers of node.After the IP address for participating in node B updates, transit node can also be according to participation The updated IP address of node B updates the address list.
The embodiment of the present invention participates in node by transit node and group and establishes connection, is the transit node by transit node The interface channel for participating in node with the group distributes session identification, when so that the IP address that group participates in node changing, in Trochanterion can participate in node according to the session identification and the group and establish connection, allow the transit node to the group The normal forwarding group message of node is participated in, so that the transit node and the group, which participate in node, can carry out normal networking Communication.
Fig. 4 is the structural schematic diagram that group provided in an embodiment of the present invention initiates node.Group provided in an embodiment of the present invention Group, which initiates node, can execute the process flow of group communication method embodiment offer, wrap as shown in figure 4, group initiates node 40 It includes: memory 41, processor 42, communication interface 43 and computer program;Wherein, the computer program is stored in described It in memory 41, and is configured as executing following operation by the processor 42: by the communication interface 43 in block link network Group registration message is sent in network, the group registration message includes that group participates in the block chain mark of node, group communication The corresponding cryptographic Hash of mark, client file, client software and the group initiate the IP address of node;By described Communication interface 43 receives the connection foundation request that the group participates in node, and it includes group participation that request is established in the connection The block chain of node identifies and public key;It is established according to the connection and requests corresponding source IP address and source port number, described in determination The interim link address of group's participation node;The interim link address that node is participated according to the group is connect by the communication Mouth 43 periodically participates in node to the group and sends heartbeat message, participates in saving with the group so that the group initiates node Point keeps connection;The interim link address that node is participated according to the group is turned group message by the communication interface 43 It issues the group and participates in node.
Optionally, the processor 42 is also used to: by the communication interface 43 by the IP address of transit node and port It number is sent to the group and participates in node, so that the group participates in IP address and port of the node according to the transit node, Connection is established with the transit node, group message is transmitted to the group by the transit node and participates in node.
The group of embodiment illustrated in fig. 4, which initiates node, can be used for executing the technical solution of above method embodiment, realize Principle is similar with technical effect, and details are not described herein again.
Fig. 5 is the structural schematic diagram of transit node provided in an embodiment of the present invention.Middle trochanter provided in an embodiment of the present invention Point can execute group communication method embodiment offer process flow, as shown in figure 5, transit node 50 include: memory 51, Processor 52, communication interface 53 and computer program;Wherein, the computer program is stored in the memory 5151, And it is configured as executing following operation by the processor 5252: group is received by the communication interface 53 and participates in node transmission Connection establish request;It is established according to the connection and requests corresponding source IP address and source port number, determine that the group participates in The interim link address of node;The interim link address that node is participated according to the group, passes through 53 period of communication interface Property participate in node to the group and send heartbeat message so that the transit node and the group participate in node and keep connecting; The interface channel for participating in node for the transit node and the group distributes session identification;When the group participates in facing for node When link address when changing, the IP address after node updates are participated according to the session identification and the group is and described Group participates in node and establishes connection.
Optionally, the processor 52 participates in the IP address after node updates according to the session identification and the group, It is participated in after node establishes connection with the group, be also used to: the IP address after participating in node updates according to the group passes through The communication interface 53 periodically participates in node to the group and sends heartbeat message, so that the transit node and the group It participates in node and keeps connection.
Optionally, the processor 52 is also used to: the IP address after participating in node updates according to the group, described in update The address list of transit node maintenance, the address list include that the group of connection is kept to participate in node with the transit node IP address and port numbers.
The group of embodiment illustrated in fig. 5, which initiates node, can be used for executing the technical solution of above method embodiment, realize Principle is similar with technical effect, and details are not described herein again.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, institute Computer program is stated to be executed by processor to realize group communication method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (11)

1. a kind of group-net communication method characterized by comprising
Group initiates node and sends group registration message in block chain network, and the group registration message includes that group participates in section Block chain mark, the mark of group communication, client file, the corresponding cryptographic Hash of client software and the group of point Initiate the IP address of node;
The group initiates node and receives the connection foundation request that the group participates in node, and it includes institute that request is established in the connection State block chain mark and public key that group participates in node;
The group initiates node and establishes the corresponding source IP address of request and source port number according to the connection, determines the group Participate in the interim link address of node;
The group initiates the interim link address that node participates in node according to the group, periodically participates in saving to the group Point sends heartbeat message, so that the group initiates node and the group participates in node and keeps connecting;
The group initiates the interim link address that node participates in node according to the group, and group message is transmitted to the group Group participates in node.
2. the method according to claim 1, wherein the method also includes:
The group initiates node and the IP address of transit node and port numbers is sent to group's participation node, so that described Group participates in IP address and port of the node according to the transit node, connection is established with the transit node, by the transfer Group message is transmitted to the group and participates in node by node.
3. a kind of group communication method characterized by comprising
Transit node receives group and participates in the connection foundation request that node is sent;
The transit node is established according to the connection and requests corresponding source IP address and source port number, determines that the group participates in The interim link address of node;
The transit node participates in the interim link address of node according to the group, periodically participates in node hair to the group Heartbeat message is sent, so that the transit node and the group participate in node and keep connecting;
The transit node is the interface channel distribution session identification that the transit node and the group participate in node;
When the interim link address that the group participates in node changes, the transit node according to the session identification and The group participates in the IP address after node updates, participates in node with the group and establishes connection.
4. according to the method described in claim 3, it is characterized in that, the transit node is according to the session identification and the group Group participates in the IP address after node updates, participates in after node establishes connection with the group, the method also includes:
The transit node participates in the IP address after node updates according to the group, periodically participates in node hair to the group Heartbeat message is sent, so that the transit node and the group participate in node and keep connecting.
5. the method according to claim 3 or 4, which is characterized in that the method also includes:
The transit node participates in the IP address after node updates according to the group, updates the address of the transit node maintenance List, the address list include the IP address and port numbers for keeping the group of connection to participate in node with the transit node.
6. a kind of group initiates node characterized by comprising
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as executing following operation by the processor:
Group registration message is sent in block chain network by the communication interface, the group registration message includes group's ginseng Cryptographic Hash corresponding with the block chain of node mark, the mark of group communication, client file, client software and described The IP address of group's initiation node;
The connection foundation request that the group participates in node is received by the communication interface, it includes institute that request is established in the connection State block chain mark and public key that group participates in node;
It is established according to the connection and requests corresponding source IP address and source port number, determine that the group participates in temporarily connecting for node It is grounded location;
The interim link address that node is participated according to the group periodically participates in saving by the communication interface to the group Point sends heartbeat message, so that the group initiates node and the group participates in node and keeps connecting;
The interim link address that node is participated according to the group, is transmitted to the group for group message by the communication interface Group participates in node.
7. group according to claim 6 initiates node, which is characterized in that the processor is also used to:
The IP address of transit node and port numbers are sent to the group by the communication interface and participate in node, so that described Group participates in IP address and port of the node according to the transit node, connection is established with the transit node, by the transfer Group message is transmitted to the group and participates in node by node.
8. a kind of transit node characterized by comprising
Memory;
Processor;
Communication interface;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as executing following operation by the processor:
Group, which is received, by the communication interface participates in the connection foundation request that node is sent;
It is established according to the connection and requests corresponding source IP address and source port number, determine that the group participates in temporarily connecting for node It is grounded location;
The interim link address that node is participated according to the group periodically participates in saving by the communication interface to the group Point sends heartbeat message, so that the transit node and the group participate in node and keep connecting;
The interface channel for participating in node for the transit node and the group distributes session identification;
When the interim link address that the group participates in node changes, participated according to the session identification and the group IP address after node updates participates in node with the group and establishes connection.
9. transit node according to claim 8, which is characterized in that the processor is according to the session identification and described Group participates in the IP address after node updates, participates in being also used to after node establishes connection with the group:
IP address after participating in node updates according to the group periodically participates in saving by the communication interface to the group Point sends heartbeat message, so that the transit node and the group participate in node and keep connecting.
10. transit node according to claim 8 or claim 9, which is characterized in that the processor is also used to:
IP address after participating in node updates according to the group updates the address list of the transit node maintenance, describedly Location list includes the IP address and port numbers for keeping the group of connection to participate in node with the transit node.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The method according to claim 1 to 5 is realized when being executed by processor.
CN201910210203.6A 2019-03-19 2019-03-19 Group communication method, apparatus and computer-readable storage medium Active CN109831313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910210203.6A CN109831313B (en) 2019-03-19 2019-03-19 Group communication method, apparatus and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910210203.6A CN109831313B (en) 2019-03-19 2019-03-19 Group communication method, apparatus and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109831313A true CN109831313A (en) 2019-05-31
CN109831313B CN109831313B (en) 2021-02-26

Family

ID=66870335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910210203.6A Active CN109831313B (en) 2019-03-19 2019-03-19 Group communication method, apparatus and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109831313B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187816A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 RPC request processing method, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004265076A (en) * 2003-02-28 2004-09-24 Quick Corp Information distribution managing method and information distribution managing program
CN101965722A (en) * 2008-03-12 2011-02-02 艾利森电话股份有限公司 Re-establishment of a security association
CN103944743A (en) * 2014-04-24 2014-07-23 梁科 Group communication method and device
CN104158811A (en) * 2014-08-20 2014-11-19 北京比邻在线信息技术有限公司 Voice communication method and system based on mobile Internet
CN108810120A (en) * 2018-05-31 2018-11-13 中国联合网络通信集团有限公司 block chain node communication method, device and block chain node
CN109377364A (en) * 2018-09-27 2019-02-22 中国联合网络通信集团有限公司 One kind building a group method and apparatus, method of commerce and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004265076A (en) * 2003-02-28 2004-09-24 Quick Corp Information distribution managing method and information distribution managing program
CN101965722A (en) * 2008-03-12 2011-02-02 艾利森电话股份有限公司 Re-establishment of a security association
CN103944743A (en) * 2014-04-24 2014-07-23 梁科 Group communication method and device
CN104158811A (en) * 2014-08-20 2014-11-19 北京比邻在线信息技术有限公司 Voice communication method and system based on mobile Internet
CN108810120A (en) * 2018-05-31 2018-11-13 中国联合网络通信集团有限公司 block chain node communication method, device and block chain node
CN109377364A (en) * 2018-09-27 2019-02-22 中国联合网络通信集团有限公司 One kind building a group method and apparatus, method of commerce and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187816A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 RPC request processing method, equipment and storage medium

Also Published As

Publication number Publication date
CN109831313B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN107332826B (en) The communication means and device of block chain agent node
CN106530083A (en) Multi-chain management method and system based on block chain
CN101272266B (en) Method, device and system for file sharing in audio/video conference
US7859992B2 (en) Router redundancy in data communication networks
CN107493162A (en) The implementation method and device of block chain node
US20130254415A1 (en) Routing requests over a network
CN110601906B (en) Data transmission method and device based on block chain
CN102223365A (en) User access method and device based on SSL (Secure Socket Layer) VPN (Virtual Private Network) gateway cluster
CN102845027A (en) Methods, systems, and computer readable media for inter-diameter-message processor routing
CN105813228B (en) Communication means and relevant apparatus based on SIP over TCP/TLS
CN103098437B (en) Based on call session server and the Message routing system of selection of SIP
CN110414961A (en) Prevent transfer account method, device, equipment and the storage medium of the track transactions side of producing
CN106254410A (en) Network system and method for establishing data connection
Tian et al. Robust and privacy-preserving decentralized deep federated learning training: Focusing on digital healthcare applications
CN109981305A (en) Group communication method, equipment and computer readable storage medium
AU2008232640B2 (en) Providing distributed convergence nodes in a communication network environment
JP2024010228A (en) System and method for random differential relay and network coding
JP2008219461A (en) Communicating history information managing system, sip client terminal, history server, and communicating history information managing method
CN109041036A (en) WIFI connection method and equipment
CN109743185A (en) Group communication method, block chain node and medium based on domain name block chain
CN109831313A (en) Group communication method, equipment and computer readable storage medium
CN102427452B (en) Synchronize (SYN) message transmitting method and device and network equipment
Goldberg et al. How secure are secure interdomain routing protocols?
CN104243504B (en) Safety communication implementation of next generation wireless network
JP2009272803A (en) Communication method, and communication system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100191 1107c, 11 / F, Xueyuan international building, 1 Zhichun Road, Haidian District, Beijing

Applicant after: IALLCHAIN Co.,Ltd.

Address before: 100043 5158, 5 floor, 11 Shixing street, Shijingshan District, Beijing.

Applicant before: IALLCHAIN Co.,Ltd.

GR01 Patent grant
GR01 Patent grant