CN106559458A - The communication optimization method and device of isomeric group - Google Patents
The communication optimization method and device of isomeric group Download PDFInfo
- Publication number
- CN106559458A CN106559458A CN201510638932.3A CN201510638932A CN106559458A CN 106559458 A CN106559458 A CN 106559458A CN 201510638932 A CN201510638932 A CN 201510638932A CN 106559458 A CN106559458 A CN 106559458A
- Authority
- CN
- China
- Prior art keywords
- node
- isomeric group
- communication
- communication data
- attribute information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000006854 communication Effects 0.000 title claims abstract description 221
- 238000004891 communication Methods 0.000 title claims abstract description 212
- 238000005457 optimization Methods 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 claims description 22
- 230000008859 change Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000004899 motility Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of communication optimization method of isomeric group, under trunking communication state, obtains the communication data of each node in the cluster;Determine the retransmitting message number of times in each communication data;When the retransmitting message number of times for having communication data reaches preset times, the parameter of the corresponding node of the communication data is adjusted, to reduce the retransmitting message number of times of the node, wherein, the parameter includes that node receives the time of the token information of the cluster.The invention also discloses a kind of communication optimization device of isomeric group.The present invention improves the communication efficiency of isomeric group.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of communication optimization method and dress of isomeric group
Put.
Background technology
It is Totem protocol stacks in the most crucial agreement of trunking communication component, mainly including SRP (The
Totem Secure Remote Password protocol, secure remote password protocol) and RRP (The Totem
Redundant ring Protocol, Virtual Router Redundancy Protocol), and message biography is carried out by SRP agreements
Pass, i.e., transmitted in clustered node by a kind of token information (token), node gets token
The message sequence for passing on upper layer application to issue afterwards, and such as there is larger difference in the hardware configuration for working as clustered node
During property, cluster becomes isomeric group.
Under isomeric group environment, node could send message after getting token, and different nodes can be with
The having differences property of message number of transmission, has 2 message in such as cluster, first node can send
This 2 message, and secondary nodal point can only send 1 message, in order to second node can also send 2
Individual message, will carry out retransmitting message again, if second node cannot all send 2 message always, just
The re-transmission of message is carried out always, communicated until second node can send 2 message and just complete this
Journey, it is clear that the re-transmission for carrying out multiple message reduces trunking communication efficiency.
The content of the invention
Present invention is primarily targeted at proposing a kind of communication optimization method and device of isomeric group, it is intended to
Solve between isomeric group node, to carry out the re-transmission of multiple message, reduce the technology of isomeric group communication efficiency
Problem.
For achieving the above object, a kind of communication optimization method of isomeric group that the present invention is provided, described different
The communication optimization method of structure cluster is comprised the following steps:
Under isomeric group communication state, the communication data of each node in the isomeric group is obtained;
Determine the retransmitting message number of times in each communication data;
When the retransmitting message number of times for having communication data reaches preset times, the communication data correspondence is adjusted
Node parameter, to reduce the retransmitting message number of times of the node, wherein, the parameter includes node
Receive the time of the token information of the cluster.
Preferably, it is described under isomeric group communication state, each node in the acquisition isomeric group
The step of communication data, includes:
During each node transmission message sequence of the isomeric group, if detected node not connecing
The presetting message in the message sequence is received, node disappears according to the update of identification information of the node
Breath number of retransmissions;
Using the retransmitting message number of times identification information of each node corresponding with each node as each node
Communication data, and obtain the communication data of each node.
Preferably, described when the retransmitting message number of times for having communication data reaches preset times, adjustment is described
The parameter of the corresponding node of communication data, includes the step of to reduce the retransmitting message number of times of the node:
When the retransmitting message number of times for having communication data reaches preset times, the communication data correspondence is determined
Node;
Increase the time that the node receives the token information of the cluster, to reduce the message of the node
Number of retransmissions.
Preferably, it is described under isomeric group communication state, each node in the acquisition isomeric group
Before the step of communication data, the communication optimization method of the isomeric group includes:
If detecting new node adds the isomeric group, the identification information of the new node is obtained, and will
The identification information recording is in the attribute information of the new node;
To the current attribute information of all node broadcasts each node of the isomeric group, for described different
Its attribute information is all synchronously the new attribute letter comprising all node identification informations by all nodes of structure cluster
Breath, wherein, in the isomeric group, original corresponding attribute information of each node all includes original each section
The identification information of point;
In the isomeric group, each node receives the attribute information of other node broadcasts and receives
When attribute information is all consistent with the corresponding attribute information of each node, into isomeric group communication state.
Preferably, the current attribute information of described all node broadcasts each node to the isomeric group,
So that its attribute information is all synchronously comprising all node identification informations by all nodes of the isomeric group
New attribute information the step of after, the communication optimization method of the isomeric group also includes:
When in the isomeric group, having node not receive the attribute information of other node broadcasts, to described
The current attribute information of node described in other node broadcasts in isomeric group, for other node feeding backs other
The corresponding attribute information of node is to the node.
Additionally, for achieving the above object, the present invention also proposes a kind of communication optimization device of isomeric group,
The communication optimization device of the isomeric group includes:
Acquisition module, for, under isomeric group communication state, obtaining each node in the isomeric group
Communication data;
Determining module, for determining the retransmitting message number of times in each communication data;
Adjusting module, during for reaching preset times in the retransmitting message number of times for having communication data, adjusts institute
The parameter of the corresponding node of communication data is stated, to reduce the retransmitting message number of times of the node, wherein, institute
Stating parameter includes that node receives the time of the token information of the cluster.
Preferably, the acquisition module includes:
Updating block, for during each node transmission message sequence of the isomeric group, if inspection
The presetting message that node is not received in the message sequence is measured, according to the identification information of the node more
The retransmitting message number of times of the new node;
Processing unit, for by the retransmitting message number of times identification information of each node corresponding with each node
As the communication data of each node;
Acquiring unit, for obtaining the communication data of each node.
Preferably, the adjusting module includes:
Determining unit, during for reaching preset times in the retransmitting message number of times for having communication data, determines institute
State the corresponding node of communication data;
Adjustment unit, for increasing the time that the node receives the token information of the cluster, to reduce
The retransmitting message number of times of the node.
Preferably, the communication optimization device of the isomeric group includes:
Processing module, if adding the isomeric group for detecting new node, obtains the new node
Identification information, and by the attribute information of the identification information recording to the new node;
Broadcast module, for the current attribute letter of all node broadcasts each node to the isomeric group
Breath, so that its attribute information is all synchronously comprising all node identifications by all nodes of the isomeric group
The new attribute information of information, wherein, in the isomeric group, the corresponding attribute information of original each node is all
Identification information comprising original each node;
Into module, the attribute of other node broadcasts is received for each node in the isomeric group
When information and the attribute information for receiving all consistent with the corresponding attribute information of each node, into isomery collection
Group's communication state.
Preferably, the broadcast module, is additionally operable in the isomeric group have node not receive other
During the attribute information of node broadcasts, the current category of node described in other node broadcasts in the isomeric group
Property information, so that the corresponding attribute information of other node feeding backs other nodes is to the node.
The communication optimization method and device of isomeric group proposed by the present invention, under isomeric group communication state,
According to the communication data of each node for obtaining, the retransmitting message number of times in each communication data is determined, and
When the retransmitting message number of times for having communication data reaches preset times, the corresponding section of the communication data is adjusted
The parameter of point, to reduce the retransmitting message number of times of the node, cluster as described in the node reception as described in increase
Token information time, it is to reduce the retransmitting message number of times of the node rather than logical in isomeric group
During news, the re-transmission of message if having node not receive message, is carried out always, and this programme is by system
Retransmitting message number of times in the communication data of meter node, and when retransmitting message number of times reaches preset times,
The parameter of the node is adjusted to reduce the retransmitting message number of times of the node, so as to improve trunking communication
Efficiency.
Description of the drawings
Fig. 1 is the schematic flow sheet of the communication optimization method first embodiment of isomeric group of the present invention;
Fig. 2 is the stream of the communication data preferred embodiment that the present invention obtains each node in the isomeric group
Journey schematic diagram;
Fig. 3 is that the flow process of the parameter preferred embodiment of the corresponding node of the present invention adjustment communication data is shown
It is intended to;
Fig. 4 is the schematic flow sheet of the communication optimization method fourth embodiment of isomeric group of the present invention;
Fig. 5 is the high-level schematic functional block diagram of the communication optimization device first embodiment of isomeric group of the present invention;
Fig. 6 is the refinement high-level schematic functional block diagram of acquisition module in Fig. 5;
Fig. 7 is the refinement high-level schematic functional block diagram of adjusting module in Fig. 5;
Fig. 8 is that the refinement functional module of the communication optimization device fourth embodiment of isomeric group of the present invention is illustrated
Figure.
The object of the invention is realized, functional characteristics and advantage will be done furtherly in conjunction with the embodiments referring to the drawings
It is bright.
Specific embodiment
It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention
The fixed present invention.
The present invention provides a kind of communication optimization method of isomeric group.
With reference to Fig. 1, Fig. 1 is that the flow process of the communication optimization method first embodiment of isomeric group of the present invention is illustrated
Figure.
The present embodiment proposes a kind of communication optimization method of isomeric group, the communication optimization of the isomeric group
Method includes:
Step S10, under isomeric group communication state, obtains the communication of each node in the isomeric group
Data;
In the present embodiment, in the isomeric group comprising multiple nodes, the present embodiment is preferably described different
Structure cluster includes 3 nodes, respectively P1, P2 and P3, and the communication order of the cluster according to P1-P2-
The order of P3 is communicated, and the communication process under isomeric group communication state is as follows:1) the isomery collection
Group upper layer application issuing message sequence such as M1M2M3, node P1 after the message sequence is got,
The message sequence is cached, when obtaining token information token, the token information next one is delivered to into
Node P2, and now the cluster transmits message sequence, and now, the node P1 is received completely
Message sequence, then node P1 communications are normal;2) when node P2 receives the token information, institute
State node P2 and could transmit the message sequence, it is notable that if now the node P2 is missed
Message M3, and token information has arrived at node P2, then node P2 is in token information correspondence
Storage list in record need message M3 that retransmits and need to the person of re-transmission P2, and by the token information
Continue to be delivered in next node P3;3) when the node P3 gets token information, record order
Carry in the storage list of board information and retransmit demand information, i.e., described node P2 needs message M3 for retransmitting,
And now if node P3 can receive complete message sequence, it is believed that node P3 communications are normal, and
M3 message is broadcasted then to cluster, and the token information is continued to pass to the node P1;4) save
After point P1 gets the token information, the re-transmission carried in the storage list for recording the token information is needed
Ask the i.e. described node P2 of information to need message M3 for retransmitting, and the token information is passed to into the section
Point P2, as now the node P1 has been received by complete message sequence, therefore the node P1
Ignore the M3 message of node P3 broadcast;5) node P2 gets the token information, finds the order
Message M3 oneself not received is recorded in board information, then now the node P2 acquisitions node P3 is wide
The M3 message broadcast, so that the message sequence for receiving is complete, and the node P2 clears up the token
Retransmitting message information in information, so far in the isomeric group, all nodes all have received disappearing for P1 transmissions
Breath sequence.
In the present embodiment, preferably newly-increased " repeating transmission dynamic statistics " module, leads to for counting isomeric group
Under news state in the isomeric group each node communication data, and described obtain the isomeric group
In the mode of communication data of each node preferably obtain in the isomeric group according to certain time interval
The communication data of each node, for example, record the communication data of similar [node retransmits demand number of times], and fixed
When obtain the communication data of each nodes records.
Step S20, determines the retransmitting message number of times in each communication data;
Step S30, when the retransmitting message number of times for having communication data reaches preset times, adjusts the communication
The parameter of the corresponding node of data, to reduce the retransmitting message number of times of the node, wherein, the parameter
The time of the token information of the cluster is received including node.
In the present embodiment, after the communication data of each node is got, each in isomeric group
Node backstage direct analysis data, to determine the corresponding communication data of each node, the present embodiment is preferably first
The corresponding retransmitting message number of times of each node is configured, such as node message weight within a period of time
The number of times of biography should be less than default number of times, if certain node is present significantly concentrate re-transmission, also
It is to say when the retransmitting message number of times for having communication data reaches preset times, then the parameter of the node is carried out
Adjustment, to reduce the retransmitting message number of times of the node, it is to be understood that when there is disappearing for communication data
Breath number of retransmissions reaches preset times, illustrates the corresponding node of communication data node under the present circumstances
Message sequence ability is relatively low, it may be possible to which the communication speed of message sequence is very fast, or just connects in node
When receiving the message of the message sequence, token information has arrived at the node, now the node
The a part of message in message sequence can be received, cause message to be missed.Therefore, the present embodiment preferably will
The window_size parameters of the node are reduced, and token buffer storage lengths are expanded, or by token
Gap periods parameter expansion etc., the window_size parameters reduction of the node can be regarded as will be described
The information transmission rate of node is reduced, due to isomeric group communication process in, after retransmitting message only each time
Ensuing operation can be optimized, therefore the information transmission rate of the node is reduced, can reduce whole
The efficiency of communication process, so that the node can receive the message in message sequence.
The communication optimization method of the isomeric group that the present embodiment is proposed, under isomeric group communication state, root
According to the communication data of each node for obtaining, the retransmitting message number of times in each communication data is determined, and
When the retransmitting message number of times for having communication data reaches preset times, the corresponding node of the communication data is adjusted
Parameter, to reduce the retransmitting message number of times of the node, as described in increase node receive as described in cluster
The time of token information, to reduce the retransmitting message number of times of the node, rather than communicate in isomeric group
During, the re-transmission of message if having node not receive message, is carried out always, this programme is by statistics
Retransmitting message number of times in the communication data of node, and when retransmitting message number of times reaches preset times, adjust
The parameter of the whole node is imitated so as to improve trunking communication with reducing the retransmitting message number of times of the node
Rate.
Further, in order to improve the motility of the communication of isomeric group, this is proposed based on first embodiment
The second embodiment of the communication optimization method of invention isomeric group, it is in the present embodiment, with reference to Fig. 2, described
Step S10 includes:
Step S11, during each node transmission message sequence of the isomeric group, if having detected
Node does not receive the presetting message in the message sequence, according to the update of identification information of the node
The retransmitting message number of times of node;
Step S12, using the retransmitting message number of times identification information of each node corresponding with each node as each
The communication data of individual node, and obtain the communication data of each node.
In the present embodiment, the corresponding communication data table of each node in isomeric group is first set up, it is described logical
News tables of data is used for the communication data for recording each node, and the communication data includes the mark of each node
Information and the corresponding retransmitting message number of times of each node.That is, the isomeric group each
During node transmission message sequence, disappear according to identification information recording each node of each node is corresponding
Breath number of retransmissions, if detecting the presetting message that node is not received in the message sequence, according to described
The retransmitting message number of times of node described in the update of identification information of node, if being not detected by node does not receive institute
State the presetting message in message sequence, then keep the retransmitting message number of times of node constant.
Further, in order to improve the motility of the communication of isomeric group, this is proposed based on first embodiment
The 3rd embodiment of the communication optimization method of invention isomeric group, it is in the present embodiment, with reference to Fig. 3, described
S30 includes:
Step S31, when the retransmitting message number of times for having communication data reaches preset times, determines the communication
The corresponding node of data;
Step S32, increases the time that the node receives the token information of the cluster, to reduce the section
The retransmitting message number of times of point.
In the present embodiment, when the retransmitting message number of times for having communication data reaches preset times, determine institute
The corresponding node of communication data is stated, according to first embodiment, the node carries out multiple retransmitting message,
The communication speed for being likely to be message sequence is very fast, or has just received the message sequence in node
During message, token information has arrived at the node, and now the node will can only be received in message sequence
A part of message, cause message to be missed, therefore, the present embodiment preferably by token gap periods parameter expand
Greatly, that is to say, that increase the time that the node receives the token information of the cluster, to reduce the section
The retransmitting message number of times of point, will in the isomeric group time of token information transmission increase, Yuan Xian
If the 6 seconds time of token information is transmitted in isomeric group, and in the isomeric group, there are 3 nodes,
So each node receives the as 2 seconds time of token information, now by token information in the isomery
The time transmitted in cluster increases to 9 seconds, then each node receives time of token information and is 3 seconds,
The node is so conducive to receive complete message sequence, so as to reduce the retransmitting message of the node
Number of times.Further, after the parameter for having adjusted the corresponding node of the communication data, can be by the section
The retransmitting message number of times of point resets, and in new round isomeric group communication process, continues statistics described different
The communication data of each node in structure trunking communication procedure.
Further, in order to improve the motility of the communication of isomeric group, this is proposed based on first embodiment
The fourth embodiment of the communication optimization method of invention isomeric group, it is in the present embodiment, with reference to Fig. 4, described
Before step S10, the communication optimization method of the isomeric group includes:
Step S40, if detecting new node adds the isomeric group, obtains the mark letter of the new node
Breath, and by the attribute information of the identification information recording to the new node;
Step S50, to the current attribute information of all node broadcasts each node of the isomeric group, with
All it is synchronously comprising all node identification informations by its attribute information for all nodes of the isomeric group
New attribute information, wherein, in the isomeric group, original corresponding attribute information of each node all includes original
The identification information of first each node;
Step S60, in the isomeric group, each node receives the attribute information of other node broadcasts,
And the attribute information for receiving it is all consistent with the corresponding attribute information of each node when, it is logical into isomeric group
News state.
In the present embodiment, the cluster of original node P1, P2, P3 composition normally runs, if this stylish section
In point isomeric group as described in P4 is added, then the identification information of new node is first obtained, and the mark is believed
Breath is recorded in the attribute information of the new node, i.e., the new node attribute information such as
Minute book node identification information in my_proc_set;Meanwhile, to all node broadcasts of the isomeric group
The current attribute information of each node, so that all nodes of the isomeric group will be its attribute information all same
Step is the new attribute information comprising all node identification informations, it is notable that in the isomeric group
Original corresponding attribute information of each node all includes the identification information of original each node, i.e., described original
The corresponding attribute information of node P1, P2, P3 be all P1P2P3, to be best understood from the present embodiment, lift
Under for example:In new node P4 adds the isomeric group, new node P4 broadcast isomeric group dynamics increase
The communication message such as JoinMsg message of abreviation point, the JoinMsg message include the attribute letter of node P4
Breath, now, original 3 nodes P1, P2, P3 in the isomeric group receive the node P4
During the JoinMsg message of broadcast, update certainly into gather states, and described node P1, P2, P3
Oneself attribute information my_proc_set, is synchronously comprising all node identification informations by attribute information
New attribute information, attribute information P1P2P3 that will be described node P1, P2, P3 original are updated to new category
Property information P1P2P3P4, and described node P1, P2, P3 also can broadcast its JoinMsg to cluster and disappear
Breath, now the node P4 also can receive node P1, P2, P3 broadcast JoinMsg message when,
Its attribute information is updated to into new attribute information P1P2P3P4, it is to be understood that carry out in each node
During broadcast JoinMsg message, as long as node receives the JoinMsg message of other node broadcasts, will be by
The attribute information of JoinMsg message is compared with the attribute information of itself, if comparing in message
My_pro_set is identical with the my_proc_set contents of oneself, that is, the attribute information for receiving and each node
When corresponding attribute information is consistent, then the sender_id in JoinMsg message is arranged to consensus,
Namely by the attribute information of each node corresponding transmission address information setting sync id, and
Show in consensus lists, finally enter isomeric group communication state.
Further, after step S50, also including step:There is node in the isomeric group
When not receiving the attribute information of other node broadcasts, in the isomeric group described in other node broadcasts
The current attribute information of node, so that the corresponding attribute information of other node feeding backs other nodes is to the section
Point.
In isomeric group environment, the consensus lists of not every node can be updated to rapidly
Consistent, it is possible to the situation of appearance is that node P2 is not received by the JoinMsg of node P3 broadcast
Message, therefore consensus [the p3]=false of node P2, do not receive the JoinMsg message of P3, this
When will cause re-transmission, that is, carry out retransmitting message, by current to node described in other node broadcasts
Attribute information, carry out message transmission again, for the corresponding attribute of other node feeding backs other nodes
Into the node, each node has certain hour requirement into consensus states to information.If
Node in the cluster is long into consensus state for time length, reception JoinMsg time intervals,
Then change and notify that newly added node reduces window_size, expands token parameters in JoinMsg.Such as
When fruit is that newly added node enters consensus state for time length, then somewhat expands consensus intervalometers
It is long etc..
The present invention further provides a kind of communication optimization device of isomeric group.
With reference to Fig. 5, Fig. 5 is the functional module of the communication optimization device first embodiment of isomeric group of the present invention
Schematic diagram.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram is only shown in Fig. 5
The exemplary plot of one preferred embodiment, those skilled in the art is around the logical of the isomeric group shown in Fig. 5
The functional module of news optimization device, can carry out the supplement of new functional module easily;The name of each functional module
Title is self-defined title, is only used for aiding in each program work(for the communication optimization device for understanding the isomeric group
Energy block, is not used in restriction technical scheme, and the core of technical solution of the present invention is, each self-defined
The functional module of title function to be reached.
The present embodiment proposes a kind of communication optimization device of isomeric group, the communication optimization of the isomeric group
Device includes:
Acquisition module 10, under isomeric group communication state, obtaining each section in the isomeric group
The communication data of point;
In the present embodiment, in the isomeric group comprising multiple nodes, the present embodiment is preferably described different
Structure cluster includes 3 nodes, respectively P1, P2 and P3, and the communication order of the cluster according to P1-P2-
The order of P3 is communicated, and the communication process under isomeric group communication state is as follows:1) the isomery collection
Group upper layer application issuing message sequence such as M1M2M3, node P1 after the message sequence is got,
The message sequence is cached, when obtaining token information token, the token information next one is delivered to into
Node P2, and now the cluster transmits message sequence, and now, the node P1 is received completely
Message sequence, then node P1 communications are normal;2) when node P2 receives the token information, institute
State node P2 and could transmit the message sequence, it is notable that if now the node P2 is missed
Message M3, and token information has arrived at node P2, then node P2 is in token information correspondence
Storage list in record need message M3 that retransmits and need to the person of re-transmission P2, and by the token information
Continue to be delivered in next node P3;3) when the node P3 gets token information, record order
Carry in the storage list of board information and retransmit demand information, i.e., described node P2 needs message M3 for retransmitting,
And now if node P3 can receive complete message sequence, it is believed that node P3 communications are normal, and
M3 message is broadcasted then to cluster, and the token information is continued to pass to the node P1;4) save
After point P1 gets the token information, the re-transmission carried in the storage list for recording the token information is needed
Ask the i.e. described node P2 of information to need message M3 for retransmitting, and the token information is passed to into the section
Point P2, as now the node P1 has been received by complete message sequence, therefore the node P1
Ignore the M3 message of node P3 broadcast;5) node P2 gets the token information, finds the order
Message M3 oneself not received is recorded in board information, then now the node P2 acquisitions node P3 is wide
The M3 message broadcast, so that the message sequence for receiving is complete, and the node P2 clears up the token
Retransmitting message information in information, so far in the isomeric group, all nodes all have received disappearing for P1 transmissions
Breath sequence.
In the present embodiment, preferably newly-increased " repeating transmission dynamic statistics " module, leads to for counting isomeric group
Under news state in the isomeric group each node communication data, and the acquisition module 10 obtain institute
The mode for stating the communication data of each node in isomeric group preferably obtains described according to certain time interval
The communication data of each node in isomeric group, for example, record the communication of similar [node retransmits demand number of times]
Data, and the communication data of timing acquisition each nodes records.
Determining module 20, for determining the retransmitting message number of times in each communication data;
Adjusting module 30, during for reaching preset times in the retransmitting message number of times for having communication data, adjustment
The parameter of the corresponding node of the communication data, to reduce the retransmitting message number of times of the node, wherein,
The parameter includes that node receives the time of the token information of the cluster.
In the present embodiment, it is after the acquisition module 10 gets the communication data of each node, described
Each node backstage direct analysis data of determining module 20 in isomeric group, to determine each node pair
The communication data answered, the present embodiment are preferably first configured to the corresponding retransmitting message number of times of each node,
Such as a node, the number of times of retransmitting message should be less than default number of times within a period of time, if certain node
Exist, that is to say, that reach in the retransmitting message number of times for having communication data default
During number of times, then the parameter of the node is adjusted by the adjusting module 30, to reduce disappearing for the node
Breath number of retransmissions, it is to be understood that when the retransmitting message number of times for having communication data reaches preset times,
Node messages sequence ability is relatively low under the present circumstances to illustrate the corresponding node of the communication data, it is possible to
Be message sequence communication speed it is very fast, or when node has just received the message of the message sequence,
Token information has arrived at the node, and now the node can only receive the part in message sequence
Message, causes message to be missed.Therefore, the present embodiment preferably adjusting module 30 is by the node
Window_size parameters are reduced, and token buffer storage lengths are expanded, or token gap periods are joined
Number expansion etc., the window_size parameters of the node is reduced and be can be regarded as the information of the node
Transmission rate reduce, due to isomeric group communication process in, can only optimize after retransmitting message each time and connect down
The operation for coming, therefore the information transmission rate of the node is reduced, whole communication process can be reduced
Efficiency, so that the node can receive the message in message sequence.
The communication optimization device of the isomeric group that the present embodiment is proposed, under isomeric group communication state, root
According to the communication data of each node for obtaining, the retransmitting message number of times in each communication data is determined, and
When the retransmitting message number of times for having communication data reaches preset times, the corresponding node of the communication data is adjusted
Parameter, to reduce the retransmitting message number of times of the node, as described in increase node receive as described in cluster
The time of token information, to reduce the retransmitting message number of times of the node, rather than communicate in isomeric group
During, the re-transmission of message if having node not receive message, is carried out always, this programme is by statistics
Retransmitting message number of times in the communication data of node, and when retransmitting message number of times reaches preset times, adjust
The parameter of the whole node is imitated so as to improve trunking communication with reducing the retransmitting message number of times of the node
Rate.
Further, in order to improve the motility of the communication of isomeric group, this is proposed based on first embodiment
The second embodiment of the communication optimization device of invention isomeric group, it is in the present embodiment, with reference to Fig. 6, described
Acquisition module 10 includes:
Updating block 11, during transmitting message sequence in each node of the isomeric group, if
The presetting message that node is not received in the message sequence is detected, according to the identification information of the node
Update the retransmitting message number of times of the node;
Processing unit 12, for the retransmitting message identification information of each node corresponding with each node is secondary
Communication data of the number as each node;
Acquiring unit 13, for obtaining the communication data of each node.
In the present embodiment, the corresponding communication data table of each node in isomeric group is first set up, it is described logical
News tables of data is used for the communication data for recording each node, and the communication data includes the mark of each node
Information and the corresponding retransmitting message number of times of each node.That is, the isomeric group each
During node transmission message sequence, the processing unit 12 is each according to the identification information recording of each node
The corresponding retransmitting message number of times of individual node, if detecting node does not receive default in the message sequence
Message, the retransmitting message of the node according to the update of identification information of the node of the updating block 11
Number, if being not detected by node does not receive the presetting message in the message sequence, then keep node
Retransmitting message number of times is constant.
Further, in order to improve the motility of the communication of isomeric group, this is proposed based on first embodiment
The 3rd embodiment of the communication optimization device of invention isomeric group, it is in the present embodiment, with reference to Fig. 7, described
Adjusting module 30 includes:
Determining unit 31, during for reaching preset times in the retransmitting message number of times for having communication data, it is determined that
The corresponding node of the communication data;
Adjustment unit 32, for increasing the time that the node receives the token information of the cluster, to drop
The retransmitting message number of times of the low node.
In the present embodiment, it is when the retransmitting message number of times for having communication data reaches preset times, described true
Order unit 31 determines the corresponding node of the communication data, and according to first embodiment, the node enters
The multiple retransmitting message of row, it may be possible to which the communication speed of message sequence is very fast, or just receives in node
To the message sequence message when, token information has arrived at the node, and now the node can only
The a part of message in message sequence will be received, cause message to be missed, therefore, the present embodiment is preferably described
Token gap periods parameter is expanded by adjustment unit 32, that is to say, that is increased the node and is received the collection
The time of the token information of group, to reduce the retransmitting message number of times of the node, will the isomeric group
The time of middle token information transmission increases, if originally transmitting in isomeric group the time 6 of token information
Second, and in the isomeric group, having 3 nodes, then each node receives the time of token information i.e.
For 2 seconds, now the time that token information is transmitted in the isomeric group increased to 9 seconds, then each
Node receives the as 3 seconds time of token information, then be conducive to the node to receive complete message
Sequence, so as to reduce the retransmitting message number of times of the node.Further, in the adjustment unit 32
After having adjusted the parameter of the corresponding node of the communication data, can will be the retransmitting message number of times of the node clear
Zero, and in new round isomeric group communication process, it is each in the continuation statistics isomeric group communication process
The communication data of individual node.
Further, in order to improve the motility of the communication of isomeric group, this is proposed based on first embodiment
The fourth embodiment of the communication optimization device of invention isomeric group, it is in the present embodiment, with reference to Fig. 8, described
The communication optimization device of isomeric group includes:
Processing module 40, if adding the isomeric group for detecting new node, obtains the new node
Identification information, and by the attribute information of the identification information recording to the new node;
Broadcast module 50, for the current attribute of all node broadcasts each node to the isomeric group
Information, so that its attribute information is all synchronously comprising all node marks by all nodes of the isomeric group
The new attribute information of knowledge information, wherein, original corresponding attribute information of each node in the isomeric group
The identification information of original each node is included all;
Into module 60, the category of other node broadcasts is received for each node in the isomeric group
When property information and the attribute information for receiving all consistent with the corresponding attribute information of each node, into isomery
Trunking communication state.
In the present embodiment, the cluster of original node P1, P2, P3 composition normally runs, if this stylish section
In point isomeric group as described in P4 is added, then the processing module 40 first obtains the identification information of new node,
And by the attribute information of the identification information recording to the new node, i.e., in the attribute of the new node
Minute book node identification information in information such as my_proc_set;Meanwhile, the broadcast module 50 is to described
The current attribute information of all node broadcasts each node of isomeric group, for the institute of the isomeric group
There is node to be all synchronously the new attribute information comprising all node identification informations by its attribute information, be worth note
Meaning, in the isomeric group, original corresponding attribute information of each node all includes original each node
Identification information, i.e., described original corresponding attribute information of node P1, P2, P3 is all P1P2P3,
To be best understood from the present embodiment, it is exemplified below:In new node P4 adds the isomeric group, new node
The communication message such as JoinMsg message of P4 broadcast isomeric group dynamic additions and deletions nodes, the JoinMsg disappear
Breath includes the attribute information of node P4, now, 3 node P1 original in the isomeric group, P2,
When P3 receives the JoinMsg message of node P4 broadcast, into gather states, and the section
Point P1, P2, P3 update the attribute information my_proc_set of oneself, with by attribute information all synchronous as bag
New attribute information containing all node identification informations, attribute that will be described node P1, P2, P3 original are believed
Breath P1P2P3 is updated to new attribute information P1P2P3P4, and described node P1, P2, P3 also can be to collection
Group broadcasts its JoinMsg message, and now the node P4 also can be to receive node P1, P2, P3 wide
During the JoinMsg message broadcast, its attribute information is updated to into new attribute information P1P2P3P4, it is possible to understand that
, when each node carries out broadcasting JoinMsg message, as long as node receives other node broadcasts
JoinMsg message, attribute information that will be by the attribute information of JoinMsg message with itself compares,
If the my_pro_set compared in message is identical with the my_proc_set contents of oneself, that is, the attribute for receiving
When information is consistent with the corresponding attribute information of each node, then the sender_id in JoinMsg message is set
Consensus is set to, that is, the attribute information of each node corresponding transmission address information is arranged into synchronous
Mark, and show in consensus lists, the last entrance module 60 is communicated into isomeric group
State.
Further, the broadcast module 50, is additionally operable in the isomeric group have node not receive
During the attribute information of other node broadcasts, in the isomeric group, node described in other node broadcasts is current
Attribute information, so that the corresponding attribute information of other node feeding backs other nodes is to the node.
In isomeric group environment, the consensus lists of not every node can be updated to rapidly
Consistent, it is possible to the situation of appearance is that node P2 is not received by the JoinMsg of node P3 broadcast
Message, therefore consensus [the p3]=false of node P2, do not receive the JoinMsg message of P3, this
When will cause re-transmission, that is, carry out retransmitting message, the broadcast module 50 is by wide to other nodes
Broadcast the current attribute information of the node, carry out message transmission again, for other node feeding backs other
Into the node, each node has a timing into consensus states to the corresponding attribute information of node
Between require.If node in the cluster enters consensus state for time length, receives JoinMsg
Time interval is long, then change and notify that in JoinMsg newly added node reduces window_size, expands
Token parameters.If newly added node enters consensus state for time length, then somewhat expands
Consensus timer durations etc..
It should be noted that herein, term " including ", "comprising" or its any other variant
Be intended to including for nonexcludability so that process, method, article including a series of key elements or
Person's device not only includes those key elements, but also including other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings for not having more restrictions
Under condition, the key element limited by sentence "including a ...", it is not excluded that including the key element process,
Also there is other identical element in method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned
Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical
Cross hardware, but the former is more preferably embodiment in many cases.It is based on such understanding, of the invention
The part that technical scheme is substantially contributed to prior art in other words can in the form of software product body
Reveal and, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Disk) in, use so that a station terminal equipment including some instructions (can be mobile phone, computer, service
Device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every
The equivalent structure made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly or
Connect and be used in other related technical fields, be included within the scope of the present invention.
Claims (10)
1. the communication optimization method of a kind of isomeric group, it is characterised in that the communication of the isomeric group is excellent
Change method is comprised the following steps:
Under isomeric group communication state, the communication data of each node in the isomeric group is obtained;
Determine the retransmitting message number of times in each communication data;
When the retransmitting message number of times for having communication data reaches preset times, the communication data correspondence is adjusted
Node parameter, to reduce the retransmitting message number of times of the node, wherein, the parameter includes node
Receive the time of the token information of the cluster.
2. the communication optimization method of isomeric group as claimed in claim 1, it is characterised in that it is described
Under isomeric group communication state, include the step of the communication data of each node in the acquisition isomeric group:
During each node transmission message sequence of the isomeric group, if detected node not connecing
The presetting message in the message sequence is received, node disappears according to the update of identification information of the node
Breath number of retransmissions;
Using the retransmitting message number of times identification information of each node corresponding with each node as each node
Communication data, and obtain the communication data of each node.
3. the communication optimization method of isomeric group as claimed in claim 1, it is characterised in that it is described
When the retransmitting message number of times for having communication data reaches preset times, the corresponding node of the communication data is adjusted
Parameter, include the step of to reduce the retransmitting message number of times of the node:
When the retransmitting message number of times for having communication data reaches preset times, the communication data correspondence is determined
Node;
Increase the time that the node receives the token information of the cluster, to reduce the message of the node
Number of retransmissions.
4. the communication optimization method of the isomeric group as described in any one of claim 1-3, it is characterised in that
It is described under isomeric group communication state, obtain the step of the communication data of each node in the isomeric group
Before rapid, the communication optimization method of the isomeric group includes:
If detecting new node adds the isomeric group, the identification information of the new node is obtained, and will
The identification information recording is in the attribute information of the new node;
To the current attribute information of all node broadcasts each node of the isomeric group, for described different
Its attribute information is all synchronously the new attribute letter comprising all node identification informations by all nodes of structure cluster
Breath, wherein, in the isomeric group, original corresponding attribute information of each node all includes original each section
The identification information of point;
In the isomeric group, each node receives the attribute information of other node broadcasts and receives
When attribute information is all consistent with the corresponding attribute information of each node, into isomeric group communication state.
5. the communication optimization method of isomeric group as claimed in claim 4, it is characterised in that it is described to
The current attribute information of all node broadcasts each node of the isomeric group, for the isomeric group
All nodes by its attribute information be all synchronously the new attribute information comprising all node identification informations step
After rapid, the communication optimization method of the isomeric group also includes:
When in the isomeric group, having node not receive the attribute information of other node broadcasts, to described
The current attribute information of node described in other node broadcasts in isomeric group, for other node feeding backs other
The corresponding attribute information of node is to the node.
6. the communication of a kind of isomeric group optimizes device, it is characterised in that the communication of the isomeric group is excellent
Makeup put including:
Acquisition module, for, under isomeric group communication state, obtaining each node in the isomeric group
Communication data;
Determining module, for determining the retransmitting message number of times in each communication data;
Adjusting module, during for reaching preset times in the retransmitting message number of times for having communication data, adjusts institute
The parameter of the corresponding node of communication data is stated, to reduce the retransmitting message number of times of the node, wherein, institute
Stating parameter includes that node receives the time of the token information of the cluster.
7. the communication of isomeric group as claimed in claim 6 optimizes device, it is characterised in that described to obtain
Delivery block includes:
Updating block, for during each node transmission message sequence of the isomeric group, if inspection
The presetting message that node is not received in the message sequence is measured, according to the identification information of the node more
The retransmitting message number of times of the new node;
Processing unit, for by the retransmitting message number of times identification information of each node corresponding with each node
As the communication data of each node;
Acquiring unit, for obtaining the communication data of each node.
8. the communication of isomeric group as claimed in claim 6 optimizes device, it is characterised in that the tune
Mould preparation block includes:
Determining unit, during for reaching preset times in the retransmitting message number of times for having communication data, determines institute
State the corresponding node of communication data;
Adjustment unit, for increasing the time that the node receives the token information of the cluster, to reduce
The retransmitting message number of times of the node.
9. the communication of the isomeric group as described in any one of claim 6-8 optimizes device, it is characterised in that
The communication optimization device of the isomeric group includes:
Processing module, if adding the isomeric group for detecting new node, obtains the new node
Identification information, and by the attribute information of the identification information recording to the new node;
Broadcast module, for the current attribute letter of all node broadcasts each node to the isomeric group
Breath, so that its attribute information is all synchronously comprising all node identifications by all nodes of the isomeric group
The new attribute information of information, wherein, in the isomeric group, the corresponding attribute information of original each node is all
Identification information comprising original each node;
Into module, the attribute of other node broadcasts is received for each node in the isomeric group
When information and the attribute information for receiving all consistent with the corresponding attribute information of each node, into isomery collection
Group's communication state.
10. the communication of isomeric group as claimed in claim 9 optimizes device, it is characterised in that described
Broadcast module, is additionally operable in the isomeric group, have node not receive other node broadcasts attribute letter
During breath, the current attribute information of node described in other node broadcasts in the isomeric group, for other
The corresponding attribute information of other nodes of node feeding back is to the node.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510638932.3A CN106559458A (en) | 2015-09-30 | 2015-09-30 | The communication optimization method and device of isomeric group |
PCT/CN2016/085335 WO2017054512A1 (en) | 2015-09-30 | 2016-06-08 | Method and device for optimizing communication in heterogeneous cluster |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510638932.3A CN106559458A (en) | 2015-09-30 | 2015-09-30 | The communication optimization method and device of isomeric group |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106559458A true CN106559458A (en) | 2017-04-05 |
Family
ID=58417337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510638932.3A Pending CN106559458A (en) | 2015-09-30 | 2015-09-30 | The communication optimization method and device of isomeric group |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106559458A (en) |
WO (1) | WO2017054512A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109428688B (en) * | 2017-09-04 | 2021-11-09 | 中国移动通信有限公司研究院 | HARQ retransmission time dynamic configuration method, device and medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594308B (en) * | 2009-07-03 | 2011-06-15 | 华为技术有限公司 | Method and system for transmitting message |
CN102647323B (en) * | 2012-03-28 | 2015-01-07 | 华为技术有限公司 | Flow control method and device as well as clustering system |
US9113450B2 (en) * | 2012-08-23 | 2015-08-18 | Interdigital Patent Holdings, Inc. | Operating with multiple schedulers in a wireless system |
CN104469966B (en) * | 2014-12-08 | 2019-03-01 | 哈尔滨工业大学深圳研究生院 | Accidental access method and system of the TD-LTE virtual Private Network based on dynamic priority |
-
2015
- 2015-09-30 CN CN201510638932.3A patent/CN106559458A/en active Pending
-
2016
- 2016-06-08 WO PCT/CN2016/085335 patent/WO2017054512A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017054512A1 (en) | 2017-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101395824B (en) | Method, root node and base station for quasi synchronous transmission in cellular networks | |
CN101272519B (en) | Method, device and base station for generating protocol data unit | |
CN101741538B (en) | Synchronous dispatching method | |
CN101039175B (en) | Method and system for synchronizing RLC in wireless network controllers | |
CN105471790A (en) | Cooperative transmission method suitable for distributed antenna system, base station and terminal | |
CN101741701A (en) | Synchronous dispatching method and synchronous dispatching device | |
CN107070498B (en) | A kind of sub-clustering multistage ad hoc network method for synchronizing time based on frequency hopping TDMA system | |
CN101557255A (en) | Time synchronization method, system thereof and time synchronous communication equipment | |
CN101931881A (en) | Service content synchronization method, device and system | |
CN101651510A (en) | Method and device for recovery processing in service data synchronous transmission | |
CN106973391A (en) | The cut-in method and access device of a kind of shared channel | |
CN101686431B (en) | Synchronous processing method and device | |
CN103167599B (en) | A kind of method and apparatus of synchronizing information | |
CN102711217B (en) | Communication method, device and system | |
CN101043653B (en) | Method for realizing transparent mode based inter-wireless network controller MBMS service synchronization | |
CN106559458A (en) | The communication optimization method and device of isomeric group | |
CN1983869A (en) | Wireless access controller and method for timed adjusting transmission channel between base stations | |
CN101350664A (en) | Method for synchronization of multimedia broadcast and multicast | |
CN101552948A (en) | Method for synchronously sending same MBMS service data by wireless network controller | |
CN101651517A (en) | Method and device for detecting loss of burst sequences | |
CN101686184A (en) | Processing method of service data packet loss of synchronous network of multimedia broadcast multicast service | |
CN102769830B (en) | Multicast message sending method and device, the network equipment | |
CN105635983A (en) | Notice method and device of recovering suspended service and indication information processing method | |
CN101686435A (en) | MBMS transmission method, system and devices | |
CN101500193B (en) | Method for multimedia broadcast multicast service data synchronization between RNCs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170405 |