**4. Conclusion**

The utilization of optical resources provides several benefits such as high scalability, optimum bandwidth capacity, ultralow delay, and very less energy consumption. A novel concept of FRF and ONV is used to create *OpticalFogNode* in SDN-based optical network technology. In the realization of the SDN-based optical network in fog/cloud environment, the optical network uses SDN controller efficiently to identify the shortest path (with the least congestion) to minimize delay. Also, the proposed framework effectively enhances the QoE by using the proposed module placement algorithm which enhances the QoE and makes applications more entertaining. The realization of CPS-based tasks requires optimum placement strategy which is one of the concerning issues. The proposed algorithm efficiently finds the shortest path by utilizing the concept of SDN over the optical network. The novel concept of configuring *OpticalFogNode* successfully implemented to fulfill the requirements of the CPS system. Further, the performance of the proposed system is evaluated by effectively interpreting the delay measure, bandwidth usage, and energy consumption. Finally, Optical-Fog-based deployment provides an effective platform which enhances the QoE for smart applications.
