| As more and more vehicles connected to the network,the traditional vehicle ad hoc networks is gradually evolved into Internet of Vehicles.Internet of Vehicles can improve traffic efficiency and make people enjoy the convenience brought by vehicles.However,the wireless transmission bandwidth and energy of vehicle nodes are limited.When the packet needs to be transmitted by multiple hops,the participation of the relay nodes cannot be avoided.In order to save their own resources,some relay vehicle nodes refuse to forward packets,showing selfishness.When there are more and more selfish nodes in the network,it will inevitably lead to the decline of network performance.Therefore,how to motivate the selfish nodes to actively forward packets is very important.Based on game model,this paper proposes a kind of Node Incentive Mechanism Based on Kindness(NIMK).Firstly,a one-stage game model of packet forwarding between adjacent vehicle nodes is established.The result of the game is that the adjacent nodes do not cooperate,so this model is extended to the infinite repeated game model.Then,the energy model of the vehicle node is introduced,which is used to detect the energy of the node and ensure that the energy is sufficient before the node forwards the packet.Finally,the NIMK mechanism is proposed,which consists of five stages.In the initialization stage,since the energy is sufficient,both sides of the game will actively forward each other’s data packets.After a period of consumption,some nodes show selfishness and enter the stage of tolerance.In the tolerance stage,adjacent nodes continue to forward packets for selfish nodes.When the tolerance stage is over,it comes to a judgment stage of time slot length.In the judgment stage,whether the selfish node continues to be selfish will be determined.When it continues to be selfish,the neighboring node broadcasts the selfish node to the whole network and enters the punishment stage.In the punishment stage,the selfish node must provide the service of packet forwarding for its neighboring nodes,but its own service cannot be satisfied.Finally,the cheating history of selfish nodes will be forgotten in the forgetting stage.When the selfish node reenters the network,it is a brand new node.In this paper,NS2 software and VanetMobiSim software are used to realize joint simulation.Simulation result 1 shows that when the selfish nodes account for 10%in the network,the packet delivery ratio decreases by 15%.Simulation result 2 show that compared with the AODV protocol and FSDAODV protocol,the AODV protocol with NIMK mechanism can improve the packet delivery rate,reduce the average end-to-end delay and normalized routing load.The NIMK mechanism can effectively motivate selfish nodes to change their attitude,thus improving the overall performance of the network. |