are the services stored by the service provider in the repository.
Moving services: The moving services are dynamic service. The few examples of moving services are real-time gaming, music sharing, file sharing between two vehicles, and so on.
The service discovery mechanism can be divided into vehicle user side discovery and service provider side discovery. The definition is stated as follows:
2.5.1 Vehicle User Side Discovery
The vehicle user application program does easier as it did not work with the discovery part. Rather, it transmits a request packet to the router. From the router forwards the request to the SP.
2.5.2 Service Provider Side Discovery
The service provider stores the resources (service instances) in the Service Registry (SR). SP checks for the required services in the SR.
2.5.3 Service Instance
The service instances are stored/registered based on two options such as self-pattern and third-party pattern. The self-pattern stores the services by itself. In a third-party pattern the third party stores the services. The service instance changes periodically. For each vehicle user request, the discovery mechanism has to be taken place.
2.5.4 Service Registry
The service registry is a vital component of the service discovery process. It consists of a collection database that stores the service instances.
Figure 2.3 depicts the architecture of service discovery processes for fixed services in the 5G-VANET milieu. The architecture of service discovery processes consists of five components such as human–machine interface display, functional module, context module, non-functional module, and composer. The VANET user enters the request in the human–machine interface display, it’s the functional requirement. The context module gathers the context information from the GPS sensors. The non-functional requirements such as scalability, integrity, cost of service, capacity, security, robustness, and performance are specified by the developers. The composer combines the context information, functional information, and non-functional information and transmits it to the Service Provider (SP). The SP searches for the required resources in the registry and retrieves the optimal services to the VANET users.
Figure 2.3 Service discovery Architecture for 5G-VANET milieu.
2.6 Performance Evaluation Metrics for Service
Discovery Mechanism in the 5G-VANET Milieu
The petty important performance evaluation metrics which are used to measure the performances of the service discovery mechanism in the 5G-VANET milieu are vehicle user to target delay, success rate, response time, average bandwidth consumption, delivery ratio, packet order ratio, collision ratio, and duplicate packets ratio. The performance evaluation metrics are stated in the definition:
Vehicle User-To-Target Delay: The vehicle user-to-target delay determines the delay in terms of milliseconds from sender to receiver. It includes the queuing delay, processing time, and retransmission delay.
Success Rate (SR): SR determines the failed and successful transactions. Response Time: A response time determines the average time consumption between the response and request.
Average Bandwidth Consumption: It calculates the average bandwidth consumption for a single transaction.
Delivery Ratio: Delivery ratio is calculated by packets delivered to the packet sent, in terms of numbers. It determines the number of successful delivery of packets.
Packet Order Ratio: The packet order ratio determines the received packet order.
Collision Ratio: The collision ratio is calculated by packets collided to the packets sent in numbers.
Duplicate Packets Ratio: The duplicate packets ratio is calculated by determining the duplicate packets at the destination, estimated in numbers.
2.7 The Advantage of Service Discovery in the 5G-VANET Milieu
By integrating the 5G with VANET will not only affords the vehicle users with seamless connectivity but also endorse a glut of a new application.
The 5G-VANET users can enjoy the high data rate with low latency.
The 5G-VANET users can enjoy the voice streaming video and interactive multimedia without any intermittent.
5G enhances the discovery procedures in a VANET milieu by affording high reliability and low latency.
2.8 The Disadvantage of Service Discovery in the 5G-VANET Milieu
5G-VANET milieu technology is still in research and development.
The 5G-VANET milieu infrastructure is a high cost.
The affording the security and privacy in the 5G-VANET milieus is a major task.
Protecting the service consumers and providers from security attacks is another major issue in the discovery procedures.
2.9 Future Enhancement and Research Directions
The technological infrastructure such as vehicles to everything and vehicle to infrastructure communications modes can be enhanced.
The Intelligent Transportation System (ITS) performance can be enhanced.
To afford proficient centralized management via software units, the Software Defined Network (SDN) can be integrated with the service discovery architecture for 5G-VANET milieu [31, 32].
The various protocols have arisen for the discovery process in the VANET milieu and they vary substantially in terms of architecture, interface styles, languages, the message form, and so on. As such, middleware is necessary to enable the discovery processes on different milieu and to create compatibility among heterogeneous discovery. In future the efficient heterogeneous middleware has to be developed.
As VANET milieu is dynamic, to higher the reliability and lower the latency, the two expertise technologies such as SDN and Network Functions Virtualization (NFV) can be used for network slicing.
Machine learning methods can be used to analyze a large amount of data by acquiring knowledge from VANET milieu and can make cognitive decisions.
The field evaluation with more real-time and practical scenarios can be carried out.
2.10 Conclusions
Service discovery is the most important mechanism for applications-oriented VANET milieu. In recent days, the Internet of Things-based VANET milieu has attracted the research community, which increases the interest in the service discovery mechanism. The service discovery process in the 5G-VANET milieu dynamically discovers the services according to the requirements of the vehicular user. This paper conducted a little study on the service discovery mechanism in the 5G-VANET milieu. In order to increase the bandwidth and to lower the latency in the service discovery process, the VANET makes use of 5G technologies. Initially, this chapter discusses the fundamentals and technological details of VANET, 5G, the need of integrating the VANET with 5G, and the need for service discovery in the 5G-VANET milieu. This chapter also gives the architectural model of the service discovery mechanism in the 5G-VANET milieu. Finally, this chapter discusses the advantages