## 3 Vcc-Ssf
### Application Service Layer  
We discuss the proposed Payment and Accident Management Services provided by the VCC-SSF in this subsection.  
Figure 1: Architecture of VCC-SSF.  
**Payment Service:** In the proposed Payment Service, Product Management receives the user's purchase requirements or utilizes sensor information inside the vehicle to automatically list the goods to purchase. It then finds nearby shops and searches their inventory. In addition, it checks the information inside the vehicle using the sensors and automatically asks for confirmation by the user before making payment. Product Management carries out the goods purchase and payment in the VCC environment, using V2I communication to receive the user's receipt. The receipt lists the purchased goods information (groceries, home appliances, meats, clothes, vegetables, _etc._), vehicle consumables information (fuel in the vehicle, engine oil, brake oil, tire wear conditions, drive belt, battery, _etc._), or reservation information (hotel, parking lot, hospital reservations, _etc._). Only authenticated users can use the Payment Service, and the registered private information, payment information, and payment list are protected by encryption. In addition, to verify transaction and payment actions and prevent denial of the transaction, the communication is verified through hash algorithms and digital signatures. Figure 2 shows the concept of a payment service.  
**Accident Management Service:** The Accident Management Service protects the life of accident victims by enabling quick first aid responses when a traffic accident occurs. Furthermore, it eases traffic congestion by managing the accident vehicle, and, in many cases, can prevent the fundamental cause of accidents. Using active accident management, it notifies nearby vehicles of the accident occurrence and conditions in real time, and when an emergency vehicle requires access, it broadcasts this communication to all vehicles. Figure 1 shows the architecture of the proposed Accident Management Service.  
Figure 2: Payment service.  
The proposed Accident Management Service uses VCC. It has two modes: before and after an accident. Before an accident occurrence, it utilizes a human body detection sensor inside the vehicle to monitor the health status and driving capability of the driver. In addition, using V2V and V2I communication during driving, it periodically checks the maintenance of the traffic lane and status of the vehicle. In addition, V2V communication is utilized to recognize vehicles approaching at a certain distance and, by notifying the driver, it helps to prevent a secondary accident occurrence.  
After an accident occurs, it checks the driver for injuries, and through communication inside the vehicle such as the Electronic Control Unit (ECU), it determines the damage status. This information is sent to the traffic control center, and, by connecting to the nearest hospital and police station, it supports quick dispatch of emergency services and takes action for transportation to a nearby hospital according to the status of the accident victim. These processes, from active response and action to the management of the accident vehicle, are carried out utilizing VCC. The architecture of Accident Management System is shown in Figure 3.