CN107689921A - A kind of system of selection of forward node and system - Google Patents

A kind of system of selection of forward node and system Download PDF

Info

Publication number
CN107689921A
CN107689921A CN201710846054.3A CN201710846054A CN107689921A CN 107689921 A CN107689921 A CN 107689921A CN 201710846054 A CN201710846054 A CN 201710846054A CN 107689921 A CN107689921 A CN 107689921A
Authority
CN
China
Prior art keywords
forward node
node
type
information
father
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
CN201710846054.3A
Other languages
Chinese (zh)
Other versions
CN107689921B (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.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710846054.3A priority Critical patent/CN107689921B/en
Publication of CN107689921A publication Critical patent/CN107689921A/en
Application granted granted Critical
Publication of CN107689921B publication Critical patent/CN107689921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of system of selection of forward node and system, the system of selection includes:Detection information is sent to N number of forward node;According to feedback information, it is determined that the type of each forward node;Solicited message is sent to N number of forward node, so as to the report information according to feedback, determines status information;According to the type and status information of each forward node, the topological structure that all forward node form is determined;According to task request message, the forward node matched in topological structure forwards the user node to need the data flow that sends.A kind of system is further related to, the system includes:Forward node controller, forward node, user node;The forward node controller includes:Sending module, processing module, topological structure form module, control module.By present invention determine that the framework of new forward node, the forward node for finding matching in the framework, so improve matching precision, while also improve the forwarding transmission rate of data flow.

Description

A kind of system of selection of forward node and system
Technical field
The invention belongs to system of selection and the system of Internet of Things field, more particularly to a kind of forward node.
Background technology
With the continuous development of Internet of Things, the data volume of collection and the transmission of data flow expands constantly, often needs The good forward node of matching performance is wanted, but current forward node framework can not all meet the real-time Transmission demand of data flow; And these covering web frames all realize the correct distribution of data flow by structure, but its inefficient and matching degree is not It is good, it have impact on the real-time transmission of data flow so that and mass data stream is crowded, so also have impact on the stability of a system and autgmentability, If mismatched in addition using the forward node of fixed fixed frequency, its forward efficiency and the data traffic for needing to forward, The phenomenon that forwarding repeats occurs, causes great amount of cost to waste, while also there can be certain transmission delay and system is unstable The problem of property.
The content of the invention
The technical problems to be solved by the invention are:Current data flow expands constantly, and fixed forward node is but The transmission problem of its data flow can not be met in real time, and existing forward node framework also can not the suitable forwarding section of real-time matching Progress of the point to data flow forwards in real time, have impact on the real-time transmission of data flow so that mass data stream is crowded.
To solve technical problem above, the invention provides a kind of system of selection of forward node, the system of selection bag Include:
Forward node controller sends detection information to N number of forward node, and the N is natural number;
The feedback information that N number of forward node according to receiving is sent, determines each to turn in N number of forward node Send out the type of node;
Solicited message is sent to N number of forward node, to exist according to each forward node in N number of forward node The report information fed back after the solicited message is received, it is determined that the status information of each forward node;
According to the type of each forward node and the status information, opening up for N number of forward node composition is determined Structure is flutterred, wherein mutually being communicated between belonging to same type of forward node;
The task request message sent according to the user node received, determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
Beneficial effects of the present invention:By determining the framework of new forward node, so it is easy to according to user node needs The data flow of transmission finds out the forward node of matching in the framework, so as to the transmitting data flow, so improves matching essence Degree, so as to improve the forwarding transmission rate of data flow, timely transmitting data flow, avoids the crowded of data flow.
Further, judge in the master site type with the presence or absence of the forward node bag matched with the characteristic attribute Include:
If being not present, father's forward node in the master site type sends the characteristic attribute to the chromaffin body vertex type In father's forward node;
Father's forward node in the chromaffin body vertex type searches its all adjacent forwarding section according to the characteristic attribute Point, judge in the chromaffin body vertex type with the presence or absence of the forward node matched with the characteristic attribute;
If in the presence of, father's forward node in the chromaffin body vertex type by the match information of the adjacent forward node of the matching To father's forward node in the master site type, so as to father's forward node forwarding matching letter in the master site type Breath is sent to the forward node controller;
The match information is sent to the user node by the forward node controller, and is connect in the user node After receiving the match information, father's forward node in master site type described in enabling signal is sent;
Father's forward node in the master site type forwards the enabling signal to turn to the father in the chromaffin body vertex type Send out node;
Father's forward node in the chromaffin body vertex type forwards the enabling signal to the matching in the chromaffin body vertex type Adjacent forward node, the use is forwarded according to the enabling signal so as to the adjacent forward node of the matching in the chromaffin body vertex type Family node needs the data flow sent.
Above-mentioned further beneficial effect:When the adjacent forward node that attributes match is not present in master site type, then main section Father's forward node in vertex type sends information to chromaffin body vertex type, informs the forward node that whether there is matching in vice-node, It can not be thus controlled by forward node controller, but be controlled by father's forward node in host node, greatly Reduce the pressure of forward node controller greatly, while also improve the speed and precision of lookup, matching can be quickly found out Forward node, also shorten the time and reduce the delay of transmission.
The invention further relates to a kind of selection system of forward node, the system includes:Forward node controller, forwarding section Point, user node;The forward node controller includes:Sending module, processing module, topological structure form module, control mould Block;
The sending module, for sending detection information to N number of forward node and being asked for being sent to N number of forward node Information is sought, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, And be additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that often The type of individual forward node, and the report information sent according to the N number of forward node received is additionally operable to, it is determined that The status information of each forward node;
The topological structure forms module, for the type according to each forward node and the status information, really The topological structure of fixed N number of forward node composition, wherein mutually being communicated between belonging to same type of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
Beneficial effects of the present invention:By determining the framework of new forward node, so it is easy to according to user node needs The data flow of transmission finds out the forward node of matching in the framework, so as to the transmitting data flow, so improves matching essence Degree, so as to improve the forwarding transmission rate of data flow, timely transmitting data flow, avoids the crowded of data flow.
Further, the system is additionally operable to work as turn for being not present in the master site type and matching with the characteristic attribute When sending out node, father's forward node in the master site type sends the characteristic attribute and forwarded to father in the chromaffin body vertex type Node.
Above-mentioned further beneficial effect:When the adjacent forward node that attributes match is not present in master site type, then main section Father's forward node in vertex type sends information to chromaffin body vertex type, informs the forward node that whether there is matching in vice-node, It can not be thus controlled by forward node controller, but be controlled by father's forward node in host node, greatly Reduce the pressure of forward node controller greatly, while also improve the speed and precision of lookup, matching can be quickly found out Forward node, also shorten the time and reduce the delay of transmission.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the system of selection of forward node of the present invention;
Fig. 2 is a kind of partial schematic diagram of the system of selection of forward node of the present invention;
Fig. 3 is a kind of structural representation of the selection system of forward node of the present invention;
Fig. 4 is a kind of partial schematic diagram of the selection system of forward node of the present invention;
Fig. 5 is a kind of topological structure schematic diagram of the selection system of forward node of the present invention.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the present invention.
Embodiment 1
As shown in figure 1, the present embodiment 1 is a kind of system of selection of forward node, the system of selection includes:
S1, forward node controller send detection information to N number of forward node, and the N is natural number;
S2, the feedback information sent according to the N number of forward node received, determine every in N number of forward node The type of individual forward node;
S3, solicited message is sent to N number of forward node, so as to according to each forwarding section in N number of forward node The report information that point feeds back after the solicited message is received, it is determined that the status information of each forward node;
S4, according to the type of each forward node and the status information, determine N number of forward node composition Topological structure, wherein mutually being communicated between belonging to same type of forward node;
S5, the task request message sent according to the user node that receives, determined in the topological structure with it is described The data flow that the forward node of task request message matching sends to forward user node to need.
It should be noted that in the present embodiment 1, forward node controller first sends to all forward node in periphery and visited Measurement information, this is in order to determine the distribution situation of periphery forward node, due to the shape of the reception detection information of each forward node Condition differs, such as:There are many forward node in the range of forward node controller, but these forward node have Be retransmission protocol ratio faster, some are that storage capacity is higher, also have plenty of forwarding rate and storage capacity is all relatively good , so need to classify to these forward node according to the situation that N number of forward node receives, it is determined that each forward node Type, the forward node that can be so advantageous to subsequently rapidly find out matching forward to data stream.
In addition, type and status information according to forward node, it may be determined that new topological structure, what is so newly formed opens up Flutterring structure can when subsequently received forwarding request, can rapidly realize the matching to forward node, secondly, Mutually communicated between same type of forward node in the topological structure formed in the present embodiment 1, belong to different type Forward node between by mutually being communicated between father's forward node, so and greatly reduce forward node Control of the controller to N number of individual node, can be with Direct Communication, no between same type by being communicated with one another between N number of level It is mutually to be communicated by father's forward node between same type, this avoid the interaction between too many forward node, indirectly Ground improves efficiency and has saved the time.
By the method for the present embodiment 1, by determining the framework of new forward node, so it is easy to according to user node need The data flow to be sent finds out the forward node of matching in the framework, so as to the transmitting data flow, so improves matching Precision, so as to improve the forwarding transmission rate of data flow, timely transmitting data flow, avoid the crowded of data flow.
Embodiment 2
As shown in figure 1, the present embodiment 2 is a kind of system of selection of forward node, the system of selection includes:
S1, forward node controller send detection information to N number of forward node, and the N is natural number;
S2, the feedback information sent according to the N number of forward node received, determine every in N number of forward node The type of individual forward node;
S3, solicited message is sent to N number of forward node, so as to according to each forwarding section in N number of forward node The report information that point feeds back after the solicited message is received, it is determined that the status information of each forward node;
S4, according to the type of each forward node and the status information, determine N number of forward node composition Topological structure, wherein mutually being communicated between belonging to same type of forward node;
S5, the task request message sent according to the user node that receives, determined in the topological structure with it is described The data flow that the forward node of task request message matching sends to forward user node to need.
Alternatively, the feedback information sent in S2 described in the present embodiment 2 according to the N number of forward node received, Determining the type of each forward node in N number of forward node includes:
When the feedback information received is that the forward node receives the complete detection information, then will described in Forward node is labeled as master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
It should be noted that it is to determine that different types is that forward node controller is first to N number of described in the present embodiment 2 Forward node sends probe message, wherein be when receiving the complete detection information, illustrate these forward node efficiency and Compatibility is all relatively good, the forwarding of the data flow more than comparison is can adapt to, so the forward node is labeled as into host node class Type, and the incomplete detection information is received, it is to receive number in other words in the presence of necessarily incompatible to illustrate these forward node Effect according to stream is not fine, or logical when property also has certain difference etc., so by the forward node labeled as pair Node type, and when not receiving the feedback information, then the forward node is labeled as the alternate node type. By such method, rapidly multiple forward node can be classified, be divided into 3 big types, be so advantageous to follow-up The time can be saved when lookup and improves the efficiency of matching.
By the method for the present embodiment 2, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, is so easy to rapidly find in topological structure The forward node of matching and the forward node of the matching can be forwarded promptly to data stream simultaneously, improve number indirectly According to the forwarding rate of stream, the crowded of data flow is avoided, while can also improve matching precision, timely transmitting data flow.
Embodiment 3
As shown in figure 1, the present embodiment 3 is a kind of system of selection of forward node, the system of selection includes:
S1, forward node controller send detection information to N number of forward node, and the N is natural number;
S2, the feedback information sent according to the N number of forward node received, determine every in N number of forward node The type of individual forward node;
S3, solicited message is sent to N number of forward node, so as to according to each forwarding section in N number of forward node The report information that point feeds back after the solicited message is received, it is determined that the status information of each forward node;
S4, according to the type of each forward node and the status information, determine N number of forward node composition Topological structure, wherein mutually communicated between belonging to same type of forward node, belong to different types of forward node it Between by mutually being communicated between father's forward node;
S5, the task request message sent according to the user node that receives, determined in the topological structure with it is described The data flow that the forward node of task request message matching sends to forward user node to need.
Alternatively, the feedback letter sent described in the present embodiment 3 in S2 according to the N number of forward node received Breath, determining the type of each forward node in N number of forward node includes:
When the feedback information received is that the forward node receives the complete detection information, then will described in Forward node is labeled as master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 3:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
It should be noted that it is the affiliated type and the shape of itself according to each forward node in the present embodiment 3 State information, the topological structure of all forward node compositions is determined, in addition, in the same type of forwarding section in the present embodiment 3 Mutually communicated between point, that is to say, that it can be communicated with one another between each forward node in master site type, and Different types are such as:It is to communicate between master site type and chromaffin body vertex type, but is forwarded by the father of N number of type Mutual communication is carried out between node, if so, the forward node in master site type is wanted and the forwarding section in chromaffin body vertex type Communicated between point, be to need to be contacted by father's forward node in them, then father's forward node turns with others again Hair node is communicated.
Secondly, the status information in the present embodiment 3 includes:The IP address of each forward node, receive detection information Speed, the communications protocol used, memory information, channel utilization, priority, identification number.Can be with by these status informations More accurately recognize the function and efficiency of each forward node, understand the Status Type of its work and the situation of forwarding, this Sample accurately forwards for forward node corresponding to data stream matches to data stream, improves the standard forwarded to data stream True rate.
By the method for the present embodiment 3, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, while by determining that the state of N number of forward node is believed Breath, it can more accurately recognize the service behaviour of each forward node, and the state of N number of its work of forward node Type and the situation of forwarding, can be accurately so forward node corresponding to data stream matches, the data flow is forwarded, Improve the accuracy rate to forwarding data flow.
Embodiment 4
As shown in figure 1, the present embodiment 4 is a kind of system of selection of forward node, the system of selection includes:
S1, forward node controller send detection information to N number of forward node, and the N is natural number;
S2, the feedback information sent according to the N number of forward node received, determine every in N number of forward node The type of individual forward node;
S3, solicited message is sent to N number of forward node, so as to according to each forwarding section in N number of forward node The report information that point feeds back after the solicited message is received, it is determined that the status information of each forward node;
S4, according to the type of each forward node and the status information, determine N number of forward node composition Topological structure, wherein mutually communicated between belonging to same type of forward node, belong to different types of forward node it Between by mutually being communicated between father's forward node;
S5, the task request message sent according to the user node that receives, determined in the topological structure with it is described The data flow that the forward node of task request message matching sends to forward user node to need.
Alternatively, the feedback letter sent described in the present embodiment 4 in S2 according to the N number of forward node received Breath, determining the type of each forward node in N number of forward node includes:
When the feedback information received is that the forward node receives the complete detection information, then will described in Forward node is labeled as master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 4:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
Alternatively, as shown in Fig. 2 the type described in the present embodiment 4 described in S4 according to each forward node With the status information, the topological structure that N number of forward node forms is determined, including:
S41, in same type, the speed of the reception detection information of each forward node in the type Rate, the channel utilization, the priority, the identification number, determine father's forward node in the type and adjacent forwarding Node;
S42, the communications protocol used according to father's forward node and the adjacent forward node, determine that the father forwards section Communication numbering between point and the adjacent forward node;
S43, according to the communications protocol that each father's forward node uses in each type, determine the father in all types The communication relations of mutual communication between forward node;
S44, according to the communication numbering and the communication relations, determine the topological structure that N number of forward node forms.
It should be noted that the topological structure to be formed and type is determined in above-described embodiment 1-3 in the present embodiment 4 , and be in same type, according to the speed of the reception detection information of the forward node, the channel in the present embodiment 4 Utilization rate, the priority, the identification number, father's forward node in the type and adjacent forward node are determined, in these forwarding sections Selected in point N number of aspect overall merit be optimal forward node as father's forward node, remaining forward node is then according to it Self-condition controlled as father's forward node under adjacent forward node, it is determined that after father's forward node and adjacent forward node, then root The communications protocol used according to father's forward node and any adjacent forward node, it is possible between father's forward node and adjacent forward node Communication numbering, be so advantageous in father's forward node after the information of forwarding is received, directly by communicate numbering determination arrive Accurate adjacent forward node, the adjacent forward node can quickly start up to be forwarded to data stream, is effectively accurately improved The matching degree and accuracy of forward node, while also reduce the stand-by period of data flow, reduce data flow by it is crowded when Between.
By the method for the present embodiment 4, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, while by determining that the state of N number of forward node is believed Breath, and the communication relations between father's forward node and the adjacent forward node in same type are determined, be advantageous to follow-up father's forward node After the information of forwarding is received, the adjacent forward node of matching is directly found by communicating numbering can, so as to improve The matching degree and accuracy of forward node, improve the accuracy rate to forwarding data flow indirectly.
Embodiment 5
As shown in figure 1, the present embodiment 5 is a kind of system of selection of forward node, the system of selection includes:
S1, forward node controller send detection information to N number of forward node, and the N is natural number;
S2, the feedback information sent according to the N number of forward node received, determine every in N number of forward node The type of individual forward node;
S3, solicited message is sent to N number of forward node, so as to according to each forwarding section in N number of forward node The report information that point feeds back after the solicited message is received, it is determined that the status information of each forward node;
S4, according to the type of each forward node and the status information, determine N number of forward node composition Topological structure, wherein mutually communicated between belonging to same type of forward node, belong to different types of forward node it Between by mutually being communicated between father's forward node;
S5, the task request message sent according to the user node that receives, determined in the topological structure with it is described The data flow that the forward node of task request message matching sends to forward user node to need.
Alternatively, the feedback letter sent described in the present embodiment 5 in S2 according to the N number of forward node received Breath, determining the type of each forward node in N number of forward node includes:
When the feedback information received is that the forward node receives the complete detection information, then will described in Forward node is labeled as master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 5:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
Alternatively, as shown in Fig. 2 according to the type of each forward node and institute in S4 described in the present embodiment 5 Status information is stated, determines the topological structure of all forward node compositions, including:
S41, in same type, the speed of the reception detection information of each forward node in the type, The channel utilization, the priority, the identification number, determine that father's forward node in the type and adjacent forwarding save Point;
S42, the communications protocol used according to father's forward node and the adjacent forward node, determine that the father forwards section Communication numbering between point and the adjacent forward node;
S43, the communications protocol used according to each father's forward node, determine that the corresponding father forwards section in N number of type The communication relations of mutual communication between point;
S44, according to the communication numbering and the communication relations, determine the topological structure that all forward node form.
Alternatively, the task request message sent in the present embodiment 5 in S5 according to the user node received, described The data flow that the forward node matched with the task request message sends to forward user node to need is determined in topological structure Including:
S51, the task request message sent according to the user node received, extracts the spy in the task request message Attribute is levied, and sends the characteristic attribute to father's forward node in the master site type;
S52, father's forward node in the master site type search its all adjacent forwarding section according to the characteristic attribute Point, judge in all adjacent forward node with the presence or absence of the adjacent forward node matched with the characteristic attribute;
S531, if in the presence of, father's forward node in the master site type by of the adjacent forward node of the matching The forward node controller is given with feedback of the information;
The match information is sent to the user node by S532, the forward node controller, and in the user Node sends enabling signal to father's forward node in the master site type after receiving the match information;
S533, father's forward node in the master site type forward adjacent forwarding section of the enabling signal to the matching Point, so that enabling signal described in the adjacent forward node according to matching forwards the user node to need the data flow sent.
It should be noted that Node Controller is forwarded to be appointed according to what the user node received was sent in the present embodiment 5 Business solicited message, then extracts the characteristic attribute in the task request message, then this feature attribute extracted is sent into master Father's forward node in node type, father's forward node in the master site type can be searched according to this feature attribute received Its all adjacent forward node, such as:Father's forward node is A, and its adjacent forward node includes:a1、a1、a2、a3、a4、a5、 A6, a7, a8a9a10 etc., judge to whether there is the adjacent forwarding to match with this feature attribute in all adjacent forward node Node.When matching in these adjacent forward node be present, then father's forward node in the master site type is by the matching The match information of adjacent forward node feeds back to the forward node controller, and when forward node controller will believe the matching Breath issues user node, and user node will recognize the shape for the forward node that will forward its data flow according to the match information Condition, then forward node controller will send enabling signal to informing master after learning that user node receives the match information Father's forward node in node type, right main forward node inform the adjacent forward node of the matching, allow the adjacent forwarding of the matching to save Point carries out the preparation of forwarding.
By the method for the present embodiment 5, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, while by determining that the state of N number of forward node is believed Breath, and the communication relations between father's forward node and the adjacent forward node in same type are determined, closed by communicating to number and communicate System, the adjacent forward node of the data stream matches with needing to forward can be directly found, after the forward node of matching is found, Father node will inform forward node controller, allow forward node controller to inform user node, and such user node can be much of that The situation of the forward node of matching is solved, while the forward node for starting the matching goes to forward the user node to need the number sent According to stream, so that forward node controller does not have to the forward node for searching matching, reduces the processing of forward node controller Pressure, the efficiency of matching is also improved indirectly, also improve the forward efficiency of data flow indirectly, it is crowded to reduce data flow Probability.
Embodiment 6
As shown in figure 1, the present embodiment 6 is a kind of system of selection of forward node, the system of selection includes:
S1, forward node controller send detection information to N number of forward node, and the N is natural number;
S2, the feedback information sent according to the N number of forward node received, determine every in N number of forward node The type of individual forward node;
S3, solicited message is sent to N number of forward node, so as to according to each forwarding section in N number of forward node The report information that point feeds back after the solicited message is received, it is determined that the status information of each forward node;
S4, according to the type of each forward node and the status information, determine N number of forward node composition Topological structure, wherein mutually being communicated between belonging to same type of forward node;
S5, the task request message sent according to the user node that receives, determined in the topological structure with it is described The data flow that the forward node of task request message matching sends to forward user node to need.
Alternatively, the feedback letter sent described in the present embodiment 6 in S2 according to the N number of forward node received Breath, determining the type of each forward node in N number of forward node includes:
When the feedback information received is that the forward node receives the complete detection information, then will described in Forward node is labeled as master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 6:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
Alternatively, as shown in Fig. 2 in the present embodiment 6, according to the type of each forward node and institute in the S4 Status information is stated, determines the topological structure of all forward node compositions, including:
S41, in same type, the speed of the reception detection information of each forward node in the type, The channel utilization, the priority, the identification number, determine that father's forward node in the type and adjacent forwarding save Point;
S42, the communications protocol used according to father's forward node and the adjacent forward node, determine that the father forwards section Communication numbering between point and the adjacent forward node;
S43, the communications protocol used according to each father's forward node, determine that the corresponding father forwards section in N number of type The communication relations of mutual communication between point;
S44, according to the communication numbering and the communication relations, determine the topological structure that all forward node form.
Alternatively, in the present embodiment 6, according to the task request message of the user node transmission received in S5, in institute State the data that the forward node that determination matches with the task request message in topological structure sends to forward user node to need Stream also includes:
S51, the task request message sent according to the user node received, extracts the spy in the task request message Attribute is levied, and sends the characteristic attribute to father's forward node in the master site type;
S52, father's forward node in the master site type search its all adjacent forwarding section according to the characteristic attribute Point, judge in all adjacent forward node with the presence or absence of the adjacent forward node matched with the characteristic attribute;
S531, when in the absence of when, father's forward node in the master site type sends the characteristic attribute to the pair Father's forward node in node type;
S532, father's forward node in the chromaffin body vertex type are searched its according to the characteristic attribute and all described adjacent turned Node is sent out, is judged in the chromaffin body vertex type with the presence or absence of the forward node matched with the characteristic attribute;
S533, if in the presence of, father's forward node in the chromaffin body vertex type by of the adjacent forward node of the matching The father's forward node given with information in the master site type, so as to described in father's forward node forwarding in the master site type Match information is sent to the forward node controller;
The match information is sent to the user node by S534, the forward node controller, and in the user After node receives the match information, father's forward node in master site type described in enabling signal is sent;
S535, father's forward node in the master site type forward the enabling signal in the chromaffin body vertex type Father's forward node;
S536, father's forward node in the chromaffin body vertex type forward the enabling signal in the chromaffin body vertex type The adjacent forward node of matching, institute is forwarded according to the enabling signal so as to the adjacent forward node of the matching in the chromaffin body vertex type State the data flow that user node needs to send.
It should be noted that it is when forward node controller is sent according to the user node received in the present embodiment 6 Task request message, then extract the characteristic attribute in the task request message, then this feature attribute extracted is sent To father's forward node in master site type, father's forward node in the master site type can be according to this feature attribute received Its all adjacent forward node is searched, such as:Father's forward node is A, and its adjacent forward node includes:a1、a2、a3、a4、 A5, a6, a7, a8, a9, a10 etc., judge in all adjacent forward node with the presence or absence of the neighbour to match with this feature attribute Forward node.When in the absence of matching, then father's forward node in the master site type sends this feature attribute to vice-node Father forward node B in type, the father's forward node B allowed in the chromaffin body vertex type go to search its all according to this feature attribute The adjacent forward node, its adjacent forward node include such as:B1, b2, b3, b4, b5, b6, b7, b8, b9, b10 etc., judge It whether there is the forward node with this feature attributes match in the chromaffin body vertex type, when it is present, then in the chromaffin body vertex type Father's forward node will by the match information of the adjacent forward node of the matching give the master site type in father's forward node, allow Father's forward node in the master site type informs the forward node controller, so that the hair Node Controller informs user node The match information, such user node will appreciate that the information of the adjacent forward node of the matching, and user node will be according to this Match information recognizes the situation for the forward node that will forward its data flow, is then learning that user node receives the matching Forward node controller will send enabling signal and be saved to the father's forward node informed in master site type, so main forwarding after information Point informs father's forward node in chromaffin body vertex type, then informs that the neighbour of the matching turns by father's forward node in chromaffin body vertex type Node is sent out, allows the adjacent forward node of the matching to carry out the preparation of forwarding.
In addition, when the adjacent forward node that attributes match is not present in master site type, then host node class in the present embodiment 6 Father's forward node in type sends information to chromaffin body vertex type, informs the forward node that whether there is matching in vice-node, so Can is not controlled by forward node controller, but is carried out by father's forward node in host node to chromaffin body vertex type In father's forward node control, greatly reduce the pressure of forward node controller, while also improve the speed and essence of lookup Degree, the forward node of matching can be quickly found out, also shorten the time and reduce the delay of transmission.
By the method for the present embodiment 6, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, while by determining that the state of N number of forward node is believed Breath, and the communication relations between father's forward node and the adjacent forward node in same type are determined, closed by communicating to number and communicate System, the adjacent forward node of the data stream matches with needing to forward can be directly found, the data flow is forwarded, when in master When the forward node less than matching is searched in node type, the father gone to inform in other types by father's forward node turns Node is sent out, allows father's forward node to go to search the forward node matched in the type, so greatly reduces forward node controller Pressure, while also improve the speed and precision of lookup, accelerate the speed for the forward node for finding matching, shorten the time With the delay for reducing transmission.
Embodiment 7
As shown in figure 3, the present embodiment 7 is a kind of selection system of forward node, the system includes:Forward node controls Device, forward node, user node;The forward node controller includes:Sending module, processing module, topological structure form mould Block, control module;
The sending module, for sending detection information to N number of forward node and being asked for being sent to N number of forward node Information is sought, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, And be additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that often The type of individual forward node, and the report information sent according to the N number of forward node received is additionally operable to, it is determined that The status information of each forward node;
The topological structure forms module, for the type according to each forward node and the status information, really The topological structure of fixed N number of forward node composition, wherein mutually being communicated between belonging to same type of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
It should be noted that it is that forward node controller is first to be sent out to all forward node in periphery in the present embodiment 7 Detection information is sent, this is in order to determine the distribution situation of periphery forward node, due to the reception detection information of each forward node Situation differ, such as:There are many forward node in the range of forward node controller, but these forwardings save Point some be retransmission protocol ratio faster, some are that storage capacity is higher, also have plenty of forwarding rate and storage capacity and all compare Preferably, so needing to classify to these forward node according to the situation that N number of forward node receives, it is determined that each turn The type of node is sent out, the forward node that can be so advantageous to subsequently rapidly find out matching forwards to data stream.
In addition, type and status information according to forward node, it may be determined that new topological structure, what is so newly formed opens up Flutterring structure can when subsequently received forwarding request, can rapidly realize the matching to forward node, secondly, Mutually communicated between same type of forward node in the topological structure formed in the present embodiment 7, belong to different type Forward node between by mutually being communicated between father's forward node, so and greatly reduce forward node Control of the controller to N number of individual node, can be with Direct Communication, no between same type by being communicated with one another between N number of level It is mutually to be communicated by father's forward node between same type, this avoid the interaction between too many forward node, indirectly Ground improves efficiency and has saved the time.
By the system of the present embodiment 7, the framework of forward node is determined, is so easy to forward node controller according to user Node needs the forward node in the data flow control framework that sends, so as to find out the forward node of matching forwarding data Stream, so substantially increases the forwarding transmission rate of data flow, avoids the crowded of data flow, while can also improve matching essence Degree, timely transmitting data flow.
Embodiment 8
As shown in figure 3, the present embodiment 8 is a kind of selection system of forward node, the system includes:Forward node controls Device, forward node, user node;The forward node controller includes:Sending module, processing module, topological structure form mould Block, control module;
The sending module, for sending detection information to N number of forward node and being asked for being sent to N number of forward node Information is sought, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, And be additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that often The type of individual forward node, and the report information sent according to the N number of forward node received is additionally operable to, it is determined that The status information of each forward node;
The topological structure forms module, for the type according to each forward node and the status information, really The topological structure of fixed N number of forward node composition, wherein mutually being communicated between belonging to same type of forward node, belongs to By mutually being communicated between father's forward node between different types of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
Processing module described in the present embodiment 8, it is specifically used for when the feedback information received saves for the forwarding Point receives the complete detection information, then the forward node is labeled as into master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
It is forward node controller first to N number of institute it should be noted that the type that determination in the present embodiment 8 is different State forward node and send probe message, wherein being to work as to receive the complete detection information, illustrate these forward node efficiency It is all relatively good with compatibility, the forwarding of the data flow more than comparison is can adapt to, so the forward node is labeled as into host node Type, and the incomplete detection information is received, illustrating these forward node is received in other words in the presence of necessarily incompatible The effect of data flow is not fine, or logical when property also has certain difference etc., so the forward node is labeled as Chromaffin body vertex type, and when not receiving the feedback information, then the forward node is labeled as the alternate node class Type.By such method, rapidly multiple forward node can be classified, be divided into 3 big types, be so advantageous to rear The time can be saved when continuous lookup and improves the efficiency of matching.
By the system of the present embodiment 8, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, is so easy to rapidly find in topological structure The forward node of matching and the forward node of the matching can be forwarded promptly to data stream simultaneously, improve number indirectly According to the forwarding rate of stream, the crowded of data flow is avoided, while can also improve matching precision, timely transmitting data flow.
Embodiment 9
As shown in figure 3, the present embodiment 9 is a kind of selection system of forward node, the system includes:Forward node controls Device, forward node, user node;The forward node controller includes:Sending module, processing module, topological structure form mould Block, control module;
The sending module, for sending detection information to N number of forward node and being asked for being sent to N number of forward node Information is sought, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, And be additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that often The type of individual forward node, and the report information sent according to the N number of forward node received is additionally operable to, it is determined that The status information of each forward node;
The topological structure forms module, for the type according to each forward node and the status information, really The topological structure of fixed N number of forward node composition, wherein mutually being communicated between belonging to same type of forward node, belongs to By mutually being communicated between father's forward node between different types of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
Alternatively, the processing module described in the present embodiment 9, it is specifically used for when the feedback information received is institute State forward node and receive the complete detection information, then the forward node is labeled as master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 9:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
It should be noted that it is the affiliated type and the shape of itself according to each forward node in the present embodiment 9 State information, the topological structure of all forward node compositions is determined, in addition, in the same type of forwarding section in the present embodiment 3 Mutually communicated between point, that is to say, that it can be communicated with one another between each forward node in master site type, and Different types are such as:It is to communicate between master site type and chromaffin body vertex type, but is forwarded by the father of N number of type Mutual communication is carried out between node, if so, the forward node in master site type is wanted and the forwarding section in chromaffin body vertex type Communicated between point, be to need to be contacted by father's forward node in them, then father's forward node turns with others again Hair node is communicated.
Secondly, the status information in the present embodiment 9 includes:The IP address of each forward node, receive detection information Speed, the communications protocol used, memory information, channel utilization, priority, identification number.Can be with by these status informations More accurately recognize the function and efficiency of each forward node, understand the Status Type of its work and the situation of forwarding, this Sample is accurately that forward node corresponding to matching forwards to data stream in data, improves the standard forwarded to data stream True rate.
By the system of the present embodiment 9, the framework of forward node is determined, the state of detection information is received according to forward node Difference, it is divided into different types, so as to form new topological structure, while by determining that the state of N number of forward node is believed Breath, it can more accurately recognize the service behaviour of each forward node, and the state of N number of its work of forward node Type and the situation of forwarding, can be accurately so forward node corresponding to data stream matches, the data flow is forwarded, Improve the accuracy rate to forwarding data flow.
Embodiment 10
As shown in figure 3, the present embodiment 10 is a kind of selection system of forward node, the system includes:Forward node controls Device, forward node, user node;The forward node controller includes:Sending module, processing module, topological structure form mould Block, control module;
The sending module, for sending detection information to N number of forward node and being asked for being sent to N number of forward node Information is sought, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, And be additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that often The type of individual forward node, and the report information sent according to the N number of forward node received is additionally operable to, it is determined that The status information of each forward node;
The topological structure forms module, for the type according to each forward node and the status information, really The topological structure of fixed N number of forward node composition, wherein mutually being communicated between belonging to same type of forward node, belongs to By mutually being communicated between father's forward node between different types of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
Alternatively, the processing module described in the present embodiment 10, it is specifically used for when the feedback information received is The forward node receives the complete detection information, then the forward node is labeled as into master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 10:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
Alternatively, as shown in Figure 4 and shown in Fig. 5, the topological structure described in the present embodiment 10 forms module and included:First Topological structure forms unit, the second topological structure forms unit, the 3rd topological structure forms unit, the 4th topological structure forms list Member:
First topological structure forms unit, in same type, each forward node in the type The speed of the reception detection information, the channel utilization, the priority, the identification number, determine the type In father's forward node and adjacent forward node;
Second topological structure forms unit, the communication used according to father's forward node and the adjacent forward node Agreement, determine the communication numbering between father's forward node and the adjacent forward node;
3rd topological structure forms unit, for being assisted according to the communication that each father's forward node uses in each type View, determine the communication relations of the mutual communication between father's forward node in all types;
4th topological structure forms unit, for according to the communication numbering and the communication relations, determining the N The topological structure of individual forward node composition.
It should be noted that the topological structure to be formed and class is determined in above-described embodiment 7-9 in the present embodiment 10 Type, while be in same type in the present embodiment 10, according to the speed of the reception detection information of the forward node, it is somebody's turn to do Channel utilization, the priority, the identification number, father's forward node in the type and adjacent forward node are determined, in these turns It is optimal forward node as father's forward node that N number of aspect overall merit is selected in hair node, remaining forward node then root Adjacent forward node under being controlled according to its own situation as father's forward node, it is determined that after father's forward node and adjacent forward node, The communications protocol used further according to father's forward node and any adjacent forward node, it is possible to father's forward node and adjacent forward node Between communication numbering, be so advantageous in father's forward node after the information of forwarding is received, it is directly true by communicating numbering Fixed to arrive accurate adjacent forward node, the adjacent forward node can quickly start up to be forwarded to data stream, is effectively accurately carried The high matching degree and accuracy of forward node, while the stand-by period of data flow is also reduced, it is crowded to reduce data flow Time.
By the system of the present embodiment 10, the framework of forward node is determined, the shape of detection information is received according to forward node State is different, is divided into different types, so as to form new topological structure, while by determining the state of N number of forward node Information, and the communication relations between father's forward node and the adjacent forward node in same type are determined, be advantageous to follow-up father and forward section Point directly finds the adjacent forward node of matching, so as to improve after the information of forwarding is received by communicating numbering can The matching degree and accuracy of forward node, improves the accuracy rate to forwarding data flow indirectly.
Embodiment 11
As shown in figure 3, the present embodiment 11 is a kind of selection system of forward node, the system includes:Forward node controls Device, forward node, user node;The forward node controller includes:Sending module, processing module, topological structure form mould Block, control module;
The sending module, for sending detection information to N number of forward node and being asked for being sent to N number of forward node Information is sought, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, And be additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that often The type of individual forward node, and the report information sent according to the N number of forward node received is additionally operable to, it is determined that The status information of each forward node;
The topological structure forms module, for the type according to each forward node and the status information, really The topological structure of fixed N number of forward node composition, wherein mutually being communicated between belonging to same type of forward node, belongs to By mutually being communicated between father's forward node between different types of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task in the topological structure The data flow that the forward node of solicited message matching sends to forward user node to need.
Alternatively, the processing module described in the present embodiment 11, it is specifically used for when the feedback information received is The forward node receives the complete detection information, then the forward node is labeled as into master site type;
When the feedback information received be the forward node receive the incomplete detection information, then by institute State forward node and be labeled as chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
Alternatively, status information includes described in the present embodiment 11:The IP address of each forward node, receive detection letter The speed of breath, the communications protocol used, memory information, channel utilization, priority, identification number.
Alternatively, as shown in Figure 4 and shown in Fig. 5, the topological structure described in the present embodiment 11 forms module and included:First Topological structure forms unit, the second topological structure forms unit, the 3rd topological structure forms unit, the 4th topological structure forms list Member:
First topological structure forms unit, in same type, each forward node in the type The speed of the reception detection information, the channel utilization, the priority, the identification number, determine the type In father's forward node and adjacent forward node;
Second topological structure forms unit, the communication used according to father's forward node and the adjacent forward node Agreement, determine the communication numbering between father's forward node and the adjacent forward node;
3rd topological structure forms unit, for being assisted according to the communication that each father's forward node uses in each type View, determine the communication relations of the mutual communication between father's forward node in all types;
4th topological structure forms unit, for according to the communication numbering and the communication relations, determining the N The topological structure of individual forward node composition.
Alternatively, the control module described in the present embodiment 11, specifically for what is sent according to the user node received Task request message, the characteristic attribute in the task request message is extracted, and send the characteristic attribute to the host node Father's forward node in type.
It should be noted that in the present embodiment 11 be by the topological structure of the formation in above-described embodiment 7-10, with And the communications protocol that father's forward node in topological structure in each type and adjacent forward node use is determined, determine that father forwards section Communication numbering between point and adjacent forward node, is so in order to which father's forward node searches its institute according to the characteristic attribute received The adjacent forward node having, by communicating numbering and communication relations, it directly can search and match the data flow phase with needing to forward The adjacent forward node answered forwards to data stream.
By the system of the present embodiment 11, the framework of forward node is determined, the shape of detection information is received according to forward node State is different, is divided into different types, so as to form new topological structure, while by determining the state of N number of forward node Information, and the communication relations between father's forward node and the adjacent forward node in same type are determined, number and communicate by communicating Relation, the adjacent forward node of the data stream matches with needing to forward can be directly found, the data flow is forwarded, so So that in father's forward node after the information of forwarding is received, the adjacent forwarding of matching is directly found by communicating numbering can Node, the efficiency of matching is improved, also improve the forward efficiency of data flow indirectly, reduce the crowded probability of data flow.
Reader should be understood that in the description of this specification, reference term " one embodiment ", " some embodiments ", " show The description of example ", " specific example " or " some examples " etc. mean to combine the specific features of the embodiment or example description, structure, Material or feature are contained at least one embodiment or example of the present invention.In this manual, above-mentioned term is shown The statement of meaning property need not be directed to identical embodiment or example.Moreover, specific features, structure, material or the feature of description It can be combined in an appropriate manner in any one or more embodiments or example.In addition, in the case of not conflicting, this The technical staff in field can be by the different embodiments or example described in this specification and the spy of different embodiments or example Sign is combined and combined.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing description The specific work process with unit is put, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs 's.
In addition, N number of functional unit in the N number of individual embodiment of the present invention can be integrated in a processing unit, also may be used To be that N number of individual unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, technical scheme substantially or Say that the part to be contributed to prior art, or all or part of the technical scheme can be embodied in the form of software product Out, the computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be personal computer, server, or network equipment etc.) performs all or part of the N number of individual embodiment method of the present invention Step.And foregoing storage medium includes:It is USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random Accessing N number of kind of memory (RAM, Random Access Memory), magnetic disc or CD etc. can be with Jie of store program codes Matter.
More than, it is only embodiment of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art the invention discloses technical scope in, N number of kind of equivalent modifications or substitutions can be readily occurred in, These modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be wanted with right The protection domain asked is defined.

