This document presents a novel technique for ensuring Quality of Service (QoS) in hybrid Optical Circuit Switching (OCS) and Optical Burst Switching (OBS) networks, focusing on burst aggregation and packet recovery methods. It outlines various aggregation algorithms and suggests a new model for fault detection and recovery using genetic algorithms to optimize data transmission paths. The proposed system aims to enhance network efficiency and reduce packet loss while meeting the QoS requirements of users.