A new and efficient approach for trap-diffusion modelling