WO2017004928A1 - Song catalog setting method, mobile terminal, server, and system - Google Patents
Song catalog setting method, mobile terminal, server, and system Download PDFInfo
- Publication number
- WO2017004928A1 WO2017004928A1 PCT/CN2015/096063 CN2015096063W WO2017004928A1 WO 2017004928 A1 WO2017004928 A1 WO 2017004928A1 CN 2015096063 W CN2015096063 W CN 2015096063W WO 2017004928 A1 WO2017004928 A1 WO 2017004928A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- song
- directory
- wireless speaker
- speaker system
- scene type
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/635—Filtering based on additional data, e.g. user or group profiles
Definitions
- the present invention relates to the field of electronic technologies, and in particular, to a song directory setting method, a mobile terminal, a server, and a system.
- multiple wireless speakers can be wirelessly connected into a private network, usually within this private network, where one logical primary wireless speaker is connected wirelessly or by wire. To the router to directly access the external network, and other wireless speakers can access the external network through the main wireless speaker.
- the wireless speaker in different scenes is manually added in the currently created wireless speaker system, and a song directory is created for the wireless speaker system, local songs are searched, and songs are added to the song catalog. .
- the embodiment of the invention provides a song directory setting method, a mobile terminal, a server and a system, so as to improve the convenience and accuracy of the mobile terminal setting the song list of the wireless speaker system, and improve the user experience.
- the first aspect of the embodiment of the present invention discloses a song directory setting method, including:
- the song directory set formed by the N reference song directories is a first song directory set and a second song An intersection of a collection of music albums, wherein a song directory in the first song directory collection corresponds to the scene type combination, and a song directory in the second song directory collection and a directory in which the music playback start time belongs are created Corresponding to the time period, the N is a positive integer;
- a second aspect of the embodiment of the present invention discloses a song directory setting method, including:
- a song recommendation request carrying a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless speaker system Music playback start time;
- a song recommendation response carrying a list of N reference songs, wherein the set of song directories formed by the N reference song directories is an intersection of a first song directory set and a second song directory set, where The song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is positive Integer.
- a third aspect of the embodiment of the present invention discloses a mobile terminal, including:
- a sending unit configured to send, to the server, a song recommendation request carrying a scene type combination and a time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless The music playback start time of the speaker system;
- a receiving unit configured to receive a song recommendation response that is sent by the server in response to the song recommendation request, and the song directory set formed by the N reference song directories is a first song directory An intersection of the set and the second song directory set, wherein the song directory in the first song directory set corresponds to the scene type combination, the song directory in the second song directory set and the music play start time
- the associated directory creation period corresponds to, and the N is a positive integer
- a setting unit configured to set a song directory of the wireless speaker system according to the N reference song directories.
- a fourth aspect of the embodiments of the present invention discloses a server, including:
- a receiving unit configured to receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least The music playback start time of the wireless speaker system;
- a sending unit configured to send, to the mobile terminal, a song recommendation response that carries N reference song directories, where the song directory set formed by the N reference song directories is a first song directory set and a second song directory set An intersection of the song list in the first song directory set corresponding to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs,
- the N is a positive integer.
- a fifth aspect of the embodiments of the present invention discloses a song directory setting system, including:
- a mobile terminal as described in the third aspect of the invention and a server as described in the fourth aspect of the invention are described in the third aspect of the invention.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving a song recommendation that is sent by the server in response to the song recommendation request and carrying the N reference song directories.
- the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- FIG. 1 is a network architecture diagram of an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a method for setting a song directory according to an embodiment of the present invention
- FIG. 3 is a schematic flow chart of another method for setting a song directory according to an embodiment of the present invention.
- FIG. 4 is a schematic flow chart of still another method for setting a song directory according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a song directory setting system according to an embodiment of the present invention.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
- a mobile terminal and a server may be included, wherein the mobile terminal may communicate with the server in a wireless manner (eg, Wi-Fi, mobile communication network).
- a wireless manner eg, Wi-Fi, mobile communication network.
- the mobile terminal may include a mobile phone, a tablet, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a smart wearable device (such as a smart watch, Smart bracelets and other mobile terminals.
- PDA Personal Digital Assistant
- MID Mobile Internet Device
- smart wearable device such as a smart watch, Smart bracelets and other mobile terminals.
- the embodiment of the invention is not limited.
- FIG. 2 is a schematic flowchart diagram of a method for setting a song directory according to an embodiment of the present invention.
- the song directory setting method may include the following steps.
- S201 Send a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the music playing of the wireless speaker system. Start time.
- the wireless speaker system refers to a music playing system composed of a plurality of speakers (such as a wireless speaker or a bluetooth speaker or a smart speaker, etc.) through a private network (such as a MESH network), in the music playing system, Designating a logical main speaker to exchange data and control commands with an APP installed in the user's mobile terminal through a home network (such as a Wi-Fi network), and the main speaker receives an instruction sent by the user through the APP of the mobile terminal, The above instructions are sent to each of the wireless speakers in the wireless speaker system via the private network of the wireless speaker system described above.
- a private network such as a MESH network
- a wireless speaker system includes a bedroom speaker, a living room speaker 1, a living room speaker 2, the user sets the speaker of the above horizontal speaker to 10 by the APP of the smart phone, and the volume of the living room speaker 1 and the living room speaker 2 are 15 and the above
- the main device in the wireless speaker system is a bedroom speaker, and the bedroom speaker receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system, and then sends the control command to the living room speaker through the private network of the wireless speaker system.
- living room speakers 2 The main device in the wireless speaker system is a bedroom speaker, and the bedroom speaker receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system, and then sends the control command to the living room speaker through the private network of the wireless speaker system.
- living room speakers 2 receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system
- the scene type of the wireless speaker in the wireless speaker system may include, for example, a room type or a location type to which the wireless speaker belongs, and the room type or location type may specifically be: a common family room type such as a bedroom, a living room, a study room, a kitchen, a garden, a bathroom, and the like. Or one or more of the location types.
- a wireless speaker system includes three wireless speakers, "bedroom 1", “bedroom 2" and “study room”, and the scene type of the wireless speaker in the wireless speaker system is a combination of scene types (bedroom; study). .
- a wireless speaker system includes three wireless speakers, "living room 1", “living room 2" and “living room 3", and the scene type composed of the scene types of the wireless speaker in the wireless speaker system is combined (living room). .
- the trigger condition for the mobile terminal to send a song recommendation request to the server may be various.
- the mobile terminal detects that the newly created wireless speaker system 1 of the user adds the bedroom speaker 1, the bedroom speaker 2, the study speaker 1, the living room speaker 2, and the mobile terminal generates the scene type combination of the wireless speaker system 1 (bedroom ; study; living room), and send a song recommendation request carrying the combination of the scene type to the server.
- the mobile terminal displays a song directory setting interface of the wireless speaker system 2 on the display screen, and a function button for randomly setting a song directory is set in the song directory setting interface, and the user can click the randomly set song directory through touch.
- the function button triggers the mobile terminal to acquire the scene type combination of the wireless speaker system 2, and sends a song recommendation request carrying the combination of the scene type to the server.
- S202 Receive a song recommendation response that is sent by the server in response to the song recommendation request, and that is, the song directory set formed by the N reference song directories is a first song directory set and a second song directory. An intersection of the set, wherein the song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to the directory creation period to which the music playing start time belongs, and the N is A positive integer.
- the song directory in the first song directory set corresponds to the scene type combination of the wireless speaker system of the wireless speaker system, and the song directory in the second song directory set and the directory created by the music play start time are created.
- the time period corresponds.
- the foregoing directory creation period may be determined based on the creation time of the user-created song directory in the stored plurality of song directory creation records, or may be preset by the user.
- the time difference between the creation time of any two song directories in the song directory A, the song directory B, the song directory C, the song directory D, and the song directory E is less than a preset threshold (assumed to be 30 minutes), and the mobile terminal can determine the morning.
- the directory creation period of the scene is the morning directory creation period (directory creation start node 08:45, directory creation termination node, 09:10).
- the user sets the directory creation period according to the usage habits as follows:
- the first directory creation period (directory creation start node: 7:40, directory creation termination node: 8:30)
- Second directory creation period (directory creation start node: 8:30, directory creation termination node: 12:30)
- the third directory creation period (directory creation start node: 12:30, directory creation termination node: 18:30)
- the fourth directory creation period (directory creation start node: 18:30, directory creation termination node: 24:00)
- the fifth directory creation period (directory creation start node: 24:00, directory creation termination node: 7:40)
- the specific implementation manner of setting, by the mobile terminal, the song directory of the wireless speaker system according to the N reference song directories may include:
- the song list of the wireless speaker system is set by using the M songs in the reference song directory;
- the M songs in the N reference song directories are extracted in descending order of the number of songs to set the song directory of the wireless speaker system;
- the M songs in the N reference song directories are randomly extracted to set the song directory of the wireless speaker system, and the M is a positive integer.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- the mobile terminal is configured to set a play music list of the wireless speaker system to After the above-mentioned song recommendation response in the above-mentioned song directory, it is also possible to control the songs in the song directory after the wireless speaker playback setting of the wireless speaker system is set.
- FIG. 3 is a schematic flowchart of a method for setting a song directory according to an embodiment of the present invention.
- the song directory setting method may include the following steps.
- S301 Receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information.
- the scene type combination is a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the music of the wireless speaker system. Play start time.
- the wireless speaker system refers to a music playing system composed of a plurality of speakers (such as a wireless speaker or a bluetooth speaker or a smart speaker, etc.) through a private network (such as a MESH network), in the music playing system, Designating a logical main speaker to exchange data and control commands with an APP installed in the user's mobile terminal through a home network (such as a Wi-Fi network), and the main speaker receives an instruction sent by the user through the APP of the mobile terminal, The above instructions are sent to each of the wireless speakers in the wireless speaker system via the private network of the wireless speaker system described above.
- a private network such as a MESH network
- a wireless speaker system includes a bedroom speaker, a living room speaker 1, a living room speaker 2, the user sets the speaker of the above horizontal speaker to 10 by the APP of the smart phone, and the volume of the living room speaker 1 and the living room speaker 2 are 15 and the above
- the main device in the wireless speaker system is a bedroom speaker, and the bedroom speaker receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system, and then sends the control command to the living room speaker through the private network of the wireless speaker system.
- living room speakers 2 The main device in the wireless speaker system is a bedroom speaker, and the bedroom speaker receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system, and then sends the control command to the living room speaker through the private network of the wireless speaker system.
- living room speakers 2 receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system
- the scene type of the wireless speaker in the wireless speaker system may include, for example, a room type or a location type to which the wireless speaker belongs, and the room type or location type may specifically be: a common family room type such as a bedroom, a living room, a study room, a kitchen, a garden, a bathroom, and the like. Or one or more of the location types.
- a wireless speaker system includes three wireless speakers, "bedroom 1", “bedroom 2" and “study room”, and the scene type of the wireless speaker in the wireless speaker system is a combination of scene types (bedroom; study). .
- a wireless speaker system includes three wireless speakers, "living room 1", “living room 2" and “living room 3", and the scene type composed of the scene types of the wireless speaker in the wireless speaker system is combined (living room). .
- the server after acquiring the song recommendation request that is sent by the mobile terminal and carrying the scene type combination and the time information, the server sends a song recommendation response carrying the N reference song directories to the mobile terminal.
- the song directory corresponding to the combination of the scene types described above may be first queried to form a first song directory set, and secondly, the song directory corresponding to the directory creation period to which the music playback start time belongs may be queried to form a second song directory set, and finally, obtained.
- the intersection of the first song directory set and the second song directory set, the intersection includes the N reference song directories.
- the foregoing directory creation period may be determined based on a creation time of the user-created song directory in the stored plurality of song directory creation records, or may be preset by the user.
- the time difference between the creation time of any two song directories in the song directory A, the song directory B, the song directory C, the song directory D, and the song directory E is less than a preset threshold (assumed to be 30 minutes), and the mobile terminal can determine the morning.
- the directory creation period of the scene is the morning directory creation period (directory creation start node 08:45, directory creation termination node, 09:10).
- the user sets the directory creation period according to the usage habits as follows:
- the first directory creation period (directory creation start node: 7:40, directory creation termination node: 8:30)
- Second directory creation period (directory creation start node: 8:30, directory creation termination node: 12:30)
- the third directory creation period (directory creation start node: 12:30, directory creation termination node: 18:30)
- the fourth directory creation period (directory creation start node: 18:30, directory creation termination node: 24:00)
- the fifth directory creation period (directory creation start node: 24:00, directory creation termination node: 7:40).
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- FIG. 4 is a schematic flowchart diagram of still another method for setting a song directory according to an embodiment of the present invention.
- the song directory setting method may include the following steps.
- the mobile terminal sends a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the music of the wireless speaker system. Play start time.
- the server queries a song directory corresponding to the combination of the scene types to form a first song directory set; queries a song directory corresponding to the directory creation period to which the music playing start time belongs to form a second song directory set; and extracts the first The N directory of the song directory and the N reference song directories in the set of the second song directory set, wherein the N is a positive integer.
- the server sends a song recommendation response carrying the N song directories to the mobile terminal.
- the mobile terminal sets the song directory of the wireless speaker system according to the N reference song directories.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
- the mobile terminal may include a sending unit 501, a receiving unit 502, and a setting unit 503, where:
- the sending unit 501 is configured to send, to the server, a song recommendation request carrying a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in a wireless speaker system, and the time information includes at least the wireless speaker.
- the receiving unit 502 is configured to receive, by the server, the N messages that are sent in response to the song recommendation request.
- the song catalog set formed by the N reference song catalogs is an intersection of the first song catalog set and the second song catalog set, wherein the song catalog in the first song catalog set is Corresponding to the combination of the scene types, the song directory in the second song directory set corresponds to the directory creation period to which the music playing start time belongs, and the N is a positive integer;
- the setting unit 503 is configured to set a song directory of the wireless speaker system according to the N reference song directories.
- the setting unit 503 is specifically configured to:
- the song list of the wireless speaker system is set by using the M songs in the reference song directory;
- the M songs in the N reference song directories are extracted in order from the highest number of song repetitions to set the song directory of the wireless speaker system; or, the N pieces are randomly extracted.
- the M songs in the reference song list are set to the song directory of the above wireless speaker system, and the above M is a positive integer.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
- the server may include a receiving unit 601 and a sending unit 602, where:
- the receiving unit 601 is configured to receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, where the time information includes at least the wireless The music playback start time of the speaker system;
- the sending unit 602 is configured to send, to the mobile terminal, a song recommendation response that carries N reference song directories, where the song directory set formed by the N reference song directories is a first song directory set and a second song directory set. An intersection, wherein the song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is a positive integer .
- the foregoing server further includes:
- a first query unit configured to query a song directory corresponding to the combination of the scene types to form a first song directory set
- the second query unit is configured to query a song directory corresponding to the directory creation period to which the music playing start time belongs to form a second song directory set.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
- the mobile terminal can include at least one processor 701, such as a CPU, at least one receiver 703, at least one memory 704, at least one transmitter 705, and at least one communication bus 702.
- the communication bus 702 is used to implement connection communication between these components.
- the receiver 703 and the transmitter 705 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices.
- the memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- the memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701.
- Memory A set of program code is stored in 704, and the processor 701 is configured to call program code stored in the memory for performing the following operations:
- the song directory set formed by the N reference song directories is a first song directory set and a second song directory set An intersection, wherein the song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is a positive integer ;
- the song directory of the wireless speaker system is set according to the above-mentioned N reference song directories.
- the specific implementation manner that the processor 701 sets the song directory of the wireless speaker system according to the N reference song directories includes: using the M songs in the reference song directory in a case where the N is equal to 1 Setting the song list of the above wireless speaker system;
- the M songs in the N reference song directories are extracted in order from the highest number of song repetitions to set the song directory of the wireless speaker system; or, the N pieces are randomly extracted.
- the M songs in the reference song list are set to the song directory of the above wireless speaker system, and the above M is a positive integer.
- the processor 701 is further configured to: control a song in the song directory after the wireless speaker playing setting of the wireless speaker system.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Add songs, which will help improve the mobile terminal to set the wireless speaker system song The convenience and accuracy of the music catalog enhances the user experience.
- FIG. 8 is a schematic diagram of a network architecture of a song directory setting system according to an embodiment of the present invention.
- the song directory setting may include a mobile terminal and a server, where
- the mobile terminal is configured to send a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless speaker system. The beginning of the music playback.
- the server is configured to query a song directory corresponding to the combination of the scene types to form a first song directory set; query a song directory corresponding to the directory creation period to which the music playback start time belongs to form a second song directory set;
- the server is further configured to send, to the mobile terminal, a song recommendation response that carries the N song directories.
- the mobile terminal is further configured to set a song directory of the wireless speaker system according to the N reference song directories.
- the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request.
- the song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories.
- the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is
- the song directories that are customarily created in different directory creation periods are often different
- the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection
- the song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
- the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
Disclosed are a song catalog setting method and a mobile terminal. The method comprises: sending a song recommendation request, carrying a scenario type combination and time information, to a server; receiving a song recommendation response, which is sent by the server in response to the song recommendation request and carries N reference song catalogs; and setting a song catalog of a wireless sound box system according to the N reference song catalogs. Embodiments of the present invention facilitate improvement of the convenience and accuracy for setting, by a mobile terminal, a song catalog of a wireless sound box system, thereby improving the user experience.
Description
相关申请的交叉引用Cross-reference to related applications
本申请要求广东欧珀移动通信有限公司于2015年7月9日提交的、发明名称为“一种歌曲目录设置方法、移动终端、服务器及系统”的、中国专利申请号“201510402363.2”的优先权。This application claims the priority of the Chinese patent application number "201510402363.2" submitted by Guangdong Opal Mobile Communications Co., Ltd. on July 9, 2015, entitled "A song directory setting method, mobile terminal, server and system". .
本发明涉及电子技术领域,具体涉及一种歌曲目录设置方法、移动终端、服务器及系统。The present invention relates to the field of electronic technologies, and in particular, to a song directory setting method, a mobile terminal, a server, and a system.
由多个无线音箱组成的无线音箱系统中,多个无线音箱可以通过无线方式连接成一个私有网络,通常在这个私有网络内,其中一台逻辑上的主无线音箱会通过无线或有线的方式连接到路由器以直接访问外部网络,而其他从无线音箱可通过该主无线音箱访问外部网络。In a wireless speaker system consisting of multiple wireless speakers, multiple wireless speakers can be wirelessly connected into a private network, usually within this private network, where one logical primary wireless speaker is connected wirelessly or by wire. To the router to directly access the external network, and other wireless speakers can access the external network through the main wireless speaker.
移动终端通过APP设置无线音箱系统时,一般是在当前创建的无线音箱系统中手动添加不同场景中的无线音箱,并为该无线音箱系统创建歌曲目录,查询本地歌曲,并添加歌曲至歌曲目录中。When the mobile terminal sets the wireless speaker system through the APP, the wireless speaker in different scenes is manually added in the currently created wireless speaker system, and a song directory is created for the wireless speaker system, local songs are searched, and songs are added to the song catalog. .
发明内容Summary of the invention
本发明实施例提供了一种歌曲目录设置方法、移动终端、服务器及系统,以期提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。The embodiment of the invention provides a song directory setting method, a mobile terminal, a server and a system, so as to improve the convenience and accuracy of the mobile terminal setting the song list of the wireless speaker system, and improve the user experience.
本发明实施例第一方面公开了一种歌曲目录设置方法,包括:The first aspect of the embodiment of the present invention discloses a song directory setting method, including:
向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息包括所述无线音箱系统的音乐播放起始时间;Sending a song recommendation request carrying a scene type combination and time information to the server, the scene type combination being composed of a scene type of a wireless speaker in the wireless speaker system, the time information including music playback of the wireless speaker system Start time
接收所述服务器响应所述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌
曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数;Receiving a song recommendation response carrying the N reference song directories sent by the server in response to the song recommendation request, wherein the song directory set formed by the N reference song directories is a first song directory set and a second song
An intersection of a collection of music albums, wherein a song directory in the first song directory collection corresponds to the scene type combination, and a song directory in the second song directory collection and a directory in which the music playback start time belongs are created Corresponding to the time period, the N is a positive integer;
根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置。Setting a song list of the wireless speaker system according to the N reference song directories.
本发明实施例第二方面公开了一种歌曲目录设置方法,包括:A second aspect of the embodiment of the present invention discloses a song directory setting method, including:
接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息至少包括所述无线音箱系统的音乐播放起始时间;Receiving, by the mobile terminal, a song recommendation request carrying a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless speaker system Music playback start time;
向所述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数。Transmitting, to the mobile terminal, a song recommendation response carrying a list of N reference songs, wherein the set of song directories formed by the N reference song directories is an intersection of a first song directory set and a second song directory set, where The song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is positive Integer.
本发明实施例第三方面公开了一种移动终端,包括:A third aspect of the embodiment of the present invention discloses a mobile terminal, including:
发送单元,用于向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息至少包括所述无线音箱系统的音乐播放起始时间;a sending unit, configured to send, to the server, a song recommendation request carrying a scene type combination and a time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless The music playback start time of the speaker system;
接收单元,用于接收所述服务器响应所述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数;a receiving unit, configured to receive a song recommendation response that is sent by the server in response to the song recommendation request, and the song directory set formed by the N reference song directories is a first song directory An intersection of the set and the second song directory set, wherein the song directory in the first song directory set corresponds to the scene type combination, the song directory in the second song directory set and the music play start time The associated directory creation period corresponds to, and the N is a positive integer;
设置单元,用于根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置。And a setting unit, configured to set a song directory of the wireless speaker system according to the N reference song directories.
本发明实施例第四方面公开了一种服务器,包括:A fourth aspect of the embodiments of the present invention discloses a server, including:
接收单元,用于接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息至少包括所述无线音箱系统的音乐播放起始时间;a receiving unit, configured to receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least The music playback start time of the wireless speaker system;
发送单元,用于向所述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数。a sending unit, configured to send, to the mobile terminal, a song recommendation response that carries N reference song directories, where the song directory set formed by the N reference song directories is a first song directory set and a second song directory set An intersection of the song list in the first song directory set corresponding to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, The N is a positive integer.
本发明实施例第五方面公开了一种歌曲目录设置系统,包括:
A fifth aspect of the embodiments of the present invention discloses a song directory setting system, including:
如本发明第三方面所描述的移动终端和本发明第四方面所描述的服务器。A mobile terminal as described in the third aspect of the invention and a server as described in the fourth aspect of the invention.
本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收所述服务器响应所述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。In the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving a song recommendation that is sent by the server in response to the song recommendation request and carrying the N reference song directories. In response, finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种网络架构图;1 is a network architecture diagram of an embodiment of the present invention;
图2是本发明实施例公开的一种歌曲目录设置方法的流程示意图;2 is a schematic flowchart of a method for setting a song directory according to an embodiment of the present invention;
图3是本发明实施例公开的另一种歌曲目录设置方法的流程示意图;3 is a schematic flow chart of another method for setting a song directory according to an embodiment of the present invention;
图4是本发明实施例公开的又一种歌曲目录设置方法的流程示意图;4 is a schematic flow chart of still another method for setting a song directory according to an embodiment of the present invention;
图5是本发明实施例公开的一种移动终端的结构示意图;FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure;
图6是本发明实施例公开的一种服务器的结构示意图;6 is a schematic structural diagram of a server according to an embodiment of the present invention;
图7是本发明实施例公开的另一种移动终端的结构示意图;FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present disclosure;
图8是本发明实施例公开的一种歌曲目录设置系统的架构示意图。FIG. 8 is a schematic structural diagram of a song directory setting system according to an embodiment of the present invention.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员
在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. One of ordinary skill in the art based on the embodiments of the present invention
All other embodiments obtained without creative efforts should fall within the scope of the invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
为了更好理解本发明实施例公开的一种歌曲目录设置方法、移动终端、服务器及系统,下面先对本发明实施例适用的网络构架进行描述。请参阅图1,图1是本发明实施例公开的一种网络构架示意图。在图1所示的网络构架中,可以包括移动终端和服务器,其中,移动终端可以通过无线方式(如Wi-Fi、移动通信网络)与服务器通信连接。在图1所示的网络构架中,移动终端可以包括移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各类移动终端。本发明实施例不作限定。通过实施图1所示的网络构架,可以提升移动终端图片展示的趣味性和临场感,提升用户体验。In order to better understand a song directory setting method, a mobile terminal, a server, and a system disclosed in the embodiments of the present invention, a network architecture to which the embodiments of the present invention are applied will be described below. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention. In the network architecture shown in FIG. 1, a mobile terminal and a server may be included, wherein the mobile terminal may communicate with the server in a wireless manner (eg, Wi-Fi, mobile communication network). In the network architecture shown in FIG. 1, the mobile terminal may include a mobile phone, a tablet, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a smart wearable device (such as a smart watch, Smart bracelets and other mobile terminals. The embodiment of the invention is not limited. By implementing the network architecture shown in FIG. 1, the user can enjoy the fun and presence of the mobile terminal picture display and enhance the user experience.
基于图1所示的网络构架,本发明实施例公开了的一种应用于无线音箱系统的歌曲目录设置方法。请参阅图2,图2是本发明实施例公开的一种歌曲目录设置方法的流程示意图。如图2所示,该歌曲目录设置方法可以包括以下步骤。Based on the network architecture shown in FIG. 1 , a method for setting a song directory applied to a wireless speaker system is disclosed in the embodiment of the present invention. Please refer to FIG. 2. FIG. 2 is a schematic flowchart diagram of a method for setting a song directory according to an embodiment of the present invention. As shown in FIG. 2, the song directory setting method may include the following steps.
S201,向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息至少包括上述无线音箱系统的音乐播放起始时间。S201: Send a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the music playing of the wireless speaker system. Start time.
本发明实施例中,上述无线音箱系统是指由多个音箱(如无线音箱或蓝牙音箱或智能音箱,等)通过私有网络(如MESH网络)组成的音乐播放系统,该音乐播放系统中,可以指定一个逻辑上的主音箱通过家庭网络(如Wi-Fi网络)与用户的移动终端中安装的APP进行数据和控制指令的交互,该主音箱接收用户通过移动终端的APP发送的指令后,可以通过上述无线音箱系统的私有网络将上述指令发送至无线音箱系统中的每个无线音箱。In the embodiment of the present invention, the wireless speaker system refers to a music playing system composed of a plurality of speakers (such as a wireless speaker or a bluetooth speaker or a smart speaker, etc.) through a private network (such as a MESH network), in the music playing system, Designating a logical main speaker to exchange data and control commands with an APP installed in the user's mobile terminal through a home network (such as a Wi-Fi network), and the main speaker receives an instruction sent by the user through the APP of the mobile terminal, The above instructions are sent to each of the wireless speakers in the wireless speaker system via the private network of the wireless speaker system described above.
例如,一个无线音箱系统中包括卧室音箱、客厅音箱1、客厅音箱2,用户通过智能手机的APP设置上述卧式音箱的音箱为10,客厅音箱1和客厅音箱2的音量均为15,且上述
无线音箱系统中的主设备为卧室音箱,则卧室音箱接收移动终端发送的用于设置无线音箱系统的音量的控制指令后,再将该控制指令通过无线音箱系统的私有网络分别发送至客厅音箱1和客厅音箱2。For example, a wireless speaker system includes a bedroom speaker, a living room speaker 1, a living room speaker 2, the user sets the speaker of the above horizontal speaker to 10 by the APP of the smart phone, and the volume of the living room speaker 1 and the living room speaker 2 are 15 and the above
The main device in the wireless speaker system is a bedroom speaker, and the bedroom speaker receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system, and then sends the control command to the living room speaker through the private network of the wireless speaker system. And living room speakers 2.
上述无线音箱系统中的无线音箱的场景类型例如可以包括无线音箱所属的房间类型或地点类型,该房间类型或地点类型具体可以是:卧室、客厅、书房、厨房、花园、浴室等常见家庭房间类型或地点类型中的一种或多种。The scene type of the wireless speaker in the wireless speaker system may include, for example, a room type or a location type to which the wireless speaker belongs, and the room type or location type may specifically be: a common family room type such as a bedroom, a living room, a study room, a kitchen, a garden, a bathroom, and the like. Or one or more of the location types.
例如,一个无线音箱系统包括“卧室1”、“卧室2”和“书房”这三台无线音箱,则该无线音箱系统中的无线音箱的场景类型所组成的场景类型组合为(卧室;书房)。For example, a wireless speaker system includes three wireless speakers, "bedroom 1", "bedroom 2" and "study room", and the scene type of the wireless speaker in the wireless speaker system is a combination of scene types (bedroom; study). .
又如,一个无线音箱系统包括“客厅1”、“客厅2”和“客厅3”这三台无线音箱,则该无线音箱系统中的无线音箱的场景类型所组成的场景类型组合为(客厅)。For example, a wireless speaker system includes three wireless speakers, "living room 1", "living room 2" and "living room 3", and the scene type composed of the scene types of the wireless speaker in the wireless speaker system is combined (living room). .
可以理解的是,上述移动终端向服务器发送歌曲推荐请求的触发条件可以是多种多样的。It can be understood that the trigger condition for the mobile terminal to send a song recommendation request to the server may be various.
举例来说,移动终端检测到用户新创建的无线音箱系统1中添加了卧室音箱1,卧室音箱2,书房音箱1,客厅音箱2,则移动终端生成无线音箱系统1的场景类型组合为(卧室;书房;客厅),并向服务器发送携带有该场景类型组合的歌曲推荐请求。For example, the mobile terminal detects that the newly created wireless speaker system 1 of the user adds the bedroom speaker 1, the bedroom speaker 2, the study speaker 1, the living room speaker 2, and the mobile terminal generates the scene type combination of the wireless speaker system 1 (bedroom ; study; living room), and send a song recommendation request carrying the combination of the scene type to the server.
又举例来说,移动终端在显示屏幕上展示无线音箱系统2的歌曲目录设置界面,在该歌曲目录设置界面中设置有随机设置歌曲目录的功能按钮,用户可以通过触控点击该随机设置歌曲目录的功能按钮,触发移动终端获取无线音箱系统2的场景类型组合,并向服务器发送携带有该场景类型组合的歌曲推荐请求。For example, the mobile terminal displays a song directory setting interface of the wireless speaker system 2 on the display screen, and a function button for randomly setting a song directory is set in the song directory setting interface, and the user can click the randomly set song directory through touch. The function button triggers the mobile terminal to acquire the scene type combination of the wireless speaker system 2, and sends a song recommendation request carrying the combination of the scene type to the server.
S202,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,其中,上述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,上述第一歌曲目录集合中的歌曲目录与上述场景类型组合对应,上述第二歌曲目录集合中的歌曲目录与上述音乐播放起始时间所属的目录创建时段对应,上述N为正整数。S202. Receive a song recommendation response that is sent by the server in response to the song recommendation request, and that is, the song directory set formed by the N reference song directories is a first song directory set and a second song directory. An intersection of the set, wherein the song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to the directory creation period to which the music playing start time belongs, and the N is A positive integer.
本发明实施例中,上述第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,上述第二歌曲目录集合中的歌曲目录与上述音乐播放起始时间所属的目录创建时段对应。In the embodiment of the present invention, the song directory in the first song directory set corresponds to the scene type combination of the wireless speaker system of the wireless speaker system, and the song directory in the second song directory set and the directory created by the music play start time are created. The time period corresponds.
其中,上述目录创建时段可以是基于存储的多个歌曲目录创建记录中的用户创建歌曲目录的创建时间所确定的,也可以由用户进行预先设定。The foregoing directory creation period may be determined based on the creation time of the user-created song directory in the stored plurality of song directory creation records, or may be preset by the user.
举例来说,假设移动终端获取存储的5个歌曲目录创建记录如下:For example, suppose the mobile terminal obtains the stored 5 song directory creation records as follows:
(歌曲目录A,创建时间:09:00)、(歌曲目录B,创建时间:08:45)(Song catalog A, creation time: 09:00), (song directory B, creation time: 08:45)
(歌曲目录C,创建时间:08:55)、(歌曲目录D,创建时间:09:08)
(Song directory C, creation time: 08:55), (song directory D, creation time: 09:08)
(歌曲目录E,创建时间:09:10)(Song directory E, creation time: 09:10)
上述歌曲目录A、歌曲目录B、歌曲目录C、歌曲目录D、歌曲目录E中任意两个歌曲目录的创建时间的时间差值均小于预设阈值(假设为30分钟),移动终端可以确定早晨场景的目录创建时段为早晨目录创建时段(目录创建起始节点08:45,目录创建终止节点,09:10)。The time difference between the creation time of any two song directories in the song directory A, the song directory B, the song directory C, the song directory D, and the song directory E is less than a preset threshold (assumed to be 30 minutes), and the mobile terminal can determine the morning. The directory creation period of the scene is the morning directory creation period (directory creation start node 08:45, directory creation termination node, 09:10).
又举例来说,用户按照使用习惯设置目录创建时段如下:For another example, the user sets the directory creation period according to the usage habits as follows:
第一目录创建时段(目录创建起始节点:7:40,目录创建终止节点:8:30)The first directory creation period (directory creation start node: 7:40, directory creation termination node: 8:30)
第二目录创建时段(目录创建起始节点:8:30,目录创建终止节点:12:30)Second directory creation period (directory creation start node: 8:30, directory creation termination node: 12:30)
第三目录创建时段(目录创建起始节点:12:30,目录创建终止节点:18:30)The third directory creation period (directory creation start node: 12:30, directory creation termination node: 18:30)
第四目录创建时段(目录创建起始节点:18:30,目录创建终止节点:24:00)The fourth directory creation period (directory creation start node: 18:30, directory creation termination node: 24:00)
第五目录创建时段(目录创建起始节点:24:00,目录创建终止节点:7:40)The fifth directory creation period (directory creation start node: 24:00, directory creation termination node: 7:40)
S203,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。S203. Set a song directory of the wireless speaker system according to the N reference song directories.
本发明实施例中,上述移动终端根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置的具体实现方式可以包括:In the embodiment of the present invention, the specific implementation manner of setting, by the mobile terminal, the song directory of the wireless speaker system according to the N reference song directories may include:
在上述N等于1的情况下,利用上述参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置;In the case where the above N is equal to 1, the song list of the wireless speaker system is set by using the M songs in the reference song directory;
在上述N大于1的情况下,按照歌曲重复个数由高到低的顺序提取上述N个参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置;In the case where the above N is greater than 1, the M songs in the N reference song directories are extracted in descending order of the number of songs to set the song directory of the wireless speaker system;
或者,随机提取上述N个参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置,上述M为正整数。Alternatively, the M songs in the N reference song directories are randomly extracted to set the song directory of the wireless speaker system, and the M is a positive integer.
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
可选的,本发明实施例中,上述移动终端在设置上述无线音箱系统的播放音乐列表为
上述歌曲推荐响应中的上述歌曲目录之后,还可以控制上述无线音箱系统的无线音箱播放设置后的上述歌曲目录中的歌曲。Optionally, in the embodiment of the present invention, the mobile terminal is configured to set a play music list of the wireless speaker system to
After the above-mentioned song recommendation response in the above-mentioned song directory, it is also possible to control the songs in the song directory after the wireless speaker playback setting of the wireless speaker system is set.
基于图1所示的网络构架,本发明实施例公开了的一种应用于无线音箱系统的歌曲目录设置方法。请参阅图3,图3是本发明实施例公开的一种歌曲目录设置方法的流程示意图。如图3所示,该歌曲目录设置方法可以包括以下步骤。Based on the network architecture shown in FIG. 1 , a method for setting a song directory applied to a wireless speaker system is disclosed in the embodiment of the present invention. Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a method for setting a song directory according to an embodiment of the present invention. As shown in FIG. 3, the song directory setting method may include the following steps.
S301,接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息至少包括上述无线音箱系统的音乐播放起始时间。S301. Receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information. The scene type combination is a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the music of the wireless speaker system. Play start time.
本发明实施例中,上述无线音箱系统是指由多个音箱(如无线音箱或蓝牙音箱或智能音箱,等)通过私有网络(如MESH网络)组成的音乐播放系统,该音乐播放系统中,可以指定一个逻辑上的主音箱通过家庭网络(如Wi-Fi网络)与用户的移动终端中安装的APP进行数据和控制指令的交互,该主音箱接收用户通过移动终端的APP发送的指令后,可以通过上述无线音箱系统的私有网络将上述指令发送至无线音箱系统中的每个无线音箱。In the embodiment of the present invention, the wireless speaker system refers to a music playing system composed of a plurality of speakers (such as a wireless speaker or a bluetooth speaker or a smart speaker, etc.) through a private network (such as a MESH network), in the music playing system, Designating a logical main speaker to exchange data and control commands with an APP installed in the user's mobile terminal through a home network (such as a Wi-Fi network), and the main speaker receives an instruction sent by the user through the APP of the mobile terminal, The above instructions are sent to each of the wireless speakers in the wireless speaker system via the private network of the wireless speaker system described above.
例如,一个无线音箱系统中包括卧室音箱、客厅音箱1、客厅音箱2,用户通过智能手机的APP设置上述卧式音箱的音箱为10,客厅音箱1和客厅音箱2的音量均为15,且上述无线音箱系统中的主设备为卧室音箱,则卧室音箱接收移动终端发送的用于设置无线音箱系统的音量的控制指令后,再将该控制指令通过无线音箱系统的私有网络分别发送至客厅音箱1和客厅音箱2。For example, a wireless speaker system includes a bedroom speaker, a living room speaker 1, a living room speaker 2, the user sets the speaker of the above horizontal speaker to 10 by the APP of the smart phone, and the volume of the living room speaker 1 and the living room speaker 2 are 15 and the above The main device in the wireless speaker system is a bedroom speaker, and the bedroom speaker receives the control command sent by the mobile terminal for setting the volume of the wireless speaker system, and then sends the control command to the living room speaker through the private network of the wireless speaker system. And living room speakers 2.
上述无线音箱系统中的无线音箱的场景类型例如可以包括无线音箱所属的房间类型或地点类型,该房间类型或地点类型具体可以是:卧室、客厅、书房、厨房、花园、浴室等常见家庭房间类型或地点类型中的一种或多种。The scene type of the wireless speaker in the wireless speaker system may include, for example, a room type or a location type to which the wireless speaker belongs, and the room type or location type may specifically be: a common family room type such as a bedroom, a living room, a study room, a kitchen, a garden, a bathroom, and the like. Or one or more of the location types.
例如,一个无线音箱系统包括“卧室1”、“卧室2”和“书房”这三台无线音箱,则该无线音箱系统中的无线音箱的场景类型所组成的场景类型组合为(卧室;书房)。For example, a wireless speaker system includes three wireless speakers, "bedroom 1", "bedroom 2" and "study room", and the scene type of the wireless speaker in the wireless speaker system is a combination of scene types (bedroom; study). .
又如,一个无线音箱系统包括“客厅1”、“客厅2”和“客厅3”这三台无线音箱,则该无线音箱系统中的无线音箱的场景类型所组成的场景类型组合为(客厅)。For example, a wireless speaker system includes three wireless speakers, "living room 1", "living room 2" and "living room 3", and the scene type composed of the scene types of the wireless speaker in the wireless speaker system is combined (living room). .
S302,向上述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应,其中,上述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,上述第一歌曲目录集合中的歌曲目录与上述场景类型组合对应,上述第二歌曲目录集合中的歌曲目录与上述音乐播放起始时间所属的目录创建时段对应,上述N为正整数。S302, sending a song recommendation response carrying the N reference song directories to the mobile terminal, where the song directory set formed by the N reference song directories is an intersection of the first song directory set and the second song directory set, where The song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to the directory creation period to which the music playing start time belongs, and the N is a positive integer.
本发明实施例中,上述服务器在获取移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求之后,向上述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应之前,
可以首先查询与上述场景类型组合对应的歌曲目录以形成第一歌曲目录集合,其次,查询与上述音乐播放起始时间所属的目录创建时段对应的歌曲目录以形成第二歌曲目录集合,最后,获取上述第一歌曲目录集合与上述第二歌曲目录集合的交集,该交集中包括上述N个参考歌曲目录。In the embodiment of the present invention, after acquiring the song recommendation request that is sent by the mobile terminal and carrying the scene type combination and the time information, the server sends a song recommendation response carrying the N reference song directories to the mobile terminal.
The song directory corresponding to the combination of the scene types described above may be first queried to form a first song directory set, and secondly, the song directory corresponding to the directory creation period to which the music playback start time belongs may be queried to form a second song directory set, and finally, obtained. The intersection of the first song directory set and the second song directory set, the intersection includes the N reference song directories.
具体实现中,上述目录创建时段可以是基于存储的多个歌曲目录创建记录中的用户创建歌曲目录的创建时间所确定的,也可以由用户进行预先设定。In a specific implementation, the foregoing directory creation period may be determined based on a creation time of the user-created song directory in the stored plurality of song directory creation records, or may be preset by the user.
举例来说,假设移动终端获取存储的5个歌曲目录创建记录如下:For example, suppose the mobile terminal obtains the stored 5 song directory creation records as follows:
(歌曲目录A,创建时间:09:00)、(歌曲目录B,创建时间:08:45)(Song catalog A, creation time: 09:00), (song directory B, creation time: 08:45)
(歌曲目录C,创建时间:08:55)、(歌曲目录D,创建时间:09:08)(Song directory C, creation time: 08:55), (song directory D, creation time: 09:08)
(歌曲目录E,创建时间:09:10)(Song directory E, creation time: 09:10)
上述歌曲目录A、歌曲目录B、歌曲目录C、歌曲目录D、歌曲目录E中任意两个歌曲目录的创建时间的时间差值均小于预设阈值(假设为30分钟),移动终端可以确定早晨场景的目录创建时段为早晨目录创建时段(目录创建起始节点08:45,目录创建终止节点,09:10)。The time difference between the creation time of any two song directories in the song directory A, the song directory B, the song directory C, the song directory D, and the song directory E is less than a preset threshold (assumed to be 30 minutes), and the mobile terminal can determine the morning. The directory creation period of the scene is the morning directory creation period (directory creation start node 08:45, directory creation termination node, 09:10).
又举例来说,用户按照使用习惯设置目录创建时段如下:For another example, the user sets the directory creation period according to the usage habits as follows:
第一目录创建时段(目录创建起始节点:7:40,目录创建终止节点:8:30)The first directory creation period (directory creation start node: 7:40, directory creation termination node: 8:30)
第二目录创建时段(目录创建起始节点:8:30,目录创建终止节点:12:30)Second directory creation period (directory creation start node: 8:30, directory creation termination node: 12:30)
第三目录创建时段(目录创建起始节点:12:30,目录创建终止节点:18:30)The third directory creation period (directory creation start node: 12:30, directory creation termination node: 18:30)
第四目录创建时段(目录创建起始节点:18:30,目录创建终止节点:24:00)The fourth directory creation period (directory creation start node: 18:30, directory creation termination node: 24:00)
第五目录创建时段(目录创建起始节点:24:00,目录创建终止节点:7:40)。The fifth directory creation period (directory creation start node: 24:00, directory creation termination node: 7:40).
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。
It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
基于图1所示的网络构架,本发明实施例公开了的又一种应用于无线音箱系统的歌曲目录设置方法。请参阅图4,图4是本发明实施例公开的又一种歌曲目录设置方法的流程示意图。如图4所示,该歌曲目录设置方法可以包括以下步骤。Based on the network architecture shown in FIG. 1 , another embodiment of the present invention discloses a song directory setting method applied to a wireless speaker system. Please refer to FIG. 4. FIG. 4 is a schematic flowchart diagram of still another method for setting a song directory according to an embodiment of the present invention. As shown in FIG. 4, the song directory setting method may include the following steps.
S401,移动终端向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息至少包括上述无线音箱系统的音乐播放起始时间。S401: The mobile terminal sends a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the music of the wireless speaker system. Play start time.
S402,服务器查询与上述场景类型组合对应的歌曲目录以形成第一歌曲目录集合;查询与上述音乐播放起始时间所属的目录创建时段对应的歌曲目录以形成第二歌曲目录集合;提取上述第一歌曲目录集合和上述第二歌曲目录集合的集合中的N个参考歌曲目录,上述N为正整数。S402, the server queries a song directory corresponding to the combination of the scene types to form a first song directory set; queries a song directory corresponding to the directory creation period to which the music playing start time belongs to form a second song directory set; and extracts the first The N directory of the song directory and the N reference song directories in the set of the second song directory set, wherein the N is a positive integer.
S403,上述服务器向上述移动终端发送携带有上述N个歌曲目录的歌曲推荐响应。S403. The server sends a song recommendation response carrying the N song directories to the mobile terminal.
S404,上述移动终端根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。S404. The mobile terminal sets the song directory of the wireless speaker system according to the N reference song directories.
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
基于图1所示的网络构架,本发明实施例公开了的一种移动终端。请参阅图5,图5是本发明实施例公开的一种移动终端的结构示意图。如图5所示,该移动终端可以包括发送单元501、接收单元502、设置单元503,其中:Based on the network architecture shown in FIG. 1, a mobile terminal disclosed in the embodiment of the present invention. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the mobile terminal may include a sending unit 501, a receiving unit 502, and a setting unit 503, where:
上述发送单元501,用于向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息至少包括上述无线音箱系统的音乐播放起始时间;The sending unit 501 is configured to send, to the server, a song recommendation request carrying a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in a wireless speaker system, and the time information includes at least the wireless speaker. The music playback start time of the system;
上述接收单元502,用于接收上述服务器响应上述歌曲推荐请求而发送的携带有N个
参考歌曲目录的歌曲推荐响应,其中,上述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,上述第一歌曲目录集合中的歌曲目录与上述场景类型组合对应,上述第二歌曲目录集合中的歌曲目录与上述音乐播放起始时间所属的目录创建时段对应,上述N为正整数;The receiving unit 502 is configured to receive, by the server, the N messages that are sent in response to the song recommendation request.
Referring to the song recommendation response of the song catalog, wherein the song catalog set formed by the N reference song catalogs is an intersection of the first song catalog set and the second song catalog set, wherein the song catalog in the first song catalog set is Corresponding to the combination of the scene types, the song directory in the second song directory set corresponds to the directory creation period to which the music playing start time belongs, and the N is a positive integer;
上述设置单元503,用于根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。The setting unit 503 is configured to set a song directory of the wireless speaker system according to the N reference song directories.
可选的,本发明实施例中,上述设置单元503具体用于:Optionally, in the embodiment of the present invention, the setting unit 503 is specifically configured to:
在上述N等于1的情况下,利用上述参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置;In the case where the above N is equal to 1, the song list of the wireless speaker system is set by using the M songs in the reference song directory;
在上述N大于1的情况下,按照歌曲重复个数由高到低的顺序提取上述N个参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置;或者,随机提取上述N个参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置,上述M为正整数。In the case where the above N is greater than 1, the M songs in the N reference song directories are extracted in order from the highest number of song repetitions to set the song directory of the wireless speaker system; or, the N pieces are randomly extracted. The M songs in the reference song list are set to the song directory of the above wireless speaker system, and the above M is a positive integer.
可以理解的是,本实施例的移动终端的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the function of the mobile terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, and details are not described herein again.
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
基于图1所示的网络构架,本发明实施例公开了的一种服务器。请参阅图6,图6是本发明实施例公开的一种服务器的结构示意图。如图6所示,该服务器可以包括接收单元601、发送单元602,其中:Based on the network architecture shown in FIG. 1, a server disclosed in the embodiment of the present invention. Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in FIG. 6, the server may include a receiving unit 601 and a sending unit 602, where:
接收单元601,用于接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息至少包括上述无线音箱系统的音乐播放起始时间;
The receiving unit 601 is configured to receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, where the time information includes at least the wireless The music playback start time of the speaker system;
发送单元602,用于向上述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应,其中,上述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,上述第一歌曲目录集合中的歌曲目录与上述场景类型组合对应,上述第二歌曲目录集合中的歌曲目录与上述音乐播放起始时间所属的目录创建时段对应,上述N为正整数。The sending unit 602 is configured to send, to the mobile terminal, a song recommendation response that carries N reference song directories, where the song directory set formed by the N reference song directories is a first song directory set and a second song directory set. An intersection, wherein the song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is a positive integer .
可选的,本发明实施例中,上述服务器还包括:Optionally, in the embodiment of the present invention, the foregoing server further includes:
第一查询单元,用于查询与上述场景类型组合对应的歌曲目录以形成第一歌曲目录集合;a first query unit, configured to query a song directory corresponding to the combination of the scene types to form a first song directory set;
第二查询单元,用于查询与上述音乐播放起始时间所属的目录创建时段对应的歌曲目录以形成第二歌曲目录集合。The second query unit is configured to query a song directory corresponding to the directory creation period to which the music playing start time belongs to form a second song directory set.
可以理解的是,本实施例的移动终端的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the function of the mobile terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, and details are not described herein again.
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
基于图1所示的网络构架,本发明实施例公开了的另一种移动终端。请参阅图7,图7是本发明实施例公开的另一种移动终端的结构示意图。如图7所示,该移动终端可以包括:至少一个处理器701,例如CPU,至少一个接收器703,至少一个存储器704,至少一个发送器705,至少一个通信总线702。其中,通信总线702用于实现这些组件之间的连接通信。其中,本发明实施例中装置的接收器703和发送器705可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器704可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器704可选的还可以是至少一个位于远离前述处理器701的存储装置。存储器
704中存储一组程序代码,且处理器701用于调用存储器中存储的程序代码,用于执行以下操作:Another mobile terminal disclosed in the embodiment of the present invention is based on the network architecture shown in FIG. Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. As shown in FIG. 7, the mobile terminal can include at least one processor 701, such as a CPU, at least one receiver 703, at least one memory 704, at least one transmitter 705, and at least one communication bus 702. Among them, the communication bus 702 is used to implement connection communication between these components. The receiver 703 and the transmitter 705 of the device in the embodiment of the present invention may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices. The memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701. Memory
A set of program code is stored in 704, and the processor 701 is configured to call program code stored in the memory for performing the following operations:
向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息包括上述无线音箱系统的音乐播放起始时间;Sending a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes a music playing start time of the wireless speaker system;
接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,其中,上述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,上述第一歌曲目录集合中的歌曲目录与上述场景类型组合对应,上述第二歌曲目录集合中的歌曲目录与上述音乐播放起始时间所属的目录创建时段对应,上述N为正整数;Receiving a song recommendation response carrying the N reference song directories sent by the server in response to the song recommendation request, wherein the song directory set formed by the N reference song directories is a first song directory set and a second song directory set An intersection, wherein the song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is a positive integer ;
根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。The song directory of the wireless speaker system is set according to the above-mentioned N reference song directories.
可选的,上述处理器701根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置的具体实现方式包括:在上述N等于1的情况下,利用上述参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置;Optionally, the specific implementation manner that the processor 701 sets the song directory of the wireless speaker system according to the N reference song directories includes: using the M songs in the reference song directory in a case where the N is equal to 1 Setting the song list of the above wireless speaker system;
在上述N大于1的情况下,按照歌曲重复个数由高到低的顺序提取上述N个参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置;或者,随机提取上述N个参考歌曲目录中的M首歌曲对上述无线音箱系统的歌曲目录进行设置,上述M为正整数。In the case where the above N is greater than 1, the M songs in the N reference song directories are extracted in order from the highest number of song repetitions to set the song directory of the wireless speaker system; or, the N pieces are randomly extracted. The M songs in the reference song list are set to the song directory of the above wireless speaker system, and the above M is a positive integer.
可选的,上述处理器701根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置之后,还用于:控制上述无线音箱系统的无线音箱播放设置后的上述歌曲目录中的歌曲。Optionally, after the processor 701 sets the song directory of the wireless speaker system according to the N reference song directories, the processor 701 is further configured to: control a song in the song directory after the wireless speaker playing setting of the wireless speaker system.
可以理解的是,本实施例的移动终端的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the function of the mobile terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, and details are not described herein again.
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌
曲目录的便捷性和准确性,提升用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Add songs, which will help improve the mobile terminal to set the wireless speaker system song
The convenience and accuracy of the music catalog enhances the user experience.
请参阅图8,图8是本发明实施例公开的一种歌曲目录设置系统的网络架构示意图。如图8所示,该歌曲目录设置可以包括移动终端和服务器,其中,Please refer to FIG. 8. FIG. 8 is a schematic diagram of a network architecture of a song directory setting system according to an embodiment of the present invention. As shown in FIG. 8, the song directory setting may include a mobile terminal and a server, where
上述移动终端,用于向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,上述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,上述时间信息至少包括上述无线音箱系统的音乐播放起始时间。The mobile terminal is configured to send a song recommendation request carrying a scene type combination and time information to the server, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless speaker system. The beginning of the music playback.
上述服务器,用于查询与上述场景类型组合对应的歌曲目录以形成第一歌曲目录集合;查询与上述音乐播放起始时间所属的目录创建时段对应的歌曲目录以形成第二歌曲目录集合;提取上述第一歌曲目录集合和上述第二歌曲目录集合的集合中的N个参考歌曲目录,上述N为正整数。The server is configured to query a song directory corresponding to the combination of the scene types to form a first song directory set; query a song directory corresponding to the directory creation period to which the music playback start time belongs to form a second song directory set; The N song directory set and the N reference song directories in the set of the second song directory set, wherein the N is a positive integer.
上述服务器,还用于向上述移动终端发送携带有上述N个歌曲目录的歌曲推荐响应。The server is further configured to send, to the mobile terminal, a song recommendation response that carries the N song directories.
上述移动终端,还用于根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。The mobile terminal is further configured to set a song directory of the wireless speaker system according to the N reference song directories.
可以看出,本发明实施例中,移动终端首先向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,其次,接收上述服务器响应上述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,最后,根据上述N个参考歌曲目录对上述无线音箱系统的歌曲目录进行设置。一方面,第一歌曲目录集合中的歌曲目录与无线音箱系统的无线音箱的场景类型组合对应,故而第一歌曲目录集合中的歌曲更容易包括用户倾向设置的歌曲,另一方面,由于用户在不同目录创建时段习惯创建的歌曲目录往往是不同的,而第二歌曲目录集合中的歌曲目录与用户设置的无线音箱系统的音乐播放起始时间所属的目录创建时段对应,故而第二歌曲目录集合中的歌曲目录更容易符合用户的听歌习惯,因此第一歌曲目录集合和第二歌曲目录集合的交集中的歌曲目录中的歌曲一般更符合用户的需求,且用户无需手动创建歌曲目录并逐个添加歌曲,从而有利于提升移动终端设置无线音箱系统歌曲目录的便捷性和准确性,提升用户体验。It can be seen that, in the embodiment of the present invention, the mobile terminal first sends a song recommendation request carrying the scene type combination and time information to the server, and secondly, receiving the directory carrying the N reference songs sent by the server in response to the song recommendation request. The song recommendation response, and finally, the song directory of the wireless speaker system is set according to the N reference song directories. In one aspect, the song catalog in the first song catalog collection corresponds to the scene type combination of the wireless speaker system wireless speaker system, so the songs in the first song catalog set are more likely to include the songs that the user tends to set, and on the other hand, because the user is The song directories that are customarily created in different directory creation periods are often different, and the song directories in the second song directory collection correspond to the directory creation period to which the music playback start time of the wireless speaker system set by the user belongs, so the second song directory collection The song catalog in the song is more easily conformed to the user's listening habits, so the songs in the song catalogue of the first song catalog collection and the second song catalog collection are generally more in line with the user's needs, and the user does not need to manually create a song catalog and one by one. Adding songs will help improve the convenience and accuracy of setting the song list of the wireless speaker system on the mobile terminal and enhance the user experience.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部
分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the respective embodiments have different emphasis, and the parts not described in detail in a certain embodiment.
For the points, refer to the related description of other embodiments.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
以上对本发明实施例所提供的运动参数处理方法及相关设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。
The motion parameter processing method and related equipment provided by the embodiments of the present invention are described in detail above. The principles and implementation manners of the present invention are described in the following. The description of the above embodiments is only for helping to understand the present invention. The method and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, the content of the present specification should not be construed as the present invention. limits.
Claims (10)
- 一种歌曲目录设置方法,其特征在于,包括:A song directory setting method, comprising:向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息包括所述无线音箱系统的音乐播放起始时间;Sending a song recommendation request carrying a scene type combination and time information to the server, the scene type combination being composed of a scene type of a wireless speaker in the wireless speaker system, the time information including music playback of the wireless speaker system Start time接收所述服务器响应所述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数;Receiving a song recommendation response carrying the N reference song directories sent by the server in response to the song recommendation request, wherein the song directory set formed by the N reference song directories is a first song directory set and a second song An intersection of a collection of records, wherein a song directory in the first song directory collection corresponds to the scene type combination, a song directory in the second song directory collection, and a directory creation period to which the music playback start time belongs Correspondingly, the N is a positive integer;根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置。Setting a song list of the wireless speaker system according to the N reference song directories.
- 根据权利要求1所述的方法,其特征在于,所述根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置,包括:The method according to claim 1, wherein the setting of a song directory of the wireless speaker system according to the N reference song directories comprises:在所述N等于1的情况下,利用所述参考歌曲目录中的M首歌曲对所述无线音箱系统的歌曲目录进行设置;In the case where the N is equal to 1, the song list of the wireless speaker system is set by using M songs in the reference song directory;在所述N大于1的情况下,按照歌曲重复个数由高到低的顺序提取所述N个参考歌曲目录中的M首歌曲对所述无线音箱系统的歌曲目录进行设置;或者,随机提取所述N个参考歌曲目录中的M首歌曲对所述无线音箱系统的歌曲目录进行设置,所述M为正整数。In the case where the N is greater than 1, the M songs in the N reference song directories are extracted in descending order of the number of song repetitions to set the song directory of the wireless speaker system; or, random extraction The M songs in the N reference song catalogs are set to the song catalog of the wireless speaker system, and the M is a positive integer.
- 根据权利要求1或2任一项所述的方法,其特征在于,所述根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置之后,所述方法还包括:The method according to any one of claims 1 to 2, wherein after the setting of the song directory of the wireless speaker system according to the N reference song directories, the method further comprises:控制所述无线音箱系统的无线音箱播放设置后的所述歌曲目录中的歌曲。Controlling the wireless speaker of the wireless speaker system to play the songs in the song catalog after setting.
- 一种歌曲目录设置方法,其特征在于,包括:A song directory setting method, comprising:接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息至少包括所述无线音箱系统的音乐播放起始时间;Receiving, by the mobile terminal, a song recommendation request carrying a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless speaker system Music playback start time;向所述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数。Transmitting, to the mobile terminal, a song recommendation response carrying a list of N reference songs, wherein the set of song directories formed by the N reference song directories is an intersection of a first song directory set and a second song directory set, where The song directory in the first song directory set corresponds to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, and the N is positive Integer.
- 根据权利要求4所述的方法,其特征在于,所述接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求之后,所述向所述移动终端发送携带有N个参考歌曲目 录的歌曲推荐响应之前,所述方法还包括:The method according to claim 4, wherein after receiving the song recommendation request sent by the mobile terminal and carrying the scene type combination and time information, the sending to the mobile terminal sends the N reference songs Before the recorded song recommendation response, the method further includes:查询与所述场景类型组合对应的歌曲目录以形成第一歌曲目录集合;Querying a song directory corresponding to the scene type combination to form a first song directory set;查询与所述音乐播放起始时间所属的目录创建时段对应的歌曲目录以形成第二歌曲目录集合。The song directory corresponding to the directory creation period to which the music playback start time belongs is queried to form a second song directory set.
- 一种移动终端,其特征在于,包括:A mobile terminal, comprising:发送单元,用于向服务器发送携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息至少包括所述无线音箱系统的音乐播放起始时间;a sending unit, configured to send, to the server, a song recommendation request carrying a scene type combination and a time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least the wireless The music playback start time of the speaker system;接收单元,用于接收所述服务器响应所述歌曲推荐请求而发送的携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数;a receiving unit, configured to receive a song recommendation response that is sent by the server in response to the song recommendation request, and the song directory set formed by the N reference song directories is a first song directory An intersection of the set and the second song directory set, wherein the song directory in the first song directory set corresponds to the scene type combination, the song directory in the second song directory set and the music play start time The associated directory creation period corresponds to, and the N is a positive integer;设置单元,用于根据所述N个参考歌曲目录对所述无线音箱系统的歌曲目录进行设置。And a setting unit, configured to set a song directory of the wireless speaker system according to the N reference song directories.
- 根据权利要求6所述的移动终端,其特征在于,所述设置单元具体用于:The mobile terminal according to claim 6, wherein the setting unit is specifically configured to:在所述N等于1的情况下,利用所述参考歌曲目录中的M首歌曲对所述无线音箱系统的歌曲目录进行设置;In the case where the N is equal to 1, the song list of the wireless speaker system is set by using M songs in the reference song directory;在所述N大于1的情况下,按照歌曲重复个数由高到低的顺序提取所述N个参考歌曲目录中的M首歌曲对所述无线音箱系统的歌曲目录进行设置;或者,随机提取所述N个参考歌曲目录中的M首歌曲对所述无线音箱系统的歌曲目录进行设置,所述M为正整数。In the case where the N is greater than 1, the M songs in the N reference song directories are extracted in descending order of the number of song repetitions to set the song directory of the wireless speaker system; or, random extraction The M songs in the N reference song catalogs are set to the song catalog of the wireless speaker system, and the M is a positive integer.
- 一种服务器,其特征在于,包括:A server, comprising:接收单元,用于接收移动终端发送的携带有场景类型组合和时间信息的歌曲推荐请求,所述场景类型组合是无线音箱系统中的无线音箱的场景类型所组成的,所述时间信息至少包括所述无线音箱系统的音乐播放起始时间;a receiving unit, configured to receive a song recommendation request that is sent by the mobile terminal and carries a scene type combination and time information, where the scene type combination is composed of a scene type of a wireless speaker in the wireless speaker system, and the time information includes at least The music playback start time of the wireless speaker system;发送单元,用于向所述移动终端发送携带有N个参考歌曲目录的歌曲推荐响应,其中,所述N个参考歌曲目录所形成的歌曲目录集合为第一歌曲目录集合与第二歌曲目录集合的交集,其中,所述第一歌曲目录集合中的歌曲目录与所述场景类型组合对应,所述第二歌曲目录集合中的歌曲目录与所述音乐播放起始时间所属的目录创建时段对应,所述N为正整数。a sending unit, configured to send, to the mobile terminal, a song recommendation response that carries N reference song directories, where the song directory set formed by the N reference song directories is a first song directory set and a second song directory set An intersection of the song list in the first song directory set corresponding to the scene type combination, and the song directory in the second song directory set corresponds to a directory creation period to which the music playing start time belongs, The N is a positive integer.
- 根据权利要求8所述的服务器,其特征在于,所述服务器还包括:The server according to claim 8, wherein the server further comprises:第一查询单元,用于查询与所述场景类型组合对应的歌曲目录以形成第一歌曲目录集合; a first query unit, configured to query a song directory corresponding to the scene type combination to form a first song directory set;第二查询单元,用于查询与所述音乐播放起始时间所属的目录创建时段对应的歌曲目录以形成第二歌曲目录集合。The second query unit is configured to query a song directory corresponding to the directory creation period to which the music playing start time belongs to form a second song directory set.
- 一种歌曲目录设置系统,其特征在于,包括:A song directory setting system, comprising:如权利要求6或7任一项所述的移动终端和权利要求8或9任一项所述的服务器。 A mobile terminal according to any one of claims 6 or 7 and a server according to any one of claims 8 or 9.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510402363.2A CN105095410A (en) | 2015-07-09 | 2015-07-09 | Setting method, mobile terminal, server and system of song menu |
CN201510402363.2 | 2015-07-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017004928A1 true WO2017004928A1 (en) | 2017-01-12 |
Family
ID=54575847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/096063 WO2017004928A1 (en) | 2015-07-09 | 2015-11-30 | Song catalog setting method, mobile terminal, server, and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105095410A (en) |
WO (1) | WO2017004928A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111104088A (en) * | 2018-10-25 | 2020-05-05 | 阿里巴巴集团控股有限公司 | Method and system for broadcasting information through voice equipment |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095410A (en) * | 2015-07-09 | 2015-11-25 | 广东欧珀移动通信有限公司 | Setting method, mobile terminal, server and system of song menu |
CN105828210A (en) * | 2016-03-15 | 2016-08-03 | 武汉斗鱼网络科技有限公司 | Bullet screen based song-on-demand method and device |
CN107948408B (en) * | 2017-11-14 | 2020-10-09 | 维沃移动通信有限公司 | Media file playing method and device |
CN110704671B (en) * | 2019-10-17 | 2024-04-05 | 腾讯科技(深圳)有限公司 | Music playing control method, device and storage medium |
CN111464595B (en) * | 2020-03-17 | 2022-10-18 | 云知声智能科技股份有限公司 | Method and device for configuring personalized scene by cloud |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090077052A1 (en) * | 2006-06-21 | 2009-03-19 | Concert Technology Corporation | Historical media recommendation service |
CN102543119A (en) * | 2011-12-31 | 2012-07-04 | 北京百纳威尔科技有限公司 | Scene-based music playing processing method and music playing device |
CN104636448A (en) * | 2015-01-23 | 2015-05-20 | 广东欧珀移动通信有限公司 | Music recommendation method and device |
CN105095410A (en) * | 2015-07-09 | 2015-11-25 | 广东欧珀移动通信有限公司 | Setting method, mobile terminal, server and system of song menu |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120064820A1 (en) * | 2010-09-09 | 2012-03-15 | Bemmel Jeroen Van | Method and apparatus for targeted communications |
JP5994402B2 (en) * | 2012-06-06 | 2016-09-21 | ソニー株式会社 | Information processing apparatus, information processing method, program, information processing system, and content request terminal |
CN103218438B (en) * | 2013-04-18 | 2016-04-20 | 广东欧珀移动通信有限公司 | Method and the mobile terminal of Online Music recommended in broadcasting record based on mobile terminal |
CN103617075B (en) * | 2013-12-04 | 2017-02-01 | 百度在线网络技术(北京)有限公司 | application program recommending method, system and server |
CN104750685A (en) * | 2013-12-25 | 2015-07-01 | 上海博泰悦臻网络技术服务有限公司 | Music recommendation method and device of vehicle-mounted system |
CN103942270A (en) * | 2014-03-27 | 2014-07-23 | 上海斐讯数据通信技术有限公司 | Method for intelligently recommending application program and mobile terminal |
CN104008184A (en) * | 2014-06-10 | 2014-08-27 | 百度在线网络技术(北京)有限公司 | Method and device for pushing information |
CN104503670A (en) * | 2014-11-21 | 2015-04-08 | 深圳市金立通信设备有限公司 | Control method for music play function |
-
2015
- 2015-07-09 CN CN201510402363.2A patent/CN105095410A/en active Pending
- 2015-11-30 WO PCT/CN2015/096063 patent/WO2017004928A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090077052A1 (en) * | 2006-06-21 | 2009-03-19 | Concert Technology Corporation | Historical media recommendation service |
CN102543119A (en) * | 2011-12-31 | 2012-07-04 | 北京百纳威尔科技有限公司 | Scene-based music playing processing method and music playing device |
CN104636448A (en) * | 2015-01-23 | 2015-05-20 | 广东欧珀移动通信有限公司 | Music recommendation method and device |
CN105095410A (en) * | 2015-07-09 | 2015-11-25 | 广东欧珀移动通信有限公司 | Setting method, mobile terminal, server and system of song menu |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111104088A (en) * | 2018-10-25 | 2020-05-05 | 阿里巴巴集团控股有限公司 | Method and system for broadcasting information through voice equipment |
CN111104088B (en) * | 2018-10-25 | 2023-10-03 | 阿里巴巴集团控股有限公司 | Method and system for broadcasting information through voice equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105095410A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017004928A1 (en) | Song catalog setting method, mobile terminal, server, and system | |
US11282520B2 (en) | Method, apparatus and device for interaction of intelligent voice devices, and storage medium | |
WO2017004929A1 (en) | Sound box parameter configuration method, mobile terminal, server, and system | |
US9948980B2 (en) | Synchronizing audio content to audio and video devices | |
JP6420437B2 (en) | Multi-house hold support | |
JP6294501B2 (en) | Remote generation of playback queues for future events | |
JP6161791B2 (en) | Private queue for media playback system | |
JP6542419B2 (en) | Media system access via cellular network | |
US11474775B2 (en) | Sound effect adjustment method, device, electronic device and storage medium | |
EP3169086A1 (en) | Connection method for multimedia playing device, master device, control terminal, and system | |
EP3166343A1 (en) | Audio playing method and apparatus for multiple playing devices | |
JP2016523017A (en) | Media playback system playback queue transfer | |
CN105453179A (en) | Systems and methods to provide play/pause content | |
EP3091756B1 (en) | Method and system for setting alarm clock of wireless music system | |
CN107005800B (en) | Audio file transmission and receiving method, device, equipment and system | |
TWI747031B (en) | Video playback method, device and multimedia data playback method | |
CN105022297B (en) | A kind of sound box parameter collocation method, mobile terminal | |
WO2016150189A1 (en) | Volume control method, playing device, mobile terminal and system | |
WO2016155633A1 (en) | Information linkage method, device, server and system | |
CN106850734A (en) | The method for pushing of shared resource, device and electronic equipment | |
CN105025413B (en) | A kind of sound box parameter collocation method and mobile terminal | |
CN105005595A (en) | Sound playing method, mobile terminal, server and system | |
CN106303643A (en) | Remote control thereof and device | |
CN105006242B (en) | A kind of control method and terminal of wireless sound box system | |
CN118283369A (en) | Method and device for pushing continuous-mode audio and video, electronic equipment, storage medium and product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15897582 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15897582 Country of ref document: EP Kind code of ref document: A1 |