during the use of the mobile phone software. Through
a series of data processing and analysis, it helps to
predict the emotional state of mobile phone users.
2.1 Classification of Mobile Phone
Software Data
We divide mobile phone software data into mobile
phone software data, user interaction data and user
personal data. Mobile phone software data mainly
refers to the data provided to us by the mobile phone
software itself, including text, picture, audio, video
and other four forms. The software data refers to the
data provided by the software company; User
interaction data refers to data such as text, picture,
audio and video generated by users in the process of
using software. For example, user comments,
uploaded photos, music, video, etc., are open and
interactive to a certain extent. It is important to note
that this kind of data is publicly available to other
users, which is different from personal data. User
personal data refers to some non-public data
generated by users during the use of software, which
can be divided into expressive data and recorded data.
Expressive data mainly refers to the data that users
convey their ideas in the form of text, picture, voice,
and other forms in software. These data are public
and private. Recorded data mainly refers to some
track-based data generated by users in the process of
using software, including tour records, use time,
voice, expression, etc.
2.2 Mobile Phone Software Data Input
We set up MySQL relational database management
system on the computer. The SQL language used by
MySQL is the most common standardized language
for accessing databases. The data storage is divided
into basic data and cadet data. The basic data includes
mobile phone software data and user interaction data,
while the cadet data refers to the user’s personal data.
2.2.1 Input of Mobile Phone Software Data.
Mobile phone software data is divided into four
forms of text, pictures, music, and videos, which we
process separately. For text data, we directly store it
in .txt format to MySQL. For image data, we convert
the image into binary data stream and save it to
MySQL. For music data, we store music text
information, including song name, singer, lyrics,
music introduction, music style and other
information, into MySQL as text data. For video
data, we divide it into video text information and
video voice information. Text information, including
video name, video author, video introduction, video
style, and text information in a video, is stored to
MySQL as text data. For the voice information in the
video, we use speech recognition software to convert
it into text information, and then store it in MySQL
as text data.
2.2.2 Input of User Interaction Data.
There are four forms of user interaction data, namely
text, picture, music, and video, which are divided into
user interaction comment data and user interaction
sharing data. User interaction comment data is
divided into comment text, comment emoticons,
comment voice, comment emoticons pictures and
other data. Comment text is stored in TXT format to
MySQL. The comment memes of the mobile phone
software are all corresponding text to summarize the
meaning of the memes, and we store the
corresponding text of each expression in TXT format
to MySQL. Convert comment speech into text-based
data and store it in TXT format to MySQL. Because
the resolution of emoticon pictures is low, the content
is more complex, the total amount is small and
concentrated in WeChat and QQ chat software, and
the current picture recognition technology is difficult
to convert it into text-based data, we do not enter such
data. Interactive shared data mainly refers to the text,
picture, music, video, and other data uploaded by
users on mobile software platforms, which can be
viewed and forwarded by other users.
2.2.3 User’s Personal Data Input.
We divide the user’s personal data into expressive
data and input data. For expressive data input, we
process the user’s data in the form of text, picture,
voice and other forms in the software according to the
above input method of mobile phone software data
and store it in the cadet database of MySQL software.
As for the input of recorded data, we convert the tour
records, usage time records, voice and facial
expressions generated by users in the process of using
the software into words in TXT format and store them
in the cadet database of MySQL software.
2.3 Analysis of Mobile Phone Software
Data
After we input the data of mobile phone software into
the database, we need to analyse the data to get the
mood prediction. We divide the database into the
basic database and the cadets’ database.