The invention belongs to the technical field of
blockchain and Internet of Vehicles
security management, and relates to an Internet of Vehicles security and credible message sharing method based on
blockchain and trust management, comprising: a message providing vehicle records and broadcasts a message, and a message receiving vehicle receives the message, scores the authenticity of the message, and broadcasts the message to a
consensus vehicle; the
consensus vehicle performs usefulness scoring on each authenticity
score s1, i, when the number of high usefulness scores is greater than a threshold value Q, the data (m, s1, i, s2, i, c, t) is uploaded to the accounting node, and s2, i, c are high usefulness scores of the
consensus vehicle c on s1, i; the accounting node receives and verifies the data (m, s1, i, s2, i, c, t), packages the verified data into a block and stores the block into a block chain; the RSU calculates the trust value of the vehicle in the area and shares the trust value to an RSU cluster; the RSU cluster makes a trust decision on the vehicle according to the trust value of the vehicle; according to the method, authenticity scoring and usefulness scoring are carried out on the message, the credibility of the shared message in
the Internet of Vehicles is improved, and the authenticity and integrity of the message are ensured in combination with the block chain technology.