In the age of smart media, information technology is highly developed. This has profoundly changed the way people acquire and disseminate information. In the smart media era, technology has a greater impact on people’s value identity. People are the backbone of the future society, and their ideology and values are directly related to the future direction and trend of society. Based on the general environment of the smart media era, this study will analyze the people’s value expressions of a social event on media platforms through the actual testing and verification of PCA algorithm and TF-IDF algorithm. It will classify the main component values, and calculate the TF-IDF values of the people’s value expressions. So, it can target the people with different mainstream values to conduct guided intelligent story narratives and ultimately improve the people’s values identity.