A method and device for path selection based on reputation value
A reputation value and path technology, applied in the field of communication, can solve problems such as performance degradation, insufficient storage capacity, insufficient computing power and bandwidth, etc., to achieve the effect of improving robustness, accurate reputation value, and avoiding selfish behavior
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] figure 1 A flow chart showing the reputation-based path selection method provided by the embodiment of the present invention, as shown in figure 1 As shown, the method includes:
[0064] Step S101, the current node receives a path request message, wherein the path request message includes the IP address of the source node and the IP address of the destination node;
[0065] Specifically, the route request message may be sent when the source node needs to request route establishment or forwarded by other nodes.
[0066] Step S102, the current node obtains the reputation value of the current node from the neighbor nodes of the current node, wherein the neighbor nodes of the current node A in the current network monitor the current node, and the neighbor nodes record the current The total number of forwarding times N of the node, the total number of successful forwarding times n, the total number of neighbor nodes m of the current node, and the calculation of the The ...
Embodiment 2
[0076] figure 2 A flowchart showing a reputation-based path selection method provided by another embodiment of the present invention; image 3 neutralize figure 2 Modules with the same reference numbers are the same as figure 2 The same text descriptions are applicable and will not be repeated here.
[0077] In this embodiment, in step 108 of Embodiment 1, before returning the routing reply message to the source node, it may further include:
[0078] Step S105, judging whether there is a path to the destination node in the routing table stored by the current node, and judging whether the current node is the destination node;
[0079] Step S106, if there is no path to the destination node and the current node is not the destination node, broadcast the path request message;
[0080] Step S107, if there is a path to the destination node in the routing table stored by the current node, or the current node is the destination node, return a route reply message to the source n...
Embodiment 3
[0085] This embodiment further limits Embodiment 1.
[0086] In this embodiment, the neighbor node calculates the reputation value of the current node according to the total number of forwarding times N, the total number of successful forwarding times n, and the total number of neighbor nodes m of the current node, and a reputation value can be set in each node The linked list is used to store the evaluation of this node to other nodes. For example, nodes B and C are neighbor nodes of A and monitor A. The data items of the reputation value linked list stored by node B are as follows:
[0087] nodeID NR N n m ID_A NR_A N_A n_A 2
[0088] Table 1
[0089] Among them, nodeID is the identification (identification, abbreviation: ID) of other nodes, that is, the ID of node A; NR_A is the evaluation of the reputation value of other nodes by this node, that is, the reputation value of node A calculated by node B, and N_A is The total number of forwar...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com