Epilepsy patients who are presently refractory may be monitored using a seizure prediction Brain-Computer Interface (BCI), which uses electrodes strategically implanted in the brain to anticipate and regulate the onset and duration of a seizure. Real-time approaches to these technologies have challenges, as seen by seizures’ instantaneous electrographic activity. Electroencephalographic (EEG) signals are inherently non-stationary, which means that the regular and seizure signals differ significantly among people with epilepsy. Due to the restricted number of contacts on electrodes, dynamically processed and collected characteristics cannot be employed in a prediction function without causing significant processing delays. Big data can guarantee secure storage in these situations, and it has the maximum processing capability to identify, record, and analyze time in real-time to conduct the seizure event on the timetable. Seizure prediction and location for huge Scalp EEG recordings have been the focus of this study, which used wearable sensor data and deep learning to use cloud storage to develop the systems. A novel technique is suggested to avoid an epileptic seizure and discover the seizure origin from the utilized wearable sensors. Secondly, deep learning architectures called Clustered Autoencoder with Convolutional Neural Network (CAE-CNN), an expanded optimization methodology is presented based on the Principal Component Analysis (PCA), the Hierarchical Searching Algorithm (HSA), and the Medical Internet of Things (MIoT) has been established to define the suggested frameworks based on the collection of big data storage of the wearable sensors in real-time, automatic computation and storage. According to clinical trials, CAE-CNN outperforms the current wearable sensor-based treatment for unresolved chronic epilepsy patients.