+

CN105070303B - Sound box grouping method and terminal - Google Patents

Sound box grouping method and terminal Download PDF

Info

Publication number
CN105070303B
CN105070303B CN201510527365.4A CN201510527365A CN105070303B CN 105070303 B CN105070303 B CN 105070303B CN 201510527365 A CN201510527365 A CN 201510527365A CN 105070303 B CN105070303 B CN 105070303B
Authority
CN
China
Prior art keywords
speaker
preset
speakers
target
grouping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510527365.4A
Other languages
Chinese (zh)
Other versions
CN105070303A (en
Inventor
林尚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510527365.4A priority Critical patent/CN105070303B/en
Publication of CN105070303A publication Critical patent/CN105070303A/en
Application granted granted Critical
Publication of CN105070303B publication Critical patent/CN105070303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The embodiment of the invention discloses a sound box grouping method and a terminal, wherein the sound box grouping method comprises the following steps: receiving a sound box grouping instruction input aiming at a target sound box in a target music system, wherein the target music system comprises the target sound box and M preset sound boxes; displaying a priority list containing the identifiers of the M preset sound boxes to respond to a sound box grouping instruction, wherein the arrangement sequence of the identifiers of the M preset sound boxes in the priority list is determined based on the frequency of historically establishing a sound box playing group by each preset sound box in the M preset sound boxes and a target sound box in a target music system; receiving a sound box selection instruction input in the priority list of the M preset sound boxes, and selecting N preset sound boxes from the M preset sound boxes according to the sound box selection instruction; and the target sound box and the selected N preset sound boxes are combined into a playing group for playing music. By adopting the invention, the sound box list can be arranged according to the combination frequency of the sound box history building play group, so that a user can have more pertinence when selecting sound boxes for grouping.

Description

一种音箱分组方法及终端A speaker grouping method and terminal

技术领域technical field

本发明涉及无线音箱领域,尤其涉及一种音箱分组方法及终端。The invention relates to the field of wireless speakers, in particular to a method for grouping speakers and a terminal.

背景技术Background technique

随着移动终端和无线传输技术的发展,无线音箱正越来越流行,无线音箱可以和智能手机、平板电脑等终端设备上安装的APP建立无线连接,并且可以播放用户通过APP选择的音乐。现有技术中存在一种无线音乐系统,它由多台处于不同区域的无线音箱组成,这些无线音箱通过无线通信技术组成一个无线音乐网络,该无线音乐网络由智能手机等智能终端来控制,智能手机通过WIFI等无线通信技术与无线音乐系统连接,智能手机安装了专用的APP后,可以访问和控制无线音乐系统,并能够把互联网或者本地的音乐推送到无线音乐系统进行播放。With the development of mobile terminals and wireless transmission technology, wireless speakers are becoming more and more popular. Wireless speakers can establish wireless connections with APP installed on terminal devices such as smartphones and tablets, and can play music selected by users through the APP. There is a wireless music system in the prior art, which is composed of multiple wireless speakers in different areas. These wireless speakers form a wireless music network through wireless communication technology. The wireless music network is controlled by smart terminals such as smart phones. The mobile phone is connected to the wireless music system through wireless communication technologies such as WIFI. After installing a dedicated APP on the smartphone, it can access and control the wireless music system, and can push Internet or local music to the wireless music system for playback.

无线音乐系统中的多台音箱可以作为一个整体工作,即无线音乐系统内的所有无线音箱同步播放相同的歌曲。此外,无线音乐系统内的无线音箱,还可以组成若干个播放组,每个播放组分别播放不同的音乐。如一个无线音乐系统中有A、B、C、D共4台无线音箱,其中,无线音箱A和B组成一个播放组1,无线音箱C和D组成一个播放组2。播放组1中的无线音箱A和B同步播放相同的歌曲,播放组2中的无线音箱C和D同步播放相同的歌曲,但播放组1和播放组2是相互独立的,他们可以播放相同的歌曲,也可以分别播放不同的歌曲。各个播放组可以接受不同用户的控制,也可以接受相同用户的控制。Multiple speakers in the wireless music system can work as a whole, that is, all wireless speakers in the wireless music system play the same song synchronously. In addition, the wireless speakers in the wireless music system can also form several play groups, and each play group plays different music. For example, there are 4 wireless speakers A, B, C, and D in a wireless music system. Among them, wireless speakers A and B form a playback group 1, and wireless speakers C and D form a playback group 2. Wireless speakers A and B in play group 1 play the same song synchronously, wireless speakers C and D in play group 2 play the same song synchronously, but play group 1 and play group 2 are independent of each other, they can play the same song songs, or play different songs separately. Each playback group can be controlled by different users or by the same user.

现有技术中,用户想要针对某个音箱组建播放组时,都是在所有的音箱列表中进行选择,若音乐系统中的音箱较多,用户界面中无规则地进行排列显示音箱列表将不便于用户进行选择操作,导致用户选择音箱时不具备针对性。In the prior art, when a user wants to set up a playback group for a certain speaker, he or she selects from all the speaker lists. If there are many speakers in the music system, it will not be possible to arrange and display the speaker list randomly in the user interface. It is convenient for the user to perform a selection operation, which leads to the lack of pertinence when the user selects a speaker.

发明内容Contents of the invention

本发明实施例所要解决的技术问题在于,提供一种音箱分组方法及终端, 终端可以根据音箱间历史组建音箱播放小组的组合频次,排列展示音箱列表,便于用户进行选择,使得用户在选择音箱进行分组时更有针对性。The technical problem to be solved by the embodiments of the present invention is to provide a speaker grouping method and a terminal, the terminal can arrange and display the speaker list according to the combination frequency of the speaker playing group according to the history of the speakers, so that the user can select the speaker, so that the user can select the speaker Grouping is more targeted.

第一方面,本发明实施例提供了一种音箱分组方法,所述方法包括:In the first aspect, the embodiment of the present invention provides a method for grouping speakers, the method comprising:

接收针对目标音乐系统中的目标音箱输入的音箱分组指令,所述目标音乐系统中包括所述目标音箱以及M台预设音箱,所述M为正整数;receiving a speaker grouping instruction input for a target speaker in a target music system, the target music system including the target speaker and M preset speakers, where M is a positive integer;

显示包含所述M台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述M台预设音箱的标识在所述优先级列表中的排列顺序基于所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次确定;displaying a priority list containing the identifiers of the M preset speakers in response to the speaker grouping instruction, and the arrangement order of the identifiers of the M preset speakers in the priority list is based on the M preset speakers The frequency determination of each preset sound box and the target sound box in the target music system to form a sound box playing group in history;

接收在所述M台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述M台预设音箱中选取N台预设音箱,所述N为正整数;receiving a speaker selection instruction input in the priority list of the M preset speakers, and selecting N preset speakers from the M preset speakers according to the speaker selection instruction, where N is a positive integer;

将所述目标音箱以及选取的所述N台预设音箱组建为播放组以供播放音乐。The target speakers and the selected N preset speakers are formed into a playback group for playing music.

结合第一方面,在第一方面的第一种可能的实现方式中,所述接收针对目标音乐系统中的目标音箱输入的音箱分组指令之前,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, before receiving the speaker grouping instruction input for the target speaker in the target music system, the method further includes:

创建所述目标音乐系统对应的历史组建音箱播放小组记录,所述历史组建音箱播放小组记录中记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。Create the history corresponding to the target music system to form a sound box playing group record, and record each preset sound box in the M preset sound boxes and the target sound box in the target sound box in the historical sound box playing group record The frequency with which loudspeaker playback groups have been formed historically in the music system.

结合第一方面,或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述M台预设音箱的标识在所述优先级列表中的排列顺序为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。With reference to the first aspect, or the first possible implementation of the first aspect, in the second possible implementation of the first aspect, the arrangement of the identifiers of the M preset speakers in the priority list The sequence is arranged from high to low or from low to high according to the frequency of each of the M preset speakers and the target speaker in the target music system historically forming a speaker playing group.

结合第一方面,或者第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述M台预设音箱的优先级列表中还记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。In combination with the first aspect, or the first possible implementation of the first aspect, in the third possible implementation of the first aspect, the priority list of the M preset speakers also records the M Each of the preset speakers and the target speaker historically form a speaker playing group in the target music system.

结合第一方面,在第一方面的第四种可能的实现方式中,所述显示包含所述M台预设音箱的标识的优先级列表以响应所述音箱分组指令,包括:With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the displaying a priority list including the identifiers of the M preset speakers in response to the speaker grouping instruction includes:

显示包含所述M台预设音箱中的Q台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述Q台预设音箱为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次进 行排列时,排序为前Q位的Q台预设音箱,所述Q为正整数;Displaying a priority list including the identification of Q preset speakers in the M preset speakers in response to the speaker grouping instruction, the Q preset speakers are according to each of the M preset speakers When arranging the frequencies of the preset speakers and the target speakers in the target music system to form a speaker playing group in history, the Q preset speakers of the first Q positions are sorted, and the Q is a positive integer;

所述接收在所述M台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述M台预设音箱中选取N台预设音箱,包括:The receiving the speaker selection instruction input in the priority list of the M preset speakers, and selecting N preset speakers from the M preset speakers according to the speaker selection instruction, including:

接收在所述Q台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述Q台预设音箱中选取N台预设音箱。receiving a speaker selection instruction input in the priority list of the Q preset speakers, and selecting N preset speakers from the Q preset speakers according to the speaker selection instruction.

结合第一方面,在第一方面的第五种可能的实现方式中,所述接收针对目标音乐系统中的目标音箱输入的音箱分组指令之后,所述方法还包括:With reference to the first aspect, in a fifth possible implementation of the first aspect, after receiving the speaker grouping instruction input for the target speaker in the target music system, the method further includes:

判断所述音箱分组指令是否为第一音箱分组指令或第二音箱分组指令;judging whether the speaker grouping instruction is the first speaker grouping instruction or the second speaker grouping instruction;

当判断出所述音箱分组指令为第一音箱分组指令时,响应所述第一音箱分组指令,从所述M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,所述P为正整数;When it is determined that the speaker grouping instruction is the first speaker grouping instruction, in response to the first speaker grouping instruction, select the P station preset speakers sorted as the top P positions from the priority list of the M preset speakers , the P is a positive integer;

将所述目标音箱以及选取的所述P台预设音箱组建为播放组以供播放音乐;The target speaker and the selected P station preset speakers are set up as a playback group for playing music;

当判断出所述音箱分组指令为第二音箱分组指令时,显示包含所述M台预设音箱的标识的优先级列表以响应所述第二音箱分组指令。When it is determined that the speaker grouping instruction is a second speaker grouping instruction, displaying a priority list including the identifications of the M preset speakers in response to the second speaker grouping instruction.

第二方面,本发明实施例提供了一种终端,所述终端包括:In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes:

第一接收模块,用于接收针对目标音乐系统中的目标音箱输入的音箱分组指令,所述目标音乐系统中包括所述目标音箱以及M台预设音箱,所述M为正整数;The first receiving module is configured to receive a speaker grouping instruction input for a target speaker in a target music system, the target music system including the target speaker and M preset speakers, where M is a positive integer;

显示模块,用于显示包含所述M台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述M台预设音箱的标识在所述优先级列表中的排列顺序基于所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次确定;A display module, configured to display a priority list containing the identifiers of the M preset speakers in response to the speaker grouping instruction, and the arrangement order of the identifiers of the M preset speakers in the priority list is based on the Each preset speaker in the M preset speakers and the frequency of the target speaker forming a speaker playing group in the target music system are determined;

第二接收模块,用于接收在所述M台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述M台预设音箱中选取N台预设音箱,所述N为正整数;The second receiving module is configured to receive a speaker selection instruction input in the priority list of the M preset speakers, and select N preset speakers from the M preset speakers according to the speaker selection instruction, so that Said N is a positive integer;

第一组建模块,用于将所述目标音箱以及选取的所述N台预设音箱组建为播放组以供播放音乐。The first building module is used to form the target speaker and the selected N preset speakers into a play group for playing music.

结合第二方面,在第二方面的第一种可能的实现方式中,所述终端还包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the terminal further includes:

创建模块,用于创建所述目标音乐系统对应的历史组建音箱播放小组记录,所述历史组建音箱播放小组记录中记录有所述M台预设音箱中的每一台预设音 箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。Create a module, used to create the history corresponding to the target music system speaker playing group record, the record of each preset speaker in the M preset speakers and the target is recorded in the historical speaker playing group record The frequency with which the speaker has historically formed a speaker playing group in the target music system.

结合第二方面,或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述M台预设音箱的标识在所述优先级列表中的排列顺序为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。With reference to the second aspect, or the first possible implementation of the second aspect, in the second possible implementation of the second aspect, the arrangement of the identifiers of the M preset speakers in the priority list The sequence is arranged from high to low or from low to high according to the frequency of each of the M preset speakers and the target speaker in the target music system historically forming a speaker playing group.

结合第二方面,或者第二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述M台预设音箱的优先级列表中还记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。In combination with the second aspect, or the first possible implementation of the second aspect, in the third possible implementation of the second aspect, the priority list of the M preset speakers also records the M Each of the preset speakers and the target speaker historically form a speaker playing group in the target music system.

结合第二方面,在第二方面的第四种可能的实现方式中,所述显示模块具体用于显示包含所述M台预设音箱中的Q台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述Q台预设音箱为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次进行排列时,排序为前Q位的Q台预设音箱,所述Q为正整数;With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the display module is specifically configured to display a priority list containing the identifiers of Q preset speakers among the M preset speakers in response to The speaker grouping instruction, the Q station preset speakers are performed according to the frequency of each preset speaker in the M preset speakers and the target speaker historically forming a speaker playing group in the target music system When arranging, the Q station preset speakers in the first Q position are sorted, and the Q is a positive integer;

所述第二接收模块具体用于接收在所述Q台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述Q台预设音箱中选取N台预设音箱。The second receiving module is specifically configured to receive a speaker selection instruction input in the priority list of the Q preset speakers, and select N preset speakers from the Q preset speakers according to the speaker selection instruction. .

结合第二方面,在第二方面的第五种可能的实现方式中,所述终端还包括:With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the terminal further includes:

判断模块,用于判断所述音箱分组指令是否为第一音箱分组指令或第二音箱分组指令;A judging module, configured to judge whether the speaker grouping instruction is a first speaker grouping instruction or a second speaker grouping instruction;

选取模块,用于当所述判断模块判断出所述音箱分组指令为第一音箱分组指令时,响应所述第一音箱分组指令,从所述M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,所述P为正整数;The selection module is used to respond to the first speaker grouping instruction when the judging module determines that the speaker grouping instruction is the first speaker grouping instruction, and select and sort the priority list of the M preset speakers as The preset speakers of P stations in the front P position, the P is a positive integer;

第二组建模块,用于将所述目标音箱以及选取的所述P台预设音箱组建为播放组以供播放音乐;The second building module is used to form the target speaker and the selected P station preset speakers into a playback group for playing music;

所述显示模块具体用于当所述判断模块判断出所述音箱分组指令为第二音箱分组指令时,显示包含所述M台预设音箱的标识的优先级列表以响应所述第二音箱分组指令。The display module is specifically configured to display a priority list containing the identifications of the M preset speakers when the judging module determines that the speaker grouping instruction is a second speaker grouping instruction in response to the second speaker grouping instruction.

通过实施本发明实施例,终端接收针对目标音乐系统中的目标音箱输入的音箱分组指令,显示该目标音乐系统中的M台预设音箱的优先级列表,接收用 户在该M台预设音箱的优先级列表中输入的音箱选择指令,根据该音箱选择指令从M台预设音箱中选取出N台预设音箱,将目标音箱以及选取出的N台预设音箱组建为播放组以供播放音乐,其中,M台预设音箱的优先级列表为按照各台预设音箱与目标音箱在目标音乐系统中历史组建音乐播放小组的频次进行排列的列表,因此,终端可以根据音箱间历史组建音箱播放小组的组合频次,排列展示音箱列表,便于用户进行选择,使得用户在选择音箱进行分组时更有针对性。By implementing the embodiment of the present invention, the terminal receives the speaker grouping instruction input for the target speakers in the target music system, displays the priority list of the M preset speakers in the target music system, and receives the user's list of the M preset speakers. According to the speaker selection instruction input in the priority list, N preset speakers are selected from the M preset speakers according to the speaker selection instruction, and the target speaker and the selected N preset speakers are formed into a playback group for playing music , wherein, the priority list of the M preset speakers is a list arranged according to the frequency of each preset speaker and the target speaker in the target music system to form a music playback group in the history, therefore, the terminal can form a speaker to play according to the history between the speakers The combination frequency of the group is arranged to display the list of speakers, which is convenient for users to choose and makes the user more targeted when selecting speakers for grouping.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例提供的一种音乐系统的网络构架示意图;Fig. 1 is a schematic diagram of a network architecture of a music system provided by an embodiment of the present invention;

图2是本发明实施例提供的音箱分组方法的第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the speaker grouping method provided by the embodiment of the present invention;

图3是本发明实施例提供的音箱分组方法的第二实施例的流程示意图;Fig. 3 is a schematic flow chart of the second embodiment of the speaker grouping method provided by the embodiment of the present invention;

图4是本发明实施例提供的音箱分组方法的第三实施例的流程示意图;Fig. 4 is a schematic flow chart of the third embodiment of the speaker grouping method provided by the embodiment of the present invention;

图5是本发明实施例提供的终端的第一实施例的结构示意图;FIG. 5 is a schematic structural diagram of a first embodiment of a terminal provided by an embodiment of the present invention;

图6是本发明实施例提供的终端的第二实施例的结构示意图;FIG. 6 is a schematic structural diagram of a second embodiment of a terminal provided by an embodiment of the present invention;

图7是本发明实施例提供的终端的第三实施例的结构示意图;FIG. 7 is a schematic structural diagram of a third embodiment of a terminal provided by an embodiment of the present invention;

图8是本发明实施例提供的终端的第四实施例的结构示意图。FIG. 8 is a schematic structural diagram of a fourth embodiment of a terminal provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚 地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相绑定的列出项目的任何或所有可能组合。It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

本发明实施例公开了一种音箱分组方法及终端,终端可以根据音箱间历史组建音箱播放小组的组合频次,排列展示音箱列表,便于用户进行选择,使得用户在选择音箱进行分组时更有针对性。以下分别进行详细说明。The embodiment of the present invention discloses a speaker grouping method and a terminal. The terminal can arrange and display the speaker list according to the combination frequency of the speaker playing group according to the history of the speakers, which is convenient for the user to select and makes the user more targeted when selecting the speakers for grouping. . Each will be described in detail below.

为了更好理解本发明实施例公开的一种音箱分组方法及终端,下面先对本发明实施例适用的网络构架进行描述。请参见图1,是本发明实施例提供的一种音乐系统的网络构架示意图。在图1所示的网络构架中,可以包括终端和音箱,其中,终端可以通过无线方式(如WI-FI、蓝牙)与音箱通信连接。在图1所示的网络构架中,终端可以包括移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(MobileInternet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各类终端设备,音箱的数目可以设置,本发明实施例不作限定。通过实施图1所示的网络构架,可以根据用户对音乐系统中各台音箱的使用频次,排列展示音箱列表。In order to better understand the speaker grouping method and the terminal disclosed in the embodiments of the present invention, the applicable network architecture of the embodiments of the present invention will be described below. Please refer to FIG. 1 , which is a schematic diagram of a network architecture of a music system provided by an embodiment of the present invention. In the network architecture shown in FIG. 1 , a terminal and a speaker may be included, wherein the terminal may communicate with the speaker through wireless means (such as WI-FI, Bluetooth). In the network architecture shown in Figure 1, terminals can include mobile phones, tablet computers, personal digital assistants (Personal Digital Assistant, PDA), mobile Internet devices (Mobile Internet Device, MID), smart wearable devices (such as smart watches, smart hands, etc.) Ring) and other various terminal devices, the number of speakers can be set, which is not limited in the embodiment of the present invention. By implementing the network architecture shown in FIG. 1 , the list of speakers can be arranged and displayed according to the frequency of use of each speaker in the music system by the user.

基于图1所示的网络构架,本发明实施例提供了一种音箱分组方法。请参见图2,是本发明实施例提供的音箱分组方法的第一实施例的流程示意图。该音箱分组方法可以包括但不限于以下步骤。Based on the network architecture shown in FIG. 1 , an embodiment of the present invention provides a method for grouping speakers. Please refer to FIG. 2 , which is a schematic flowchart of the first embodiment of the speaker grouping method provided by the embodiment of the present invention. The speaker grouping method may include but not limited to the following steps.

S201,接收针对目标音乐系统中的目标音箱输入的音箱分组指令,目标音乐系统中包括目标音箱以及M台预设音箱,M为正整数。S201. Receive a speaker grouping instruction input for target speakers in a target music system, where the target music system includes target speakers and M preset speakers, where M is a positive integer.

本发明实施例中,终端接收针对目标音乐系统中的目标音箱输入的音箱分组指令,该目标音乐系统包括目标音箱以及M台预设音箱。In the embodiment of the present invention, the terminal receives a speaker grouping instruction input for target speakers in a target music system, and the target music system includes target speakers and M sets of preset speakers.

举例来说,在终端中的应用软件中,提供一个用户界面,在用户界面中可以显示多个音乐系统对应的标识,具体显示方式可以为下拉菜单的显示方式,或者列表的显示方式,用户可以通过点击用户界面中显示的目标音乐系统对应的区域,触发显示该目标音乐系统中的全部音箱的音箱标识,当用户针对其中的某一台音箱触发音箱分组指令时,该台音箱即为目标音箱,其他音箱即为预设音箱。例如,用户界面中以列表的方式显示三个音乐系统对应的标识,分别为第一音乐系统、第二音乐系统和第三音乐系统,用户点击第一音乐系统对应的标识,则目标音乐系统即第一音乐系统,终端显示第一音乐系统中的全部音箱的标识,第一音乐系统包括5台音箱,分别为音箱1、音箱2、音箱3、音箱 4和音箱5,则终端的用户界面分别显示音箱1、音箱2、音箱3、音箱4和音箱5的标识,若用户点击音箱1触发音箱分组指令,则音箱1即为目标音箱,音箱2、音箱3、音箱4和音箱5即为4台预设音箱。For example, in the application software in the terminal, a user interface is provided, and the identifications corresponding to multiple music systems can be displayed in the user interface. The specific display method can be a drop-down menu display method, or a list display method, and the user can Click the area corresponding to the target music system displayed in the user interface to trigger the display of the speaker logos of all the speakers in the target music system. When the user triggers the speaker grouping command for one of the speakers, the speaker is the target speaker , the other speakers are the default speakers. For example, the logos corresponding to three music systems are displayed in a list in the user interface, namely the first music system, the second music system, and the third music system. When the user clicks on the logo corresponding to the first music system, the target music system is For the first music system, the terminal displays the logos of all the speakers in the first music system. The first music system includes five speakers, namely speaker 1, speaker 2, speaker 3, speaker 4 and speaker 5, and the user interface of the terminal is respectively Display the logos of speaker 1, speaker 2, speaker 3, speaker 4, and speaker 5. If the user clicks speaker 1 to trigger the speaker grouping command, speaker 1 is the target speaker, and speaker 2, speaker 3, speaker 4, and speaker 5 are 4 preset speakers.

S203,显示包含M台预设音箱的标识的优先级列表以响应音箱分组指令,M台预设音箱的标识在优先级列表中的排列顺序基于M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次确定。S203, displaying a priority list containing the identifiers of the M preset speakers in response to the speaker grouping instruction, the arrangement order of the identifiers of the M preset speakers in the priority list is based on each preset speaker in the M preset speakers Determine the frequency of historically forming a speaker playing group with the target speaker in the target music system.

本发明实施例中,当终端接收到针对目标音乐系统的目标音箱输入的音箱分组指令时,显示包含M台预设音箱的标识的优先级列表,M台预设音箱的标识在该优先级列表中的排列顺序基于该M台预设音箱中的每一台预设音箱与目标音箱在该目标音乐系统中历史组建音箱播放小组的频次确定,具体地,M台预设音箱的标识在该优先级列表中的排列顺序为按照该M台预设音箱中的每一台预设音箱与目标音箱在该目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。其中,音箱的标识可以包括但不限于:音箱名称、音箱编号或音箱的MAC(Media Access Control或者Medium Access Control,物理地址、硬件地址)地址。In the embodiment of the present invention, when the terminal receives the speaker grouping instruction inputted for the target speakers of the target music system, it displays a priority list containing the identifiers of M preset speakers, and the identifiers of M preset speakers are in the priority list The arrangement order in is determined based on the frequency of each preset speaker in the M preset speakers and the target speaker in the target music system historically forming a speaker playing group, specifically, the identification of the M preset speakers is in the priority The order of arrangement in the level list is according to the frequency of each preset speaker in the M preset speakers and the target speaker in the target music system to form a speaker playback group from high to low or from low to high. Wherein, the identification of the sound box may include but not limited to: sound box name, sound box number or MAC (Media Access Control or Medium Access Control, physical address, hardware address) address of the sound box.

举例来说,若上述第一音乐系统中的四台预设音箱中的每一台预设音箱与目标音箱(即音箱1)在第一音乐系统中历史组建音箱播放小组的频次依次为,音箱2:10次、音箱3:21次、音箱4:9次、音箱5:0次,则该四台预设音箱的标识在优先级列表中的排列顺序依次为:音箱3、音箱2、音箱4、音箱5。For example, if each of the four preset speakers in the above-mentioned first music system and the target speaker (i.e., speaker 1) have historically formed a speaker playing group in the first music system, the frequency of the speaker 2: 10 times, speaker 3: 21 times, speaker 4: 9 times, speaker 5: 0 times, then the order of the four preset speakers in the priority list is: speaker 3, speaker 2, speaker 4. Speaker 5.

优选地,该M台预设音箱的优先级列表中还记录有每一台预设音箱与目标音箱在该目标音乐系统中历史组建音箱播放小组的频次,以使用户更准确地知晓每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次,以便用户更好的进行选择。举例来说,上述四台音箱的优先级列表中依次显示:音箱3-21次、音箱2-10次、音箱4-9次、音箱5-0次。Preferably, the priority list of the M preset speakers also records the frequency of each preset speaker and the target speaker in the target music system to form a speaker playing group in history, so that the user can more accurately know each The preset frequency of speaker and target speaker in the target music system to form a speaker playback group in history, so that the user can make a better choice. For example, the priority lists of the above four speakers are sequentially displayed: speakers 3-21 times, speakers 2-10 times, speakers 4-9 times, and speakers 5-0 times.

优选地,终端显示包含M台预设音箱中的Q台预设音箱的标识的优先级列表以响应音箱分组指令,该Q台预设音箱为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次进行排列时排序为前Q位的Q台预设音箱,且Q为小于或等于M的正整数,即终端接收到针对目标音乐系统中的目标音箱的音箱分组指令后,不显示目标音箱系统中的全部预设音箱列表,而是只显示目标音箱系统中全部预设音箱中的Q台预设音 箱列表,以使用户界面中显示的列表更加简洁。其中,Q台预设音箱为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次由高到低排列时排序为前Q位的音箱,或者,Q台预设音箱为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次由低到高排列时排序为前Q位的音箱,举例来说,若上述第一音乐系统中包括5台音箱,音箱1为目标音箱,音箱2、音箱3、音箱4和音箱5与音箱1在第一音乐系统中历史组建音箱播放小组的频次依次为:音箱2:10次、音箱3:21次、音箱4:9次、音箱5:0次,将4台预设音箱根据频次由高到低进行排列,Q为3,则终端中显示的3台音箱的优先级列表依次为音箱3、音箱2、音箱4。Preferably, the terminal displays a priority list containing the identification of the Q preset speakers in the M preset speakers in response to the speaker grouping instruction, and the Q preset speakers are preset according to each of the M preset speakers. When the speaker and the target speaker are arranged in the frequency of the speaker playback group in the history of the target music system, they are sorted as the Q station preset speakers in the top Q position, and Q is a positive integer less than or equal to M, that is, the terminal receives the target music system. After the speaker group command of the target speaker in the target speaker system, instead of displaying the list of all preset speakers in the target speaker system, it only displays the list of preset speakers of station Q among all the preset speakers in the target speaker system, so that the user interface displays The list is more concise. Wherein, the preset speaker of station Q is the speaker ranked as the first Q speaker according to the frequency of each preset speaker in the preset speaker of M preset speakers and the target speaker in the target music system to form a speaker playback group from high to low. , or, the preset speakers of Q station are arranged according to the frequency of each preset speaker in the preset speakers of M preset speakers and the target speaker in the target music system to form a speaker playback group from low to high, and they are sorted as the top Q position Speakers, for example, if the above-mentioned first music system includes 5 speakers, speaker 1 is the target speaker, and speaker 2, speaker 3, speaker 4, speaker 5 and speaker 1 have historically formed a speaker playing group in the first music system The frequency order is: speaker 2: 10 times, speaker 3: 21 times, speaker 4: 9 times, speaker 5: 0 times, arrange the 4 preset speakers according to the frequency from high to low, Q is 3, then the terminal The priority list of the displayed 3 speakers is speaker 3, speaker 2, and speaker 4 in sequence.

S205,接收在M台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从M台预设音箱中选取N台预设音箱,N为正整数。S205. Receive a speaker selection instruction input in the priority list of M preset speakers, and select N preset speakers from the M preset speakers according to the speaker selection instruction, where N is a positive integer.

本发明实施例中,用户可以在终端显示的M台预设音箱的优先级列表中进行点击选择,以选取出至少一台预设音箱,从而进行音箱分组,终端接收用户在M台预设音箱的优先级列表中输入的音箱选择指令,根据该音箱选择指令从M台预设音箱中选取出N台预设音箱。其中,N为用户选取的音箱的台数。In the embodiment of the present invention, the user can click and select in the priority list of the M preset speakers displayed on the terminal to select at least one preset speaker, so as to group the speakers, and the terminal receives the user's M preset speakers According to the speaker selection instruction input in the priority list of the speaker selection instruction, N preset speakers are selected from the M preset speakers. Wherein, N is the number of speakers selected by the user.

举例来说,若终端的用户界面中显示了上述4台预设音箱的优先级列表:音箱3、音箱2、音箱4、音箱5,用户在用户界面中点击音箱3的显示区域以及点击音箱2的显示区域,则终端从4台预设音箱中选取出音箱3和音箱2。For example, if the user interface of the terminal displays the priority list of the above four preset speakers: speaker 3, speaker 2, speaker 4, and speaker 5, the user clicks the display area of speaker 3 in the user interface and clicks speaker 2 display area, the terminal selects speaker 3 and speaker 2 from the 4 preset speakers.

优选地,若终端的用户界面中显示了包含M台预设音箱中的Q台预设音箱的标识的优先级列表后,用户可以在Q台预设音箱的优先级列表中进行点击选择,以选取至少一台音箱。Preferably, if the user interface of the terminal displays a priority list containing the identification of the Q preset speakers in the M preset speakers, the user can click and select in the priority list of the Q preset speakers to Select at least one speaker.

S207,将目标音箱以及选取的N台预设音箱组建为播放组以供播放音乐。S207, forming the target speakers and the selected N preset speakers into a playback group for playing music.

本发明实施例中,当终端从M台预设音箱中选取出用户指示的N台预设音箱后,将目标音箱以及选取出的N台预设音箱组建为播放组,以供播放音乐。当目标音箱以及N台预设音箱接收到终端发送的播放音乐的指令后,启动播放音乐,该N台预设音箱与目标音箱历史组建音箱播放小组的频次依次累计加一。举例来说,若用户从上述4台音箱中选取出音箱3和音箱2,则终端将音箱1、音箱3和音箱2组建为一个音乐播放组,在接收到用户触发的播放音乐指令后,音箱1、音箱3和音箱2同步播放用户选中的音乐,同时,终端将音箱3与音箱1历史组建音箱播放小组的频次加1,将音箱2与音箱1历史组建音箱播放小组的频次加1。In the embodiment of the present invention, after the terminal selects N preset speakers indicated by the user from the M preset speakers, the target speaker and the selected N preset speakers are formed into a playback group for playing music. When the target speaker and the N preset speakers receive the instruction to play music sent by the terminal, they start to play the music, and the frequency of the N preset speakers and the target speakers forming a speaker playback group in history is sequentially increased by one. For example, if the user selects speaker 3 and speaker 2 from the above four speakers, the terminal forms speaker 1, speaker 3, and speaker 2 into a music playing group. 1. Speaker 3 and speaker 2 play the music selected by the user synchronously. At the same time, the terminal adds 1 to the frequency of speaker playback group formed by speaker 3 and speaker 1, and adds 1 to the frequency of speaker playback group formed by speaker 2 and speaker 1.

在图2的发明实施例中,终端接收针对目标音乐系统中的目标音箱输入的音箱分组指令,显示M台预设音箱的优先级列表,并接收用户针对该优先级列表输入的音箱选择指令,从M台预设音箱中选取出N台预设音箱,将目标音箱以及选取出的N台预设音箱组建为播放组以供播放音乐,其中,M台预设音箱的优先级列表为按照各台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次进行排列的列表,因此,终端可以根据音箱历史组建播放小组的组合频次,排列展示音箱列表,以使用户在选择音箱进行分组时更有针对性。In the embodiment of the invention in FIG. 2 , the terminal receives a speaker grouping instruction input for target speakers in the target music system, displays a priority list of M preset speakers, and receives a speaker selection instruction input by the user for the priority list, Select N preset speakers from the M preset speakers, and form the target speaker and the selected N preset speakers into a playback group for playing music, wherein the priority list of the M preset speakers is according to each Therefore, the terminal can arrange and display the list of speakers according to the combination frequency of the playback group formed by the speaker history in the target music system, so that the user can select the speakers for Grouping is more targeted.

进一步地,请参见图3,是本发明实施例提供的音箱分组方法的第二实施例的流程示意图,该音箱分组方法可以包括但不限于以下步骤。Further, please refer to FIG. 3 , which is a schematic flowchart of a second embodiment of a method for grouping speakers provided by an embodiment of the present invention. The method for grouping speakers may include but not limited to the following steps.

S301,创建目标音乐系统对应的历史组建音箱播放小组记录,历史组建音箱播放小组记录中记录有M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次。S301, creating a history corresponding to the target music system to form a speaker playback group record, where each preset speaker in the M preset speakers and the target speaker are recorded in the historical speaker playback group record in the target music system. frequency.

本发明实施例中,终端创建目标音乐系统的历史组建音箱播放小组记录,在历史组建音箱播放小组记录中记录有M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次。例如,终端创建了第一音乐系统中5台音箱的历史组建音箱播放小组记录,可参见下表1。In the embodiment of the present invention, the terminal creates the history of the target music system to form a speaker playing group record, and in the historical setting of the speaker playing group record, it is recorded that each of the M preset speakers and the target speaker are in the target music system History of how often speaker groups were formed. For example, the terminal has created the history of the five speakers in the first music system to form a speaker playing group record, as shown in Table 1 below.

表1Table 1

音箱标识speaker logo 频次frequency 音箱1-音箱2Speaker 1 - Speaker 2 10次10 times 音箱1-音箱3Speaker 1-Speaker 3 21次21 times 音箱1-音箱4Speaker 1 - Speaker 4 9次9 times 音箱1-音箱5Speaker 1-Speaker 5 0次0 times 音箱2-音箱3Speaker 2 - Speaker 3 6次6 times 音箱2-音箱4Speaker 2 - Speaker 4 10次10 times 音箱2-音箱5Speaker 2-Speaker 5 4次4 times 音箱3-音箱4Speaker 3 - Speaker 4 17次17 times 音箱3-音箱5Speaker 3 - Speaker 5 7次7 times 音箱4-音箱5Speaker 4 - Speaker 5 3次 3 times

或者,终端创建的历史组建音箱播放小组记录为历史创建分组的记录,每个记录中包括该次音箱分组时所包括的全部音箱,例如,可参见下表2。Alternatively, the historically created speaker group record created by the terminal is a record of historically created groups, and each record includes all the speakers included in the speaker group, for example, see Table 2 below.

表2Table 2

则根据表2中的记录也可以得到各台音箱历史创建分组的频次,依次为:音箱1-音箱2:6次、音箱1-音箱3:8次、音箱1-音箱4:4次、音箱1-音箱5:0次、音箱2-音箱3:10次、音箱2-音箱4:4次、音箱2-音箱5:1次、音箱3-音箱4:4次、音箱3-音箱5:1次、音箱4-音箱5:0次。Then, according to the records in Table 2, the frequency of creating groups in the history of each speaker can also be obtained, in order: speaker 1-speaker 2: 6 times, speaker 1-speaker 3: 8 times, speaker 1-speaker 4: 4 times, speaker 1-speaker 5: 0 times, speaker 2-speaker 3: 10 times, speaker 2-speaker 4: 4 times, speaker 2-speaker 5: 1 time, speaker 3-speaker 4: 4 times, speaker 3-speaker 5: 1 time, speaker 4-speaker 5: 0 times.

S303,接收针对目标音乐系统中的目标音箱输入的音箱分组指令,目标音乐系统中包括目标音箱以及M台预设音箱,M为正整数。S303. Receive a speaker grouping instruction input for target speakers in the target music system, where the target music system includes target speakers and M preset speakers, where M is a positive integer.

S305,显示包含M台预设音箱的标识的优先级列表以响应音箱分组指令,M台预设音箱的标识在优先级列表中的排列顺序基于M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次确定。S305, displaying a priority list containing the identifiers of the M preset speakers to respond to the speaker grouping instruction, the arrangement order of the identifiers of the M preset speakers in the priority list is based on each preset speaker in the M preset speakers Determine the frequency of historically forming a speaker playing group with the target speaker in the target music system.

S307,接收在M台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从M台预设音箱中选取N台预设音箱,N为正整数。S307. Receive a speaker selection instruction input in the priority list of M preset speakers, and select N preset speakers from the M preset speakers according to the speaker selection instruction, where N is a positive integer.

S309,将目标音箱以及选取的N台预设音箱组建为播放组以供播放音乐。S309, forming the target speaker and the selected N preset speakers into a playback group for playing music.

本发明实施例中的S303-S309可参见图2所示实施例的S201-S207,此处不再赘述。For S303-S309 in the embodiment of the present invention, refer to S201-S207 in the embodiment shown in FIG. 2 , which will not be repeated here.

在图3的发明实施例中,终端预先创建目标音乐系统中M台预设音箱与目标音箱历史组建音箱播放小组记录,记录M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次,当终端接收针对目标音乐系统中的目标音箱输入的音箱分组指令时,显示M台预设音箱的优先级 列表,并接收用户针对该优先级列表输入的音箱选择指令,从M台预设音箱中选取出N台预设音箱,将目标音箱以及选取出的N台预设音箱组建为播放组以供播放音乐,其中,M台预设音箱的优先级列表为按照历史组建音箱播放小组记录中记录的各台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次进行排列的列表,因此,终端可以根据音箱历史组建播放小组的组合频次,排列展示音箱列表,以使用户在选择音箱进行分组时更有针对性。In the embodiment of the invention in Fig. 3, the terminal pre-creates the history of M preset speakers and target speakers in the target music system to form a speaker playing group record, and records each preset speaker in the M preset speakers and the target speaker in the target music system. The frequency of forming speaker playing groups in the history of the music system. When the terminal receives a speaker grouping command input for the target speaker in the target music system, it displays the priority list of M preset speakers and receives the input from the user for the priority list. Speaker selection command, select N preset speakers from M preset speakers, form the target speaker and the selected N preset speakers into a playback group for playing music, and the priority of M preset speakers The list is a list arranged according to the frequency of each preset speaker and the target speaker in the target music system recorded in the record of forming a speaker playback group in history. Therefore, the terminal can form a combination frequency of a playback group according to the speaker history , arrange and display the list of speakers, so that users can be more targeted when selecting speakers for grouping.

进一步地,请参见图4,是本发明实施例提供的音箱分组方法的第三实施例的流程示意图,该音箱分组方法可以包括但不限于以下步骤。Further, please refer to FIG. 4 , which is a schematic flowchart of a third embodiment of a method for grouping speakers provided by an embodiment of the present invention. The method for grouping speakers may include but not limited to the following steps.

S401,接收针对目标音乐系统中的目标音箱输入的音箱分组指令,目标音乐系统中包括目标音箱以及M台预设音箱,M为正整数。S401. Receive a speaker grouping instruction input for target speakers in a target music system, where the target music system includes target speakers and M preset speakers, where M is a positive integer.

本发明实施例中的S401可参见图2所示实施例的S201,此处不再赘述。For S401 in the embodiment of the present invention, reference may be made to S201 in the embodiment shown in FIG. 2 , and details are not repeated here.

S403,判断音箱分组指令是否为第一音箱分组指令或第二音箱分组指令。S403. Determine whether the speaker grouping instruction is the first speaker grouping instruction or the second speaker grouping instruction.

本发明实施例中,当终端接收到针对目标音乐系统输入的音箱分组指令时,终端判断该音箱分组指令为第一音箱分组指令还是第二音箱分组指令,其中,第一音箱分组指令为终端自动创建分组指令,第二分组指令为用户手动创建分组指令。若判断出该音箱分组指令为第一音箱分组指令,执行步骤S405,若判断出该音箱分组指令为第二音箱分组指令,执行步骤S409。In the embodiment of the present invention, when the terminal receives a speaker grouping instruction input for the target music system, the terminal judges whether the speaker grouping instruction is the first speaker grouping instruction or the second speaker grouping instruction, wherein the first speaker grouping instruction is the terminal automatic A group instruction is created, and the second group instruction manually creates a group instruction for the user. If it is determined that the speaker grouping instruction is the first speaker grouping instruction, execute step S405 ; if it is determined that the speaker grouping instruction is the second speaker grouping instruction, execute step S409 .

S405,响应第一音箱分组指令,从M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,P为正整数。S405. Responding to the first speaker grouping instruction, select P preset speakers sorted at the top P from the priority list of M preset speakers, where P is a positive integer.

本发明实施例中,当终端判断出该音箱分组指令为第一音箱分组指令,即终端自动创建分组指令时,终端自动从M台预设音箱的优先级列表中选取出排序为前P位的P台预设音箱,其中,P为用户预设的台数,或者终端系统默认设置的台数。具体地,当终端判断出该音箱分组指令为第一音箱分组指令时,终端发出预设提示信息,提示用户设置选取出的音箱的台数,终端接收用户输入的数目P,进而自动地从M台预设音箱的优先级列表中选取出排序为前P位的P台预设音箱,以采用与目标音箱历史组建音箱播放小组的频次较高的几台音箱与目标音箱组建音箱播放小组进行播放音乐;或者,用户预先设置自动创建分组时的音箱台数P,则当终端判断出该音箱分组指令为第一音箱分组指令时,直接从M台预设音箱的优先级列表中选取出排序为前P位的P台预设音箱。In the embodiment of the present invention, when the terminal determines that the speaker grouping command is the first speaker grouping command, that is, when the terminal automatically creates a grouping command, the terminal automatically selects the priority list of M preset speakers that are ranked as the top P. P sets of preset speakers, where P is the number preset by the user, or the number set by default by the terminal system. Specifically, when the terminal determines that the speaker grouping instruction is the first speaker grouping instruction, the terminal sends a preset prompt message, prompting the user to set the number of selected speakers, and the terminal receives the number P input by the user, and then automatically selects from M stations From the priority list of the preset speakers, select the P preset speakers sorted in the top P position, and use several speakers with a higher frequency of forming a speaker playback group with the target speaker history to form a speaker playback group with the target speaker to play music ; Or, the user presets the number P of speakers when automatically creating a group, then when the terminal determines that the speaker grouping command is the first speaker grouping command, it directly selects the priority list of M preset speakers and sorts it as the first P 1-bit P station preset speakers.

S407,将目标音箱以及选取的P台预设音箱组建为播放组以供播放音乐。S407, forming the target speaker and the selected preset speaker of station P into a playback group for playing music.

本发明实施例中,终端将目标音箱以及选取出的P台预设音箱自动组建为一个音乐播放组以供播放音乐。举例来说,若用户预先设置的P为2,则当终端接收到用户针对音箱1输入的音箱分组指令,且判断出该音箱分组指令为第一音箱分组指令时,终端自动从第一音乐系统中选取出与音箱1历史组建音箱播放小组的频次排序为前2位的音箱3和音箱2,进而直接将音箱1、音箱3和音箱2组建为播放组以供播放音乐,从而减少了用户的选择操作,提高了终端组建音箱分组的效率。In the embodiment of the present invention, the terminal automatically forms the target speaker and the selected P station preset speakers into a music playing group for playing music. For example, if the user presets P to be 2, then when the terminal receives the speaker grouping command input by the user for speaker 1 and determines that the speaker grouping command is the first speaker grouping command, the terminal automatically selects the first speaker grouping command from the first music system. Select speaker 3 and speaker 2, which are the top two in terms of the frequency of forming a speaker playback group with speaker 1 history, and then directly form speaker 1, speaker 3, and speaker 2 into a playback group for playing music, thus reducing the user's effort. The selection operation improves the efficiency of terminal building speaker groups.

S409,显示包含M台预设音箱的标识的优先级列表以响应第二音箱分组指令。S409, displaying a priority list including the identifiers of M preset speakers in response to the second speaker grouping instruction.

本发明实施例中,当终端判断出该音箱分组指令为第二音箱分组指令,即用户手动创建分组指令时,终端显示包含M台预设音箱的标识的优先级列表,M台预设音箱的标识在该优先级列表中的排列顺序基于该M台预设音箱中的每一台预设音箱与目标音箱在该目标音乐系统中历史组建音箱播放小组的频次确定,具体地,M台预设音箱的标识在该优先级列表中的排列顺序为按照该M台预设音箱中的每一台预设音箱与目标音箱在该目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。其中,音箱的标识可以包括但不限于:音箱名称、音箱编号或音箱的MAC(Media Access Control或者MediumAccess Control,物理地址、硬件地址)地址。In the embodiment of the present invention, when the terminal determines that the speaker grouping command is the second speaker grouping command, that is, when the user manually creates a grouping command, the terminal displays a priority list containing the identifications of M preset speakers, and the M preset speaker The arrangement order of the logos in the priority list is determined based on the frequency of each preset speaker in the M preset speakers and the target speaker in the target music system to form a speaker playback group in history, specifically, the M preset The order in which the speakers are identified in the priority list is arranged from high to low according to the frequency of each preset speaker in the M preset speakers and the target speaker in the target music system historically forming a speaker playing group or Arranged from low to high. Wherein, the identification of the sound box may include but not limited to: sound box name, sound box number or MAC (Media Access Control or Medium Access Control, physical address, hardware address) address of the sound box.

举例来说,若上述第一音乐系统中的四台预设音箱中的每一台预设音箱与目标音箱(即音箱1)在第一音乐系统中历史组建音箱播放小组的频次依次为,音箱2:10次、音箱3:21次、音箱4:9次、音箱5:0次、音箱5:0次,则该四台预设音箱的标识在优先级列表中的排列顺序依次为:音箱3、音箱2、音箱4、音箱5。For example, if each of the four preset speakers in the above-mentioned first music system and the target speaker (i.e., speaker 1) have historically formed a speaker playing group in the first music system, the frequency of the speaker 2: 10 times, speaker 3: 21 times, speaker 4: 9 times, speaker 5: 0 times, speaker 5: 0 times, then the order of the four preset speakers in the priority list is: speaker 3. Speaker 2, Speaker 4, Speaker 5.

优选地,该M台预设音箱的优先级列表中还记录有每一台预设音箱与目标音箱在该目标音乐系统中历史组建音箱播放小组的频次,以使用户更准确地知晓每一台预设音箱在目标音乐系统中与目标音箱历史组建音箱播放小组的频次,以便用户更好的进行选择。举例来说,上述四台音箱的优先级列表中依次显示:音箱3-21次、音箱2-10次、音箱4-9次、音箱5-0次。Preferably, the priority list of the M preset speakers also records the frequency of each preset speaker and the target speaker in the target music system to form a speaker playing group in history, so that the user can more accurately know each Preset the frequency of the speaker playing group formed by the speaker in the target music system and the target speaker history, so that the user can make a better choice. For example, the priority lists of the above four speakers are sequentially displayed: speakers 3-21 times, speakers 2-10 times, speakers 4-9 times, and speakers 5-0 times.

优选地,终端显示包含M台预设音箱中的Q台预设音箱的标识的优先级列表以响应音箱分组指令,该Q台预设音箱为按照M台预设音箱中的每一台预设 音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次进行排列时排序为前Q位的Q台预设音箱,且Q为小于或等于M的正整数,即终端接收到针对目标音乐系统中的目标音箱的音箱分组指令后,不显示目标音箱系统中的全部预设音箱列表,而是只显示目标音箱系统中全部预设音箱中的Q台预设音箱列表,以使用户界面中显示的列表更加简洁。其中,Q台预设音箱为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次由高到低排列时排序为前Q位的音箱,或者,Q台预设音箱为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次由低到高排列时排序为前Q位的音箱,举例来说,若上述第一音乐系统中包括5台音箱,音箱1为目标音箱,音箱2、音箱3、音箱4和音箱5与音箱1在第一音乐系统中历史组建音箱播放小组的频次依次为:音箱2:10次、音箱3:21次、音箱4:9次、音箱5:0次,将4台预设音箱根据频次由高到低进行排列,Q为3,则终端中显示的3台音箱的优先级列表依次为音箱3、音箱2、音箱4。Preferably, the terminal displays a priority list containing the identification of the Q preset speakers in the M preset speakers in response to the speaker grouping instruction, and the Q preset speakers are preset according to each of the M preset speakers. When the speaker and the target speaker are arranged in the frequency of the speaker playback group in the history of the target music system, they are sorted as the Q station preset speakers in the top Q position, and Q is a positive integer less than or equal to M, that is, the terminal receives the target music system. After the speaker group command of the target speaker in the target speaker system, instead of displaying the list of all preset speakers in the target speaker system, it only displays the list of preset speakers of station Q among all the preset speakers in the target speaker system, so that the user interface displays The list is more concise. Wherein, the preset speaker of station Q is the speaker ranked as the first Q speaker according to the frequency of each preset speaker in the preset speaker of M preset speakers and the target speaker in the target music system to form a speaker playback group from high to low. , or, the preset speakers of Q station are arranged according to the frequency of each preset speaker in the preset speakers of M preset speakers and the target speaker in the target music system to form a speaker playback group from low to high, and are sorted as the top Q position Speakers, for example, if the above-mentioned first music system includes 5 speakers, speaker 1 is the target speaker, and speaker 2, speaker 3, speaker 4, speaker 5 and speaker 1 have historically formed a speaker playing group in the first music system The frequency order is: speaker 2: 10 times, speaker 3: 21 times, speaker 4: 9 times, speaker 5: 0 times, arrange the 4 preset speakers according to the frequency from high to low, Q is 3, then the terminal The priority list of the displayed 3 speakers is speaker 3, speaker 2, and speaker 4 in sequence.

S411,接收在M台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从M台预设音箱中选取N台预设音箱,N为正整数。S411. Receive a speaker selection instruction input in the priority list of M preset speakers, and select N preset speakers from the M preset speakers according to the speaker selection instruction, where N is a positive integer.

S413,将目标音箱以及选取的N台预设音箱组建为播放组以供播放音乐。S413, forming the target speakers and the selected N preset speakers into a playback group for playing music.

本发明实施例中的S411和S413可参见图2所示实施例的S205和S207,此处不再赘述。For S411 and S413 in the embodiment of the present invention, reference may be made to S205 and S207 in the embodiment shown in FIG. 2 , and details are not repeated here.

在图4的发明实施例中,当终端接收到针对目标音乐系统中的目标音箱输入的音箱分组指令时,判断该音箱分组指令为第一音箱分组指令还是第二音箱分组指令,若判断出音箱分组指令为第一音箱分组指令,则终端自动从目标音乐系统中的M台预设音箱中选取出P台预设音箱,从而将目标音箱以及该P台预设音箱创建为一个音乐播放组,从而减少用户的选择操作,提高了终端组建音箱分组的效率;若判断出音箱分组指令为第二音箱分组指令,则终端显示M台预设音箱的优先级列表,从而接收用户在优先级列表中的音箱选择指令,将目标音箱以及选取出的N台预设音箱组建为播放组以供播放音乐,从而终端可以根据音箱历史组建播放小组的组合频次,排列展示音箱列表,以使用户在选择音箱进行分组时更有针对性。In the embodiment of the invention shown in FIG. 4, when the terminal receives a speaker grouping instruction input for a target speaker in the target music system, it judges whether the speaker grouping instruction is the first speaker grouping instruction or the second speaker grouping instruction. If the grouping instruction is the first speaker grouping instruction, the terminal automatically selects P preset speakers from the M preset speakers in the target music system, thereby creating a music playback group with the target speaker and the P preset speakers, Thereby reducing the selection operation of the user and improving the efficiency of the terminal to form a speaker group; if it is determined that the speaker grouping instruction is the second speaker grouping instruction, the terminal displays the priority list of M preset speakers, thereby receiving the user in the priority list. The speaker selection command, the target speaker and the selected N preset speakers are formed into a playback group for playing music, so that the terminal can form the combination frequency of the playback group according to the history of the speakers, arrange and display the list of speakers, so that the user can select speakers It is more targeted when grouping.

上述详细阐述了本发明实施例的方法,下面为了便于更好地实施本发明实施例的上述方案,相应地,下面还提供用于配合实施上述方案的相关终端。The method of the embodiment of the present invention has been described in detail above. In order to facilitate better implementation of the above-mentioned solution of the embodiment of the present invention, correspondingly, the following also provides related terminals for cooperating with implementing the above-mentioned solution.

请参见图5,是本发明实施例提供的终端的第一实施例的结构示意图,终端50包括:第一接收模块501、显示模块503、第二接收模块505和第一组建模块507,其中,Please refer to FIG. 5, which is a schematic structural diagram of the first embodiment of the terminal provided by the embodiment of the present invention. The terminal 50 includes: a first receiving module 501, a display module 503, a second receiving module 505, and a first building module 507, wherein,

第一接收模块501,用于接收针对目标音乐系统中的目标音箱输入的音箱分组指令,目标音乐系统中包括目标音箱以及M台预设音箱,M为正整数;The first receiving module 501 is configured to receive a speaker grouping instruction input for target speakers in the target music system, the target music system includes target speakers and M preset speakers, and M is a positive integer;

显示模块503,用于显示包含M台预设音箱的标识的优先级列表以响应音箱分组指令,M台预设音箱的标识在优先级列表中的排列顺序基于M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次确定;The display module 503 is configured to display a priority list containing the identifiers of M preset speakers in response to the speaker grouping instruction, and the order of the identifiers of the M preset speakers in the priority list is based on each of the M preset speakers Determination of the frequency of setting up a speaker playing group in the history of the preset speaker and the target speaker in the target music system;

优选地,显示模块503具体用于显示包含M台预设音箱中的Q台预设音箱的标识的优先级列表以响应音箱分组指令,Q台预设音箱为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次进行排列时,排序为前Q位的Q台预设音箱,Q为正整数。Preferably, the display module 503 is specifically configured to display a priority list containing the identifiers of Q preset speakers in the M preset speakers in response to the speaker grouping instruction, and the Q preset speakers are according to each of the M preset speakers. When a preset speaker is arranged with the frequency of the target speaker in the target music system, the frequency of the historical speaker playing group is arranged, and the ranking is the top Q preset speakers of Q stations, where Q is a positive integer.

第二接收模块505,用于接收在M台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从M台预设音箱中选取N台预设音箱,N为正整数;The second receiving module 505 is configured to receive a speaker selection instruction input in the priority list of M preset speakers, and select N preset speakers from the M preset speakers according to the speaker selection instruction, where N is a positive integer;

优选地,第二接收模块505具体用于接收在Q台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从Q台预设音箱中选取N台预设音箱。Preferably, the second receiving module 505 is specifically configured to receive a speaker selection instruction input in the priority list of Q preset speakers, and select N preset speakers from the Q preset speakers according to the speaker selection instruction.

第一组建模块507,用于将目标音箱以及选取的N台预设音箱组建为播放组以供播放音乐。The first building module 507 is configured to form the target speaker and the selected N preset speakers into a play group for playing music.

可理解的是,本实施例的终端50的各功能模块的功能可根据上述图2方法实施例的方法具体实现,此处不再赘述。It can be understood that the functions of the functional modules of the terminal 50 in this embodiment can be specifically implemented according to the method in the method embodiment in FIG. 2 , and details are not repeated here.

进一步地,请参见图6,是本发明实施例提供的终端的第二实施例的结构示意图,进一步描述终端50的结构和功能。该终端50包括:第一接收模块501、显示模块503、第二接收模块505和第一组建模块507外,还包括:创建模块509,其中,Further, please refer to FIG. 6 , which is a schematic structural diagram of a second embodiment of a terminal provided by an embodiment of the present invention, further describing the structure and functions of the terminal 50 . The terminal 50 includes: a first receiving module 501, a display module 503, a second receiving module 505 and a first building module 507, and also includes: a creation module 509, wherein,

创建模块509,用于创建目标音乐系统对应的历史组建音箱播放小组记录,历史组建音箱播放小组记录中记录有M台预设音箱中的每一台预设音箱与目标 音箱在目标音乐系统中历史组建音箱播放小组的频次。Creation module 509, used to create the history corresponding to the target music system to form a speaker playing group record, the record of each preset speaker in the M preset speakers and the target speaker in the target music system is recorded in the historical speaker playing group record How often to form speaker playback groups.

可理解的是,本实施例的终端50的各功能模块的功能可根据上述图3方法实施例的方法具体实现,此处不再赘述。It can be understood that the functions of the functional modules of the terminal 50 in this embodiment can be specifically implemented according to the method in the method embodiment in FIG. 3 , which will not be repeated here.

进一步地,请参见图7,是本发明实施例提供的终端的第三实施例的结构示意图,进一步描述终端50的结构和功能。终端50包括:第一接收模块501、显示模块503、第二接收模块505和第一组建模块507外,还包括:判断模块511、选取模块513和第二组建模块515,其中,Further, please refer to FIG. 7 , which is a schematic structural diagram of a third embodiment of a terminal provided by an embodiment of the present invention, further describing the structure and functions of the terminal 50 . The terminal 50 includes: a first receiving module 501, a display module 503, a second receiving module 505 and a first building module 507, and also includes: a judging module 511, a selection module 513 and a second building module 515, wherein,

判断模块511,用于判断音箱分组指令是否为第一音箱分组指令或第二音箱分组指令;Judging module 511, for judging whether the speaker grouping instruction is the first speaker grouping instruction or the second speaker grouping instruction;

选取模块513,用于当判断模块511判断出音箱分组指令为第一音箱分组指令时,响应第一音箱分组指令,从M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,P为正整数;The selection module 513 is used to respond to the first speaker grouping instruction when the judging module 511 determines that the speaker grouping instruction is the first speaker grouping instruction, and selects the P station that is sorted as the first P position from the priority list of the M preset speakers Preset speakers, P is a positive integer;

第二组建模块515,用于将目标音箱以及选取的P台预设音箱组建为播放组以供播放音乐;The second building module 515 is used to set up the target speaker and the selected P station preset speaker as a playback group for playing music;

显示模块503具体用于当判断模块511判断出音箱分组指令为第二音箱分组指令时,显示包含M台预设音箱的标识的优先级列表以响应第二音箱分组指令。The display module 503 is specifically configured to, when the judging module 511 judges that the speaker grouping instruction is the second speaker grouping instruction, display a priority list including the identifiers of M preset speakers in response to the second speaker grouping instruction.

可理解的是,本实施例的终端50的各功能模块的功能可根据上述图4方法实施例的方法具体实现,此处不再赘述。It can be understood that the functions of the functional modules of the terminal 50 in this embodiment can be specifically implemented according to the method in the above method embodiment in FIG. 4 , which will not be repeated here.

请参见图8,是本发明提供的终端的第四实施例的结构示意图。其中,如图8所示,终端80可以包括:至少一个处理器801,例如CPU,至少一个总线802,至少一个输入装置803和至少一个输出装置804,存储器805。其中,总线802用于实现这些组件之间的通信连接;输入装置803具体可为终端的触控面板,包括触摸屏和触控屏,用于检测终端触控面板上的操作指令;输出装置804可以包括终端的显示屏(Display),用于输出、显示图像或者数据;存储器805可以是高速RAM显示器,也可以是非不稳定的显示器(non-volatile memory),例如至少一个磁盘显示器,存储器805可选的还可以是至少一个位于远离前述处理器801的显示装置。如图8所示,作为一种计算机显示介质的存储器805中可以包括操作系统、网络通信模块、用户接口模块以及音箱分组程序。Please refer to FIG. 8 , which is a schematic structural diagram of a fourth embodiment of a terminal provided by the present invention. Wherein, as shown in FIG. 8 , the terminal 80 may include: at least one processor 801 , such as a CPU, at least one bus 802 , at least one input device 803 and at least one output device 804 , and a memory 805 . Among them, the bus 802 is used to realize the communication connection between these components; the input device 803 can specifically be a touch panel of the terminal, including a touch screen and a touch screen, and is used to detect operation instructions on the touch panel of the terminal; the output device 804 can Including the display screen (Display) of the terminal, for outputting and displaying images or data; the memory 805 can be a high-speed RAM display, or a non-volatile memory, such as at least one disk display, and the memory 805 is optional There may also be at least one display device located away from the aforementioned processor 801. As shown in FIG. 8 , the memory 805 as a computer display medium may include an operating system, a network communication module, a user interface module, and a speaker grouping program.

在图8所示的终端80中,处理器801可以用于运行存储器805中存储的音 箱分组程序,并执行以下操作:In the terminal 80 shown in Figure 8, the processor 801 can be used to run the speaker grouping program stored in the memory 805, and perform the following operations:

通过输入装置803接收针对目标音乐系统中的目标音箱输入的音箱分组指令,目标音乐系统中包括目标音箱以及M台预设音箱,M为正整数;Receive speaker grouping instructions for target speakers in the target music system through the input device 803, the target music system includes target speakers and M preset speakers, and M is a positive integer;

通过输出装置804显示包含M台预设音箱的标识的优先级列表以响应音箱分组指令,M台预设音箱的标识在优先级列表中的排列顺序基于M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次确定;In response to the speaker grouping instruction, the priority list containing the identifications of M preset speakers is displayed through the output device 804, and the arrangement order of the identifications of the M preset speakers in the priority list is based on each preset in the M preset speakers. Set the frequency determination of the sound box and the target sound box in the target music system to form a sound box playing group in history;

通过输入装置803接收在M台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从M台预设音箱中选取N台预设音箱,N为正整数;Receive the speaker selection instruction input in the priority list of M preset speakers through the input device 803, select N preset speakers from the M preset speakers according to the speaker selection instruction, and N is a positive integer;

将目标音箱以及选取的N台预设音箱组建为播放组以供播放音乐。Build the target speaker and the selected N preset speakers into a playback group for playing music.

进一步地,处理器801通过输入装置803执行接收针对目标音乐系统中的目标音箱输入的音箱分组指令之前,处理器801还用于创建目标音乐系统对应的历史组建音箱播放小组记录,历史组建音箱播放小组记录中记录有M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次。Further, before the processor 801 executes through the input device 803 to receive the speaker grouping instruction for the input of the target speakers in the target music system, the processor 801 is also used to create a history corresponding to the target music system. The group record records the frequency with which each of the M preset speakers and the target speaker historically form a speaker playing group in the target music system.

更进一步地,M台预设音箱的标识在优先级列表中的排列顺序为按照M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。Furthermore, the sequence order of the identifications of the M preset speakers in the priority list is according to the frequency of each preset speaker in the M preset speakers and the target speaker in the target music system historically forming a speaker playing group by Arrange from high to low or from low to high.

更进一步地,M台预设音箱的优先级列表中还记录有M台预设音箱中的每一台预设音箱与目标音箱在目标音乐系统中历史组建音箱播放小组的频次。Furthermore, the priority list of the M preset speakers also records the frequency with which each of the M preset speakers and the target speaker have historically formed a speaker playing group in the target music system.

更进一步地,处理器801执行通过输出装置804显示包含M台预设音箱的标识的优先级列表以响应音箱分组指令的步骤可具体为:Furthermore, the step of the processor 801 executing the display of the priority list containing the identifications of M preset speakers through the output device 804 in response to the speaker grouping instruction may specifically be:

通过输出装置804显示包含M台预设音箱中的Q台预设音箱的标识的优先级列表以响应音箱分组指令,Q台预设音箱为按照M台预设音箱中的每一台预设音箱在目标音乐系统中与目标音箱历史组建音箱播放小组的频次进行排列时,排序为前Q位的Q台预设音箱,Q为正整数;In response to the speaker grouping instruction, the priority list including the identification of the Q preset speakers in the M preset speakers is displayed through the output device 804, and the Q preset speakers are each preset speaker according to the M preset speakers. In the target music system, when the frequency of forming a speaker playing group with the target speaker history is arranged, the sequence is the Q station preset speaker in the top Q position, and Q is a positive integer;

处理器801执行通过输入装置803接收在M台预设音箱的优先级列表中输入的音箱选择指令,根据音箱选择指令从M台预设音箱中选取N台预设音箱的步骤可具体为:The processor 801 executes the speaker selection instruction received in the priority list of the M preset speakers through the input device 803, and the steps of selecting N preset speakers from the M preset speakers according to the speaker selection instruction can be specifically as follows:

通过输入装置803接收在Q台预设音箱的优先级列表中输入的音箱选择指 令,根据音箱选择指令从Q台预设音箱中选取N台预设音箱。Receive the speaker selection instruction input in the priority list of Q preset speakers through the input device 803, and select N preset speakers from the Q preset speakers according to the speaker selection instruction.

更进一步地,处理器801执行通过输入装置803接收针对目标音乐系统中的目标音箱输入的音箱分组指令的步骤之后,处理器801还用于:Furthermore, after the processor 801 executes the step of receiving the speaker grouping instruction input for the target speaker in the target music system through the input device 803, the processor 801 is also used to:

判断音箱分组指令是否为第一音箱分组指令或第二音箱分组指令;judging whether the speaker grouping command is the first speaker grouping command or the second speaker grouping command;

当判断出音箱分组指令为第一音箱分组指令时,响应第一音箱分组指令,从M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,P为正整数;When judging that the speaker grouping instruction is the first speaker grouping instruction, in response to the first speaker grouping instruction, select P preset speakers sorted as the first P positions from the priority list of M preset speakers, and P is a positive integer;

将目标音箱以及选取的P台预设音箱组建为播放组以供播放音乐;Set up the target speaker and the selected P station preset speaker as a playback group for playing music;

当判断出音箱分组指令为第二音箱分组指令时,通过输出装置804显示包含M台预设音箱的标识的优先级列表以响应第二音箱分组指令。When it is determined that the speaker grouping instruction is the second speaker grouping instruction, the output device 804 displays a priority list including the identifiers of M preset speakers in response to the second speaker grouping instruction.

可理解的是,处理器801的执行步骤具体可参见图2或图3或图4实施例所述的内容,这里不再赘述。It can be understood that, for specific execution steps of the processor 801, reference may be made to the content described in the embodiment in FIG. 2 or FIG. 3 or FIG. 4 , and details are not repeated here.

需要说明的是,上述终端可以包括但不限于:移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各类终端设备。It should be noted that the above-mentioned terminals may include but not limited to: mobile phones, tablet computers, personal digital assistants (Personal Digital Assistant, PDA), mobile Internet devices (Mobile Internet Device, MID), smart wearable devices (such as smart watches, smart bracelets) and other terminal equipment.

综上所述,通过实施本发明实施例,终端接收针对目标音乐系统中的目标音箱输入的音箱分组指令,显示该目标音乐系统中的M台预设音箱的优先级列表,接收用户在该M台预设音箱的优先级列表中输入的音箱选择指令,根据该音箱选择指令从M台预设音箱中选取出N台预设音箱,将目标音箱以及选取出的N台预设音箱组建为播放组以供播放音乐,其中,M台预设音箱的优先级列表为按照各台预设音箱与目标音箱在目标音乐系统中历史组建音乐播放小组的频次进行排列的列表,因此,终端可以根据音箱间历史组建音箱播放小组的组合频次,排列展示音箱列表,便于用户进行选择,使得用户在选择音箱进行分组时更有针对性。To sum up, by implementing the embodiment of the present invention, the terminal receives the speaker grouping instruction input for the target speakers in the target music system, displays the priority list of M preset speakers in the target music system, and receives the According to the speaker selection instruction input in the priority list of the preset speakers, N preset speakers are selected from the M preset speakers according to the speaker selection instruction, and the target speaker and the selected N preset speakers are set up as a playback group for playing music, wherein the priority list of the M preset speakers is a list arranged according to the frequency of each preset speaker and the target speaker in the target music system to form a music playback group in history, so the terminal can be based on the speaker According to the combination frequency of speaker playback groups in the historical history, the list of speakers is arranged and displayed, which is convenient for users to choose and makes users more targeted when selecting speakers for grouping.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发 明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Those of ordinary skill in the art can understand all or part of the process for realizing the above embodiments, and according to the rights of the present invention The equivalent changes required still belong to the scope covered by the invention.

Claims (12)

1.一种音箱分组方法,其特征在于,所述方法包括:1. A sound box grouping method, is characterized in that, described method comprises: 接收针对用户界面中显示的目标音乐系统中的目标音箱的标识输入的音箱分组指令,所述目标音乐系统中包括所述目标音箱以及M台预设音箱,所述M为正整数,所述M台预设音箱为与所述目标音箱历史组建过播放小组的音箱;Receive a speaker grouping instruction for the identification input of the target speakers in the target music system displayed in the user interface, the target music system includes the target speakers and M preset speakers, the M is a positive integer, and the M The preset speaker is a speaker that has formed a playback group with the target speaker; 显示包含所述M台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述优先级列表是根据所述目标音箱确定的列表,所述M台预设音箱的标识在所述优先级列表中的排列顺序基于所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次确定;displaying a priority list containing the identifiers of the M preset speakers in response to the speaker grouping instruction, the priority list is a list determined according to the target speakers, and the identifiers of the M preset speakers are in the The order of arrangement in the priority list is determined based on the frequency of each preset speaker in the M preset speakers and the target speaker in the target music system historically forming a speaker playing group; 接收在所述M台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述M台预设音箱中选取N台预设音箱,所述N为正整数;receiving a speaker selection instruction input in the priority list of the M preset speakers, and selecting N preset speakers from the M preset speakers according to the speaker selection instruction, where N is a positive integer; 将所述目标音箱以及选取的所述N台预设音箱组建为播放组以供播放音乐。The target speakers and the selected N preset speakers are formed into a playback group for playing music. 2.根据权利要求1所述的音箱分组方法,其特征在于,所述接收针对目标音乐系统中的目标音箱输入的音箱分组指令之前,所述方法还包括:2. the sound box grouping method according to claim 1, is characterized in that, before the sound box grouping instruction that described receiving is input for the target sound box in the target music system, described method also comprises: 创建所述目标音乐系统对应的历史组建音箱播放小组记录,所述历史组建音箱播放小组记录中记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。Create the history corresponding to the target music system to form a sound box playing group record, and record each preset sound box in the M preset sound boxes and the target sound box in the target sound box in the historical sound box playing group record The frequency with which loudspeaker playback groups have been formed historically in the music system. 3.根据权利要求1或2所述的音箱分组方法,其特征在于,所述M台预设音箱的标识在所述优先级列表中的排列顺序为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。3. The sound box grouping method according to claim 1 or 2, characterized in that, the order of arrangement of the logos of the M preset speakers in the priority list is according to each of the M preset speakers. The frequency of a preset speaker and the target speaker in the target music system historically forming a speaker playing group is arranged from high to low or from low to high. 4.根据权利要求1或2所述的音箱分组方法,其特征在于,所述M台预设音箱的优先级列表中还记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。4. The speaker grouping method according to claim 1 or 2, wherein the priority list of the M preset speakers is also recorded with each preset speaker in the M preset speakers and The frequency with which the target speaker has historically formed a speaker playing group in the target music system. 5.根据权利要求1所述的音箱分组方法,其特征在于,所述显示包含所述M台预设音箱的标识的优先级列表以响应所述音箱分组指令,包括:5. The sound box grouping method according to claim 1, wherein the display includes a priority list of the logos of the M preset sound boxes to respond to the sound box grouping instructions, comprising: 显示包含所述M台预设音箱中的Q台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述Q台预设音箱为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次进行排列时,排序为前Q位的Q台预设音箱,所述Q为正整数;Displaying a priority list including the identification of Q preset speakers in the M preset speakers in response to the speaker grouping instruction, the Q preset speakers are according to each of the M preset speakers When arranging the frequencies of the preset speakers and the target speakers in the target music system to form a speaker playing group in history, the Q preset speakers of the first Q positions are sorted, and the Q is a positive integer; 所述接收在所述M台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述M台预设音箱中选取N台预设音箱,包括:The receiving the speaker selection instruction input in the priority list of the M preset speakers, and selecting N preset speakers from the M preset speakers according to the speaker selection instruction, including: 接收在所述Q台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述Q台预设音箱中选取N台预设音箱。receiving a speaker selection instruction input in the priority list of the Q preset speakers, and selecting N preset speakers from the Q preset speakers according to the speaker selection instruction. 6.根据权利要求1所述的音箱分组方法,其特征在于,所述接收针对目标音乐系统中的目标音箱输入的音箱分组指令之后,所述方法还包括:6. sound box grouping method according to claim 1, is characterized in that, after described receiving the sound box grouping instruction that the target sound box in the target music system inputs, described method also comprises: 判断所述音箱分组指令是否为第一音箱分组指令或第二音箱分组指令;judging whether the speaker grouping instruction is the first speaker grouping instruction or the second speaker grouping instruction; 当判断出所述音箱分组指令为第一音箱分组指令时,响应所述第一音箱分组指令,从所述M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,所述P为正整数;When it is determined that the speaker grouping instruction is the first speaker grouping instruction, in response to the first speaker grouping instruction, select the P station preset speakers sorted as the top P positions from the priority list of the M preset speakers , the P is a positive integer; 将所述目标音箱以及选取的所述P台预设音箱组建为播放组以供播放音乐;The target speaker and the selected P station preset speakers are set up as a playback group for playing music; 当判断出所述音箱分组指令为第二音箱分组指令时,显示包含所述M台预设音箱的标识的优先级列表以响应所述第二音箱分组指令。When it is determined that the speaker grouping instruction is a second speaker grouping instruction, displaying a priority list including the identifications of the M preset speakers in response to the second speaker grouping instruction. 7.一种终端,其特征在于,所述终端包括:7. A terminal, characterized in that the terminal comprises: 第一接收模块,用于接收针对用户界面中显示的目标音乐系统中的目标音箱的标识输入的音箱分组指令,所述目标音乐系统中包括所述目标音箱以及M台预设音箱,所述M为正整数,所述M台预设音箱为与所述目标音箱历史组建过播放小组的音箱;The first receiving module is configured to receive a speaker grouping instruction input for the identification of the target speakers in the target music system displayed in the user interface, the target music system includes the target speakers and M preset speakers, and the M is a positive integer, and the M preset speakers are speakers that have formed a playback group with the target speaker history; 显示模块,用于显示包含所述M台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述优先级列表是根据所述目标音箱确定的列表,所述M台预设音箱的标识在所述优先级列表中的排列顺序基于所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次确定;A display module, configured to display a priority list containing the identifiers of the M preset speakers in response to the speaker grouping instruction, the priority list is a list determined according to the target speakers, and the M preset speakers The order of arrangement of the logo in the priority list is determined based on the frequency of each preset speaker in the M preset speakers and the frequency of the target speaker in the target music system to form a speaker playing group in history; 第二接收模块,用于接收在所述M台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述M台预设音箱中选取N台预设音箱,所述N为正整数;The second receiving module is configured to receive a speaker selection instruction input in the priority list of the M preset speakers, and select N preset speakers from the M preset speakers according to the speaker selection instruction, so that Said N is a positive integer; 第一组建模块,用于将所述目标音箱以及选取的所述N台预设音箱组建为播放组以供播放音乐。The first building module is used to form the target speaker and the selected N preset speakers into a play group for playing music. 8.如权利要求7所述的终端,其特征在于,所述终端还包括:8. The terminal according to claim 7, further comprising: 创建模块,用于创建所述目标音乐系统对应的历史组建音箱播放小组记录,所述历史组建音箱播放小组记录中记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。Create a module, used to create the history corresponding to the target music system speaker playing group record, the record of each preset speaker in the M preset speakers and the target is recorded in the historical speaker playing group record The frequency with which the speaker has historically formed a speaker playing group in the target music system. 9.如权利要求7或8所述的终端,其特征在于,所述M台预设音箱的标识在所述优先级列表中的排列顺序为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次由高到低排列或由低到高排列。9. The terminal according to claim 7 or 8, characterized in that, the order of arrangement of the logos of the M preset speakers in the priority list is according to each of the M preset speakers The frequencies of the preset speakers and the target speakers in the target music system are arranged in descending order or from low to high. 10.如权利要求7或8所述的终端,其特征在于,所述M台预设音箱的优先级列表中还记录有所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次。10. The terminal according to claim 7 or 8, wherein the priority list of the M preset speakers also records the relationship between each preset speaker in the M preset speakers and the The frequency with which the target speaker historically forms a speaker playing group in the target music system. 11.如权利要求7所述的终端,其特征在于,所述显示模块具体用于显示包含所述M台预设音箱中的Q台预设音箱的标识的优先级列表以响应所述音箱分组指令,所述Q台预设音箱为按照所述M台预设音箱中的每一台预设音箱与所述目标音箱在所述目标音乐系统中历史组建音箱播放小组的频次进行排列时,排序为前Q位的Q台预设音箱,所述Q为正整数;11. The terminal according to claim 7, wherein the display module is specifically configured to display a priority list containing the identifications of Q preset speakers in the M preset speakers in response to the speaker grouping Instruction, when the preset speakers of the Q station are arranged according to the frequencies of each preset speaker in the M preset speakers and the frequency of the target speaker in the target music system to form a speaker playing group in the history, sorting The speaker is preset for the Q station at the front Q position, and the Q is a positive integer; 所述第二接收模块具体用于接收在所述Q台预设音箱的优先级列表中输入的音箱选择指令,根据所述音箱选择指令从所述Q台预设音箱中选取N台预设音箱。The second receiving module is specifically configured to receive a speaker selection instruction input in the priority list of the Q preset speakers, and select N preset speakers from the Q preset speakers according to the speaker selection instruction. . 12.如权利要求7所述的终端,其特征在于,所述终端还包括:12. The terminal according to claim 7, further comprising: 判断模块,用于判断所述音箱分组指令是否为第一音箱分组指令或第二音箱分组指令;A judging module, configured to judge whether the speaker grouping instruction is a first speaker grouping instruction or a second speaker grouping instruction; 选取模块,用于当所述判断模块判断出所述音箱分组指令为第一音箱分组指令时,响应所述第一音箱分组指令,从所述M台预设音箱的优先级列表中选取排序为前P位的P台预设音箱,所述P为正整数;The selection module is used to respond to the first speaker grouping instruction when the judging module determines that the speaker grouping instruction is the first speaker grouping instruction, and select and sort the priority list of the M preset speakers as The preset speakers of P stations in the front P position, the P is a positive integer; 第二组建模块,用于将所述目标音箱以及选取的所述P台预设音箱组建为播放组以供播放音乐;The second building module is used to form the target speaker and the selected P station preset speakers into a playback group for playing music; 所述显示模块具体用于当所述判断模块判断出所述音箱分组指令为第二音箱分组指令时,显示包含所述M台预设音箱的标识的优先级列表以响应所述第二音箱分组指令。The display module is specifically configured to display a priority list containing the identifications of the M preset speakers when the judging module determines that the speaker grouping instruction is a second speaker grouping instruction in response to the second speaker grouping instruction.
CN201510527365.4A 2015-08-25 2015-08-25 Sound box grouping method and terminal Active CN105070303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510527365.4A CN105070303B (en) 2015-08-25 2015-08-25 Sound box grouping method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510527365.4A CN105070303B (en) 2015-08-25 2015-08-25 Sound box grouping method and terminal

Publications (2)

Publication Number Publication Date
CN105070303A CN105070303A (en) 2015-11-18
CN105070303B true CN105070303B (en) 2017-11-24

Family

ID=54499656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510527365.4A Active CN105070303B (en) 2015-08-25 2015-08-25 Sound box grouping method and terminal

Country Status (1)

Country Link
CN (1) CN105070303B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303668B (en) * 2016-08-16 2017-08-11 广东欧珀移动通信有限公司 Method, device and terminal for processing multimedia playback information
CN106454647B (en) * 2016-10-25 2018-03-27 广东欧珀移动通信有限公司 Method and device for setting sound box equipment set
CN107728924B (en) * 2017-10-24 2021-04-30 深圳市亚昱科技有限公司 Sound box marshalling method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179862A (en) * 2007-12-05 2008-05-14 中兴通讯股份有限公司 Method of distributing cell resource
CN103165151A (en) * 2013-03-29 2013-06-19 华为技术有限公司 Method and device for playing multi-media file

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101987756B1 (en) * 2012-07-24 2019-06-11 삼성전자주식회사 Media reproducing method and apparatus thereof
CN103577035A (en) * 2012-08-10 2014-02-12 上海博泰悦臻电子设备制造有限公司 Application interface processing device and method for electronic equipment, and electronic system
CN103559081B (en) * 2013-11-01 2017-11-07 贝壳网际(北京)安全技术有限公司 Recommendation method, device and the mobile terminal of working mode of mobile terminal
CN104731468A (en) * 2013-12-19 2015-06-24 深圳桑菲消费通信有限公司 Application icon sorting method and device
CN103793140B (en) * 2014-01-29 2017-11-24 上海大唐移动通信设备有限公司 A kind of application icon aligning method and mobile terminal
CN104810032B (en) * 2015-03-31 2017-08-01 广东欧珀移动通信有限公司 Play control method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179862A (en) * 2007-12-05 2008-05-14 中兴通讯股份有限公司 Method of distributing cell resource
CN103165151A (en) * 2013-03-29 2013-06-19 华为技术有限公司 Method and device for playing multi-media file

Also Published As

Publication number Publication date
CN105070303A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN107256129A (en) Method and device for switching applications in split-screen mode and related equipment
CN108984258A (en) Application split-screen display method and device, storage medium and electronic equipment
EP3627807B1 (en) Audio playing method and electronic device
CN104793938A (en) Notification bar message display method and system
CN108347720A (en) Communication connection method, device, terminal and storage medium
WO2014062756A2 (en) Person-based information aggregation
CN106776036A (en) A resource allocation method and device
CN111352597A (en) Multi-screen display control method and device, electronic device and readable storage medium
CN104583924B (en) A method and terminal for processing media files
WO2017113690A1 (en) Method and device for sharing multimedia information
CN111124668B (en) Memory release method, device, storage medium and terminal
AU2022203591B2 (en) Method and apparatus for switching display interface, and electronic device
US20220417197A1 (en) Method, computer device, and non-transitory computer-readable recording medium to pick and display message in messaging-based social network service
CN105070303B (en) Sound box grouping method and terminal
CN105161119B (en) Method and terminal for synchronously playing music by grouping sound boxes
KR20140054555A (en) Method for operating alarm and electronic device supporting the same
CN105511849A (en) Method, device and system for application program display
CN103927197B (en) Method and apparatus for executing application in an electronic
CN112541141B (en) Control display callback method, device, terminal and storage medium
CN114567619A (en) Equipment recommendation method and electronic equipment
WO2016173075A1 (en) System switching method and device
CN113286349A (en) Personal hotspot connection method, device, terminal and storage medium
US20170013118A1 (en) Electronic device and notification method thereof
CN107888772B (en) Method, device and storage medium for determining configuration information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载