The magnitude of highly dynamic spatial data is expanding rapidly due to the instantaneous evolution of mobile technology, resulting in challenges for continuous queries. We propose a novel indexing approach model, namely, the Velocity SpatioTemporal indexing approach (VeST), for continuous queries, mainly Continuous K-nearest Neighbor (CKNN) and continuous range queries using Apache Spark. The proposed structure is based on a selective velocity partitioning method, i.e., since different objects have varying speeds, we divide the objects into two sets according to the actual mean speed we calculate before building the index and accessing data. Then the adopted indexing structure base unit comprises a nonoverlapping R-tree and a two dimension grid. The tree divides the space into nonoverlapping minimum bounding regions that point to the grids. Then, the uniform grid stores the object data of leaf nodes. This access method reduces the update cost and improves response time and query precision. In order to enhance performances for large-scale processing, we design a compact multilayer index structure on a distributed setting and propose a CKNN search algorithm for accurate results using a candidate cell identification process. We provide a comprehensive vision of our indexing model and the adopted query technique. The simulation results show that for query intervals of 100, the proposed approach is 13.59 times faster than the traditional approach, and the average time of the VeST approach is less than 0.005 for all query intervals. This proposed method improves response time and query precision. The precision of the VeST algorithm is almost equal to 100% regardless of the length of the query interval.
In smart manufacturing, efficient job shop scheduling (JSS) and resource management remain critical challenges, especially in dynamic production environments. Traditional methods often struggle to adapt to real-time changes and unexpected events. To address these limitations, this paper proposes a novel Generative Adversarial Network (GAN)-based generative AI framework that augments scheduling data with realistic synthetic scenarios and integrates Local Outlier Factor (LOF)-enhanced Q-learning-based reinforcement learning (QRL) for adaptive JSS optimization in Industry 5.0 environments. The GAN is trained to generate realistic synthetic scheduling scenarios, which are combined with real-world data from a state-of-the-art Festo Didactics Cyber Physical Lab to augment the diversity and coverage of training samples. The LOF algorithm enables real-time bottleneck detection, while the QRL agent learns robust scheduling policies that minimize makespan and prioritize bottleneck mitigation. Experimental results demonstrate that the proposed GAN-LOF-QRL approach achieves an average makespan reduction of 70.8% across varying production volumes (12, 15, and 18 orders), significantly improving scheduling efficiency and resource utilization compared to traditional RL and heuristic methods. This research advances smart manufacturing initiatives and Industry 5.0 goals by providing a scalable, adaptive scheduling solution that leverages generative AI to address the complexities of modern supply networks.