Claims (10)

1. a kind of system of selection of forward node, it is characterised in that the system of selection includes:
Forward node controller sends detection information to N number of forward node, and the N is natural number;
The feedback information that N number of forward node according to receiving is sent, determine each forwarding section in N number of forward node The type of point;
Solicited message is sent to N number of forward node, to be received according to each forward node in N number of forward node The report information fed back after to the solicited message, it is determined that the status information of each forward node;
According to the type of each forward node and the status information, determine that the topology of N number of forward node composition is tied Structure, wherein mutually being communicated between belonging to same type of forward node;
The task request message sent according to the user node received, determined and the task requests in the topological structure The data flow that the forward node of information matches sends to forward user node to need.
2. system of selection according to claim 1, it is characterised in that N number of forward node according to receiving is sent Feedback information, determining the type of each forward node in N number of forward node includes:
When the feedback information received is that the forward node receives the complete detection information, then by the forwarding Vertex ticks is master site type;
When the feedback information received is that the forward node receives the incomplete detection information, then general is described turns Hair vertex ticks is chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
3. system of selection according to claim 2, it is characterised in that the status information includes:Each forward node IP address, receive the speed of detection information, the communications protocol used, memory information, channel utilization, priority, identification number.
4. system of selection according to claim 3, it is characterised in that the type of each forward node of basis and The status information, the topological structure of N number of forward node composition is determined, including:
In same type, the speed of the reception detection information of each forward node in the type, the letter Road utilization rate, the priority, the identification number, determine father's forward node in the type and adjacent forward node;
The communications protocol used according to father's forward node and the adjacent forward node, determine father's forward node and described Communication numbering between adjacent forward node;
According to the communications protocol that each father's forward node uses in each type, father's forward node in all types is determined Between mutual communication communication relations;
According to the communication numbering and the communication relations, the topological structure that N number of forward node forms is determined.
5. system of selection according to claim 4, it is characterised in that being sent according to the user node received for task please Information is sought, the forward node that is matched with the task request message is determined in the topological structure to forward user node to need The data flow of transmission includes:
The task request message sent according to the user node received, extracts the characteristic attribute in the task request message, And the characteristic attribute is sent to father's forward node in the master site type;
Father's forward node in the master site type searches its all adjacent forward node according to the characteristic attribute, judges With the presence or absence of the adjacent forward node matched with the characteristic attribute in all adjacent forward node;
If in the presence of father's forward node in the master site type feeds back the match information of the adjacent forward node of the matching To the forward node controller;
The match information is sent to the user node by the forward node controller, and is received in the user node Enabling signal is sent after the match information to father's forward node in the master site type;
Father's forward node in the master site type forwards adjacent forward node of the enabling signal to the matching, with toilet Stating the enabling signal according to the adjacent forward node of matching forwards the user node to need the data flow sent.
6. the selection system of a kind of forward node, it is characterised in that the system includes:Forward node controller, forward node, use Family node;The forward node controller includes:Sending module, processing module, topological structure form module, control module;
The sending module, for sending detection information and for sending request letter to N number of forward node to N number of forward node Breath, the N is natural number;
N number of forward node, for receiving the detection information, and according to the detection information send feedback information, and It is additionally operable to receive the solicited message, and report information is sent according to the solicited message;
The processing module, for the feedback information sent according to the N number of forward node received, it is determined that each turn The type of node is sent out, and is additionally operable to the report information sent according to the N number of forward node received, it is determined that each The status information of forward node;
The topological structure forms module, for the type according to each forward node and the status information, determines institute The topological structure of N number of forward node composition is stated, wherein mutually being communicated between belonging to same type of forward node;
The user node, for sending task request message to the forward node controller;
The control module, for according to the task request message, being determined and the task requests in the topological structure The data flow that the forward node of information matches sends to forward user node to need.
7. selection system according to claim 6, it is characterised in that the processing module, it, which is specifically used for working as, receives The feedback information receive the complete detection information for the forward node, then by based on forward node mark Node type;
When the feedback information received is that the forward node receives the incomplete detection information, then general is described turns Hair vertex ticks is chromaffin body vertex type;
When not receiving the feedback information, then the forward node is labeled as the alternate node type.
8. selection system according to claim 7, it is characterised in that the status information includes:Each forward node IP address, receive the speed of detection information, the communications protocol used, memory information, channel utilization, priority, identification number.
9. selection system according to claim 8, it is characterised in that the topological structure, which forms module, to be included:First opens up Flutter structure formation unit, the second topological structure forms unit, the 3rd topological structure forms unit, the 4th topological structure forms list Member:
First topological structure forms unit, in same type, the institute of each forward node in the type The speed for receiving detection information, the channel utilization, the priority, the identification number are stated, is determined in the type Father's forward node and adjacent forward node;
Second topological structure forms unit, and the communication used according to father's forward node and the adjacent forward node is assisted View, determine the communication numbering between father's forward node and the adjacent forward node;
3rd topological structure forms unit, for according to the communications protocol that each father's forward node uses in each type, Determine the communication relations of the mutual communication between father's forward node in all types;
4th topological structure forms unit, for according to the communication numbering and the communication relations, determining described N number of turn Send out the topological structure of node composition.
10. selection system according to claim 9, it is characterised in that the control module, received specifically for basis User node send task request message, extract the characteristic attribute in the task request message, and send the feature Father's forward node that attribute is given in the master site type.
CN201710846054.3A 2017-09-15 2017-09-15 Method and system for selecting forwarding node Active CN107689921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710846054.3A CN107689921B (en) 2017-09-15 2017-09-15 Method and system for selecting forwarding node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710846054.3A CN107689921B (en) 2017-09-15 2017-09-15 Method and system for selecting forwarding node

