CN105096978B - Naming management method of playing device group and terminal - Google Patents

Naming management method of playing device group and terminal Download PDF

Info

Publication number
CN105096978B
CN105096978B CN201510528816.6A CN201510528816A CN105096978B CN 105096978 B CN105096978 B CN 105096978B CN 201510528816 A CN201510528816 A CN 201510528816A CN 105096978 B CN105096978 B CN 105096978B
Authority
CN
China
Prior art keywords
playback device
playback
device group
devices
main
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
CN201510528816.6A
Other languages
Chinese (zh)
Other versions
CN105096978A (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 CN201510528816.6A priority Critical patent/CN105096978B/en
Publication of CN105096978A publication Critical patent/CN105096978A/en
Application granted granted Critical
Publication of CN105096978B publication Critical patent/CN105096978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method for naming a playing device group, which comprises the following steps: determining a main playing device in a wireless music system, wherein the wireless music system comprises M playing devices, and M is an integer greater than 1; determining N slave playing devices added by a user, wherein the N slave playing devices are from the wireless music system, and N is a positive integer less than or equal to M-1; and forming a first playing device group by the main playing device and the N slave playing devices, and naming the first playing device group according to the identity information of the main playing device and the N. The embodiment of the invention also discloses a terminal. By adopting the embodiment of the invention, the main playing device and the auxiliary playing devices added by the user can form the playing device group, and the playing device group is named according to the identity information of the main playing device and the number of the auxiliary playing devices, thereby simplifying the naming process of the playing devices after grouping and improving the user experience.

Description

一种播放设备组的命名管理方法及终端A naming management method and terminal of a playback device group

技术领域technical field

本发明实施例涉及电子设备技术领域,尤其涉及到一种播放设备组的命名管理方法及终端。The embodiments of the present invention relate to the technical field of electronic equipment, and in particular, to a naming management method and a terminal for playing equipment groups.

背景技术Background technique

随着生活品质的提高,人们对音乐品质的追求也越来越高。由多个播放设备组成网络音乐系统,正越来越受到消费者的欢迎。即将多个播放设备通过无线方式连接成一个私有网络,该私有网络提供了面向因特网的接口,通过接口可以是连接到一个或多个路由器,从而,使私有网络内的播放设备可以访问网络音乐资源,在用户使用智能手机等终端设备的情况下,通过专用的应用软件可以访问这个私有网络内的设备,对设备进行管理,包括增加和减少设备、搜索音乐、创建播放列表,以及各种播放状态的控制。With the improvement of the quality of life, people's pursuit of music quality is getting higher and higher. A network music system composed of multiple playback devices is becoming more and more popular among consumers. That is to connect multiple playback devices wirelessly to form a private network. The private network provides an interface facing the Internet. The interface can be connected to one or more routers, so that the playback devices in the private network can access network music resources. , when users use terminal devices such as smart phones, they can access the devices in this private network through dedicated application software, and manage the devices, including adding and reducing devices, searching for music, creating playlists, and various playing states control.

实际生活中,用户使用终端对无线音乐系统设置成播放设备分组的过程中,通常会,首先用户添加播放设备之后,会对添加了音箱的分组进行命名,往往需要人为方式进行命名,如此,需要进行手动输入操作,这种情况下,操作过程较为繁琐,降低了用户体验。In real life, when the user uses the terminal to set the wireless music system into a group of playback devices, usually, after the user adds the playback device, he will name the group with the speakers added, which often needs to be named artificially. In this way, it is necessary Manual input operation is performed. In this case, the operation process is cumbersome and reduces user experience.

发明内容Contents of the invention

本发明实施例提供了一种播放设备组的命名管理方法及终端,以期简化播放设备分组后命名的过程及提高用户体验。Embodiments of the present invention provide a naming management method and terminal for playing device groups, in order to simplify the naming process of playing device groups and improve user experience.

本发明实施例第一方面提供了一种播放设备组的命名管理方法,包括:The first aspect of the embodiment of the present invention provides a naming management method for a playback device group, including:

确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;Determine the main playback device in the wireless music system, the wireless music system includes M playback devices, and the M is an integer greater than 1;

确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;Determine the N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and the N is a positive integer less than or equal to M-1;

将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。Composing the master playback device and the N slave playback devices into a first playback device group, and naming the first playback device group according to the identity information of the master playback device and the N.

结合第一方面,在第一方面的第一种可能的实施方式中,所述确定无线音乐系统中的主播放设备,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining the main playback device in the wireless music system includes:

接收用户输入的选择指令;Receive the selection command input by the user;

将所述选择指令所选择的所述无线音乐系统中的播放设备i确定为主播放设备。The playback device i in the wireless music system selected by the selection instruction is determined as the main playback device.

结合第一方面,在第一方面的第二种可能的实施方式中,所述根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名包括:With reference to the first aspect, in a second possible implementation manner of the first aspect, the naming the first playback device group according to the identity information of the master playback device and the N includes:

将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N;generating a two-dimensional code with the identity information of the main playback device and the N according to a preset method, wherein the central area of the two-dimensional code displays the N;

将所述二维码作为所述第一播放设备组的名称;Using the two-dimensional code as the name of the first playback device group;

或者,or,

以所述主播放设备的身份信息作为前缀和所述N作为后缀对所述第一播放设备组进行命名。The first playback device group is named with the identity information of the main playback device as a prefix and the N as a suffix.

结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,所述根据所述身份信息和所述N对所述播放设备组进行命名之后,所述方法还包括:With reference to the first aspect or the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, according to the identity information After naming the playback device group with the N, the method also includes:

确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;Determining K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。The master playback device and N-K slave playback devices that have not been deleted form a second playback device group, and name the second playback device group according to the identity information and the N-K.

结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第四种可能的实施方式中,所述根据所述身份信息和所述N对所述播放设备组进行命名之后,所述方法还包括:With reference to the first aspect or the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, according to the identity information After naming the playback device group with the N, the method also includes:

确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;Determining K slave playback devices and master playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;Determine a new master playback device from N-K slave playback devices that are not deleted in the first playback device group in a random manner;

将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。The new main playback device and the N-K-1 slave playback devices that have not been deleted form a third playback device group, and according to the identity information of the new main playback device and the N-K-1 playback device group to name it.

相应地,本发明实施例第二方面提供了一种终端,包括:Correspondingly, the second aspect of the embodiment of the present invention provides a terminal, including:

第一确定单元,用于确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;The first determining unit is used to determine the main playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1;

第二确定单元,用于确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;The second determining unit is used to determine N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and the N is a positive integer less than or equal to M-1;

第一命名单元,用于将所述第一确定单元确定的主播放设备和所述第二确定单元确定的N个从播放设备组成的第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。The first naming unit is used to form a first playback device group composed of the master playback device determined by the first determination unit and the N slave playback devices determined by the second determination unit, and according to the identity of the master playback device information and the N to name the first playback device group.

结合第二方面,在第二方面的第一种可能的实施方式中,所述第一确定单元包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the first determination unit includes:

接收单元,用于接收用户输入的选择指令;a receiving unit, configured to receive a selection instruction input by a user;

选择单元,将所述接收单元接收的选择指令所选择的所述无线音乐系统中的播放设备i确定为主播放设备。The selecting unit determines the playing device i in the wireless music system selected by the selection instruction received by the receiving unit as the main playing device.

结合第二方面,在第二方面的第二种可能的实施方式中,,所述第一命名单元包括:With reference to the second aspect, in a second possible implementation manner of the second aspect, the first naming unit includes:

生成单元,用于将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N;A generating unit, configured to generate a two-dimensional code by using the identity information of the main playback device and the N according to a preset method, wherein the central area of the two-dimensional code displays the N;

第一命名子单元,用于将所述生成单元生成的二维码作为所述第一播放设备组的名称;A first naming subunit, configured to use the two-dimensional code generated by the generating unit as the name of the first playback device group;

或者,or,

所述第一命名单元还具体用于:The first naming unit is also specifically used for:

以所述主播放设备的身份信息作为前缀和所述N作为后缀对所述第一播放设备组进行命名。The first playback device group is named with the identity information of the main playback device as a prefix and the N as a suffix.

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

第三确定单元,用于确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;A third determining unit, configured to determine K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

第二命名单元,用于将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。The second naming unit is used to form the master playback device and N-K slave playback devices that have not been deleted into a second playback device group, and name the second playback device group according to the identity information and the N-K .

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

第四确定单元,用于确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;A fourth determination unit, configured to determine K slave playback devices and master playback devices deleted from the first playback device group, wherein K is an integer greater than or equal to 1 and less than or equal to N;

第五确定单元,用于以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;The fifth determination unit is used to randomly determine a new master playback device from N-K slave playback devices that have not been deleted in the first playback device group;

第三命名单元,用于将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。The third naming unit is used to form the new main playback device and N-K-1 slave playback devices that have not been deleted into a third playback device group, and according to the identity information of the new main playback device and the N-K -1 Name the third playback device group.

实施本发明实施例,具有以下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备的身份信息和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。The embodiment of the present invention determines the master playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; determines N slave playback devices added by the user, wherein the N The slave playback device comes from the wireless music system, and the N is a positive integer less than or equal to M-1; the master playback device and the N slave playback devices are formed into a first playback device group, and according to the master playback device The identity information of the playback device and the N name the first playback device group. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the identity information of the main playback device and the number of secondary playback devices, thereby simplifying the playback device The process of naming after grouping and improving user experience.

附图说明Description of drawings

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

图1为本发明实施例提供的一种播放设备组的命名管理方法的第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a naming management method for a playback device group provided by an embodiment of the present invention;

图2为本发明实施例提供的一种播放设备组的命名管理方法的第二实施例的流程示意图;FIG. 2 is a schematic flow diagram of a second embodiment of a naming management method for a playback device group provided by an embodiment of the present invention;

图3为本发明实施例提供的一种播放设备组的命名管理方法的第三实施例的流程示意图;FIG. 3 is a schematic flowchart of a third embodiment of a method for managing a playback device group name provided by an embodiment of the present invention;

图4为本发明实施例提供的一种播放设备组的命名管理方法的第四实施例的流程示意图;FIG. 4 is a schematic flow diagram of a fourth embodiment of a naming management method for a playback device group provided by an embodiment of the present invention;

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

图5b为本发明实施例提供的一种终端的第一实施例的又一结构示意图;Fig. 5b is another schematic structural diagram of the first embodiment of a terminal provided by the embodiment of the present invention;

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

图5d为本发明实施例提供的一种终端的第一实施例的又一结构示意图;Fig. 5d is another schematic structural diagram of the first embodiment of a terminal provided by the embodiment of the present invention;

图5e为本发明实施例提供的一种终端的第一实施例的又一结构示意图;FIG. 5e is another schematic structural diagram of the first embodiment of a terminal provided by the 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.

具体实施方式detailed description

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

实现中,本发明实施例中,终端可以包括但不限于:笔记本电脑、手机、平板电脑、智能可穿戴设备,还可以是无线音乐系统中的某个用于控制其他的播放设备的播放设备等等。终端的系统指设备的操作系统,可以包括但不限于:Android系统、塞班系统、Windows系统、IOS(苹果公司开发的移动操作系统)等等。需要说明的是,Android终端指Android系统的终端,塞班终端指塞班系统的终端,等等。上述终端仅是举例,而非穷举,包含但不限于上述终端。In the implementation, in the embodiment of the present invention, the terminal may include but not limited to: a laptop computer, a mobile phone, a tablet computer, a smart wearable device, or a playback device in a wireless music system used to control other playback devices, etc. Wait. The system of the terminal refers to the operating system of the device, which may include but not limited to: Android system, Symbian system, Windows system, IOS (a mobile operating system developed by Apple Inc.) and so on. It should be noted that an Android terminal refers to a terminal of the Android system, a Symbian terminal refers to a terminal of the Symbian system, and so on. The above-mentioned terminals are only examples, not exhaustive, including but not limited to the above-mentioned terminals.

本发明实施例结合图1至图6对本发明实施例提供的一种播放设备组的命名管理方法及终端进行描述。In the embodiment of the present invention, a method for managing the naming of a playback device group and a terminal provided in the embodiments of the present invention are described with reference to FIG. 1 to FIG. 6 .

请参阅图1,图1是本发明实施例提供的一种播放设备组的命名管理方法第一实施例流程示意图。本实施例中所描述的播放设备组的命名管理方法,包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a first embodiment of a method for naming and managing playback device groups provided by an embodiment of the present invention. The naming management method of the playback device group described in this embodiment includes the following steps:

S101、确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数。S101. Determine a main playback device in a wireless music system, where the wireless music system includes M playback devices, where M is an integer greater than 1.

具体实现中,终端可确定无线音乐系统中的主播放设备,该无线音乐系统可由多个播放设备组成,终端可将该多个播放设备的任一播放设备确定为主播放设备,该无线音乐系统可包括M个播放设备,其中,M为大于1的整数。其中,主播放设备的身份信息可包括但不仅限于:该主播放设备的名称、硬件地址、上网许可号、编号等等。具体地,终端可接收用户输入的选择指令,根据该选择指令的指示信息从该无线音乐系统中的播放设备作为主播放设备以响应所述选择指令。In a specific implementation, the terminal can determine the main playback device in the wireless music system. The wireless music system can be composed of multiple playback devices. The terminal can determine any playback device of the multiple playback devices as the main playback device. The wireless music system It may include M playback devices, where M is an integer greater than 1. Wherein, the identity information of the main playback device may include but not limited to: the name of the main playback device, hardware address, Internet access license number, serial number and so on. Specifically, the terminal may receive a selection instruction input by the user, and respond to the selection instruction from the playback device in the wireless music system as the main playback device according to the indication information of the selection instruction.

S102、确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数。S102. Determine N secondary playback devices added by the user, wherein the N secondary playback devices come from the wireless music system, and N is a positive integer less than or equal to M-1.

具体实现中,终端可确定用户添加的N个从播放设备,终端在接收到用户输入的添加指令的时候,确定用户需要添加的从播放设备,同时,确定用户需要添加的从播放设备的数目,该从播放设备来自于无线音乐系统中除主播放设备之外的播放设备,即N个从播放设备来在于无线音乐系统中除主播放设备之外的M-1个播放设备,所以,N为小于或等于M-1的整数。In a specific implementation, the terminal can determine the N secondary playback devices added by the user. When the terminal receives the addition instruction input by the user, it determines the secondary playback devices that the user needs to add, and at the same time, determines the number of secondary playback devices that the user needs to add. The slave playback devices come from playback devices other than the master playback device in the wireless music system, that is, N slave playback devices come from M-1 playback devices other than the master playback device in the wireless music system, so N is An integer less than or equal to M-1.

需要说明的是,终端可从无线音乐系统中确定一个主播放设备和添加N个从播放设备,并将该主播放设备和该N个从播放设备组成播放设备组,其中,该N为大于或等于1的整数。无线音乐系统中除播放设备组之外的播放设备将不用主播放设备和从播放设备加以区分。It should be noted that the terminal can determine a master playback device and add N slave playback devices from the wireless music system, and form the master playback device and the N slave playback devices into a playback device group, wherein the N is greater than or An integer equal to 1. The playback devices other than the playback device group in the wireless music system will not be distinguished from the master playback device and the slave playback device.

S103、将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。S103. Form the master playback device and the N slave playback devices into a first playback device group, and name the first playback device group according to the identity information of the master playback device and the N.

具体实现中,终端可将主播放设备和N个从播放设备组成第一播放设备组,并根据主播放设备的身份信息和N对第一播放设备组进行命名。In a specific implementation, the terminal may form the master playback device and N slave playback devices into a first playback device group, and name the first playback device group according to the identity information of the master playback device and N.

可选地,终端根据主播放设备的身份信息和N对第一播放设备组进行命名,该命名可为“主播放设备的名称+N”,例如,假设主播放设备的名称为“Tiger”,N为3,第一播放设备组的命名为:Tiger03,或者,第一播放设备组的命名为:Tiger-03,或者,第一播放设备组的命名为:Tiger+03或者,第一播放设备组的命名为:Tiger+3,不仅限于于此。进一步地,用户可从第一播放设备组的命名中了解到主播放设备的名称,根据该名称用户便知道该主播放设备为无线音乐系统中的哪一个播放设备,并且,用户可从第一播放设备组的命名中了解到从播放设备的数目,及第一播放设备组包含的播放设备的数目。Optionally, the terminal names the first playback device group according to the identity information of the main playback device and N, the name may be "the name of the main playback device + N", for example, assuming that the name of the main playback device is "Tiger", N is 3, the name of the first playback device group is: Tiger03, or, the name of the first playback device group is: Tiger-03, or, the name of the first playback device group is: Tiger+03 or, the first playback device The name of the group is: Tiger+3, not limited to this. Further, the user can learn the name of the main playback device from the naming of the first playback device group, and the user will know which playback device the main playback device is in the wireless music system according to the name, and the user can obtain the name of the main playback device from the first playback device group. The number of playback devices and the number of playback devices included in the first playback device group can be known from the naming of the playback device group.

作为一种可能的实施方式,本发明实施例中,无线音乐系统可包括至少一个播放设备组,即除了第一播放设备组之外,还可包括其他播放设备组,不妨可以称为第二播放设备组,该第二播放设备组可从无线音乐系统中除第一播放设备组之外的播放设备中选择一定数目的播放设备,组成第二播放设备组。假设无线音乐系统包括M个播放设备,第一播放设备组包括N个播放设备,其中,M大于N,终端可从无线音乐系统中除了第一播放设备组之外的M-N个播放设备确定主播放设备及该主播设备的身份信息,然后,确定用户添加的K个从播放设备,其中,K小于或者等于M-N-1的正整数,最后,可将该主播放设备和该K个从播放设备组成第二播放设备组,并且,根据该主播放设备的身份信息和该K对第二播放设备组进行命名。As a possible implementation, in the embodiment of the present invention, the wireless music system may include at least one playback device group, that is, in addition to the first playback device group, it may also include other playback device groups, which may be called the second playback device group. A device group, the second playback device group can select a certain number of playback devices from the playback devices in the wireless music system except the first playback device group to form the second playback device group. Assuming that the wireless music system includes M playback devices, and the first playback device group includes N playback devices, where M is greater than N, the terminal can determine the main playback device from the M-N playback devices in the wireless music system except the first playback device group. device and the identity information of the host device, and then determine the K slave playback devices added by the user, where K is a positive integer less than or equal to M-N-1, and finally, the master playback device and the K slave playback devices can be composed the second playback device group, and name the second playback device group according to the identity information of the main playback device and the K.

本发明实施例确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备的身份信息和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。The embodiment of the present invention determines the master playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; determines N slave playback devices added by the user, wherein the N The slave playback device comes from the wireless music system, and the N is a positive integer less than or equal to M-1; the master playback device and the N slave playback devices are formed into a first playback device group, and according to the master playback device The identity information of the playback device and the N name the first playback device group. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the identity information of the main playback device and the number of secondary playback devices, thereby simplifying the playback device The process of naming after grouping and improving user experience.

请参阅图2,图2是本发明实施例提供的一种播放设备组的命名管理方法第二实施例流程示意图。本实施例中所描述的播放设备组的命名管理方法,包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a second embodiment of a method for naming and managing playback device groups provided by an embodiment of the present invention. The naming management method of the playback device group described in this embodiment includes the following steps:

S201、确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数。S201. Determine a main playback device in a wireless music system, where the wireless music system includes M playback devices, where M is an integer greater than 1.

具体实现中,终端可确定无线音乐系统中的主播放设备,该无线音乐系统可由多个播放设备组成,终端可将该多个播放设备的任一播放设备确定为主播放设备,该无线音乐系统可包括M个播放设备,其中,M为大于1的整数。其中,主播放设备的身份信息可包括但不仅限于:该主播放设备的名称、硬件地址、上网许可号、编号等等。具体地,终端可接收用户输入的选择指令,根据该选择指令的指示信息从该无线音乐系统中的播放设备作为主播放设备以响应该选择指令。In a specific implementation, the terminal can determine the main playback device in the wireless music system. The wireless music system can be composed of multiple playback devices. The terminal can determine any playback device of the multiple playback devices as the main playback device. The wireless music system It may include M playback devices, where M is an integer greater than 1. Wherein, the identity information of the main playback device may include but not limited to: the name of the main playback device, hardware address, Internet access license number, serial number and so on. Specifically, the terminal may receive a selection instruction input by the user, and respond to the selection instruction from the playback device in the wireless music system as the main playback device according to the indication information of the selection instruction.

S202、确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数。S202. Determine N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and N is a positive integer less than or equal to M-1.

具体实现中,终端可确定用户添加的N个从播放设备,终端在接收到用户输入的添加指令的时候,确定用户需要添加的从播放设备,同时,确定用户需要添加的从播放设备的数目,该从播放设备来自于无线音乐系统中除主播放设备之外的播放设备,即N个从播放设备来在于无线音乐系统中除主播放设备之外的M-1个播放设备,所以,N为小于或等于M-1的整数。In a specific implementation, the terminal can determine the N secondary playback devices added by the user. When the terminal receives the addition instruction input by the user, it determines the secondary playback devices that the user needs to add, and at the same time, determines the number of secondary playback devices that the user needs to add. The slave playback devices come from playback devices other than the master playback device in the wireless music system, that is, N slave playback devices come from M-1 playback devices other than the master playback device in the wireless music system, so N is An integer less than or equal to M-1.

需要说明的是,终端可从无线音乐系统中确定一个主播放设备和添加N个从播放设备,并将该主播放设备和该N个从播放设备组成播放设备组,其中,该N为大于或等于1的整数。无线音乐系统中除播放设备组之外的播放设备将不用主播放设备和从播放设备加以区分。It should be noted that the terminal can determine a master playback device and add N slave playback devices from the wireless music system, and form the master playback device and the N slave playback devices into a playback device group, wherein the N is greater than or An integer equal to 1. The playback devices other than the playback device group in the wireless music system will not be distinguished from the master playback device and the slave playback device.

S203、将所述主播放设备和所述N个从播放设备组成第一播放设备组。S203. Form the master playback device and the N slave playback devices into a first playback device group.

S204、将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N。S204. Generate a two-dimensional code based on the identity information of the main playback device and the N in a preset manner, where the N is displayed in a central area of the two-dimensional code.

S205、将所述二维码作为所述第一播放设备组的名称。S205. Use the two-dimensional code as the name of the first playback device group.

具体实现中,终端可将主播放设备的身份信息和N按照预设方式生成二维码,其中,该二维码的中心区域展示该N;并将该二维码作为第一播放设备组的名称。在用户扫描该二维码时候,可获取主播放设备的身份信息和N个从播放设备的身份信息及从播放设备的数目。In a specific implementation, the terminal can generate a two-dimensional code based on the identity information of the main playback device and N according to a preset method, wherein the central area of the two-dimensional code displays the N; and use the two-dimensional code as the first playback device group name. When the user scans the two-dimensional code, the identity information of the master playback device, the identity information of N slave playback devices and the number of slave playback devices can be obtained.

进一步可选地,终端可以主播放设备的身份信息作为前缀和N作为后缀对第一播放设备组进行命名。具体地,终端根据主播放设备的身份信息和N对第一播放设备组进行命名,该命名可为“主播放设备的名称+N”,例如,假设主播放设备的名称为“Tiger”,N为3,第一播放设备组的命名为:Tiger03,或者,第一播放设备组的命名为:Tiger-03,或者,第一播放设备组的命名为:Tiger+03或者,第一播放设备组的命名为:Tiger+3,不仅限于于此。进一步地,用户可从第一播放设备组的命名中了解到主播放设备的名称,根据该名称用户便知道该主播放设备为无线音乐系统中的哪一个播放设备,并且,用户可从第一播放设备组的命名中了解到从播放设备的数目,及第一播放设备组包含的播放设备的数目。Further optionally, the terminal may name the first playback device group with the identity information of the main playback device as a prefix and N as a suffix. Specifically, the terminal names the first playback device group according to the identity information of the main playback device and N, which can be "the name of the main playback device + N". For example, assuming that the name of the main playback device is "Tiger", N 3, the name of the first playback device group is: Tiger03, or, the name of the first playback device group is: Tiger-03, or, the name of the first playback device group is: Tiger+03 or, the first playback device group The name is: Tiger+3, not limited to this. Further, the user can learn the name of the main playback device from the naming of the first playback device group, and the user will know which playback device the main playback device is in the wireless music system according to the name, and the user can obtain the name of the main playback device from the first playback device group. The number of playback devices and the number of playback devices included in the first playback device group can be known from the naming of the playback device group.

作为一种可能的实施方式,本发明实施例中,无线音乐系统可包括至少一个播放设备组,即除了第一播放设备组之外,还可包括其他播放设备组,不妨可以称为第二播放设备组,该第二播放设备组可从无线音乐系统中除第一播放设备组之外的播放设备中选择一定数目的播放设备,组成第二播放设备组。假设无线音乐系统包括M个播放设备,第一播放设备组包括N个播放设备,其中,M大于N,终端可从无线音乐系统中除了第一播放设备组之外的M-N个播放设备确定主播放设备及该主播设备的身份信息,然后,确定用户添加的K个从播放设备,其中,K小于或者等于M-N-1的正整数,最后,可将该主播放设备和该K个从播放设备组成第二播放设备组,并且,根据该主播放设备的身份信息和该K对第二播放设备组进行命名。As a possible implementation, in the embodiment of the present invention, the wireless music system may include at least one playback device group, that is, in addition to the first playback device group, it may also include other playback device groups, which may be called the second playback device group. A device group, the second playback device group can select a certain number of playback devices from the playback devices in the wireless music system except the first playback device group to form the second playback device group. Assuming that the wireless music system includes M playback devices, and the first playback device group includes N playback devices, where M is greater than N, the terminal can determine the main playback device from the M-N playback devices in the wireless music system except the first playback device group. device and the identity information of the host device, and then determine the K slave playback devices added by the user, where K is a positive integer less than or equal to M-N-1, and finally, the master playback device and the K slave playback devices can be composed the second playback device group, and name the second playback device group according to the identity information of the master playback device and the K.

本发明实施例确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组;将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N;将所述二维码作为所述第一播放设备组的名称。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备的身份信息和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。The embodiment of the present invention determines the master playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; determines N slave playback devices added by the user, wherein the N The slave playback device comes from the wireless music system, and the N is a positive integer less than or equal to M-1; the master playback device and the N slave playback devices are formed into a first playback device group; the master playback The identity information of the device and the N generate a two-dimensional code according to a preset method, wherein the central area of the two-dimensional code displays the N; and the two-dimensional code is used as the name of the first playback device group. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the identity information of the main playback device and the number of secondary playback devices, thereby simplifying the playback device The process of naming after grouping and improving user experience.

请参阅图3,图3是本发明实施例提供的一种播放设备组的命名管理方法的第三实施例流程示意图。本实施例中所描述的播放设备组的命名管理方法,包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a third embodiment of a method for managing a playback device group name provided by an embodiment of the present invention. The naming management method of the playback device group described in this embodiment includes the following steps:

S301、确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数。S301. Determine a main playback device in a wireless music system, where the wireless music system includes M playback devices, where M is an integer greater than 1.

具体实现中,终端可确定无线音乐系统中的主播放设备,该无线音乐系统可由多个播放设备组成,终端可将该多个播放设备的任一播放设备确定为主播放设备,该无线音乐系统可包括M个播放设备,其中,M为大于1的整数。其中,主播放设备的身份信息可包括但不仅限于:该主播放设备的名称、硬件地址、上网许可号、编号等等。具体地,终端可接收用户输入的选择指令,根据该选择指令的指示信息从该无线音乐系统中的播放设备作为主播放设备以响应所述选择指令。In a specific implementation, the terminal can determine the main playback device in the wireless music system. The wireless music system can be composed of multiple playback devices. The terminal can determine any playback device of the multiple playback devices as the main playback device. The wireless music system It may include M playback devices, where M is an integer greater than 1. Wherein, the identity information of the main playback device may include but not limited to: the name of the main playback device, hardware address, Internet access license number, serial number and so on. Specifically, the terminal may receive a selection instruction input by the user, and respond to the selection instruction from the playback device in the wireless music system as the main playback device according to the indication information of the selection instruction.

S302、确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数。S302. Determine N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and N is a positive integer less than or equal to M-1.

具体实现中,终端可确定用户添加的N个从播放设备,终端在接收到用户输入的添加指令的时候,确定用户需要添加的从播放设备,同时,确定用户需要添加的从播放设备的数目,该从播放设备来自于无线音乐系统中除主播放设备之外的播放设备,即N个从播放设备来在于无线音乐系统中除主播放设备之外的M-1个播放设备,所以,N为小于或等于M-1的整数。In a specific implementation, the terminal can determine the N secondary playback devices added by the user. When the terminal receives the addition instruction input by the user, it determines the secondary playback devices that the user needs to add, and at the same time, determines the number of secondary playback devices that the user needs to add. The slave playback devices come from playback devices other than the master playback device in the wireless music system, that is, N slave playback devices come from M-1 playback devices other than the master playback device in the wireless music system, so N is An integer less than or equal to M-1.

需要说明的是,终端可从无线音乐系统中确定一个主播放设备和添加N个从播放设备,并将该主播放设备和该N个从播放设备组成播放设备组,其中,该N为大于或等于1的整数。无线音乐系统中除播放设备组之外的播放设备将不用主播放设备和从播放设备加以区分。It should be noted that the terminal can determine a master playback device and add N slave playback devices from the wireless music system, and form the master playback device and the N slave playback devices into a playback device group, wherein the N is greater than or An integer equal to 1. The playback devices other than the playback device group in the wireless music system will not be distinguished from the master playback device and the slave playback device.

S303、将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。S303. Form the master playback device and the N slave playback devices into a first playback device group, and name the first playback device group according to the identity information of the master playback device and the N.

具体实现中,终端可将主播放设备和N个从播放设备组成第一播放设备组,并根据主播放设备的身份信息和N对第一播放设备组进行命名。In a specific implementation, the terminal may form the master playback device and N slave playback devices into a first playback device group, and name the first playback device group according to the identity information of the master playback device and N.

可选地,终端根据主播放设备的身份信息和N对第一播放设备组进行命名,该命名可为“主播放设备的名称+N”,例如,假设主播放设备的名称为“Tiger”,N为3,第一播放设备组的命名为:Tiger03,或者,第一播放设备组的命名为:Tiger-03,或者,第一播放设备组的命名为:Tiger+03或者,第一播放设备组的命名为:Tiger+3,不仅限于于此。进一步地,用户可从第一播放设备组的命名中了解到主播放设备的名称,根据该名称用户便知道该主播放设备为无线音乐系统中的哪一个播放设备,并且,用户可从第一播放设备组的命名中了解到从播放设备的数目,及第一播放设备组包含的播放设备的数目。Optionally, the terminal names the first playback device group according to the identity information of the main playback device and N, the name may be "the name of the main playback device + N", for example, assuming that the name of the main playback device is "Tiger", N is 3, the name of the first playback device group is: Tiger03, or, the name of the first playback device group is: Tiger-03, or, the name of the first playback device group is: Tiger+03 or, the first playback device The name of the group is: Tiger+3, not limited to this. Further, the user can learn the name of the main playback device from the naming of the first playback device group, and the user will know which playback device the main playback device is in the wireless music system according to the name, and the user can obtain the name of the main playback device from the first playback device group. The number of playback devices and the number of playback devices included in the first playback device group can be known from the naming of the playback device group.

作为一种可能的实施方式,本发明实施例中,无线音乐系统可包括至少一个播放设备组,即除了第一播放设备组之外,还可包括其他播放设备组,不妨可以称为第二播放设备组,该第二播放设备组可从无线音乐系统中除第一播放设备组之外的播放设备中选择一定数目的播放设备,组成第二播放设备组。假设无线音乐系统包括M个播放设备,第一播放设备组包括N个播放设备,其中,M大于N,终端可从无线音乐系统中除了第一播放设备组之外的M-N个播放设备确定主播放设备及该主播设备的身份信息,然后,确定用户添加的K个从播放设备,其中,K小于或者等于M-N-1的正整数,最后,可将该主播放设备和该K个从播放设备组成第二播放设备组,并且,根据该主播放设备的身份信息和该K对第二播放设备组进行命名。As a possible implementation, in the embodiment of the present invention, the wireless music system may include at least one playback device group, that is, in addition to the first playback device group, it may also include other playback device groups, which may be called the second playback device group. A device group, the second playback device group can select a certain number of playback devices from the playback devices in the wireless music system except the first playback device group to form the second playback device group. Assuming that the wireless music system includes M playback devices, and the first playback device group includes N playback devices, where M is greater than N, the terminal can determine the main playback device from the M-N playback devices in the wireless music system except the first playback device group. device and the identity information of the host device, and then determine the K slave playback devices added by the user, where K is a positive integer less than or equal to M-N-1, and finally, the master playback device and the K slave playback devices can be composed the second playback device group, and name the second playback device group according to the identity information of the main playback device and the K.

S304、确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数。S304. Determine K secondary playback devices deleted from the first playback device group, where K is an integer greater than or equal to 1 and less than or equal to N.

具体实现中,终端可确定从第一播放设备组中删除的K个从播放设备,其中,K为大于或等于1且小于或等于N的整数。终端可接收用户输入的删除指令,从第一播放设备组中删除K个从播放设备以响应该删除指令。In a specific implementation, the terminal may determine K secondary playback devices deleted from the first playback device group, where K is an integer greater than or equal to 1 and less than or equal to N. The terminal may receive a deletion instruction input by the user, and delete K secondary playback devices from the first playback device group in response to the deletion instruction.

S305、将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。S305. Form the master playback device and N-K slave playback devices that have not been deleted into a second playback device group, and name the second playback device group according to the identity information and the N-K slave playback devices.

具体实现中,终端可将第一播放设备组中的主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据该主播放设备的身份信息和N-K对该第二播放设备组进行命名。In a specific implementation, the terminal can form the master player device in the first player device group and N-K slave player devices that have not been deleted to form a second player device group, and play the second player device according to the identity information of the master player device and N-K The device group is named.

进一步地,终端可在完成第二播放设备组的命名之后,将被删除的K个从播放设备切换至暂停播放状态。Further, the terminal may switch the deleted K secondary playback devices to a playback pause state after completing the naming of the second playback device group.

本发明实施例确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名;确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。The embodiment of the present invention determines the master playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; determines N slave playback devices added by the user, wherein the N The slave playback device comes from the wireless music system, and the N is a positive integer less than or equal to M-1; the master playback device and the N slave playback devices are formed into a first playback device group, and according to the master playback device The identity information of the playback device and the N name the first playback device group; determine K secondary playback devices to be deleted from the first playback device group, wherein the K is greater than or equal to 1 and less than or an integer equal to N; forming a second playback device group from the master playback device and N-K slave playback devices that have not been deleted, and naming the second playback device group according to the identity information and the N-K. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the number of the main playback device and the secondary playback devices, thereby simplifying the naming of playback devices after grouping process and improve user experience.

请参阅图4,图4是本发明实施例提供的一种播放设备组的命名管理方法的第四实施例流程示意图。本实施例中所描述的无线音乐系统分组及命名,包括以下步骤:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of a fourth embodiment of a method for managing a playback device group name provided by an embodiment of the present invention. The grouping and naming of the wireless music system described in this embodiment includes the following steps:

S401、确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数。S401. Determine a main playback device in a wireless music system, where the wireless music system includes M playback devices, where M is an integer greater than 1.

具体实现中,终端可确定无线音乐系统中的主播放设备,该无线音乐系统可由多个播放设备组成,终端可将该多个播放设备的任一播放设备确定为主播放设备,该无线音乐系统可包括M个播放设备,其中,M大于1的整数。其中,主播放设备的身份信息可包括但不仅限于:该主播放设备的名称、硬件地址、上网许可号、编号等等。具体地,终端可接收用户输入的选择指令,根据该选择指令的指示信息从该无线音乐系统中的播放设备作为主播放设备以响应所述选择指令。In a specific implementation, the terminal can determine the main playback device in the wireless music system. The wireless music system can be composed of multiple playback devices. The terminal can determine any playback device of the multiple playback devices as the main playback device. The wireless music system It may include M playback devices, where M is an integer greater than 1. Wherein, the identity information of the main playback device may include but not limited to: the name of the main playback device, hardware address, Internet access license number, serial number and so on. Specifically, the terminal may receive a selection instruction input by the user, and respond to the selection instruction from the playback device in the wireless music system as the main playback device according to the indication information of the selection instruction.

S402、确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数。S402. Determine N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and N is a positive integer less than or equal to M-1.

具体实现中,终端可确定用户添加的N个从播放设备,终端在接收到用户输入的添加指令的时候,确定用户需要添加的从播放设备,同时,确定用户需要添加的从播放设备的数目,该从播放设备来自于无线音乐系统中除主播放设备之外的播放设备,即N个从播放设备来在于无线音乐系统中除主播放设备之外的M-1个播放设备,所以,N为小于或等于M-1的整数。In a specific implementation, the terminal can determine the N secondary playback devices added by the user. When the terminal receives the addition instruction input by the user, it determines the secondary playback devices that the user needs to add, and at the same time, determines the number of secondary playback devices that the user needs to add. The slave playback devices come from playback devices other than the master playback device in the wireless music system, that is, N slave playback devices come from M-1 playback devices other than the master playback device in the wireless music system, so N is An integer less than or equal to M-1.

需要说明的是,终端可从无线音乐系统中确定一个主播放设备和添加N个从播放设备,并将该主播放设备和该N个从播放设备组成播放设备组,其中,该N为大于或等于1的整数。无线音乐系统中除播放设备组之外的播放设备将不用主播放设备和从播放设备加以区分。It should be noted that the terminal can determine a master playback device and add N slave playback devices from the wireless music system, and form the master playback device and the N slave playback devices into a playback device group, wherein the N is greater than or An integer equal to 1. The playback devices other than the playback device group in the wireless music system will not be distinguished from the master playback device and the slave playback device.

S403、将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。S403. Form the master playback device and the N slave playback devices into a first playback device group, and name the first playback device group according to the identity information of the master playback device and the N.

具体实现中,终端可将主播放设备和N个从播放设备组成第一播放设备组,并根据主播放设备的身份信息和N对第一播放设备组进行命名。In a specific implementation, the terminal may form the master playback device and N slave playback devices into a first playback device group, and name the first playback device group according to the identity information of the master playback device and N.

可选地,终端根据主播放设备的身份信息和N对第一播放设备组进行命名,该命名可为“主播放设备的名称+N”,例如,假设主播放设备的名称为“Tiger”,N为3,第一播放设备组的命名为:Tiger03,或者,第一播放设备组的命名为:Tiger-03,或者,第一播放设备组的命名为:Tiger+03或者,第一播放设备组的命名为:Tiger+3,不仅限于于此。进一步地,用户可从第一播放设备组的命名中了解到主播放设备的名称,根据该名称用户便知道该主播放设备为无线音乐系统中的哪一个播放设备,并且,用户可从第一播放设备组的命名中了解到从播放设备的数目,及第一播放设备组包含的播放设备的数目。Optionally, the terminal names the first playback device group according to the identity information of the main playback device and N, the name may be "the name of the main playback device + N", for example, assuming that the name of the main playback device is "Tiger", N is 3, the name of the first playback device group is: Tiger03, or, the name of the first playback device group is: Tiger-03, or, the name of the first playback device group is: Tiger+03 or, the first playback device The name of the group is: Tiger+3, not limited to this. Further, the user can learn the name of the main playback device from the naming of the first playback device group, and the user will know which playback device the main playback device is in the wireless music system according to the name, and the user can obtain the name of the main playback device from the first playback device group. The number of playback devices and the number of playback devices included in the first playback device group can be known from the naming of the playback device group.

作为一种可能的实施方式,本发明实施例中,无线音乐系统可包括至少一个播放设备组,即除了第一播放设备组之外,还可包括其他播放设备组,不妨可以称为第二播放设备组,该第二播放设备组可从无线音乐系统中除第一播放设备组之外的播放设备中选择一定数目的播放设备,组成第二播放设备组。假设无线音乐系统包括M个播放设备,第一播放设备组包括N个播放设备,其中,M大于N,终端可从无线音乐系统中除了第一播放设备组之外的M-N个播放设备确定主播放设备及该主播设备的身份信息,然后,确定用户添加的K个从播放设备,其中,K小于或者等于M-N-1的正整数,最后,可将该主播放设备和该K个从播放设备组成第二播放设备组,并且,根据该主播放设备的身份信息和该K对第二播放设备组进行命名。As a possible implementation, in the embodiment of the present invention, the wireless music system may include at least one playback device group, that is, in addition to the first playback device group, it may also include other playback device groups, which may be called the second playback device group. A device group, the second playback device group can select a certain number of playback devices from the playback devices in the wireless music system except the first playback device group to form the second playback device group. Assuming that the wireless music system includes M playback devices, and the first playback device group includes N playback devices, where M is greater than N, the terminal can determine the main playback device from the M-N playback devices in the wireless music system except the first playback device group. device and the identity information of the host device, and then determine the K slave playback devices added by the user, where K is a positive integer less than or equal to M-N-1, and finally, the master playback device and the K slave playback devices can be composed the second playback device group, and name the second playback device group according to the identity information of the master playback device and the K.

S404、确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数。S404. Determine K slave playback devices and master playback devices deleted from the first playback device group, where K is an integer greater than or equal to 1 and less than or equal to N.

具体实现中,终端确定从第一播放设备组中删除的K个播放设备及主播放设备,其中,该K为大于或等于1且小于或等于N的整数,即终端在接收到删除指令的情况下,该删除指令用于从第一播放设备组中删除主播放设备和K个从播放设备,终端可从该第一播放设备组中删除主播放设备及K个从播放设备。In a specific implementation, the terminal determines the K playback devices and the main playback device deleted from the first playback device group, where K is an integer greater than or equal to 1 and less than or equal to N, that is, when the terminal receives the deletion instruction Next, the deletion instruction is used to delete the master playback device and the K slave playback devices from the first playback device group, and the terminal can delete the master playback device and the K slave playback devices from the first playback device group.

S405、以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备。S405. Determine a new master playback device from N-K slave playback devices that have not been deleted in the first playback device group in a random manner.

具体实现中,终端可以随机方式从第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备。即,终端可从未被删除的N-K个从播放设备选择任一从播放设备作为新的主播放设备。In a specific implementation, the terminal may determine a new master playback device from N-K slave playback devices that have not been deleted in the first playback device group in a random manner. That is, the terminal may select any slave playback device from the undeleted N-K slave playback devices as a new master playback device.

S406、将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。S406. Form the new master playback device and N-K-1 slave playback devices that have not been deleted into a third playback device group, and set the The third playback device group is named.

具体实现中,终端可将新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据该新的主播放设备的身份信息和N-K-1对所述第三播放设备组进行命名。In a specific implementation, the terminal can form a new master player device and N-K-1 slave player devices that have not been deleted into a third player device group, and set the third player group according to the identity information of the new master player device and N-K-1 Three playback device groups are named.

本发明实施例确定无线音乐系统中的主播放设备及所述主播放设备的身份信息,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述身份信息和所述N对所述第一播放设备组进行命名;确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。In the embodiment of the present invention, the main playback device in the wireless music system and the identity information of the main playback device are determined. The wireless music system includes M playback devices, and M is an integer greater than 1; determine the N slaves added by the user Playing device, wherein, described N from playing device come from described wireless music system, described N is the positive integer that is less than or equal to M-1; The described main playing device and described N from playing device form the first play device group, and name the first play device group according to the identity information and the N; determine K slave play devices and master play devices deleted from the first play device group, wherein the Said K is an integer greater than or equal to 1 and less than or equal to N; determine a new master player device from the N-K slave player devices that are not deleted in the first player device group in a random manner; The device and N-K-1 slave playback devices that have not been deleted form a third playback device group, and name the third playback device group according to the identity information of the new master playback device and the N-K-1. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the number of the main playback device and the secondary playback devices, thereby simplifying the naming of playback devices after grouping process and improve user experience.

请参见图5a,图5a为本发明实施例提供的一种终端的第一实施例的结构示意图,图5a所描述的播放设备可包括:第一确定单元501、第一确定单元502、和第二命名单元503,具体如下:Please refer to FIG. 5a. FIG. 5a is a schematic structural diagram of a first embodiment of a terminal provided by an embodiment of the present invention. The playback device described in FIG. 5a may include: a first determining unit 501, a first determining unit 502, and a Two naming unit 503, specifically as follows:

第一确定单元501,用于确定无线音乐系统中的主播放设备及,所述无线音乐系统包括M个播放设备,所述M为大于1的整数。The first determination unit 501 is configured to determine the main playback device in the wireless music system, where the wireless music system includes M playback devices, where M is an integer greater than 1.

具体实现中,第一确定单元501可确定无线音乐系统中的主播放设备,该无线音乐系统可由多个播放设备组成,第一确定单元501可将该多个播放设备的任一播放设备确定为主播放设备,该无线音乐系统可包括M个播放设备,其中,M为大于1的整数。其中,主播放设备的身份信息可包括但不仅限于:该主播放设备的名称、硬件地址、上网许可号、编号等等。In a specific implementation, the first determination unit 501 may determine the main playback device in the wireless music system. The wireless music system may be composed of multiple playback devices, and the first determination unit 501 may determine any playback device of the multiple playback devices as The main playback device, the wireless music system may include M playback devices, where M is an integer greater than 1. Wherein, the identity information of the main playback device may include but not limited to: the name of the main playback device, hardware address, Internet access license number, serial number and so on.

第二确定单元502,用于确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数。The second determination unit 502 is configured to determine N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and N is a positive integer less than or equal to M-1.

具体实现中,第二确定单元502可确定用户添加的N个从播放设备,进一步地,第二确定单元502在接收到用户输入的添加指令的时候,确定用户需要添加的从播放设备,同时,确定用户需要添加的从播放设备的数目,该从播放设备来自于无线音乐系统中除主播放设备之外的播放设备,即N个从播放设备来在于无线音乐系统中除主播放设备之外的M-1个播放设备,所以,N为小于或等于M-1的整数。In a specific implementation, the second determination unit 502 may determine the N secondary playback devices added by the user. Further, the second determination unit 502 determines the secondary playback devices that the user needs to add when receiving the addition instruction input by the user. At the same time, Determine the number of slave playback devices that the user needs to add. The slave playback devices come from playback devices other than the main playback device in the wireless music system, that is, N slave playback devices come from the wireless music system except the main playback device. There are M-1 playback devices, so N is an integer less than or equal to M-1.

需要说明的是,终端可从无线音乐系统中确定一个主播放设备和添加N个从播放设备,并将该主播放设备和该N个从播放设备组成播放设备组,其中,该N为大于或等于1的整数。无线音乐系统中除播放设备组之外的播放设备将不用主播放设备和从播放设备加以区分。It should be noted that the terminal can determine a master playback device and add N slave playback devices from the wireless music system, and form the master playback device and the N slave playback devices into a playback device group, wherein the N is greater than or An integer equal to 1. The playback devices other than the playback device group in the wireless music system will not be distinguished from the master playback device and the slave playback device.

第一命名单元503,用于将所述第一确定单元501确定的主播放设备和所述第二确定单元502确定的N个从播放设备组成的第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。The first naming unit 503 is configured to form a first playback device group composed of the master playback device determined by the first determination unit 501 and the N slave playback devices determined by the second determination unit 502, and play The identity information of the device and the N name the first playback device group.

具体实现中,第一命名单元503可将主播放设备和N个从播放设备组成第一播放设备组,并根据主播放设备的身份信息和N对第一播放设备组进行命名。In a specific implementation, the first naming unit 503 can form the master player device and N slave player devices into a first player device group, and name the first player device group according to the identity information and N of the master player device.

可选地,第一命名单元503根据主播放设备的身份信息和N对第一播放设备组进行命名,该命名可为“主播放设备的名称+N”,例如,假设主播放设备的名称为“Tiger”,N为3,第一播放设备组的命名为:Tiger03,或者,第一播放设备组的命名为:Tiger-03,或者,第一播放设备组的命名为:Tiger+03或者,第一播放设备组的命名为:Tiger+3,不仅限于于此。进一步地,用户可从第一播放设备组的命名中了解到主播放设备的名称,根据该名称用户便知道该主播放设备为无线音乐系统中的哪一个播放设备,并且,用户可从第一播放设备组的命名中了解到从播放设备的数目,及第一播放设备组包含的播放设备的数目。Optionally, the first naming unit 503 names the first playback device group according to the identity information of the main playback device and N, and the name may be "the name of the main playback device + N". For example, it is assumed that the name of the main playback device is "Tiger", N is 3, the name of the first playback device group is: Tiger03, or, the name of the first playback device group is: Tiger-03, or, the name of the first playback device group is: Tiger+03 or, The name of the first playback device group is: Tiger+3, but not limited thereto. Further, the user can learn the name of the main playback device from the naming of the first playback device group, and the user will know which playback device the main playback device is in the wireless music system according to the name, and the user can obtain the name of the main playback device from the first playback device group. The number of playback devices and the number of playback devices included in the first playback device group can be known from the naming of the playback device group.

作为一种可能的实施方式,本发明实施例中,无线音乐系统可包括至少一个播放设备组,即除了第一播放设备组之外,还可包括其他播放设备组,不妨可以称为第二播放设备组,该第二播放设备组可从无线音乐系统中除第一播放设备组之外的播放设备中选择一定数目的播放设备,组成第二播放设备组。假设无线音乐系统包括M个播放设备,第一播放设备组包括N个播放设备,其中,M大于N,第一确定单元501可从无线音乐系统中除了第一播放设备组之外的M-N个播放设备确定主播放设备及该主播设备的身份信息,然后,第二确定单元502确定用户添加的K个从播放设备,其中,K小于或者等于M-N-1的正整数,最后,第一命名单元503可将该主播放设备和该K个从播放设备组成第二播放设备组,并且,根据该主播放设备的身份信息和该K对第二播放设备组进行命名。As a possible implementation, in the embodiment of the present invention, the wireless music system may include at least one playback device group, that is, in addition to the first playback device group, it may also include other playback device groups, which may be called the second playback device group. A device group, the second playback device group can select a certain number of playback devices from the playback devices in the wireless music system except the first playback device group to form the second playback device group. Assuming that the wireless music system includes M playback devices, and the first playback device group includes N playback devices, where M is greater than N, the first determination unit 501 can play the The device determines the master player device and the identity information of the master player device, and then the second determination unit 502 determines K slave player devices added by the user, wherein K is a positive integer less than or equal to M-N-1, and finally, the first naming unit 503 The master playback device and the K slave playback devices may form a second playback device group, and the second playback device group is named according to the identity information of the master playback device and the K.

作为一种可能的实施方式,如图5b所示,图5a中所描述的终端的第一确定单元可包括:接收单元5011和选择单元5012,具体如下:As a possible implementation manner, as shown in FIG. 5b, the first determining unit of the terminal described in FIG. 5a may include: a receiving unit 5011 and a selecting unit 5012, specifically as follows:

接收单元5011,用于接收用户输入的选择指令。The receiving unit 5011 is configured to receive a selection instruction input by the user.

选择单元5012,用于将所述接收单元5011接收的选择指令所选择的所述无线音乐系统中的播放设备i确定为主播放设备。The selection unit 5012 is configured to determine the playback device i in the wireless music system selected by the selection instruction received by the receiving unit 5011 as the main playback device.

作为一种可能的实施方式,如图5c所示,图5a中所描述的终端还可包括:第三确定单元504和第二命名单元505,具体如下:As a possible implementation manner, as shown in FIG. 5c, the terminal described in FIG. 5a may further include: a third determining unit 504 and a second naming unit 505, specifically as follows:

第三确定单元504,用于确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;The third determining unit 504 is configured to determine K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

第二命名单元505,用于将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。The second naming unit 505 is configured to form the master playback device and N-K slave playback devices that have not been deleted into a second playback device group, and carry out the second playback device group according to the identity information and the N-K name.

作为一种可能的实施方式,如图5c所示,图5a中所描述的终端的第一命名单元503包括:生成单元5031和第一命名子单元5032,具体如下:As a possible implementation manner, as shown in FIG. 5c, the first naming unit 503 of the terminal described in FIG. 5a includes: a generating unit 5031 and a first naming subunit 5032, specifically as follows:

生成单元5031,用于将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N。The generating unit 5031 is configured to use the identity information of the main playback device and the N to generate a two-dimensional code in a preset manner, wherein the central area of the two-dimensional code displays the N.

第一命名子单元5032,用于将所述生成单元5031生成的二维码作为所述第一播放设备组的名称。The first naming subunit 5032 is configured to use the two-dimensional code generated by the generating unit 5031 as the name of the first playback device group.

具体实现中,生成单元5031可将主播放设备的身份信息和所述N按照预设方式生成二维码,其中,该二维码的中心区域展示该N;第一命名子单元5032将该二维码作为第一播放设备组的名称。在用户扫描该二维码时候,可获取主播放设备的身份信息和N个从播放设备的身份信息及从播放设备的数目。In a specific implementation, the generating unit 5031 can generate a two-dimensional code according to a preset method based on the identity information of the main playback device and the N, wherein the central area of the two-dimensional code displays the N; the first naming subunit 5032 takes the two The dimension code is used as the name of the first playback device group. When the user scans the two-dimensional code, the identity information of the master playback device, the identity information of N slave playback devices and the number of slave playback devices can be obtained.

作为一种可能的实施方式,如图5d所示,图5a中所描述的终端还可包括:第三确定单元504和第二命名单元505,具体如下:As a possible implementation manner, as shown in FIG. 5d, the terminal described in FIG. 5a may further include: a third determining unit 504 and a second naming unit 505, specifically as follows:

第三确定单元504,用于确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;The third determining unit 504 is configured to determine K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

第二命名单元505,用于将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。The second naming unit 505 is configured to form the master playback device and N-K slave playback devices that have not been deleted into a second playback device group, and carry out the second playback device group according to the identity information and the N-K name.

作为一种可能的实施方式,如图5e所示,图5a中所描述的终端还可包括:第四确定单元507、第五确定单元508和第三命名单元509,具体如下:As a possible implementation manner, as shown in FIG. 5e, the terminal described in FIG. 5a may further include: a fourth determining unit 507, a fifth determining unit 508, and a third naming unit 509, specifically as follows:

第四确定单元507,用于确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;The fourth determination unit 507 is configured to determine K slave playback devices and master playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

第五确定单元508,用于以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;The fifth determining unit 508 is configured to randomly determine a new master playback device from N-K slave playback devices that have not been deleted in the first playback device group;

第三命名单元509,用于将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。The third naming unit 509 is configured to form a third playback device group from the new master playback device and N-K-1 slave playback devices that have not been deleted, and according to the identity information of the new master playback device and the N-K-1 names the third playback device group.

本发明实施例所描述的终端可通过确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备的身份信息和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。The terminal described in the embodiment of the present invention can determine the master playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; determine the N slave playback devices added by the user, Wherein, the N slave playback devices come from the wireless music system, and the N is a positive integer less than or equal to M-1; the master playback device and the N slave playback devices form a first playback device group , and name the first playback device group according to the identity information of the master playback device and the N. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the identity information of the main playback device and the number of secondary playback devices, thereby simplifying the playback device The process of naming after grouping and improving user experience.

请参阅图6,图6为本发明实施例提供的一种终端的第二实施例的结构示意图。本实施例中所描述的终端包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of a second embodiment of a terminal provided by an embodiment of the present invention. The terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the above-mentioned input device 1000, output device 2000, processor 3000 and memory 4000 Connect via bus 5000.

其中,上述输入设备1000可为触控面板、普通PC、液晶屏、触控屏、触控按钮等。Wherein, the above-mentioned input device 1000 may be a touch panel, a common PC, a liquid crystal screen, a touch screen, a touch button, and the like.

上述存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatilememory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:The above-mentioned memory 4000 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory. The above-mentioned memory 4000 is used to store a set of program codes, and the above-mentioned input device 1000, output device 2000 and processor 3000 are used to call the program codes stored in the memory 4000, and perform the following operations:

上述处理器3000,用于:The above-mentioned processor 3000 is used for:

确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;Determine the main playback device in the wireless music system, the wireless music system includes M playback devices, and the M is an integer greater than 1;

确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;Determine the N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and the N is a positive integer less than or equal to M-1;

将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。Composing the master playback device and the N slave playback devices into a first playback device group, and naming the first playback device group according to the identity information of the master playback device and the N.

作为一种可行的实施方式,上述处理器3000确定无线音乐系统中的主播放设备及所述主播放设备的身份信息,具体为:As a feasible implementation manner, the processor 3000 determines the main playback device in the wireless music system and the identity information of the main playback device, specifically:

接收用户输入的选择指令;Receive the selection command input by the user;

将所述选择指令所选择的所述无线音乐系统中的播放设备i确定为主播放设备。The playback device i in the wireless music system selected by the selection instruction is determined as the main playback device.

作为一种可行的实施方式,上述处理器3000根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命命,具体为:As a feasible implementation manner, the processor 3000 commands the first playback device group according to the identity information of the main playback device and the N, specifically:

将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N;generating a two-dimensional code with the identity information of the main playback device and the N according to a preset method, wherein the central area of the two-dimensional code displays the N;

将所述二维码作为所述第一播放设备组的名称;Using the two-dimensional code as the name of the first playback device group;

或者,or,

以所述主播放设备的身份信息作为前缀和所述N作为后缀对所述第一播放设备组进行命名。The first playback device group is named with the identity information of the main playback device as a prefix and the N as a suffix.

作为一种可行的实施方式,上述处理器3000将所述主播放设备和所述N个从播放设备组成的播放设备组,并根据所述主播放设备的身份信息和所述N对所述播放设备组进行命名之后,还具体用于:As a feasible implementation manner, the above processor 3000 forms a playback device group composed of the master playback device and the N slave playback devices, and according to the identity information of the master playback device and the N pairs of the playback devices After the device group is named, it is also specifically used for:

确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;Determining K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。The master playback device and N-K slave playback devices that have not been deleted form a second playback device group, and name the second playback device group according to the identity information and the N-K.

作为一种可行的实施方式,上述处理器3000将所述主播放设备和所述N个播放设备组成的播放设备组,并根据所述主播放设备的身份信息和所述N对所述播放设备组进行命名之后,还具体用于:As a feasible implementation manner, the above processor 3000 forms a playback device group composed of the main playback device and the N playback devices, and according to the identity information of the main playback device and the N pairs of playback devices After the group is named, it is also specifically used for:

确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;Determining K slave playback devices and master playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N;

以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;Determine a new master playback device from N-K slave playback devices that are not deleted in the first playback device group in a random manner;

将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。The new main playback device and the N-K-1 slave playback devices that have not been deleted form a third playback device group, and according to the identity information of the new main playback device and the N-K-1 playback device group to name it.

作为一种可行的实施方式,上述处理器3000将所述主播放设备和未被删除的N-K个播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名之后,还具体用于:As a feasible implementation manner, the above processor 3000 forms the main playback device and N-K playback devices that have not been deleted into a second playback device group, and assigns the second playback device group according to the identity information and the N-K playback devices. After the device group is named, it is also specifically used for:

将被删除的K个从播放设备切换至暂停播放状态。Switch the deleted K from the playback device to the pause playback state.

本发明实施例所描述的终端可通过确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名。采用本发明实施例可将主播放设备及用户添加的从播放设备组成播放设备组,并根据该主播放设备的身份信息和从播放设备的数量对该播放设备组进行命名,从而,简化播放设备分组后命名的过程及提高用户体验。The terminal described in the embodiment of the present invention can determine the master playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; determine the N slave playback devices added by the user, Wherein, the N slave playback devices come from the wireless music system, and the N is a positive integer less than or equal to M-1; the master playback device and the N slave playback devices form a first playback device group , and name the first playback device group according to the identity information of the master playback device and the N. By adopting the embodiment of the present invention, the main playback device and the secondary playback devices added by the user can be composed into a playback device group, and the playback device group can be named according to the identity information of the main playback device and the number of secondary playback devices, thereby simplifying the playback device The process of naming after grouping and improving user experience.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任意一种信号处理方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all steps of any one of the signal processing methods described in the above method embodiments when executed.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present invention, certain steps may be carried out in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(英文:Read-Only Memory,缩写:ROM)或者随机存取存储器(英文:Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute all or part of the steps of the above-mentioned methods in various embodiments of the present invention. Wherein, the aforementioned storage medium may include: U disk, mobile hard disk, magnetic disk, optical disc, read-only memory (English: Read-Only Memory, abbreviation: ROM) or random access memory (English: Random Access Memory, abbreviation: RAM) and other media that can store program codes.

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (8)

1.一种播放设备组的命名管理方法,其特征在于,包括:1. A naming management method of a playback device group, characterized in that, comprising: 确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;Determine the main playback device in the wireless music system, the wireless music system includes M playback devices, and the M is an integer greater than 1; 确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;Determine the N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and the N is a positive integer less than or equal to M-1; 将所述主播放设备和所述N个从播放设备组成第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名,所述身份信息为以下至少一种:所述主播放设备的名称、上网许可号和编号;Forming the master player device and the N slave player devices into a first player device group, and naming the first player device group according to the identity information of the master player device and the N, the identity information It is at least one of the following: the name of the main playback device, the Internet access license number and serial number; 确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;Determining K slave playback devices and master playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N; 以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;Determine a new master playback device from N-K slave playback devices that are not deleted in the first playback device group in a random manner; 将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。The new main playback device and the N-K-1 slave playback devices that have not been deleted form a third playback device group, and according to the identity information of the new main playback device and the N-K-1 playback device group to name it. 2.如权利要求1所述的方法,其特征在于,所述确定无线音乐系统中的主播放设备,包括:2. The method according to claim 1, wherein said determining the main playback device in the wireless music system comprises: 接收用户输入的选择指令;Receive the selection command input by the user; 将所述选择指令所选择的所述无线音乐系统中的播放设备i确定为主播放设备。The playback device i in the wireless music system selected by the selection instruction is determined as the main playback device. 3.如权利要求1所述的方法,起特征在于,所述根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名包括:3. The method according to claim 1, characterized in that, naming the first playback device group according to the identity information of the master playback device and the N includes: 将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N;generating a two-dimensional code with the identity information of the main playback device and the N according to a preset method, wherein the central area of the two-dimensional code displays the N; 将所述二维码作为所述第一播放设备组的名称;Using the two-dimensional code as the name of the first playback device group; 或者,or, 以所述主播放设备的身份信息作为前缀和所述N作为后缀对所述第一播放设备组进行命名。The first playback device group is named with the identity information of the main playback device as a prefix and the N as a suffix. 4.如权利要求1至3任一项所述的方法,其特征在于,所述根据所述身份信息和所述N对所述播放设备组进行命名之后,所述方法还包括:4. The method according to any one of claims 1 to 3, wherein after naming the playback device group according to the identity information and the N, the method further comprises: 确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;Determining K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N; 将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。The master playback device and N-K slave playback devices that have not been deleted form a second playback device group, and name the second playback device group according to the identity information and the N-K. 5.一种终端,其特征在于,包括:5. A terminal, characterized in that, comprising: 第一确定单元,用于确定无线音乐系统中的主播放设备,所述无线音乐系统包括M个播放设备,所述M为大于1的整数;The first determining unit is used to determine the main playback device in the wireless music system, the wireless music system includes M playback devices, and M is an integer greater than 1; 第二确定单元,用于确定用户添加的N个从播放设备,其中,所述N个从播放设备来自所述无线音乐系统,所述N为小于或等于M-1的正整数;The second determining unit is used to determine N secondary playback devices added by the user, wherein the N secondary playback devices are from the wireless music system, and the N is a positive integer less than or equal to M-1; 第一命名单元,用于将所述第一确定单元确定的主播放设备和所述第二确定单元确定的N个从播放设备组成的第一播放设备组,并根据所述主播放设备的身份信息和所述N对所述第一播放设备组进行命名,所述身份信息为以下至少一种:所述主播放设备的名称、上网许可号和编号;The first naming unit is used to form a first playback device group composed of the master playback device determined by the first determination unit and the N slave playback devices determined by the second determination unit, and according to the identity of the master playback device Information and the N name the first playback device group, and the identity information is at least one of the following: the name of the main playback device, the Internet access license number and serial number; 第四确定单元,用于确定从所述第一播放设备组中删除的K个从播放设备及主播放设备,其中,所述K为大于或等于1且小于或等于N的整数;A fourth determination unit, configured to determine K slave playback devices and master playback devices deleted from the first playback device group, wherein K is an integer greater than or equal to 1 and less than or equal to N; 第五确定单元,用于以随机方式从所述第一播放设备组中未被删除的N-K个从播放设备确定新的主播放设备;The fifth determination unit is used to randomly determine a new master playback device from N-K slave playback devices that have not been deleted in the first playback device group; 第三命名单元,用于将所述新的主播放设备和未被删除的N-K-1个从播放设备组成第三播放设备组,并根据所述新的主播放设备的身份信息和所述N-K-1对所述第三播放设备组进行命名。The third naming unit is used to form the new main playback device and N-K-1 slave playback devices that have not been deleted into a third playback device group, and according to the identity information of the new main playback device and the N-K -1 Name the third playback device group. 6.如权利要求5所述的终端,其特征在于,所述第一确定单元包括:6. The terminal according to claim 5, wherein the first determining unit comprises: 接收单元,用于接收用户输入的选择指令;a receiving unit, configured to receive a selection instruction input by a user; 选择单元,将所述接收单元接收的选择指令所选择的所述无线音乐系统中的播放设备i确定为主播放设备。The selecting unit determines the playing device i in the wireless music system selected by the selection instruction received by the receiving unit as the main playing device. 7.如权利要求5所述的终端,起特征在于,所述第一命名单元包括:7. The terminal according to claim 5, characterized in that, the first naming unit comprises: 生成单元,用于将所述主播放设备的身份信息和所述N按照预设方式生成二维码,其中,所述二维码的中心区域展示所述N;A generating unit, configured to generate a two-dimensional code by using the identity information of the main playback device and the N according to a preset method, wherein the central area of the two-dimensional code displays the N; 第一命名子单元,用于将所述生成单元生成的二维码作为所述第一播放设备组的名称;A first naming subunit, configured to use the two-dimensional code generated by the generating unit as the name of the first playback device group; 或者,or, 所述第一命名单元还具体用于:The first naming unit is also specifically used for: 以所述主播放设备的身份信息作为前缀和所述N作为后缀对所述第一播放设备组进行命名。The first playback device group is named with the identity information of the main playback device as a prefix and the N as a suffix. 8.如权利要求5至7任一项所述的终端,其特征在于,所述终端还包括:8. The terminal according to any one of claims 5 to 7, wherein the terminal further comprises: 第三确定单元,用于确定从所述第一播放设备组中删除的K个从播放设备,其中,所述K为大于或等于1且小于或等于N的整数;A third determining unit, configured to determine K secondary playback devices deleted from the first playback device group, wherein the K is an integer greater than or equal to 1 and less than or equal to N; 第二命名单元,用于将所述主播放设备和未被删除的N-K个从播放设备组成第二播放设备组,并根据所述身份信息和所述N-K对所述第二播放设备组进行命名。A second naming unit, configured to form the master playback device and N-K slave playback devices that have not been deleted into a second playback device group, and name the second playback device group according to the identity information and the N-K .
CN201510528816.6A 2015-08-25 2015-08-25 Naming management method of playing device group and terminal Active CN105096978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510528816.6A CN105096978B (en) 2015-08-25 2015-08-25 Naming management method of playing device group and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510528816.6A CN105096978B (en) 2015-08-25 2015-08-25 Naming management method of playing device group and terminal

Publications (2)

Publication Number Publication Date
CN105096978A CN105096978A (en) 2015-11-25
CN105096978B true CN105096978B (en) 2017-11-24

Family

ID=54577247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510528816.6A Active CN105096978B (en) 2015-08-25 2015-08-25 Naming management method of playing device group and terminal

Country Status (1)

Country Link
CN (1) CN105096978B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835690B (en) * 2019-04-22 2023-06-27 成都心尚信息技术有限公司 Online on-demand system and on-demand method for public place environmental music

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002097555A2 (en) * 2001-05-30 2002-12-05 Lg Electronics Inc. Network control system for home appliances
CN1691603A (en) * 2004-04-28 2005-11-02 联想(北京)有限公司 A method for implementing equipment group and intercommunication between grouped equipments
CN101296200A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 System and method for establishing multi-user conversation
CN103107927A (en) * 2011-11-15 2013-05-15 海信集团有限公司 Information interactive method of home gateway and home network system and home network system
CN104615005A (en) * 2015-01-04 2015-05-13 苏州触达信息技术有限公司 Internal management control method of interactive multimedia equipment group

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002097555A2 (en) * 2001-05-30 2002-12-05 Lg Electronics Inc. Network control system for home appliances
CN1533519A (en) * 2001-05-30 2004-09-29 Lg������ʽ���� Network Control System for Home Appliances
CN1691603A (en) * 2004-04-28 2005-11-02 联想(北京)有限公司 A method for implementing equipment group and intercommunication between grouped equipments
CN101296200A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 System and method for establishing multi-user conversation
CN103107927A (en) * 2011-11-15 2013-05-15 海信集团有限公司 Information interactive method of home gateway and home network system and home network system
CN104615005A (en) * 2015-01-04 2015-05-13 苏州触达信息技术有限公司 Internal management control method of interactive multimedia equipment group

Also Published As

Publication number Publication date
CN105096978A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
JP2018520725A (en) Information processing method, terminal, and computer storage medium
CN105371850B (en) A kind of route navigation method and mobile terminal
CN107678717B (en) A split-screen display method, mobile terminal and computer-readable storage medium
US20170192646A1 (en) Method and electronic device for hiding application icons and mobile phone
CN111352597A (en) Multi-screen display control method and device, electronic device and readable storage medium
JP6434640B2 (en) Message display method, message display device, and message display device
US20170168660A1 (en) Voice bullet screen generation method and electronic device
CN108052407A (en) A kind of application crash means of defence, device, equipment and storage medium
CN111654852A (en) Data card switching method, device, terminal and storage medium
WO2024109786A1 (en) Instant messaging session information processing method and apparatus, and electronic device
US20150109210A1 (en) Control method, and input device of touch screen terminal
CN107492034B (en) Resource transfer method, server, receiving terminal and sending terminal
CN107705105A (en) A kind of resource transfers method, server, terminal and resource transfers system
CN105072534B (en) Control method and terminal of wireless sound box system
CN105096978B (en) Naming management method of playing device group and terminal
CN105739771A (en) Display interface management method and device as well as terminal
CN108076044A (en) Service method for stream and equipment
CN105163338B (en) Grouping management method of playing equipment and terminal
CN105446601A (en) Playlist management method and mobile terminal
CN111158802A (en) Audio playing method and equipment, client device and electronic equipment
CN108769149A (en) Processing method, equipment and the computer readable storage medium of application partition
CN115291759A (en) Information processing method and device and electronic equipment
CN105006242B (en) Control method and terminal of wireless sound box system
CN105161123B (en) Method and terminal for grouping playing devices
CN113076166A (en) Method and device for processing page

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