








技术领域technical field
本发明涉及互联网技术领域,尤其涉及一种播放场景的显示控制方法及播放设备和介质产品。The present invention relates to the field of Internet technologies, and in particular, to a display control method of a playback scene, a playback device and a media product.
背景技术Background technique
随着人们生活品质的提高,越来越多的用户喜欢在家里放置多个播放设备(如音箱),这多个播放设备构成一个无线音乐系统。通常,用户会在这个无线音乐系统中选定一个播放设备作为主播放设备,而将其他播放设备作为从播放设备,该主播放设备直接与用户终端(如智能手机)进行通信,而从播放设备直接与主播放设备进行通信。用户可以在用户终端上根据自己的需要将无线音乐系统中的播放设备进行不同的分组,并将这些不同的分组命名为不同的播放场景,如“早晨”。With the improvement of people's quality of life, more and more users like to place multiple playback devices (such as speakers) at home, and these multiple playback devices constitute a wireless music system. Usually, the user will select one playback device as the master playback device in this wireless music system, and use other playback devices as the slave playback devices. The master playback device communicates directly with the user terminal (such as a smart phone), and the slave playback device Communicate directly with the main playback device. The user can group the playback devices in the wireless music system into different groups on the user terminal according to their needs, and name these different groups as different playback scenarios, such as "morning".
然而,实践中发现,由于家庭里的每个用户都可以为该无线音乐系统中的播放设备创建播放场景,因此,当用户通过用户终端登录无线音乐系统应用时,该无线音乐系统应用的界面上就会显示所有用户创建的所有播放场景,而针对有些播放场景来说,创建该播放场景的用户并不想其他用户使用,这样就会导致用户创建的播放场景的信息泄露,信息安全得不到保障。However, it is found in practice that since every user in the family can create a playback scene for the playback device in the wireless music system, when the user logs in to the wireless music system application through the user terminal, the interface of the wireless music system application will appear on the interface of the wireless music system application. All playback scenarios created by all users will be displayed. For some playback scenarios, the user who created the playback scenario does not want other users to use it, which will lead to information leakage of the playback scenario created by the user, and information security cannot be guaranteed. .
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种播放场景的显示控制方法及播放设备,可以提高播放场景的信息的安全性。Embodiments of the present invention provide a display control method and a playback device for a playback scene, which can improve the security of information of the playback scene.
本发明实施例第一方面公开了一种播放场景的显示控制方法,包括:A first aspect of the embodiments of the present invention discloses a display control method for a playback scene, including:
当检测到用户终端登陆无线音乐系统应用时,获取无线音乐系统包括的多个播放场景的权限属性,所述权限属性包括共享权限或私有权限;When detecting that the user terminal logs into the wireless music system application, obtain permission attributes of multiple playback scenarios included in the wireless music system, where the permission attributes include shared permissions or private permissions;
针对每一个所述播放场景,判断所述播放场景的权限属性是否为共享权限;For each of the playback scenarios, determine whether the permission attribute of the playback scenario is a sharing permission;
若是,则确定所述播放场景为共享播放场景;If yes, then determine that the playback scene is a shared playback scene;
提取所述共享播放场景的场景标识,并将所述共享播放场景的场景标识发送给所述用户终端,以使所述用户终端在所述无线音乐系统应用的界面上显示所述共享播放场景的场景标识。Extract the scene identifier of the shared playback scene, and send the scene identifier of the shared playback scene to the user terminal, so that the user terminal displays the shared playback scene on the interface of the wireless music system application. Scene ID.
结合第一方面,在第一方面的第一种可能的实施方式中,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
当判断所述播放场景的权限属性为私有权限时,确定所述播放场景为私有播放场景;When judging that the authority attribute of the playback scene is a private authority, determine that the playback scene is a private playback scene;
向所述用户终端发送标识获取指令;sending an identification acquisition instruction to the user terminal;
接收所述用户终端响应所述标识获取指令发送的所述用户终端的标识信息;receiving the identification information of the user terminal sent by the user terminal in response to the identification acquisition instruction;
判断所述用户终端的标识信息是否与所述私有播放场景对应的创建用户终端的标识信息匹配;judging whether the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private play scene;
若匹配,则提取所述私有播放场景的场景标识,并将所述私有播放场景的场景标识发送给所述用户终端,以使所述用户终端在所述无线音乐系统应用的界面上显示所述私有播放场景的场景标识。If there is a match, extract the scene identifier of the private play scene, and send the scene identifier of the private play scene to the user terminal, so that the user terminal can display the user terminal on the interface of the wireless music system application The scene ID of the private playback scene.
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,在判断所述用户终端的标识信息与所述私有播放场景对应的创建用户终端的标识信息匹配之后,以及在提取所述私有播放场景的场景标识之前,所述方法还包括:With reference to the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, when judging that the identification information of the user terminal corresponds to the private playback scene, the identification information of the user terminal is created. After the matching, and before extracting the scene identifier of the private playback scene, the method further includes:
向所述用户终端发送验证信息获取指令;sending a verification information acquisition instruction to the user terminal;
接收所述用户终端响应所述验证信息获取指令发送的验证信息;receiving the verification information sent by the user terminal in response to the verification information acquisition instruction;
验证所述验证信息是否与所述私有播放场景对应的预设验证信息匹配;Verifying whether the verification information matches the preset verification information corresponding to the private playback scene;
若匹配,则执行所述提取所述私有播放场景的场景标识的步骤。If there is a match, the step of extracting the scene identifier of the private play scene is performed.
结合第一方面,在第一方面的第三种可能的实施方式中,所述方法还包括:With reference to the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
每隔预设时间计算所述共享播放场景的使用频率;Calculate the usage frequency of the shared playback scene every preset time;
判断所述使用频率是否超过预设频率阈值;Judging whether the usage frequency exceeds a preset frequency threshold;
若是,则向所述共享播放场景对应的创建用户终端发送提示信息,所述提示信息用于提示是否更改所述共享播放场景的权限属性;If yes, send prompt information to the creation user terminal corresponding to the shared play scene, where the prompt information is used to prompt whether to change the permission attribute of the shared play scene;
接收所述共享播放场景对应的创建用户终端针对所述提示信息发送的确认指令;receiving a confirmation instruction sent by the creation user terminal corresponding to the shared playback scene for the prompt information;
响应所述确认指令,更改所述共享播放场景的权限属性为私有权限。In response to the confirmation instruction, the permission attribute of the shared play scene is changed to a private permission.
结合第一方面或结合第一方面的第一种可能的实施方式或结合第一方面的第二种可能的实施方式或结合第一方面的第三种可能的实施方式,在第一方面的第四种可能的实施方式中,所述获取所述无线音乐系统包括的多个播放场景的权限属性,包括:In conjunction with the first aspect or in conjunction with the first possible embodiment of the first aspect or in conjunction with the second possible embodiment of the first aspect or in conjunction with the third possible embodiment of the first aspect, in the first aspect In four possible implementation manners, the acquisition of the permission attributes of multiple playback scenarios included in the wireless music system includes:
获取存储的所述无线音乐系统包括的多个播放场景的场景标识;Acquiring the stored scene identifiers of multiple playback scenes included in the wireless music system;
从本地数据库中查找每一个所述场景标识对应的播放场景的权限属性,以获得所述多个播放场景的权限属性。The permission attribute of each playback scene corresponding to the scene identifier is searched from the local database, so as to obtain the permission attribute of the plurality of playback scenes.
结合第一方面或结合第一方面的第一种可能的实施方式或结合第一方面的第二种可能的实施方式或结合第一方面的第三种可能的实施方式,在第一方面的第五种可能的实施方式中,所述获取所述无线音乐系统包括的多个播放场景的权限属性,包括:In conjunction with the first aspect or in conjunction with the first possible embodiment of the first aspect or in conjunction with the second possible embodiment of the first aspect or in conjunction with the third possible embodiment of the first aspect, in the first aspect In five possible implementation manners, the acquisition of the permission attributes of multiple playback scenarios included in the wireless music system includes:
向所述无线音乐系统包括的多个从播放设备分别发送播放场景信息获取请求;Sending a request for obtaining playback scene information to a plurality of slave playback devices included in the wireless music system;
接收每一个所述从播放设备响应所述播放场景信息获取请求而发送的播放场景信息;receiving each of the playback scene information sent from the playback device in response to the playback scene information acquisition request;
从每一个所述从播放设备发送的播放场景信息中提取播放场景的权限属性,以获得所述多个播放场景的权限属性。The rights attribute of the play scene is extracted from each of the play scene information sent from the play device, so as to obtain the rights attributes of the plurality of play scenes.
本发明实施例第二方面公开了一种播放设备,包括:A second aspect of the embodiments of the present invention discloses a playback device, including:
获取单元,用于当检测到用户终端登陆无线音乐系统应用时,获取无线音乐系统包括的多个播放场景的权限属性,所述权限属性包括共享权限或私有权限;an obtaining unit, configured to obtain permission attributes of multiple playback scenarios included in the wireless music system when it is detected that the user terminal logs in to the wireless music system application, where the permission attributes include shared permissions or private permissions;
第一判断单元,用于针对每一个所述播放场景,判断所述播放场景的权限属性是否为共享权限;a first judging unit, configured to, for each of the playback scenarios, determine whether the permission attribute of the playback scenario is a sharing permission;
确定单元,用于当所述第一判断单元针对每一个所述播放场景,判断所述播放场景的权限属性为共享权限时,确定所述播放场景为共享播放场景;a determining unit, configured to determine that the playing scene is a shared playing scene when the first judging unit judges, for each of the playing scenes, that the permission attribute of the playing scene is a sharing authority;
提取单元,用于提取所述共享播放场景的场景标识;an extraction unit, used for extracting the scene identifier of the shared playback scene;
发送单元,用于将所述共享播放场景的场景标识发送给所述用户终端,以使所述用户终端在所述无线音乐系统应用的界面上显示所述共享播放场景的场景标识。A sending unit, configured to send the scene identifier of the shared play scene to the user terminal, so that the user terminal displays the scene identifier of the shared play scene on the interface of the wireless music system application.
结合第二方面,在第二方面的第一种可能的实施方式中,所述确定单元,还用于当所述第一判断单元判断所述播放场景的权限属性为私有权限时,确定所述播放场景为私有播放场景;With reference to the second aspect, in a first possible implementation manner of the second aspect, the determining unit is further configured to determine the The playback scene is a private playback scene;
所述发送单元,还用于向所述用户终端发送标识获取指令;The sending unit is further configured to send an identification acquisition instruction to the user terminal;
所述播放设备还包括:The playback device also includes:
第一接收单元,用于接收所述用户终端响应所述标识获取指令发送的所述用户终端的标识信息;a first receiving unit, configured to receive the identification information of the user terminal sent by the user terminal in response to the identification acquisition instruction;
第二判断单元,用于判断所述用户终端的标识信息是否与所述私有播放场景对应的创建用户终端的标识信息匹配;a second judging unit, configured to judge whether the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private play scene;
所述提取单元,还用于当所述第二判断单元判断所述用户终端的标识信息与所述私有播放场景对应的创建用户终端的标识信息匹配时,提取所述私有播放场景的场景标识;The extraction unit is further configured to extract the scene identifier of the private play scene when the second judgment unit judges that the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private play scene;
所述发送单元,还用于将所述私有播放场景的场景标识发送给所述用户终端,以使所述用户终端在所述无线音乐系统应用的界面上显示所述私有播放场景的场景标识。The sending unit is further configured to send the scene identifier of the private play scene to the user terminal, so that the user terminal displays the scene identifier of the private play scene on the interface of the wireless music system application.
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,所述发送单元,还用于在所述第二判断单元判断所述用户终端的标识信息与所述私有播放场景对应的创建用户终端的标识信息匹配之后,以及在所述提取单元提取所述私有播放场景的场景标识之前,向所述用户终端发送验证信息获取指令;With reference to the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the sending unit is further configured to determine the identification information of the user terminal in the second determining unit After matching with the identification information of the created user terminal corresponding to the private play scene, and before the extraction unit extracts the scene identification of the private play scene, sending a verification information acquisition instruction to the user terminal;
所述第一接收单元,还用于接收所述用户终端响应所述验证信息获取指令发送的验证信息;The first receiving unit is further configured to receive the verification information sent by the user terminal in response to the verification information acquisition instruction;
所述播放设备还包括:The playback device also includes:
验证单元,用于验证所述验证信息是否与所述私有播放场景对应的预设验证信息匹配;a verification unit, configured to verify whether the verification information matches the preset verification information corresponding to the private playback scene;
所述提取单元,具体用于当所述验证单元验证所述验证信息与所述私有播放场景对应的预设验证信息匹配时,提取所述私有播放场景的场景标识。The extracting unit is specifically configured to extract the scene identifier of the private play scene when the verification unit verifies that the verification information matches the preset verification information corresponding to the private play scene.
结合第二方面,在第二方面的第三种可能的实施方式中,所述播放设备还包括:With reference to the second aspect, in a third possible implementation manner of the second aspect, the playback device further includes:
计算单元,用于每隔预设时间计算所述共享播放场景的使用频率;a computing unit, configured to calculate the frequency of use of the shared play scene every preset time;
所述第一判断单元,还用于判断所述使用频率是否超过预设频率阈值;The first judgment unit is further configured to judge whether the usage frequency exceeds a preset frequency threshold;
所述发送单元,还用于当所述第一判断单元判断所述使用频率超过预设频率阈值时,向所述共享播放场景对应的创建用户终端发送提示信息,所述提示信息用于提示是否更改所述共享播放场景的权限属性;The sending unit is further configured to send prompt information to the creation user terminal corresponding to the shared playback scene when the first judgment unit judges that the usage frequency exceeds a preset frequency threshold, where the prompt information is used to prompt whether changing the permission attribute of the shared playback scene;
第二接收单元,用于接收所述共享播放场景对应的创建用户终端针对所述提示信息发送的确认指令;a second receiving unit, configured to receive a confirmation instruction sent by the creation user terminal corresponding to the shared playback scene for the prompt information;
更改单元,用于响应所述确认指令,更改所述共享播放场景的权限属性为私有权限。A changing unit, configured to change the permission attribute of the shared play scene to a private permission in response to the confirmation instruction.
结合第二方面或结合第二方面的第一种可能的实施方式或结合第二方面的第二种可能的实施方式或结合第二方面的第三种可能的实施方式,在第二方面的第四种可能的实施方式中,所述获取单元包括:In conjunction with the second aspect or in conjunction with the first possible embodiment of the second aspect or in conjunction with the second possible embodiment of the second aspect or in conjunction with the third possible embodiment of the second aspect, in the second aspect In four possible implementation manners, the obtaining unit includes:
获取子单元,用于获取存储的所述无线音乐系统包括的多个播放场景的场景标识;an acquisition subunit, used for acquiring the stored scene identifiers of the multiple playback scenes included in the wireless music system;
查找子单元,用于从本地数据库中查找每一个所述场景标识对应的播放场景的权限属性,以获得所述多个播放场景的权限属性。A search subunit, configured to search the permission attribute of each play scene corresponding to the scene identifier from the local database to obtain the permission attribute of the plurality of play scenes.
结合第二方面或结合第二方面的第一种可能的实施方式或结合第二方面的第二种可能的实施方式或结合第二方面的第三种可能的实施方式,在第二方面的第五种可能的实施方式中,所述获取单元包括:发送子单元,用于向所述无线音乐系统包括的多个从播放设备分别发送播放场景信息获取请求;In conjunction with the second aspect or in conjunction with the first possible embodiment of the second aspect or in conjunction with the second possible embodiment of the second aspect or in conjunction with the third possible embodiment of the second aspect, in the second aspect In five possible implementations, the obtaining unit includes: a sending subunit, configured to send a request for obtaining playback scene information to a plurality of slave playback devices included in the wireless music system;
接收子单元,用于接收每一个所述从播放设备响应所述播放场景信息获取请求而发送的播放场景信息;a receiving subunit, configured to receive each of the playback scene information sent from the playback device in response to the playback scene information acquisition request;
提取子单元,用于从每一个所述从播放设备发送的播放场景信息中提取播放场景的权限属性,以获得所述多个播放场景的权限属性。The extraction subunit is configured to extract the permission attribute of the playback scene from each of the playback scene information sent from the playback device, so as to obtain the permission attribute of the plurality of playback scenes.
本发明实施例中,当检测到用户终端登陆无线音乐系统应用时,播放设备获取无线音乐系统包括的多个播放场景的权限属性,针对每一个播放场景,播放设备判断播放场景的权限属性是否为共享权限,若是,则确定播放场景为共享播放场景,并提取共享播放场景的场景标识,将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。通过本发明实施例,播放设备在确定播放场景的权限属性为共享权限之后,播放设备才会把共享播放场景的场景标识发送给用户终端,这样,用户终端上显示的播放场景就是具有共享权限的共享播放场景,用户无需担心共享播放场景的信息泄漏,从而可以提高播放场景的信息的安全性。In this embodiment of the present invention, when it is detected that the user terminal logs into the wireless music system application, the playback device acquires the permission attributes of multiple playback scenarios included in the wireless music system, and for each playback scenario, the playback device determines whether the permission attribute of the playback scenario is sharing permission, if yes, then determine that the playback scene is a shared playback scene, extract the scene identifier of the shared playback scene, and send the scene identifier of the shared playback scene to the user terminal, so that the user terminal can display the shared playback scene on the interface of the wireless music system application The scene ID of the scene. According to the embodiment of the present invention, after the playback device determines that the permission attribute of the playback scene is the sharing permission, the playback device sends the scene identifier of the shared playback scene to the user terminal. In this way, the playback scene displayed on the user terminal has the sharing permission. By sharing the playback scene, the user does not need to worry about information leakage of the shared playback scene, thereby improving the security of the information of the playback scene.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本发明实施例公开的一种系统架构的结构示意图;1 is a schematic structural diagram of a system architecture disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种播放场景的显示控制方法的流程示意图;2 is a schematic flowchart of a display control method for a playback scene disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种播放场景的显示控制方法的流程示意图;3 is a schematic flowchart of another display control method for a playback scene disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种播放场景的显示控制方法的流程示意图;4 is a schematic flowchart of another display control method for a playback scene disclosed in an embodiment of the present invention;
图5是本发明实施例公开的一种播放设备的结构示意图;5 is a schematic structural diagram of a playback device disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种播放设备的结构示意图;6 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention;
图7是本发明实施例公开的另一种播放设备的结构示意图;7 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention;
图8是本发明实施例公开的另一种播放设备的结构示意图;8 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention;
图9是本发明实施例公开的另一种播放设备的结构示意图。FIG. 9 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例公开了一种播放场景的显示控制方法及播放设备,可以提高播放场景的信息的安全性。以下分别进行详细说明。The embodiment of the present invention discloses a display control method and a playback device for a playback scene, which can improve the security of the information of the playback scene. Each of them will be described in detail below.
为了更好的说明本发明实施例公开的一种播放场景的显示控制方法及播放设备,下面先对本发明实施例适用的网络架构进行描述。请参见图1,图1是本发明实施例公开的一种系统架构的结构示意图,如图1所示,该系统架构可以包括用户终端、无线路由设备以及由多个播放设备组成的无线音乐系统。其中,用户终端可以包括但不限于智能手机、笔记本电脑、个人计算机(Personal Computer,PC)、个人数字助理(Personal DigitalAssistant,PDA)、移动互联网播放设备(Mobile Internet Device,MID)、智能穿戴播放设备(如智能手表、智能手环)等各类用户终端,该无线路由设备可以包括但不限于无线路由器以及任何具有无线覆盖功能的播放设备等,该播放设备可以包括但不限于音箱、MP4、MP3、多媒体播放设备以及任何具备播放功能的播放设备等。在图1所示的系统架构中,播放设备之间通过无线方式(AD-HOC网络形式或MESH网络形式)建立通信连接,这多个播放设备中有一个播放设备(主播放设备)与无线路由设备通过无线或者有线的方式建立连接,安装有无线音乐系统应用的用户终端与无线路由设备建立无线连接后,就可以控制无线音乐系统内的播放设备进行歌曲播放。In order to better illustrate a display control method and a playback device for a playback scene disclosed in the embodiments of the present invention, the following describes the network architecture applicable to the embodiments of the present invention. Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a system architecture disclosed in an embodiment of the present invention. As shown in FIG. 1, the system architecture may include a user terminal, a wireless routing device, and a wireless music system composed of multiple playback devices. . The user terminal may include, but is not limited to, a smart phone, a notebook computer, a personal computer (PC), a personal digital assistant (PDA), a mobile internet device (Mobile Internet Device, MID), and a smart wearable device. (such as smart watches, smart bracelets) and other types of user terminals, the wireless routing devices may include but are not limited to wireless routers and any playback device with wireless coverage function, etc. The playback devices may include but are not limited to speakers, MP4, MP3 , multimedia playback devices, and any playback device with playback capabilities. In the system architecture shown in Figure 1, a communication connection is established between the playback devices through a wireless method (AD-HOC network form or MESH network form). The devices are connected wirelessly or wiredly. After the user terminal installed with the wireless music system application establishes a wireless connection with the wireless routing device, it can control the playback device in the wireless music system to play songs.
基于图1所示的系统架构,本发明实施例公开了一种播放场景的显示控制方法。请参见图2,图2是本发明实施例公开的一种播放场景的显示控制方法的流程示意图,其中,该方法应用于图1所示系统架构中的主播放设备。如图2所示,该方法可以包括以下步骤。Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a display control method for a playback scene. Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a display control method of a playback scene disclosed in an embodiment of the present invention, wherein the method is applied to the main playback device in the system architecture shown in FIG. 1 . As shown in Figure 2, the method may include the following steps.
S201、当检测到用户终端登陆无线音乐系统应用时,获取无线音乐系统包括的多个播放场景的权限属性。S201. When it is detected that the user terminal logs in to the application of the wireless music system, obtain permission attributes of multiple playback scenarios included in the wireless music system.
本发明实施例中,通常,用户会在这个无线音乐系统中选定一个播放设备作为主播放设备,而将其他播放设备作为从播放设备,该主播放设备直接与用户终端(如智能手机)进行通信,而从播放设备直接与主播放设备进行通信。用户终端需要预先安装用于控制播放设备的无线音乐系统应用,如APP等,用户在用户终端上登录无线音乐系统应用后,用户终端通过路由播放设备向主播放设备发送控制指令,主播放设备在将该控制指令转发给其他的从播放设备,播放设备在接收到控制指令后,就会响应该控制指令,执行相应的操作,这样,用户终端就可以控制无线音乐系统中的播放设备进行歌曲播放了。In the embodiment of the present invention, generally, the user will select a playback device in the wireless music system as the master playback device, and use other playback devices as the slave playback devices, and the master playback device directly communicates with the user terminal (such as a smart phone). communication, and the slave playback device communicates directly with the master playback device. The user terminal needs to pre-install the wireless music system application for controlling the playback device, such as APP, etc. After the user logs in the wireless music system application on the user terminal, the user terminal sends a control command to the main playback device through the routing playback device, and the main playback device is in The control command is forwarded to other slave playback devices. After receiving the control command, the playback device will respond to the control command and perform corresponding operations. In this way, the user terminal can control the playback device in the wireless music system to play songs. .
本发明实施例中,用户可以在用户终端上根据自己的需要将无线音乐系统中的播放设备进行不同的分组,并将这些不同的播放设备组命名为不同的播放场景,如“早晨”,“晚上”,同时,用户可以为每一个播放场景设置不同的权限属性,该权限属性包括共享权限或私有权限,若播放场景的权限属性为共享权限,则每一个登录到无线音乐系统应用的用户均可以看见该播放场景的信息,若播放场景的权限属性为私有权限,则只有创建该播放场景的用户登录到无线音乐系统后才可以看见该播放场景的信息。In this embodiment of the present invention, the user can group the playback devices in the wireless music system into different groups according to their needs on the user terminal, and name these different playback device groups as different playback scenarios, such as "morning", "" At the same time, the user can set different permission attributes for each playback scene, the permission attributes include shared permission or private permission, if the permission attribute of the playback scene is shared permission, every user who logs in to the wireless music system application You can see the information of the playback scene. If the permission attribute of the playback scene is a private permission, only the user who created the playback scene can see the information of the playback scene after logging in to the wireless music system.
本发明实施例中,每个播放场景包括至少一个播放设备。举例来说,假设用户家里总共有6个播放设备,用户可以将这6个播放设备分成2个播放设备组,如1、3、5为一组,2、4、6为另一组,也可以为1为一组,2、3、4、5、6为另一组;用户也可以将这6个播放设备分成3个播放设备组、4个播放设备组、5个播放设备组以及6个播放设备组等,每个播放设备组包括的播放设备可以根据用户的需要随意排列组合,本发明实施例不作限定。In this embodiment of the present invention, each playback scene includes at least one playback device. For example, suppose the user has a total of 6 playback devices at home, the user can divide the 6 playback devices into 2 playback device groups, such as 1, 3, and 5 as one group, 2, 4, and 6 as another group. It can be 1 as one group, 2, 3, 4, 5, and 6 as another group; the user can also divide the 6 playback devices into 3 playback device groups, 4 playback device groups, 5 playback device groups, and 6 playback device groups. There are several playback device groups, etc., and the playback devices included in each playback device group can be arbitrarily arranged and combined according to the needs of the user, which is not limited in the embodiment of the present invention.
本发明实施例中,当检测到用户终端登陆无线音乐系统应用时,播放设备获取无线音乐系统包括的多个播放场景的权限属性。这里的播放设备可以理解为主播放设备,主播放设备通过路由播放设备与用户终端进行通信,因此,主播放设备可以实时检测用户终端何时登陆无线音乐系统应用,当检测到用户终端登陆无线音乐系统应用时,主播放设备获取无线音乐系统包括的多个播放场景的权限属性。In the embodiment of the present invention, when it is detected that the user terminal logs in to the application of the wireless music system, the playback device acquires the permission attributes of multiple playback scenarios included in the wireless music system. The playback device here can be understood as the main playback device. The main playback device communicates with the user terminal through the routing playback device. Therefore, the main playback device can detect in real time when the user terminal logs into the wireless music system application, and when it detects that the user terminal logs into the wireless music system When the system is applied, the main playback device acquires the permission attributes of multiple playback scenarios included in the wireless music system.
作为一种可选的实施方式,播放设备获取无线音乐系统包括的多个播放场景的权限属性的具体实施方式可以包括以下步骤:As an optional implementation manner, a specific implementation manner in which the playback device acquires the permission attributes of multiple playback scenarios included in the wireless music system may include the following steps:
11)获取存储的无线音乐系统包括的多个播放场景的场景标识;11) acquiring the scene identifiers of multiple playback scenes included in the stored wireless music system;
12)从本地数据库中查找每一个场景标识对应的播放场景的权限属性,以获得多个播放场景的权限属性。12) Searching for the permission attribute of the playing scene corresponding to each scene identifier from the local database to obtain the permission attribute of multiple playing scenes.
在该实施例中,用户在用户终端的无线音乐系统应用上为每一个播放场景设置不同的权限属性之后,用户终端可以将每一个播放场景的权限属性发送给播放设备(主播放设备),播放设备接收到每一个播放场景的权限属性之后,播放设备就可以建立并存储每个播放场景的场景标识与播放场景的权限属性之间的对应关系。当检测到用户终端登陆无线音乐系统应用时,播放设备获取存储的无线音乐系统包括的多个播放场景的场景标识,并从本地数据库中查找每一个场景标识对应的播放场景的权限属性,这样,播放设备就可以获得多个播放场景的权限属性。In this embodiment, after the user sets different permission attributes for each playback scene on the wireless music system application of the user terminal, the user terminal can send the permission attributes of each playback scene to the playback device (main playback device), and play the After the device receives the permission attribute of each playback scene, the playback device can establish and store the corresponding relationship between the scene identifier of each playback scene and the permission attribute of the playback scene. When detecting that the user terminal logs into the wireless music system application, the playback device obtains the stored scene identifiers of multiple playback scenarios included in the wireless music system, and searches the local database for the permission attribute of the playback scene corresponding to each scene identifier. In this way, The playback device can obtain permission attributes of multiple playback scenarios.
作为另一种可选的实施方式,播放设备获取无线音乐系统包括的多个播放场景的权限属性的具体实施方式可以包括以下步骤:As another optional implementation manner, the specific implementation manner in which the playback device acquires the permission attributes of multiple playback scenarios included in the wireless music system may include the following steps:
21)向无线音乐系统包括的多个从播放设备分别发送播放场景信息获取请求;21) Sending a request for obtaining playback scene information to a plurality of slave playback devices included in the wireless music system;
22)接收每一个从播放设备响应播放场景信息获取请求而发送的播放场景信息;22) receive each playback scene information sent from the playback device in response to the playback scene information acquisition request;
23)从每一个从播放设备发送的播放场景信息中提取播放场景的权限属性,以获得多个播放场景的权限属性。23) Extracting the rights attribute of the play scene from each play scene information sent from the play device, so as to obtain the rights attributes of a plurality of play scenes.
在该实施例中,用户在用户终端的无线音乐系统应用上为每一个播放场景设置不同的权限属性之后,用户终端可以将每一个播放场景的权限属性发送给播放设备(主播放设备),播放设备接收到每一个播放场景的权限属性之后,播放设备就可以建立每个播放场景的场景标识与播放场景的权限属性之间的对应关系,同时,播放设备可以向每个播放场景包括的从播放设备发送该播放场景的场景标识与播放场景的权限属性之间的对应关系,以使每个播放场景包括的从播放设备存储该播放场景的场景标识与播放场景的权限属性之间的对应关系。当检测到用户终端登陆无线音乐系统应用时,播放设备向无线音乐系统包括的多个从播放设备分别发送播放场景信息获取请求,接收每一个从播放设备响应播放场景信息获取请求而发送的播放场景信息,并从每一个从播放设备发送的播放场景信息中提取播放场景的权限属性,这样,播放设备就可以获得多个播放场景的权限属性。In this embodiment, after the user sets different permission attributes for each playback scene on the wireless music system application of the user terminal, the user terminal can send the permission attributes of each playback scene to the playback device (main playback device), and play the After the device receives the permission attribute of each playback scene, the playback device can establish a corresponding relationship between the scene identifier of each playback scene and the permission attribute of the playback scene, and at the same time, the playback device can send the subordinate playback information included in each playback scene. The device sends the corresponding relationship between the scene identifier of the playback scene and the permission attribute of the playback scene, so that each playback scene includes the corresponding relationship between the scene identifier of the playback scene stored by the playback device and the permission attribute of the playback scene. When it is detected that the user terminal logs into the application of the wireless music system, the playback device sends a request for obtaining playback scene information to multiple slave playback devices included in the wireless music system, and receives the playback scene sent by each slave playback device in response to the request for obtaining playback scene information. information, and extract the permission attribute of the playback scene from each playback scene information sent from the playback device, so that the playback device can obtain the permission properties of multiple playback scenes.
S202、针对每一个播放场景,判断播放场景的权限属性是否为共享权限,若是,执行步骤S203,若否,结束本流程。S202. For each play scenario, determine whether the permission attribute of the play scenario is a sharing permission, if yes, perform step S203, if not, end the process.
S203、确定播放场景为共享播放场景。S203. Determine that the play scene is a shared play scene.
本发明实施例中,当播放设备获取到无线音乐系统包括的多个播放场景的权限属性之后,针对每一个播放场景,播放设备可以判断播放场景的权限属性是否为共享权限,若是,播放设备可以确定该播放场景为共享播放场景。In this embodiment of the present invention, after the playback device acquires the permission attributes of multiple playback scenarios included in the wireless music system, for each playback scenario, the playback device can determine whether the permission attribute of the playback scenario is a sharing permission, and if so, the playback device can It is determined that the playback scene is a shared playback scene.
S204、提取共享播放场景的场景标识,并将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。S204: Extract the scene identifier of the shared play scene, and send the scene identifier of the shared play scene to the user terminal, so that the user terminal displays the scene identifier of the shared play scene on the interface of the wireless music system application.
本发明实施例中,播放设备在确定该播放场景为共享播放场景之后,播放设备可以提取共享播放场景的场景标识,并将共享播放场景的场景标识发送给用户终端,这样,用户终端就可以在无线音乐系统应用的界面上显示共享播放场景的场景标识,用户就可以使用该共享播放场景了。In this embodiment of the present invention, after the playback device determines that the playback scene is a shared playback scene, the playback device may extract the scene identifier of the shared playback scene, and send the scene identifier of the shared playback scene to the user terminal. The interface of the wireless music system application displays the scene identifier of the shared playing scene, and the user can use the shared playing scene.
在图2所描述的方法流程中,当检测到用户终端登陆无线音乐系统应用时,播放设备获取无线音乐系统包括的多个播放场景的权限属性,针对每一个播放场景,播放设备判断播放场景的权限属性是否为共享权限,若是,则确定播放场景为共享播放场景,并提取共享播放场景的场景标识,将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。通过本发明实施例,播放设备在确定播放场景的权限属性为共享权限之后,播放设备才会把共享播放场景的场景标识发送给用户终端,这样,用户终端上显示的播放场景就是具有共享权限的共享播放场景,用户无需担心共享播放场景的信息泄漏,从而可以提高播放场景的信息的安全性。In the method flow described in FIG. 2 , when it is detected that the user terminal logs into the wireless music system application, the playback device obtains the permission attributes of multiple playback scenarios included in the wireless music system, and for each playback scenario, the playback device determines the Whether the permission attribute is a sharing permission, if yes, then determine that the playback scene is a shared playback scene, extract the scene identifier of the shared playback scene, and send the scene identifier of the shared playback scene to the user terminal, so that the user terminal can use the interface of the wireless music system application The scene ID of the shared playback scene is displayed on the screen. According to the embodiment of the present invention, after the playback device determines that the permission attribute of the playback scene is the sharing permission, the playback device sends the scene identifier of the shared playback scene to the user terminal. In this way, the playback scene displayed on the user terminal has the sharing permission. By sharing the playback scene, the user does not need to worry about information leakage of the shared playback scene, thereby improving the security of the information of the playback scene.
基于图1所示的系统架构,本发明实施例公开了一种播放场景的显示控制方法。请参见图3,图3是本发明实施例公开的另一种播放场景的显示控制方法的流程示意图,其中,该方法应用于图1所示系统架构中的主播放设备。如图3所示,该方法可以包括以下步骤。Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a display control method for a playback scene. Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another display control method of a playback scene disclosed in an embodiment of the present invention, where the method is applied to the main playback device in the system architecture shown in FIG. 1 . As shown in Figure 3, the method may include the following steps.
S301、当检测到用户终端登陆无线音乐系统应用时,播放设备获取无线音乐系统包括的多个播放场景的权限属性。S301. When it is detected that the user terminal logs into the wireless music system application, the playback device acquires permission attributes of multiple playback scenarios included in the wireless music system.
S302、针对每一个播放场景,播放设备判断播放场景的权限属性是否为共享权限,若是,执行步骤S303~S304,若否,执行步骤S305~S308。S302. For each playback scene, the playback device determines whether the permission attribute of the playback scene is a sharing permission, and if so, executes steps S303-S304, and if not, executes steps S305-S308.
S303、播放设备确定播放场景为共享播放场景。S303. The playback device determines that the playback scene is a shared playback scene.
S304、播放设备提取共享播放场景的场景标识,并将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。S304. The playback device extracts the scene identifier of the shared playback scene, and sends the scene identifier of the shared playback scene to the user terminal, so that the user terminal displays the scene identifier of the shared playback scene on the interface of the wireless music system application.
S305、播放设备确定播放场景为私有播放场景。S305. The playback device determines that the playback scene is a private playback scene.
本发明实施例中,针对每一个播放场景,播放设备在判断播放场景的权限属性不为共享权限之后,播放设备可以确定播放场景为私有播放场景。In this embodiment of the present invention, for each playback scene, after the playback device determines that the permission attribute of the playback scene is not a shared permission, the playback device may determine that the playback scene is a private playback scene.
S306、播放设备向用户终端发送标识获取指令。S306: The playback device sends an identification acquisition instruction to the user terminal.
本发明实施例中,播放设备在确定播放场景为私有播放场景之后,播放设备可以向登录无线音乐系统应用的用户终端发送标识获取指令,以验证该用户终端的合法性。In this embodiment of the present invention, after the playback device determines that the playback scene is a private playback scene, the playback device may send an identification acquisition instruction to the user terminal that logs into the wireless music system application to verify the legitimacy of the user terminal.
S307、播放设备接收用户终端响应标识获取指令发送的用户终端的标识信息。S307: The playback device receives the identification information of the user terminal sent by the user terminal in response to the identification acquisition instruction.
S308、播放设备判断用户终端的标识信息是否与私有播放场景对应的创建用户终端的标识信息匹配,若是,执行步骤S309~S311,若否,结束本流程。S308: The playback device determines whether the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private playback scenario, and if so, executes steps S309 to S311, and if not, ends the process.
本发明实施例中,用户在无线音乐系统应用上创建每一个播放场景时,每一个播放场景均会对应一个创建用户终端,即创建该播放场景的用户终端。因此,播放设备会建立每一个播放场景与该播放场景的创建用户终端之间的对应关系。当播放设备接收到用户终端响应标识获取指令发送的用户终端的标识信息之后,播放设备可以判断用户终端的标识信息是否与私有播放场景对应的创建用户终端的标识信息匹配,若是,表明该用户终端就是创建私有播放场景对应的用户终端,若否,表明该用户终端为非法用户终端。In the embodiment of the present invention, when the user creates each play scene on the wireless music system application, each play scene corresponds to a created user terminal, that is, the user terminal that created the play scene. Therefore, the playback device will establish a correspondence between each playback scene and the user terminal where the playback scene is created. After the playback device receives the identification information of the user terminal sent by the user terminal in response to the identification acquisition instruction, the playback device can determine whether the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private playback scenario, and if so, it indicates that the user terminal It is to create a user terminal corresponding to the private play scenario. If not, it indicates that the user terminal is an illegal user terminal.
S309、播放设备向用户终端发送验证信息获取指令。S309: The playback device sends an instruction for obtaining verification information to the user terminal.
本发明实施例中,播放设备在判断用户终端的标识信息与私有播放场景对应的创建用户终端的标识信息匹配之后,播放设备可以进一步向用户终端发送验证信息获取指令,以验证使用用户终端的当前用户的合法性。In this embodiment of the present invention, after judging that the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private playback scenario, the playback device may further send a verification information acquisition instruction to the user terminal to verify the current user terminal using the user terminal. User legitimacy.
S310、播放设备接收用户终端响应验证信息获取指令发送的验证信息。S310: The playback device receives the verification information sent by the user terminal in response to the verification information acquisition instruction.
本发明实施例中,该验证信息可以包括但不限于验证密码、验证指纹信息、验证脸形信息、验证虹膜信息、验证视网膜信息以及验证声纹信息中的任意一种或几种的组合。In this embodiment of the present invention, the verification information may include, but is not limited to, any one or a combination of password verification, fingerprint verification verification, face verification verification information, iris verification verification information, retina verification verification information, and voiceprint verification verification information.
S311、播放设备验证验证信息是否与私有播放场景对应的预设验证信息匹配,若是,执行步骤S312,若否,结束本流程。S311. The playback device verifies whether the verification information matches the preset verification information corresponding to the private playback scene, and if so, executes step S312, and if not, ends the process.
本发明实施例中,该预设验证信息可以包括但不限于预设验证密码、预设验证指纹信息、预设验证脸形信息、预设验证虹膜信息、预设验证视网膜信息以及预设验证声纹信息中的任意一种或几种的组合。In this embodiment of the present invention, the preset verification information may include, but is not limited to, a preset verification password, a preset verification fingerprint information, a preset verification face shape information, a preset verification iris information, a preset verification retinal information, and a preset verification voiceprint Any one or a combination of several of the information.
在该实施方式中,上述的预设验证信息可以包括指纹串信息以及每一个指纹对应的输入时间;那么相应地,播放设备验证验证信息是否与私有播放场景对应的预设验证信息匹配可以包括以下步骤:In this embodiment, the above-mentioned preset verification information may include fingerprint string information and the input time corresponding to each fingerprint; then correspondingly, the playback device verifying whether the verification information matches the preset verification information corresponding to the private playback scene may include the following step:
播放设备验证指纹串是否与私有播放场景对应的预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值是否均小于预设值,如果验证指纹串与预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值均小于预设值,那么可以验证验证信息与私有播放场景对应的预设验证信息匹配;反之,验证信息与私有播放场景对应的预设验证信息不匹配。其中,通过实施该实施方式,可以有效地防止用户终端被非法用户肆意操作。The playback device verifies whether the fingerprint string is the same as the fingerprint string included in the preset verification information corresponding to the private playback scene, and whether the difference between the input times of the same fingerprint is less than the preset value. If the verification fingerprint string and the fingerprint included in the preset verification information are If the strings are the same, and the difference between the input times of the same fingerprints is less than the preset value, then it can be verified that the verification information matches the preset verification information corresponding to the private play scene; otherwise, the verification information does not match the preset verification information corresponding to the private play scene. match. Wherein, by implementing this embodiment, the user terminal can be effectively prevented from being arbitrarily operated by an illegal user.
S312、播放设备提取私有播放场景的场景标识,并将私有播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示私有播放场景的场景标识。S312: The playback device extracts the scene identifier of the private play scene, and sends the scene identifier of the private play scene to the user terminal, so that the user terminal displays the scene identifier of the private play scene on the interface of the wireless music system application.
本发明实施例中,播放设备在判断用户终端的标识信息与私有播放场景对应的创建用户终端的标识信息匹配,以及在验证验证信息与私有播放场景对应的预设验证信息匹配之后,播放设备可以确定登录无线音乐系统应用的用户终端为创建私有播放场景的用户终端,且当前使用用户也是创建私有播放场景的用户,此时,播放设备可以提取私有播放场景的场景标识,并将私有播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示私有播放场景的场景标识。In this embodiment of the present invention, after the playback device determines that the identification information of the user terminal matches the identification information of the created user terminal corresponding to the private playback scenario, and after the verification verification information matches the preset verification information corresponding to the private playback scenario, the playback device can It is determined that the user terminal that logs in to the wireless music system application is the user terminal that creates the private playback scene, and the current user is also the user who creates the private playback scene. The scene identifier is sent to the user terminal, so that the user terminal displays the scene identifier of the private play scene on the interface of the wireless music system application.
在图3所描述的方法流程中,当播放设备判断播放场景的权限属性为私有权限时,确定播放场景为私有播放场景之后,进一步判断接收到的用户终端的标识信息是否与私有播放场景对应的创建用户终端的标识信息匹配,若匹配,进一步验证接收到的验证信息是否与私有播放场景对应的预设验证信息匹配,若匹配,则提取私有播放场景的场景标识,并将私有播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示私有播放场景的场景标识,这样,播放设备可以确保创建私有播放场景的用户终端以及用户才可以在用户终端上看到私有播放场景的信息,而其他非法用户或非私有播放场景的创建用户终端均无法获取到该私有播放场景的信息,从而可以提高播放场景的信息的安全性。In the method flow described in FIG. 3 , when the playback device determines that the permission attribute of the playback scene is a private permission, after determining that the playback scene is a private playback scene, it further determines whether the received identification information of the user terminal corresponds to the private playback scene. Create a match between the identification information of the user terminal. If there is a match, further verify whether the received verification information matches the preset verification information corresponding to the private play scene. If it matches, extract the scene identifier of the private play scene, and convert the private play scene to the scene. The identifier is sent to the user terminal, so that the user terminal can display the scene identifier of the private playback scene on the interface of the wireless music system application, so that the playback device can ensure that the user terminal that created the private playback scene and the user can see the private playback scene on the user terminal. The information of the play scene is played, and other illegal users or the user terminal that creates the non-private play scene cannot obtain the information of the private play scene, so that the security of the play scene information can be improved.
基于图1所示的系统架构,本发明实施例公开了一种播放场景的显示控制方法。请参见图4,图4是本发明实施例公开的另一种播放场景的显示控制方法的流程示意图,其中,该方法应用于图1所示系统架构中的主播放设备。如图4所示,该方法可以包括以下步骤。Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a display control method for a playback scene. Please refer to FIG. 4. FIG. 4 is a schematic flowchart of another display control method of a playback scene disclosed in an embodiment of the present invention, wherein the method is applied to the main playback device in the system architecture shown in FIG. 1 . As shown in Figure 4, the method may include the following steps.
S401、当检测到用户终端登陆无线音乐系统应用时,播放设备获取无线音乐系统包括的多个播放场景的权限属性。S401. When it is detected that the user terminal logs into the wireless music system application, the playback device acquires permission attributes of multiple playback scenarios included in the wireless music system.
S402、针对每一个播放场景,播放设备判断播放场景的权限属性是否为共享权限,若是,执行步骤S403,若否,结束本流程。S402. For each playback scene, the playback device determines whether the permission attribute of the playback scene is a sharing permission, and if so, executes step S403, and if not, ends the process.
S403、播放设备确定播放场景为共享播放场景。S403. The playback device determines that the playback scene is a shared playback scene.
S404、播放设备提取共享播放场景的场景标识,并将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。S404: The playback device extracts the scene identifier of the shared playback scene, and sends the scene identifier of the shared playback scene to the user terminal, so that the user terminal displays the scene identifier of the shared playback scene on the interface of the wireless music system application.
S405、播放设备每隔预设时间计算共享播放场景的使用频率。S405. The playback device calculates the usage frequency of the shared playback scene at preset time intervals.
本发明实施例中,播放设备在确定播放场景为共享播放场景,提取共享播放场景的场景标识,并将共享播放场景的场景标识发送给用户终端之后,播放设备可以每隔预设时间计算共享播放场景的使用频率,其中,该预设时间可以为任意的时间,比如:1天、1星期、1个月等,本发明实施例不作限定。In this embodiment of the present invention, after the playback device determines that the playback scene is a shared playback scene, extracts the scene identifier of the shared playback scene, and sends the scene identifier of the shared playback scene to the user terminal, the playback device may calculate the shared playback scene every preset time. The usage frequency of the scene, where the preset time may be any time, such as: 1 day, 1 week, 1 month, etc., which is not limited in the embodiment of the present invention.
具体地,播放设备可以统计预设时间内每个共享播放场景每次使用的使用时长,然后,将使用时长大于预设时长的次数确定为有效使用次数,最后统计每个共享播放场景的有效使用总次数,并根据该有效使用总次数计算在预设时间内每个共享播放场景的使用频率。其中,该预设时间可以为任意的时间段,比如:最近一个月,最近一个星期等,该预设时长可以为任意的时长,比如:30min,1h等。Specifically, the playback device can count the usage time of each shared playback scene within a preset time, and then determine the number of times the usage duration is greater than the preset duration as the number of valid usages, and finally count the effective usage of each shared playback scenario The total number of times of use is calculated, and the usage frequency of each shared playback scene within the preset time period is calculated according to the total number of effective usage times. Wherein, the preset time can be any time period, such as the last month, the last week, etc., and the preset time can be any time, such as 30min, 1h, etc.
S406、播放设备判断使用频率是否超过预设频率阈值,若是,执行步骤S407,若否,结束本流程。S406, the playback device determines whether the usage frequency exceeds the preset frequency threshold, and if so, executes step S407, and if not, ends the process.
本发明实施例中,播放设备每隔预设时间计算共享播放场景的使用频率之后,播放设备可以判断使用频率是否超过预设频率阈值,其中,该预设频率阈值可以为用户设置的任意数值,也可以为系统默认的数值,本发明实施例不作限定。In this embodiment of the present invention, after the playback device calculates the usage frequency of the shared playback scene every preset time, the playback device may determine whether the usage frequency exceeds a preset frequency threshold, where the preset frequency threshold may be any value set by the user, It may also be a default value of the system, which is not limited in this embodiment of the present invention.
S407、播放设备向共享播放场景对应的创建用户终端发送提示信息。S407: The playback device sends prompt information to the creation user terminal corresponding to the shared playback scene.
本发明实施例中,若播放设备判断使用频率超过预设频率阈值,则表明该共享播放场景使用过于频繁,播放设备可以向共享播放场景对应的创建用户终端发送提示信息,该提示信息用于提示是否更改共享播放场景的权限属性。In this embodiment of the present invention, if the playback device determines that the usage frequency exceeds the preset frequency threshold, it indicates that the shared playback scene is used too frequently, and the playback device may send prompt information to the user terminal corresponding to the creation of the shared playback scene, where the prompt information is used to prompt Whether to change the permission attribute of the shared playback scene.
S408、播放设备接收共享播放场景对应的创建用户终端针对提示信息发送的确认指令。S408: The playback device receives a confirmation instruction sent by the creation user terminal corresponding to the shared playback scene for the prompt information.
S409、播放设备响应确认指令,更改共享播放场景的权限属性为私有权限。S409, the playback device responds to the confirmation instruction, and changes the permission attribute of the shared playback scene to a private permission.
本发明实施例中,播放设备在接收到共享播放场景对应的创建用户终端针对提示信息发送的确认指令之后,表明用户同意更改共享播放场景的权限属性,此时,播放设备就可以响应确认指令,更改共享播放场景的权限属性为私有权限,这样,该共享播放场景就变成了私有播放场景了,该私有播放场景只有创建它的创建用户终端以及创建的用户才可以使用,而其他用户终端以及其他用户均不可以使用。In the embodiment of the present invention, after receiving the confirmation instruction sent by the user terminal corresponding to the shared playback scene for the prompt message, the playback device indicates that the user agrees to change the permission attribute of the shared playback scene. At this time, the playback device can respond to the confirmation instruction, Change the permission attribute of the shared playback scene to private permission. In this way, the shared playback scene becomes a private playback scene. The private playback scene can only be used by the user terminal that created it and the user who created it, while other user terminals and No other users can use it.
在图4所描述的方法流程中,播放设备在确定播放场景为共享播放场景,提取共享播放场景的场景标识,并将共享播放场景的场景标识发送给用户终端之后,播放设备可以每隔预设时间计算共享播放场景的使用频率,判断使用频率是否超过预设频率阈值,若是,向共享播放场景对应的创建用户终端发送提示信息,当接收到共享播放场景对应的创建用户终端针对提示信息发送的确认指令之后,响应确认指令,更改共享播放场景的权限属性为私有权限。通过本发明实施例,当共享播放场景的使用频率超过预设频率阈值时,播放设备可以提示创建共享播放场景对应的创建用户终端,以更改共享播放场景的权限属性为私有权限,这样就可以避免被更多的用户使用。In the method flow described in FIG. 4 , after the playback device determines that the playback scene is a shared playback scene, extracts the scene identifier of the shared playback scene, and sends the scene identifier of the shared playback scene to the user terminal, the playback device can preset the Time to calculate the usage frequency of the shared playback scene, and determine whether the usage frequency exceeds the preset frequency threshold. If so, send a prompt message to the creation user terminal corresponding to the shared playback scene. After confirming the instruction, in response to the confirmation instruction, change the permission attribute of the shared playback scene to private permission. Through the embodiment of the present invention, when the usage frequency of the shared playback scene exceeds the preset frequency threshold, the playback device can prompt the creation user terminal corresponding to the creation of the shared playback scene to change the permission attribute of the shared playback scene to the private permission, so as to avoid used by more users.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例中的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明上述方法实施例。The following are apparatus embodiments of the present invention. The apparatus embodiments of the present invention are used to execute the methods in the method embodiments of the present invention. For convenience of description, only the parts related to the embodiments of the present invention are shown. If the specific technical details are not disclosed, please Refer to the above method embodiments of the present invention.
基于图1所示的系统架构,本发明实施例公开了一种播放设备。请参见图5,图5是本发明实施例公开的一种播放设备的结构示意图,如图5所示,该播放设备500可以包括:获取单元501、第一判断单元502、确定单元503、提取单元504以及发送单元505,其中:Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a playback device. Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a playback device disclosed in an embodiment of the present invention. As shown in FIG. 5, the
获取单元501,用于当检测到用户终端登陆无线音乐系统应用时,获取无线音乐系统包括的多个播放场景的权限属性,权限属性包括共享权限或私有权限。The obtaining
本发明实施例中,通常,用户会在这个无线音乐系统中选定一个播放设备作为主播放设备,而将其他播放设备作为从播放设备,该主播放设备直接与用户终端(如智能手机)进行通信,而从播放设备直接与主播放设备进行通信。用户终端需要预先安装用于控制播放设备的无线音乐系统应用,如APP等,用户在用户终端上登录无线音乐系统应用后,用户终端通过路由播放设备向主播放设备发送控制指令,主播放设备在将该控制指令转发给其他的从播放设备,播放设备在接收到控制指令后,就会响应该控制指令,执行相应的操作,这样,用户终端就可以控制无线音乐系统中的播放设备进行歌曲播放了。In the embodiment of the present invention, generally, the user will select a playback device in the wireless music system as the master playback device, and use other playback devices as the slave playback devices, and the master playback device directly communicates with the user terminal (such as a smart phone). communication, and the slave playback device communicates directly with the master playback device. The user terminal needs to pre-install the wireless music system application for controlling the playback device, such as APP, etc. After the user logs in the wireless music system application on the user terminal, the user terminal sends a control command to the main playback device through the routing playback device, and the main playback device is in The control command is forwarded to other slave playback devices. After receiving the control command, the playback device will respond to the control command and perform corresponding operations. In this way, the user terminal can control the playback device in the wireless music system to play songs. .
本发明实施例中,用户可以在用户终端上根据自己的需要将无线音乐系统中的播放设备进行不同的分组,并将这些不同的播放设备组命名为不同的播放场景,如“早晨”,“晚上”,同时,用户可以为每一个播放场景设置不同的权限属性,该权限属性包括共享权限或私有权限,若播放场景的权限属性为共享权限,则每一个登录到无线音乐系统应用的用户均可以看见该播放场景的信息,若播放场景的权限属性为私有权限,则只有创建该播放场景的用户登录到无线音乐系统后才可以看见该播放场景的信息。In this embodiment of the present invention, the user can group the playback devices in the wireless music system into different groups according to their needs on the user terminal, and name these different playback device groups as different playback scenarios, such as "morning", "" At the same time, the user can set different permission attributes for each playback scene, the permission attributes include shared permission or private permission, if the permission attribute of the playback scene is shared permission, every user who logs in to the wireless music system application You can see the information of the playback scene. If the permission attribute of the playback scene is a private permission, only the user who created the playback scene can see the information of the playback scene after logging in to the wireless music system.
本发明实施例中,每个播放场景包括至少一个播放设备。举例来说,假设用户家里总共有6个播放设备,用户可以将这6个播放设备分成2个播放设备组,如1、3、5为一组,2、4、6为另一组,也可以为1为一组,2、3、4、5、6为另一组;用户也可以将这6个播放设备分成3个播放设备组、4个播放设备组、5个播放设备组以及6个播放设备组等,每个播放设备组包括的播放设备可以根据用户的需要随意排列组合,本发明实施例不作限定。In this embodiment of the present invention, each playback scene includes at least one playback device. For example, suppose the user has a total of 6 playback devices at home, the user can divide the 6 playback devices into 2 playback device groups, such as 1, 3, and 5 as one group, 2, 4, and 6 as another group. It can be 1 as one group, 2, 3, 4, 5, and 6 as another group; the user can also divide the 6 playback devices into 3 playback device groups, 4 playback device groups, 5 playback device groups, and 6 playback device groups. There are several playback device groups, etc., and the playback devices included in each playback device group can be arbitrarily arranged and combined according to the needs of the user, which is not limited in the embodiment of the present invention.
本发明实施例中,当检测到用户终端登陆无线音乐系统应用时,获取单元501获取无线音乐系统包括的多个播放场景的权限属性。这里的播放设备可以理解为主播放设备,主播放设备通过路由播放设备与用户终端进行通信,因此,主播放设备可以实时检测用户终端何时登陆无线音乐系统应用。In this embodiment of the present invention, when it is detected that the user terminal logs in to the wireless music system application, the obtaining
第一判断单元502,用于针对每一个播放场景,判断播放场景的权限属性是否为共享权限。The
确定单元503,用于当第一判断单502元针对每一个播放场景,判断播放场景的权限属性为共享权限时,确定播放场景为共享播放场景。The determining
本发明实施例中,当获取单元501获取到无线音乐系统包括的多个播放场景的权限属性之后,针对每一个播放场景,第一判断单元502可以判断播放场景的权限属性是否为共享权限,若是,确定单元503可以确定该播放场景为共享播放场景。In the embodiment of the present invention, after the obtaining
提取单元504,用于提取共享播放场景的场景标识。The
发送单元505,用于将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。The sending
本发明实施例中,确定单元503在确定该播放场景为共享播放场景之后,提取单元504可以提取共享播放场景的场景标识,发送单元505将共享播放场景的场景标识发送给用户终端,这样,用户终端就可以在无线音乐系统应用的界面上显示共享播放场景的场景标识,用户就可以使用该共享播放场景了。In this embodiment of the present invention, after the determining
基于图1所示的系统架构,本发明实施例公开了一种播放设备。请参见图6,图6是本发明实施例公开的另一种播放设备的结构示意图,其中,图6所示的播放设备是在图5所示的播放设备的基础上进一步优化得到的,与图5所示的播放设备相比,图6所示的播放设备除了包括图5所示的播放设备的所有单元外,Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a playback device. Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention. The playback device shown in FIG. 6 is further optimized on the basis of the playback device shown in FIG. Compared with the playback device shown in FIG. 5 , the playback device shown in FIG. 6 includes all units of the playback device shown in FIG. 5 .
上述确定单元503,还用于当第一判断单元502判断播放场景的权限属性为私有权限时,确定播放场景为私有播放场景。The
本发明实施例中,针对每一个播放场景,第一判断单元502在判断播放场景的权限属性不为共享权限之后,确定单元503可以确定播放场景为私有播放场景。In this embodiment of the present invention, for each play scene, after the
上述发送单元505,还用于向用户终端发送标识获取指令。The above-mentioned
本发明实施例中,确定单元503在确定播放场景为私有播放场景之后,发送单元505可以向登录无线音乐系统应用的用户终端发送标识获取指令,以验证该用户终端的合法性。In this embodiment of the present invention, after the determining
图6所示的播放设备500还可以包括:The
第一接收单元506,用于接收用户终端响应标识获取指令发送的用户终端的标识信息。The
第二判断单元507,用于判断用户终端的标识信息是否与私有播放场景对应的创建用户终端的标识信息匹配。The
本发明实施例中,用户在无线音乐系统应用上创建每一个播放场景时,每一个播放场景均会对应一个创建用户终端,即创建该播放场景的用户终端。因此,播放设备会建立每一个播放场景与该播放场景的创建用户终端之间的对应关系。当第一接收单元506,接收到用户终端响应标识获取指令发送的用户终端的标识信息之后,第二判断单元507可以判断用户终端的标识信息是否与私有播放场景对应的创建用户终端的标识信息匹配,若是,表明该用户终端就是创建私有播放场景对应的用户终端,若否,表明该用户终端为非法用户终端。In the embodiment of the present invention, when the user creates each play scene on the wireless music system application, each play scene corresponds to a created user terminal, that is, the user terminal that created the play scene. Therefore, the playback device will establish a correspondence between each playback scene and the user terminal where the playback scene is created. After the
上述提取单元504,还用于当第二判断单元507判断用户终端的标识信息与私有播放场景对应的创建用户终端的标识信息匹配时,提取私有播放场景的场景标识。The
上述发送单元505,还用于将私有播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示私有播放场景的场景标识。The above-mentioned
作为一种可选的实施方式,As an optional implementation,
上述发送单元505,还用于在第二判断单元507判断用户终端的标识信息与私有播放场景对应的创建用户终端的标识信息匹配之后,以及在提取单元504提取私有播放场景的场景标识之前,向用户终端发送验证信息获取指令。The above-mentioned
本发明实施例中,第二判断单元507在判断用户终端的标识信息与私有播放场景对应的创建用户终端的标识信息匹配之后,发送单元505可以进一步向用户终端发送验证信息获取指令,以验证使用用户终端的当前用户的合法性。In this embodiment of the present invention, after the second determining
上述第一接收单元506,还用于接收用户终端响应验证信息获取指令发送的验证信息。The above-mentioned first receiving
本发明实施例中,该验证信息可以包括但不限于验证密码、验证指纹信息、验证脸形信息、验证虹膜信息、验证视网膜信息以及验证声纹信息中的任意一种或几种的组合。In this embodiment of the present invention, the verification information may include, but is not limited to, any one or a combination of password verification, fingerprint verification verification, face verification verification information, iris verification verification information, retina verification verification information, and voiceprint verification verification information.
图6所示的播放设备500还可以包括:The
验证单元508,用于验证验证信息是否与私有播放场景对应的预设验证信息匹配。The
本发明实施例中,该预设验证信息可以包括但不限于预设验证密码、预设验证指纹信息、预设验证脸形信息、预设验证虹膜信息、预设验证视网膜信息以及预设验证声纹信息中的任意一种或几种的组合。In this embodiment of the present invention, the preset verification information may include, but is not limited to, a preset verification password, a preset verification fingerprint information, a preset verification face shape information, a preset verification iris information, a preset verification retinal information, and a preset verification voiceprint Any one or a combination of several of the information.
在该实施方式中,上述的预设验证信息可以包括指纹串信息以及每一个指纹对应的输入时间;那么相应地,验证单元508验证验证信息是否与私有播放场景对应的预设验证信息匹配可以包括以下步骤:In this embodiment, the above-mentioned preset verification information may include fingerprint string information and the input time corresponding to each fingerprint; then correspondingly, the
验证单元508验证指纹串是否与私有播放场景对应的预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值是否均小于预设值,如果验证指纹串与预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值均小于预设值,那么可以验证验证信息与私有播放场景对应的预设验证信息匹配;反之,验证信息与私有播放场景对应的预设验证信息不匹配。其中,通过实施该实施方式,可以有效地防止用户终端被非法用户肆意操作。The
上述提取单元504,具体用于当验证单元508验证验证信息与私有播放场景对应的预设验证信息匹配时,提取私有播放场景的场景标识。The above-mentioned extracting
基于图1所示的系统架构,本发明实施例公开了一种播放设备。请参见图7,图7是本发明实施例公开的另一种播放设备的结构示意图,其中,图7所示的播放设备是在图5所示的播放设备的基础上进一步优化得到的,与图5所示的播放设备相比,图7所示的播放设备除了包括图5所示的播放设备的所有单元外,还可以包括:Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a playback device. Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention. The playback device shown in FIG. 7 is obtained by further optimization on the basis of the playback device shown in FIG. Compared with the playback device shown in FIG. 5 , the playback device shown in FIG. 7 may include, in addition to all the units of the playback device shown in FIG. 5 :
计算单元509,用于每隔预设时间计算共享播放场景的使用频率。The calculating
本发明实施例中,确定单元503在确定播放场景为共享播放场景,提取单元504提取共享播放场景的场景标识,发送单元505将共享播放场景的场景标识发送给用户终端之后,计算单元509可以每隔预设时间计算共享播放场景的使用频率,其中,该预设时间可以为任意的时间,比如:1天、1星期、1个月等,本发明实施例不作限定。In this embodiment of the present invention, after the determining
上述第一判断单元502,还用于判断使用频率是否超过预设频率阈值。The above-mentioned first determining
上述发送单元505,还用于当第一判断单元502判断使用频率超过预设频率阈值时,向共享播放场景对应的创建用户终端发送提示信息,提示信息用于提示是否更改共享播放场景的权限属性。The above-mentioned
本发明实施例中,若第一判断单元502判断使用频率超过预设频率阈值,则表明该共享播放场景使用过于频繁,发送单元505可以向共享播放场景对应的创建用户终端发送提示信息,该提示信息用于提示是否更改共享播放场景的权限属性。In this embodiment of the present invention, if the
第二接收单元510,用于接收共享播放场景对应的创建用户终端针对提示信息发送的确认指令。The
更改单元511,用于响应确认指令,更改共享播放场景的权限属性为私有权限。The changing unit 511 is configured to, in response to the confirmation instruction, change the permission attribute of the shared play scene to a private permission.
本发明实施例中,第二接收单元510在接收到共享播放场景对应的创建用户终端针对提示信息发送的确认指令之后,表明用户同意更改共享播放场景的权限属性,此时,更改单元511就可以响应确认指令,更改共享播放场景的权限属性为私有权限,这样,该共享播放场景就变成了私有播放场景了,该私有播放场景只有创建它的创建用户终端以及创建的用户才可以使用,而其他用户终端以及其他用户均不可以使用。In this embodiment of the present invention, after the
基于图1所示的系统架构,本发明实施例公开了一种播放设备。请参见图8,图8是本发明实施例公开的另一种播放设备的结构示意图,其中,图8所示的播放设备是在图5所示的播放设备的基础上进一步优化得到的,与图5所示的播放设备相比,图8所示的播放设备除了包括图5所示的播放设备的所有单元外,获取单元501可以包括:Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a playback device. Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention. The playback device shown in FIG. 8 is further optimized on the basis of the playback device shown in FIG. Compared with the playback device shown in FIG. 5 , the playback device shown in FIG. 8 includes, in addition to all the units of the playback device shown in FIG. 5 , the
获取子单元5011,用于获取存储的无线音乐系统包括的多个播放场景的场景标识。The obtaining
查找子单元5012,用于从本地数据库中查找每一个场景标识对应的播放场景的权限属性,以获得多个播放场景的权限属性。The
在该实施例中,用户在用户终端的无线音乐系统应用上为每一个播放场景设置不同的权限属性之后,用户终端可以将每一个播放场景的权限属性发送给播放设备(主播放设备),播放设备接收到每一个播放场景的权限属性之后,播放设备就可以建立并存储每个播放场景的场景标识与播放场景的权限属性之间的对应关系。当检测到用户终端登陆无线音乐系统应用时,获取子单元5011获取存储的无线音乐系统包括的多个播放场景的场景标识,查找子单元5012从本地数据库中查找每一个场景标识对应的播放场景的权限属性,这样,播放设备就可以获得多个播放场景的权限属性。In this embodiment, after the user sets different permission attributes for each playback scene on the wireless music system application of the user terminal, the user terminal can send the permission attributes of each playback scene to the playback device (main playback device), and play the After the device receives the permission attribute of each playback scene, the playback device can establish and store the corresponding relationship between the scene identifier of each playback scene and the permission attribute of the playback scene. When it is detected that the user terminal has logged into the wireless music system application, the
基于图1所示的系统架构,本发明实施例公开了一种播放设备。请参见图9,图9是本发明实施例公开的另一种播放设备的结构示意图,其中,图9所示的播放设备是在图5所示的播放设备的基础上进一步优化得到的,与图5所示的播放设备相比,图9所示的播放设备除了包括图5所示的播放设备的所有单元外,获取单元501可以包括:Based on the system architecture shown in FIG. 1 , an embodiment of the present invention discloses a playback device. Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of another playback device disclosed in an embodiment of the present invention. The playback device shown in FIG. 9 is further optimized on the basis of the playback device shown in FIG. Compared with the playback device shown in FIG. 5 , the playback device shown in FIG. 9 includes, in addition to all the units of the playback device shown in FIG. 5 , the
发送子单元5013,用于向所述无线音乐系统包括的多个从播放设备分别发送播放场景信息获取请求。The sending subunit 5013 is configured to send a request for obtaining playback scene information to a plurality of slave playback devices included in the wireless music system.
接收子单元5014,用于接收每一个所述从播放设备响应所述播放场景信息获取请求而发送的播放场景信息。The receiving
提取子单元5015,用于从每一个所述从播放设备发送的播放场景信息中提取播放场景的权限属性,以获得所述多个播放场景的权限属性。The
在该实施例中,用户在用户终端的无线音乐系统应用上为每一个播放场景设置不同的权限属性之后,用户终端可以将每一个播放场景的权限属性发送给播放设备(主播放设备),播放设备接收到每一个播放场景的权限属性之后,播放设备就可以建立每个播放场景的场景标识与播放场景的权限属性之间的对应关系,同时,播放设备可以向每个播放场景包括的从播放设备发送该播放场景的场景标识与播放场景的权限属性之间的对应关系,以使每个播放场景包括的从播放设备存储该播放场景的场景标识与播放场景的权限属性之间的对应关系。当检测到用户终端登陆无线音乐系统应用时,发送子单元5013向无线音乐系统包括的多个从播放设备分别发送播放场景信息获取请求,接收子单元5014接收每一个从播放设备响应播放场景信息获取请求而发送的播放场景信息,提取子单元5015从每一个从播放设备发送的播放场景信息中提取播放场景的权限属性,这样,播放设备就可以获得多个播放场景的权限属性。In this embodiment, after the user sets different permission attributes for each playback scene on the wireless music system application of the user terminal, the user terminal can send the permission attributes of each playback scene to the playback device (main playback device), and play the After the device receives the permission attribute of each playback scene, the playback device can establish a corresponding relationship between the scene identifier of each playback scene and the permission attribute of the playback scene, and at the same time, the playback device can send the subordinate playback information included in each playback scene. The device sends the corresponding relationship between the scene identifier of the playback scene and the permission attribute of the playback scene, so that each playback scene includes the corresponding relationship between the scene identifier of the playback scene stored by the playback device and the permission attribute of the playback scene. When it is detected that the user terminal logs into the application of the wireless music system, the sending subunit 5013 sends a request for obtaining playback scene information to multiple slave playback devices included in the wireless music system, and the receiving
在图5~图9所示的播放设备500中,当检测到用户终端登陆无线音乐系统应用时,获取单元501获取无线音乐系统包括的多个播放场景的权限属性,针对每一个播放场景,第一判断单元502判断播放场景的权限属性是否为共享权限,若是,则确定单元503确定播放场景为共享播放场景,提取单元504提取共享播放场景的场景标识,发送单元505将共享播放场景的场景标识发送给用户终端,以使用户终端在无线音乐系统应用的界面上显示共享播放场景的场景标识。通过本发明实施例,确定单元503在确定播放场景的权限属性为共享权限之后,发送单元505才会把共享播放场景的场景标识发送给用户终端,这样,用户终端上显示的播放场景就是具有共享权限的共享播放场景,用户无需担心共享播放场景的信息泄漏,从而可以提高播放场景的信息的安全性。In the
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and units involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program is During execution, it may include the processes of the embodiments of the above-mentioned methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and of course, the scope of the rights of the present invention cannot be limited by this. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810118669.9ACN108259972B (en) | 2015-07-09 | 2015-07-09 | Display control method for playback scene, playback device and media product |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510404328.4ACN105050090B (en) | 2015-07-09 | 2015-07-09 | Display control method of playing scene and playing equipment |
| CN201810118669.9ACN108259972B (en) | 2015-07-09 | 2015-07-09 | Display control method for playback scene, playback device and media product |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510404328.4ADivisionCN105050090B (en) | 2015-07-09 | 2015-07-09 | Display control method of playing scene and playing equipment |
| Publication Number | Publication Date |
|---|---|
| CN108259972A CN108259972A (en) | 2018-07-06 |
| CN108259972Btrue CN108259972B (en) | 2020-12-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810118669.9AActiveCN108259972B (en) | 2015-07-09 | 2015-07-09 | Display control method for playback scene, playback device and media product |
| CN201510404328.4AActiveCN105050090B (en) | 2015-07-09 | 2015-07-09 | Display control method of playing scene and playing equipment |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510404328.4AActiveCN105050090B (en) | 2015-07-09 | 2015-07-09 | Display control method of playing scene and playing equipment |
| Country | Link |
|---|---|
| CN (2) | CN108259972B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108259972B (en)* | 2015-07-09 | 2020-12-22 | Oppo广东移动通信有限公司 | Display control method for playback scene, playback device and media product |
| CN106998551B (en)* | 2016-01-25 | 2021-06-29 | 中兴通讯股份有限公司 | A method, system, device and terminal for application access authentication |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105050090B (en)* | 2015-07-09 | 2018-03-02 | 广东欧珀移动通信有限公司 | Display control method of playing scene and playing equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9374607B2 (en)* | 2012-06-26 | 2016-06-21 | Sonos, Inc. | Media playback system with guest access |
| US8938312B2 (en)* | 2011-04-18 | 2015-01-20 | Sonos, Inc. | Smart line-in processing |
| US9654821B2 (en)* | 2011-12-30 | 2017-05-16 | Sonos, Inc. | Systems and methods for networked music playback |
| US9882995B2 (en)* | 2012-06-25 | 2018-01-30 | Sonos, Inc. | Systems, methods, apparatus, and articles of manufacture to provide automatic wireless configuration |
| US9607083B2 (en)* | 2013-03-15 | 2017-03-28 | Bose Corporation | Audio systems and related devices and methods |
| CN104244076B (en)* | 2014-08-29 | 2019-04-05 | Oppo广东移动通信有限公司 | A kind of method and system for grouping being realized by DLNA while manipulating more media devices |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105050090B (en)* | 2015-07-09 | 2018-03-02 | 广东欧珀移动通信有限公司 | Display control method of playing scene and playing equipment |
| Publication number | Publication date |
|---|---|
| CN105050090A (en) | 2015-11-11 |
| CN108259972A (en) | 2018-07-06 |
| CN105050090B (en) | 2018-03-02 |
| Publication | Publication Date | Title |
|---|---|---|
| EP3148225B1 (en) | Bluetooth connection-based audio playback method and apparatus | |
| CN105227321B (en) | Information processing method, server and client | |
| CN105307287B (en) | A kind of connection method and wearable device | |
| CN104851440B (en) | A kind of music shuffle method and intelligent sound box | |
| CN109995843B (en) | Terminal verification method and device based on narrowband Internet of things | |
| CN105430647A (en) | A method for connecting wireless speakers to the network and a mobile terminal | |
| US20210058488A1 (en) | Methods, systems, and media for pairing devices to complete a task using an application request | |
| CN106375465A (en) | A data migration method and server | |
| CN106843990A (en) | Application program control method and device | |
| CN106792699A (en) | A wireless fidelity Wi-Fi connection method and mobile terminal | |
| CN105451300A (en) | A network connection method and mobile device | |
| CN105303908A (en) | Entertainment function control method and device for learning machine | |
| CN105049999B (en) | Sound box grouping display method, local server, mobile terminal and system | |
| CN104836777B (en) | Identity verification method and system | |
| CN104284334A (en) | A control method and device for WiFi protection settings | |
| CN105764136B (en) | A kind of localization method and user terminal | |
| CN104810035A (en) | Sound effect control method and device | |
| CN108259972B (en) | Display control method for playback scene, playback device and media product | |
| WO2017084456A1 (en) | Wifi hotspot processing method, device and system | |
| CN104038922B (en) | File synchronisation method and relevant apparatus | |
| CN105989113A (en) | Application program recommendation method and application program recommendation system | |
| CN105025353B (en) | Play control method and user terminal | |
| CN106339332B (en) | Information processing method and device and terminal | |
| CN105657533B (en) | Data file player method and device | |
| CN112702743B (en) | Network data monitoring and protecting method based on artificial intelligence |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information | Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. | |
| GR01 | Patent grant | ||
| GR01 | Patent grant |