I. Introduction
In today's data-driven era, real-time data processing and analysis have become core requirements in many fields, especially in scenarios such as traffic monitoring, logistics management, and smart cities, where real-time processing of trajectory data has important application value. The trajectory data is inevitably affected by noise interference during the acquisition process. How to effectively perform denoising processing to improve the accuracy and reliability of the data has become an urgent technical problem to be solved. This article aims to propose a real-time streaming trajectory denoising technique based on the Apache Flink framework. The main contribution lies in the combination of Gaussian noise model and particle filtering algorithm, using HMM-PF (Hidden Markov Model Particle Filter) method to effectively remove noise from trajectory data. By converting real-time collected trajectory data into stream data and utilizing the efficient computing power of the Flink framework, fast processing and denoising of trajectory data can be achieved. This article discusses in detail the application of HMM-PF algorithm in state equations and observation equations, proposes an improved Bayesian filtering algorithm to optimize the state update process, and implements an efficient particle resampling mechanism in the Flink framework.