A computer program stored on a computer-readable non-transitory storage medium for providing data forwarding in a vehicular named data networking (VNDN) environment including autonomous vehicles, the computer program being stored on the non-transitory storage medium and including instructions, which cause a processor to execute:
- generating or receiving a data packet;
- placing the data packet, according to a class attribute included in the data packet, into a separate queue classified based on the class attribute;
- computing a current node weight (CNW) for the data packet and including the computed weight value in a weight attribute of the data packet;
- determining a forwarding order of the data packet according to the computed current node weight;
- and forwarding the data packet according to the determined order;
- and performing adaptive data forwarding for comprehensive infotainment services in a vehicular named data networking (VNDN) environment including autonomous vehicles.