The invention discloses a vehicle-mounted data credible generation method and device and a storage medium. And the vehicle-mounted terminal collects
power supply voltage in the time window and generates physical side characteristics, collects
vehicle bus data to generate logic side characteristics and performs
time alignment, and calculates consistency measurement to obtain a judgment result. Generating an abstract from the data block to be reported according to the normalized code, and binding the abstract with the window identifier, the monotonic counter reference information and the measurement rule
version identifier; when it is judged that a preset condition is met, a security component (security unit / trusted execution environment) executes a signature or an
authentication code on the abstract to generate a state
verification voucher; and if not, outputting a failure
reason code and optionally generating an abnormal audit
voucher capable of being verified. In some embodiments, a lightweight digital twinning model or predictive model is executed within a security component, physical / logical side
observability measurements at the next moment are predicted based on load-related characteristics, and gating is performed on predicted residuals to identify smart simulator attacks. According to the scheme, playback, injection and middle box playback are inhibited, and the authenticity and proof performance of the afterloading OBD scene data are improved.