CN113177134A - Music playing method and device, electronic equipment and storage medium - Google Patents

Music playing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113177134A
CN113177134A CN202110393512.9A CN202110393512A CN113177134A CN 113177134 A CN113177134 A CN 113177134A CN 202110393512 A CN202110393512 A CN 202110393512A CN 113177134 A CN113177134 A CN 113177134A
Authority
CN
China
Prior art keywords
music
user
information
playing
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110393512.9A
Other languages
Chinese (zh)
Inventor
徐旷怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110393512.9A priority Critical patent/CN113177134A/en
Publication of CN113177134A publication Critical patent/CN113177134A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The application discloses a music playing method and device, electronic equipment and a storage medium, and belongs to the technical field of electronic equipment. The method comprises the following steps: receiving music information input by at least one user in a voice mode; determining at least one piece of music corresponding to the music information input by each user; generating a shared song list including music; playing music according to the shared song list; based on the user information of the at least one user, determining at least one of: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.

Description

Music playing method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a music playing method and device, electronic equipment and a storage medium.
Background
At present, music playing has become one of the essential entertainment ways in life. In order to meet the requirements of users on playing personalized music in different scenes, various music applications have online a song list creating function for the users to add music in a self-defined manner and create theme song lists conforming to the music preferences of the users, so that the users can select favorite song lists to play music in different scenes.
However, the song list is usually set in advance by the owner of the electronic device, and under the condition that the number of people listening to music is large, such as when a plurality of people ride a car, other users can only indirectly tell the owner of the electronic device about the music that the owner of the electronic device wants to listen to, and the owner of the electronic device adds the music to the song list and plays the music. That is, the current music playing is cumbersome.
Disclosure of Invention
An object of the embodiments of the present application is to provide a music playing method, apparatus, electronic device and storage medium, which enable music playing to be simpler and more convenient.
In a first aspect, an embodiment of the present application provides a music playing method, where the method includes:
receiving music information input by at least one user in a voice mode;
determining at least one piece of music corresponding to the music information input by each user;
generating a shared song list including music;
playing music according to the shared song list;
based on the user information of the at least one user, determining at least one of: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.
In a second aspect, an embodiment of the present application provides a music playing apparatus, including:
the receiving module is used for receiving music information input by at least one user in a voice mode;
the determining module is used for determining at least one piece of music corresponding to the music information input by each user;
a generation module for generating a shared song list including music;
the playing module is used for playing music according to the shared song list;
a determining module further configured to determine, based on the user information of the at least one user, at least one of: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, music information input by at least one user in a voice mode can be received, at least one piece of music corresponding to the music information input by each user is determined, then a shared song list comprising the music is generated, the music is played according to the shared song list, and at least one of the following items is determined based on the user information of at least one user: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played. Therefore, the playing content can be adjusted according to the user information, and each user can participate in music playing in real time, so that the music playing is simpler and more convenient, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a music playing scene according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a music playing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a music playing device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In view of the problems in the background art, embodiments of the present application provide a music playing method, apparatus, electronic device and storage medium. The method can receive music information input by at least one user in a voice mode, determine at least one piece of music corresponding to the music information input by each user, then generate a shared song list comprising the music, play the music according to the shared song list, and determine at least one of the following items based on the user information of at least one user: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played. Therefore, the playing content can be adjusted according to the user information, and each user can participate in music playing in real time, so that the music playing is simpler and more convenient, and the user experience is improved.
The music playing method, the apparatus, the electronic device and the storage medium provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As an example, the music playing method provided in the embodiment of the present application may be applied to a music playing scenario of an electronic device such as a mobile phone, a tablet computer, a notebook computer, or a vehicle-mounted host, and the embodiment of the present application is not limited herein.
As shown in fig. 1, a "share song list mode" option may be displayed on a program interface of a target music application in an electronic device, and a user may click on the option. In response to a click input by the user, the electronic device may enter a shared song list mode. At this time, the electronic device may receive music information input by at least one user in a voice manner, query music corresponding to the music information, determine at least one piece of music corresponding to the music information input by each user, further generate a shared song list including the music, and play the music according to the shared song list. Then, based on the user information of the at least one user, at least one of the following may be determined: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.
Therefore, the playing content can be adjusted according to the user information, and each user can participate in music playing in real time, so that the music playing is simpler and more convenient, and the user experience is improved.
Fig. 2 is a schematic flowchart of a music playing method provided in an embodiment of the present application, and as shown in fig. 2, the music playing method may be applied to an electronic device, and includes the following steps:
s210, receiving music information input by at least one user in a voice mode.
Specifically, in the case where the electronic device is in the driving mode, a "share song list mode" option may be displayed on a program interface of a target music application in the electronic device, and the user may click on the option. In response to a click input by the user, the electronic device may enter a shared song list mode. At this time, the electronic device may receive music information input by at least one user in a voice manner, wherein the music information is used to identify music.
As an example, the electronic device may perform full duplex radio reception with a background voice assistant, collect voice data of at least one user, and then perform voice recognition on the voice data to obtain music information representing music. For example, in the case that the user speaks a song name or hummed song content, the song name or hummed song content spoken by the user may be collected and then speech recognition may be performed on the collected song name or hummed song content to obtain music information.
S220, determining at least one piece of music corresponding to the music information input by each user.
Referring to the example in S210, the electronic device may query, from the background server corresponding to the target music application, music corresponding to the music information, and then determine at least one piece of music corresponding to the music information input by each user.
S230, a shared song list including music is generated.
Specifically, the electronic device may establish a first song list. Wherein the first song list is a blank song list. And then adding music corresponding to the music information to the first song list to obtain a shared song list. Therefore, the shared song list can be simply and quickly generated, and the subsequent music playing is convenient.
And S240, playing music according to the shared song list.
Specifically, the music may be played in the order of addition of the music in the shared song list.
S250, based on the user information of at least one user, determining at least one of the following items: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.
Specifically, users who input music information may be distinguished by a multi-person sound source separation algorithm, and user information of the users may be determined. The user information may be an identity of a user, and is used to represent the identity of the user, which is not limited herein in the embodiments of the present application.
In one embodiment, the priority of each user may be determined according to the order of reception of music information. Wherein the priority of the user whose reception order of the music information is prior is higher than the priority of the user whose reception order of the music information is posterior. For example, a user who utters a song name first has a higher priority than a user who utters a song name later.
And then sequencing at least one piece of music corresponding to each piece of user information in the shared song list according to the priority of the users, namely sequencing the music requested by each user. And at least one piece of music corresponding to each piece of sequenced user information is arranged alternately. Therefore, the order of the music in the song list can be fairly set, so that each user can fairly and quickly hear the music on demand.
For example, the user includes user 1, the order of the music requested by user 1 is music 1-a, music 1-B, and music 1-C, and at this time, the music requested by user 1 in the shared song list is sorted, and the order of the music in the sorted shared song list is music 1-a, music 1-B, and music 1-C.
The users include user 1, user 2, and user 3, with user 1 ordering music before user 2 and user 3, and user 2 ordering music before user 3. The sequence of the music requested by the user 1 is music 1-A, music 1-B and music 1-C, the sequence of the music requested by the user 2 is music 2-A, music 2-B and music 2-C, and the sequence of the music requested by the user 3 is music 3-A, music 3-B and music 3-C. At the moment, the music requested by the user 1, the user 2 and the user 3 in the shared menu is sequenced, and the sequence of the music in the sequenced shared menu is music 1-A, music 2-A, music 3-A, music 1-B, music 2-B, music 3-B, music 1-C, music 2-C and music 3-C.
In one embodiment, a music switch request input by a target user through a voice mode may be received. Wherein the target user is a user of the at least one user, and the music switch request includes a music instruction, such as a voice "switch music".
And then determining target user information corresponding to the target user according to the music switching request. Specifically, the music switching request may be processed by a multi-person sound source separation algorithm, and the user information of the target user is determined, that is, which user is the target user is determined.
When the played music is the music corresponding to the target user information, that is, the currently played music is the music requested by the target user, the target music can be switched to play; and when the played music is not the music corresponding to the target user information, the music is not switched. Therefore, the music switching can be executed only by the user corresponding to the currently playing music, and the use experience of the user is improved.
Optionally, the next piece of music may be played according to the order of the music in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is greater than or equal to the preset progress threshold; and playing the next piece of music according to the arrangement sequence of at least one piece of music corresponding to the target user information in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is smaller than a preset progress threshold value. Therefore, music switching can be executed based on the playing progress of music, and the flexibility of music playing is improved.
For example, the music in the current shared song list is arranged in the order music 1-A, music 2-A, music 3-A, music 1-B, music 2-B, music 3-B, music 1-C, music 2-C, music 3-C. The electronic equipment receives a music switching request sent by a user 1, and switches the currently playing music 1-A to play the music 1-B when the currently playing music is 1-A and the progress is more than or equal to one half. And when the currently played music is 1-A and the progress is less than half, switching off the currently played music 1-A and playing the music 2-A.
Optionally, the music to be played and arranged in the top order among the at least one piece of music corresponding to the target user information in the shared song list may also be played. Therefore, any user can execute music switching, and the use experience of the user is improved.
For example, the music in the current shared song list is arranged in the order music 1-A, music 2-A, music 3-A, music 1-B, music 2-B, music 3-B, music 1-C, music 2-C, music 3-C. The electronic equipment receives a music switching request sent by a user 1, if the currently played music is music 2-A, the currently played music 2-A is switched, and then playing 1-B is carried out. Alternatively, if user 1 has no other songs on demand, the songs continue to be played in the previous musical order.
In one embodiment, a music-on-set request that is input by a target user via speech may be received. Wherein the target user is a user of the at least one user.
And then determining target user information corresponding to the target user according to the music top setting request. Wherein the music set-top request includes a music set-top instruction, such as the speech "set my music top".
And then determining the music to be played and with the most front arrangement sequence in at least one piece of music corresponding to the target user information in the shared song list as the next piece of music to be played. Therefore, the music on demand of the user can be played quickly, and the use experience of the user is improved.
For example, the music in the current shared song list is arranged in the order music 1-A, music 2-A, music 3-A, music 1-B, music 2-B, music 3-B, music 1-C, music 2-C, music 3-C. The electronic equipment receives a music top setting request of 'set my music top' sent by a user 1, and if the currently played music is music 2-A, the music 1-B is set top and played next.
Alternatively, the music set-top request may include a music identifier, and the electronic device may determine the music corresponding to the music identifier as the next music to be played.
For example, the music top request may be "top music 2-C", the music 2-C in the song list may be placed at the head of the current song list to be played, and if the music 2-C is not matched in the current song list, whether a new music 2-C is to be added and placed at the head of the song list to be played is queried.
In the embodiment of the application, music information input by at least one user in a voice mode can be received, at least one piece of music corresponding to the music information input by each user is determined, then a shared song list comprising the music is generated, the music is played according to the shared song list, and at least one of the following items is determined based on the user information of at least one user: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played. Therefore, the playing content can be adjusted according to the user information, and each user can participate in music playing in real time, so that the music playing is simpler and more convenient, and the user experience is improved.
Further, in one embodiment, the music in the shared song list may be ordered in the order in which the music information is received. For example, the number of pieces of music in the shared song list is multiple, and the number of pieces of music includes three pieces of music a, music B, and music C, wherein the music information corresponding to the music a, the music B, and the music C is received in the order of the music information of the music a, the music information of the music B, and the music information of the music C. At this time, the music in the shared song list is arranged in the order of music a, music B, and music C. When the new music is added to the follow-up shared song list, the new music is after the music C.
It should be noted that, in the music playing method provided in the embodiment of the present application, the execution main body may be a music playing device, or a control module used in the music playing device to execute the music playing method; in the embodiment of the present application, a music playing device executing a music playing method is taken as an example to describe the music playing device provided in the embodiment of the present application.
Fig. 3 is a schematic structural diagram of a music playing device according to an embodiment of the present application, and as shown in fig. 3, the music playing device 300 includes:
the receiving module 310 is configured to receive music information input by at least one user in a voice manner.
The determining module 320 is configured to determine at least one piece of music corresponding to the music information input by each user.
A generating module 330 for generating a shared song list including music.
And a playing module 340 for playing music according to the shared song list.
A determining module 320, further configured to determine, based on the user information of the at least one user, at least one of: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.
In the embodiment of the application, music information input by at least one user in a voice mode can be received, at least one piece of music corresponding to the music information input by each user is determined, then a shared song list comprising the music is generated, the music is played according to the shared song list, and at least one of the following items is determined based on the user information of at least one user: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played. Therefore, the playing content can be adjusted according to the user information, and each user can participate in music playing in real time, so that the music playing is simpler and more convenient, and the user experience is improved.
In one embodiment, the determining module 320 includes:
a determination unit configured to determine a priority of each user according to a reception order of the music information, wherein a priority of a user whose reception order of the music information is previous is higher than a priority of a user whose reception order of the music information is next.
And the sequencing unit is used for sequencing at least one piece of music corresponding to each piece of user information in the shared song list according to the priority of the user, wherein the at least one piece of music corresponding to each piece of user information after sequencing is arranged alternately. Therefore, the order of the music in the song list can be fairly set, so that each user can fairly and quickly hear the music on demand.
In one embodiment, the determining module 320 includes:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a music switching request input by a target user in a voice mode, and the target user is a user in at least one user.
And the determining unit is used for determining the target user information corresponding to the target user according to the music switching request.
And the switching unit is used for switching to the target music for playing when the played music is the music corresponding to the target user information.
And when the played music is not the music corresponding to the target user information, the music is not switched. Therefore, the music switching can be executed only by the user corresponding to the currently playing music, and the use experience of the user is improved.
In one embodiment, the determining module 320 includes:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a music switching request input by a target user in a voice mode, and the target user is a user in at least one user.
And the determining unit is used for determining the target user information corresponding to the target user according to the music switching request.
And the playing unit is used for playing the next piece of music according to the arrangement sequence of the music in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is greater than or equal to a preset progress threshold value.
And playing the next piece of music according to the arrangement sequence of at least one piece of music corresponding to the target user information in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is smaller than a preset progress threshold value. Therefore, music switching can be executed based on the playing progress of music, and the flexibility of music playing is improved.
In one embodiment, the determining module 320 includes:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a music switching request input by a target user in a voice mode, and the target user is a user in at least one user.
And the determining unit is used for determining the target user information corresponding to the target user according to the music switching request.
And the playing unit is used for playing the music which is to be played and is arranged in the front in the sequence in at least one piece of music corresponding to the target user information in the shared song list. Therefore, any user can execute music switching, and the use experience of the user is improved.
In one embodiment, the determining module 320 includes:
the receiving unit is used for receiving a music set-top request input by a target user in a voice mode, wherein the target user is a user in at least one user.
And the determining unit is used for determining the target user information corresponding to the target user according to the music set-top request.
And the determining unit is further used for determining the music to be played and with the most front arrangement sequence in at least one piece of music corresponding to the target user information in the shared song list as the next piece of music to be played. Therefore, the music on demand of the user can be played quickly, and the use experience of the user is improved.
The music playing device 300 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the Mobile electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, a palm top Computer, an in-vehicle electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-Mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (Personal Computer, PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The music playing device 300 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The music playing device 300 provided in this embodiment of the application can implement each process implemented in the method embodiment of fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the above-mentioned music playing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include mobile electronic devices and non-mobile electronic devices.
Fig. 5 is a hardware structure diagram of another electronic device provided in an embodiment of the present application. The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The input unit 504 is configured to receive music information input by at least one user in a voice manner.
A processor 510 for determining at least one piece of music corresponding to each piece of music information input by the user.
The processor 510 is further configured to generate a shared song list including music.
An audio output unit 503 for playing music according to the shared song list.
Processor 510, further configured to determine, based on user information of at least one user, at least one of: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played.
In the embodiment of the application, music information input by at least one user in a voice mode can be received, at least one piece of music corresponding to the music information input by each user is determined, then a shared song list comprising the music is generated, the music is played according to the shared song list, and at least one of the following items is determined based on the user information of at least one user: sharing the arrangement sequence of the music in the song list, switching to the target music for playing, and determining the next music to be played. Therefore, the playing content can be adjusted according to the user information, and each user can participate in music playing in real time, so that the music playing is simpler and more convenient, and the user experience is improved.
In one embodiment, the processor 510 is specifically configured to determine the priority of each user according to the receiving order of the music information, wherein the priority of the user with the receiving order of the music information being the front is higher than the priority of the user with the receiving order of the music information being the back.
And sequencing at least one piece of music corresponding to each piece of user information in the shared song list according to the priority of the user, wherein the at least one piece of music corresponding to each piece of user information after sequencing is arranged alternately. Therefore, the order of the music in the song list can be fairly set, so that each user can fairly and quickly hear the music on demand.
In one embodiment, the input unit 504 is further configured to receive a music switching request input by a target user through a voice manner, where the target user is a user of the at least one user.
The processor 510 is further configured to determine, according to the music switching request, target user information corresponding to the target user.
And switching to the target music for playing when the played music is the music corresponding to the target user information.
And when the played music is not the music corresponding to the target user information, the music is not switched. Therefore, the music switching can be executed only by the user corresponding to the currently playing music, and the use experience of the user is improved.
In one embodiment, the input unit 504 is further configured to receive a music switching request input by a target user through a voice manner, where the target user is a user of the at least one user.
The processor 510 is further configured to determine, according to the music switching request, target user information corresponding to the target user.
And playing the next piece of music according to the sequence of the music in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is greater than or equal to a preset progress threshold value.
And playing the next piece of music according to the arrangement sequence of at least one piece of music corresponding to the target user information in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is smaller than a preset progress threshold value. Therefore, music switching can be executed based on the playing progress of music, and the flexibility of music playing is improved.
In one embodiment, the input unit 504 is further configured to receive a music switching request input by a target user through a voice manner, where the target user is a user of the at least one user.
The processor 510 is further configured to determine, according to the music switching request, target user information corresponding to the target user.
And playing the music to be played and with the top sequence in at least one piece of music corresponding to the target user information in the shared song list. Therefore, any user can execute music switching, and the use experience of the user is improved.
In one embodiment, the input unit 504 is further configured to receive a music set-top request input by a target user through a voice manner, where the target user is a user of the at least one user.
The processor 510 is further configured to determine, according to the music set-top request, target user information corresponding to the target user.
And determining the music to be played and with the most front arrangement sequence in at least one piece of music corresponding to the target user information in the shared song list as the next piece of music to be played. Therefore, the music on demand of the user can be played quickly, and the use experience of the user is improved.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above music playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned music playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A music playing method, the method comprising:
receiving music information input by at least one user in a voice mode;
determining at least one piece of music corresponding to the music information input by each user;
generating a shared song list including the music;
playing music according to the shared song list;
based on the user information of the at least one user, determining at least one of: and the music in the shared song list is arranged in sequence, the target music is switched to be played, and the next music to be played is determined.
2. The method of claim 1, wherein determining an order of arrangement of music in the shared menu based on the user information of the at least one user comprises:
determining the priority of each user according to the receiving sequence of the music information, wherein the priority of the user with the receiving sequence of the music information is higher than the priority of the user with the receiving sequence of the music information;
and sequencing at least one piece of music corresponding to each piece of user information in the shared song list according to the priority of the user, wherein the at least one piece of music corresponding to each piece of user information after sequencing is arranged alternately.
3. The method of claim 1, wherein switching to target music for playing based on the user information of the at least one user comprises:
receiving a music switching request input by a target user in a voice mode, wherein the target user is a user of the at least one user;
determining target user information corresponding to the target user according to the music switching request;
under the condition that the played music is the music corresponding to the target user information, switching to the target music for playing;
and under the condition that the played music is not the music corresponding to the target user information, not switching the music.
4. The method of claim 1, wherein switching to target music for playing based on the user information of the at least one user comprises:
receiving a music switching request input by a target user in a voice mode, wherein the target user is a user of the at least one user;
determining target user information corresponding to the target user according to the music switching request;
when the played music is the music corresponding to the target user information and the progress of the played music is greater than or equal to a preset progress threshold value, playing a next piece of music according to the arrangement sequence of the music in the shared song list;
and playing the next piece of music according to the arrangement sequence of at least one piece of music corresponding to the target user information in the shared song list under the condition that the played music is the music corresponding to the target user information and the progress of the played music is smaller than a preset progress threshold value.
5. The method of claim 1, wherein switching to target music for playing based on the user information of the at least one user comprises:
receiving a music switching request input by a target user in a voice mode, wherein the target user is a user of the at least one user;
determining target user information corresponding to the target user according to the music switching request;
and playing the music which is to be played and is arranged in the most front sequence in at least one piece of music corresponding to the target user information in the shared song list.
6. The method of claim 1, wherein determining the next piece of music to be played based on the user information of the at least one user comprises:
receiving a music set-top request input by a target user in a voice mode, wherein the target user is a user of the at least one user;
determining target user information corresponding to the target user according to the music top setting request;
and determining the music to be played and with the most front arrangement sequence in at least one piece of music corresponding to the target user information in the shared song list as the next piece of music to be played.
7. A music playing apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving music information input by at least one user in a voice mode;
the determining module is used for determining at least one piece of music corresponding to the music information input by each user;
a generating module for generating a shared song list including the music;
the playing module is used for playing music according to the shared song list;
the determining module is further configured to determine, based on the user information of the at least one user, at least one of: and the music in the shared song list is arranged in sequence, the target music is switched to be played, and the next music to be played is determined.
8. The apparatus of claim 7, wherein the determining module comprises:
a determination unit configured to determine a priority of each user according to a reception order of the music information, wherein a priority of a user whose reception order of the music information is previous is higher than a priority of a user whose reception order of the music information is next;
and the sequencing unit is used for sequencing at least one piece of music corresponding to each piece of user information in the shared song list according to the priority of the user, wherein the at least one piece of music corresponding to each piece of user information after sequencing is interspersed.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the music playback method of any of claims 1-6.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the music playing method according to any one of claims 1 to 6.
CN202110393512.9A 2021-04-13 2021-04-13 Music playing method and device, electronic equipment and storage medium Pending CN113177134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110393512.9A CN113177134A (en) 2021-04-13 2021-04-13 Music playing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110393512.9A CN113177134A (en) 2021-04-13 2021-04-13 Music playing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113177134A true CN113177134A (en) 2021-07-27

Family

ID=76923337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110393512.9A Pending CN113177134A (en) 2021-04-13 2021-04-13 Music playing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113177134A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113921045A (en) * 2021-10-22 2022-01-11 北京雷石天地电子技术有限公司 Vehicle-mounted music playing method and device, computer equipment and storage medium
CN114173140A (en) * 2021-11-10 2022-03-11 天翼爱音乐文化科技有限公司 Live broadcast room music recommendation method, system, device and storage medium
CN115938407A (en) * 2023-03-09 2023-04-07 小米汽车科技有限公司 Play control method, device, equipment, user terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203251324U (en) * 2012-12-28 2013-10-23 深圳职业技术学院 Vehicle-mounted voice song-requiring system based on cloud computing vehicle networking
CN105683968A (en) * 2016-01-22 2016-06-15 张阳 Ordering method and system for requesting songs in KTV
CN106328112A (en) * 2016-08-22 2017-01-11 深圳市豆娱科技有限公司 Multi-user-interactive Karaok system based on virtual reality and application method thereof
US20170372686A1 (en) * 2016-06-24 2017-12-28 Panasonic Automotive Systems Company Of America, Division Of Panasonic Corporation Of North America Car karaoke
US10332495B1 (en) * 2018-07-10 2019-06-25 Byton Limited In vehicle karaoke
CN110444186A (en) * 2019-07-31 2019-11-12 福建星网视易信息系统有限公司 A kind of multi-user's order method and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203251324U (en) * 2012-12-28 2013-10-23 深圳职业技术学院 Vehicle-mounted voice song-requiring system based on cloud computing vehicle networking
CN105683968A (en) * 2016-01-22 2016-06-15 张阳 Ordering method and system for requesting songs in KTV
US20170372686A1 (en) * 2016-06-24 2017-12-28 Panasonic Automotive Systems Company Of America, Division Of Panasonic Corporation Of North America Car karaoke
CN106328112A (en) * 2016-08-22 2017-01-11 深圳市豆娱科技有限公司 Multi-user-interactive Karaok system based on virtual reality and application method thereof
US10332495B1 (en) * 2018-07-10 2019-06-25 Byton Limited In vehicle karaoke
CN110444186A (en) * 2019-07-31 2019-11-12 福建星网视易信息系统有限公司 A kind of multi-user's order method and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113921045A (en) * 2021-10-22 2022-01-11 北京雷石天地电子技术有限公司 Vehicle-mounted music playing method and device, computer equipment and storage medium
CN114173140A (en) * 2021-11-10 2022-03-11 天翼爱音乐文化科技有限公司 Live broadcast room music recommendation method, system, device and storage medium
CN114173140B (en) * 2021-11-10 2023-03-14 天翼爱音乐文化科技有限公司 Live broadcast room music recommendation method, system, device and storage medium
CN115938407A (en) * 2023-03-09 2023-04-07 小米汽车科技有限公司 Play control method, device, equipment, user terminal and storage medium

Similar Documents

Publication Publication Date Title
US10692504B2 (en) User profiling for voice input processing
CN113177134A (en) Music playing method and device, electronic equipment and storage medium
CN110267055A (en) Recommend the methods, devices and systems of direct broadcasting room
US11409817B2 (en) Display apparatus and method of controlling the same
US20220391060A1 (en) Methods for displaying and providing multimedia resources
CN112328142B (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN110267067A (en) Method, apparatus, equipment and the storage medium that direct broadcasting room is recommended
WO2022022536A1 (en) Audio playback method, audio playback apparatus, and electronic device
CN109729372A (en) Method for switching between, device, terminal, server and storage medium is broadcast live
CN111741370A (en) Multimedia interaction method, related device, equipment and storage medium
CN110248236A (en) Video broadcasting method, device, terminal and storage medium
CN113727169A (en) Video playing method, device, equipment and storage medium
CN110267054A (en) A kind of method and device for recommending direct broadcasting room
CN108304434B (en) Information feedback method and terminal equipment
CN109325180A (en) Article abstract method for pushing, device, terminal device, server and storage medium
CN114095793A (en) Video playing method and device, computer equipment and storage medium
CN105991403A (en) Instant messaging (IM) based multimedia sharing method and apparatus
CN105843865B (en) Media file playing method and device
CN109618116B (en) Multimedia information processing method, electronic equipment and computer storage medium
CN115190367B (en) Video playing method, device, equipment and storage medium
CN115103232B (en) Video playing method, device, equipment and storage medium
CN113840033B (en) Audio data playing method and device
CN110248202A (en) Switching method, device and the storage medium of direct broadcasting room
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN107037887B (en) Method and device for Chinese character input and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination