With the advent of the Internet of Things (IoT) and the increasing popularity of the Intelligent Transportation System, a large number of sensing devices are installed on the road for monitoring traffic dynamics in real-time. These sensors can collect streaming traffic data distributed across different traffic sites, which constitute the main source of big traffic data.Analyzing and mining such a big traffic data in massive IoT can help traffic administrations to make scientific and reasonable traffic scheduling decisions, so as to avoid prospective traffic congestions in the future. However, the above traffic decisionmaking often requires frequent and massive data transmissions between distributed sensors and centralized cloud computing centers, which calls for lightweight data integrations and accurate data analyses based on large-scale traffic data. In view of this challenge, a big data-driven and non-parametric model aided by 6G is proposed in this paper to extract similar traffic patterns over time for accurate and efficient short-term traffic flow prediction in massive IoT, which is mainly based on time-aware LSH (Locality-Sensitive Hashing). We design a wide range of experiments based on a real-world big traffic dataset to validate the feasibility of our proposal. Experimental reports demonstrate that the prediction accuracy and efficiency of our proposal are increased by 32.6% and 97.3%, respectively, compared with the other two competitive approaches.