The invention discloses an intelligent player
system and a method of a
mobile phone. The intelligent player
system and the method of the
mobile phone comprise the following steps: step A, a support on the rear cover of the
mobile phone is opened so that a
magnet is away from a Hall sensor; step B, the Hall sensor is free from the induction of a
magnetic field and correspondingly outputs a high electric level to a
microprocessor; step C, a
central processing unit CPU generates a high-electric-level-triggered interrupt
signal according to the high electric level
signal, judges that the support is in an opened state, and control a player to play; and step D, the support on the rear cover of the mobile phone is closed, so the
magnet is close to the Hall sensor, the Hall sensor is subjected to the induction of the
magnetic field and correspondingly output a low electric level to the
microprocessor, and the CPU generates a low-electric-level-triggered interrupt
signal according to the low electric level signal, judges that the support is in a
closed state, and shuts down the player. According to the intelligent player
system and the method of the mobile phone, the effect, on the Hall sensor, of the
magnetic field of the
magnet is utilized, when the support is opened or closed, the Hall sensor correspondingly generates the high electric level or the low electric level and enables the CPU to generate high-electric-level-triggered interrupt or low-electric-level-triggered interrupt in a corresponding mode, so that the player is controlled to be turned on or turned off automatically. According to the intelligent player system and the method of the mobile phone, automatic turn-on and turn-off of player are achieved through the opening and closing of the support, operation and use of a user are greatly facilitated, and the problem that operation procedures of a mobile phone player are complex currently is solved.