Publications (2)

Publication Number Publication Date
CN107689921A true CN107689921A (en) 2018-02-13
CN107689921B CN107689921B (en) 2020-11-13

Family

ID=61155299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710846054.3A Active CN107689921B (en) 2017-09-15 2017-09-15 Method and system for selecting forwarding node

Country Status (1)

Country Link
CN (1) CN107689921B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562569B (en) * 2009-05-26 2012-04-18 中国科学院计算技术研究所 Method and device for selecting forward nodes
EP2523405A4 (en) * 2010-01-08 2016-09-07 Nec Corp Communication system, forwarding nodes, path management server and communication method
CN103874130B (en) * 2012-12-10 2018-01-26 株式会社日立制作所 Wireless communication system and method, dynamically associate control device and method
KR102094718B1 (en) * 2013-09-26 2020-05-27 삼성전자주식회사 Relay device and method to select relay node based on learning wireless network
CN105100142B (en) * 2014-05-04 2018-10-09 新华三技术有限公司 The transfer control method and device of software defined network protocol massages

Also Published As

Publication number Publication date
CN107689921B (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN110401662B (en) Industrial control equipment fingerprint identification method and storage medium
CN104965676B (en) A kind of access method of random access memory, device and control chip
US10200204B2 (en) Link state information advertisement method and device
CN104168222A (en) Message transmission method and device
CN103117903A (en) Internet surfing unusual flow detection method and device
CN102984069B (en) List item method of adjustment, device and switching equipment
CN106936662A (en) A kind of method for realizing heartbeat mechanism, apparatus and system
CN102193948A (en) Feature matching method and device
CN107196776A (en) A kind of method and apparatus of message forwarding
CN112468461B (en) Multi-dimensional abnormal flow identification method and device and computer equipment
CN103763149A (en) Real-time statistical method for network user number
CN112311571A (en) Network topology generation method and device, electronic equipment and non-transient storage medium
CN108667732A (en) A kind of message forwarding method and device
CN104606884A (en) Matching method and device in game battle
CN105912679A (en) Method and device for data query
CN107689921A (en) A kind of system of selection of forward node and system
CN104660581A (en) Method, device and system for determining target users for business strategy
CN104424316A (en) Data storage method, data searching method, related device and system
CN106878052A (en) A kind of customer shift method and device
CN105357118A (en) Rule based flow classifying method and system
CN114143385B (en) Network traffic data identification method, device, equipment and medium
CN110881178A (en) Data aggregation method for Internet of things based on branch migration
CN108063692B (en) Method for recognizing flux and device
CN111061453A (en) Voice interaction method and device for APP ecosystem

Legal Events

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