MUSIC RECOMMENDING METHOD AND APPARATUS, DEVICE AND STORAGE MEDIUM
The present disclosure provides a music recommending method and apparatus, a device and a storage medium, wherein the method comprises: obtaining speech input by a user each time while the user is performing speech chat with a smart device having a music playing function; if the user's mood can be parsed from the speech obtained each time, recommending music matched with the mood to the user. The solution of the present disclosure can be applied to improve the intelligence of the device.
1 . A music recommending method, wherein the method comprises:
obtaining speech input by a user each time while the user is performing speech chat with a smart device having a music playing function;
if the user's mood can be parsed from the speech obtained each time, recommending music matched with the mood to the user.
2 . The method according to claim 1 , wherein
before recommending music matched with the mood to the user, the method further comprises:
determining whether the mood is a mood for which music needs to be recommended:
if yes, recommending music matched with the mood to the user;
if no, playing chat answer information matched with the speech.
3 . The method according to claim 2 , wherein
before obtaining speech input by the user each time, the method further comprises:
setting corresponding music respectively for each type of mood for which music needs to be recommended;
the recommending music matched with the mood to the user comprises:
recommending music corresponding to the mood to the user.
4 . The method according to claim 3 , wherein
the setting corresponding music respectively for each type of mood for which music needs to be recommended comprises:
setting a corresponding music list for each type of mood for which music needs to be recommended, the music list at least including one piece of music.
5 . A computer device, comprising a memory, a processor and a computer program which is stored on the memory and runnable on the processor, wherein the processor, upon executing the program, implements a music recommending method, wherein the method comprises:
obtaining speech input by a user each time while the user is performing speech chat with a smart device having a music playing function;
if the user's mood can be parsed from the speech obtained each time, recommending music matched with the mood to the user.
6 . The computer device according to claim 5 , wherein
before recommending music matched with the mood to the user, the method further comprises:
determining whether the mood is a mood for which music needs to be recommended;
if yes, recommending music matched with the mood to the user;
if no, playing chat answer information matched with the speech.
7 . The computer device according to claim 6 , wherein
before obtaining speech input by the user each time, the method further comprises:
setting corresponding music respectively for each type of mood for which music needs to be recommended;
the recommending music matched with the mood to the user comprises:
recommending music corresponding to the mood to the user.
8 . The computer device according to claim 7 , wherein
the setting corresponding music respectively for each type of mood for which music needs to be recommended comprises:
setting a corresponding music list for each type of mood for which music needs to be recommended, the music list at least including one piece of music.
9 . A computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements a music recommending method, wherein the method comprises:
obtaining speech input by a user each time while the user is performing speech chat with a smart device having a music playing function;
if the user's mood can be parsed from the speech obtained each time, recommending music matched with the mood to the user.
10 . The computer-readable storage medium according to claim 9 , wherein
before recommending music matched with the mood to the user, the method further comprises:
determining whether the mood is a mood for which music needs to be recommended;
if yes, recommending music matched with the mood to the user;
if no, playing chat answer information matched with the speech.
11 . The computer-readable storage medium according to claim 10 , wherein
before obtaining speech input by the user each time, the method further comprises:
setting corresponding music respectively for each type of mood for which music needs to be recommended;
the recommending music matched with the mood to the user comprises:
recommending music corresponding to the mood to the user.
12 . The computer-readable storage medium according to claim 11 , wherein
the setting corresponding music respectively for each type of mood for which music needs to be recommended comprises:
setting a corresponding music list for each type of mood for which music needs to be recommended, the music list at least including one piece of music.