CN104902392B - The method for controlling volume and device of multi-user - Google Patents
The method for controlling volume and device of multi-user Download PDFInfo
- Publication number
- CN104902392B CN104902392B CN201510263263.6A CN201510263263A CN104902392B CN 104902392 B CN104902392 B CN 104902392B CN 201510263263 A CN201510263263 A CN 201510263263A CN 104902392 B CN104902392 B CN 104902392B
- Authority
- CN
- China
- Prior art keywords
- target
- group
- user
- broadcasting group
- volume threshold
- 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.)
- Expired - Fee Related
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
本发明公开了一种多用户的音量控制方法及装置。所述方法包括:确定并显示至少一个目标播放组,所述目标播放组为归属于其他用户的播放组,所述其他用户为音乐播放系统中除当前用户以外的用户;接收所述当前用户输入的目标音量阈值;将至少一个目标播放组的音量阈值配置为所述目标音量阈值,以便所述至少一个目标播放组根据所述目标音量阈值输出音频信号。本发明中当前用户可以调整归属于其他用户的播放组的音量阈值,进而控制目标播放组的音量,使得目标播放组与当前用户的播放组之间互不干扰,进而优化播放组的播放效果。
The invention discloses a multi-user volume control method and device. The method includes: determining and displaying at least one target playing group, the target playing group is a playing group belonging to other users, and the other users are users in the music playing system other than the current user; receiving input from the current user the target volume threshold; configure the volume threshold of at least one target playback group as the target volume threshold, so that the at least one target playback group outputs audio signals according to the target volume threshold. In the present invention, the current user can adjust the volume threshold of the playback group belonging to other users, and then control the volume of the target playback group, so that the target playback group and the current user's playback group do not interfere with each other, and then optimize the playback effect of the playback group.
Description
技术领域technical field
本发明实施例涉及电子设备控制技术,尤其涉及一种多用户的音量控制方法及装置。Embodiments of the present invention relate to electronic equipment control technologies, and in particular to a multi-user volume control method and device.
背景技术Background technique
随着无线网络技术的发展,无线网络技术被广泛应用到音乐播放领域。一些音乐播放设备商通过无线网络将多个音乐播放设备进行连接,形成由多个音乐播放设备组成的音乐播放系统。With the development of wireless network technology, wireless network technology is widely used in the field of music playback. Some music player equipment manufacturers connect multiple music player devices through wireless networks to form a music player system composed of multiple music player devices.
用户通过智能终端对音乐播放系统中的各音频播放设备进行分组,得到多个播放组。经过音乐播放系统认证的多个用户,可分别控制归属于该用户的至少一个播放组输出音频信号。例如,用户A控制归属于用户A的第一播放组播放摇滚乐,用户B控制归属于用户B的第二播放组播放轻音乐。The user groups the audio playback devices in the music playback system through the smart terminal to obtain multiple playback groups. Multiple users authenticated by the music playing system can respectively control at least one playing group belonging to the user to output audio signals. For example, user A controls the first playing group belonging to user A to play rock music, and user B controls the second playing group belonging to user B to play light music.
由于不同用户选择的输出音量不同,因此音量较大的播放组输出的音频信号会对其他播放组的音频信号造成干扰,影响其他播放组的播放效果。Since the output volumes selected by different users are different, the audio signal output by the louder playback group will interfere with the audio signals of other playback groups, affecting the playback effect of other playback groups.
发明内容Contents of the invention
本发明提供一种多用户的音量控制方法及装置,以实现由多个用户分别控制的播放组输出的音频信号互不干扰。The invention provides a multi-user volume control method and device, so as to realize that the audio signals output by the play groups controlled by multiple users do not interfere with each other.
第一方面,本发明实施例提供了一种多用户的音量控制方法,包括:In a first aspect, an embodiment of the present invention provides a multi-user volume control method, including:
确定并显示至少一个目标播放组,所述目标播放组为归属于其他用户的播放组,所述其他用户为音乐播放系统中除当前用户以外的用户;Determine and display at least one target playback group, the target playback group is a playback group belonging to other users, and the other users are users other than the current user in the music playback system;
接收所述当前用户输入的目标音量阈值;receiving the target volume threshold input by the current user;
将至少一个目标播放组的音量阈值配置为所述目标音量阈值,以便所述至少一个目标播放组根据所述目标音量阈值输出音频信号。Configuring the volume threshold of at least one target playing group as the target volume threshold, so that the at least one target playing group outputs audio signals according to the target volume threshold.
第二方面,本发明实施例还提供了一种多用户的音量控制装置,包括:In the second aspect, the embodiment of the present invention also provides a multi-user volume control device, including:
确定模块,用于确定至少一个目标播放组,所述目标播放组为归属于其他用户的播放组,所述其他用户为音乐播放系统中除当前用户以外的用户;A determination module, configured to determine at least one target play group, the target play group is a play group belonging to other users, and the other users are users other than the current user in the music play system;
显示模块,用于显示所述确定模块确定的所述至少一个目标播放组;a display module, configured to display the at least one target play group determined by the determination module;
接收模块,用于接收所述当前用户输入的目标音量阈值;a receiving module, configured to receive the target volume threshold input by the current user;
目标配置模块,用于将至少一个目标播放组的音量阈值配置为所述目标音量阈值,以便所述至少一个目标播放组根据所述目标音量阈值输出音频信号。The target configuration module is configured to configure the volume threshold of at least one target playback group as the target volume threshold, so that the at least one target playback group outputs audio signals according to the target volume threshold.
本发明在确定目标播放组后,能够根据用户输入的目标音量阈值控制目标播放组进行输出。与现有技术中,音量较大的播放组影响其他播放组的播放效果相比,本发明中当前用户可以调整归属于其他用户的播放组(目标播放组)的音量阈值,进而控制目标播放组的音量,使得目标播放组与当前用户的播放组之间互不干扰,进而优化播放组的播放效果。After the target play group is determined, the present invention can control the target play group to output according to the target volume threshold input by the user. Compared with the prior art, the playing group with higher volume affects the playing effect of other playing groups, in the present invention, the current user can adjust the volume threshold of the playing group (target playing group) belonging to other users, and then control the target playing group The volume of the target playback group and the current user's playback group will not interfere with each other, thereby optimizing the playback effect of the playback group.
附图说明Description of drawings
图1是本发明实施例一中的一个多用户的音量控制方法的流程图;FIG. 1 is a flow chart of a multi-user volume control method in Embodiment 1 of the present invention;
图2是本发明实施例二中的一个的用户界面示意图;FIG. 2 is a schematic diagram of a user interface in Embodiment 2 of the present invention;
图3是本发明实施例二中的一个多用户的音量控制方法的流程图;3 is a flowchart of a multi-user volume control method in Embodiment 2 of the present invention;
图4是本发明实施例三中的一个播放组的位置信息的显示界面示意图;Fig. 4 is a schematic diagram of a display interface of the location information of a playing group in Embodiment 3 of the present invention;
图5为本发明实施例二中的另一个多用户的音量控制方法的流程图;5 is a flowchart of another multi-user volume control method in Embodiment 2 of the present invention;
图6为本发明实施例二中的再一个多用户的音量控制方法的流程图;FIG. 6 is a flow chart of yet another multi-user volume control method in Embodiment 2 of the present invention;
图7为本发明实施例三中的一个多用户的音量控制装置的结构示意图;7 is a schematic structural diagram of a multi-user volume control device in Embodiment 3 of the present invention;
图8为本发明实施例三中的另一个多用户的音量控制装置的结构示意图;8 is a schematic structural diagram of another multi-user volume control device in Embodiment 3 of the present invention;
图9为本发明实施例三中的再一个多用户的音量控制装置的结构示意图。FIG. 9 is a schematic structural diagram of yet another multi-user volume control device in Embodiment 3 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1为本发明实施例一提供的一种多用户的音量控制方法的流程图,本实施例可适用于音乐播放系统多个用户,分别播放不同音量的音频信号时相互产生干扰的情况,该方法可以由配置有音乐播放系统控制软件的终端来执行,如智能手机、平板电脑等,该方法具体包括如下步骤:Fig. 1 is a flow chart of a multi-user volume control method provided by Embodiment 1 of the present invention. This embodiment is applicable to situations where multiple users of a music playback system interfere with each other when playing audio signals of different volumes respectively. The method can be executed by a terminal configured with music playback system control software, such as a smart phone, a tablet computer, etc., and the method specifically includes the following steps:
步骤110、确定并显示目标播放组,目标播放组为归属于其他用户的播放组。Step 110: Determine and display a target playgroup, where the target playgroup is a playgroup belonging to other users.
其中,其他用户为音乐播放系统中除当前用户以外的用户。Wherein, other users are users in the music playing system other than the current user.
配置有音乐播放系统控制软件的终端中保存有音乐播放系统中包含的用户信息,以及用户能够使用的播放组(也称为播放组与用户之间的归属关系)。当用户首次登录到音乐播放系统时,音乐播放系统的管理软件为用户提供可使用的播放组,并根据用户选择的播放组生成播放组与用户的归属关系。一个播放组只归属于一个用户,一个用户可使用一个或至少两个播放组。The user information included in the music playback system and the playback groups that the user can use (also called the attribution relationship between the playback group and the user) are stored in the terminal configured with the music playback system control software. When the user logs into the music playing system for the first time, the management software of the music playing system provides the user with available playing groups, and generates the attribution relationship between the playing groups and the user according to the playing group selected by the user. A playback group belongs to only one user, and a user can use one or at least two playback groups.
可通过如表1所示的映射关系表保存用户与播放组的归属关系。其中,播放组A和播放组B归属于用户A;播放组C归属于用户B;播放组D和播放组E归属于用户C。如果当前用户为用户A,则目标播放组为播放组C或播放组D或播放组E。The affiliation relationship between the user and the playback group can be saved through the mapping relationship table shown in Table 1. Among them, playgroup A and playgroup B belong to user A; playgroup C belongs to user B; playgroup D and playgroup E belong to user C. If the current user is user A, the target playback group is playback group C, playback group D, or playback group E.
表1Table 1
在获取到目标播放组后,通过列表的形式显示全部目标播放组的信息。用户可根据显示的信息选择某一个目标播放组进行设置。After the target playgroup is obtained, information of all target playgroups is displayed in the form of a list. The user can select a certain target play group to set according to the displayed information.
步骤120、接收当前用户输入的目标音量阈值。Step 120, receiving a target volume threshold currently input by the user.
其中,目标音量阈值小于目标播放组的额定播放阈值。例如:目标播放组的额定播放阈值为150分贝,目标音量阈值为100分贝。Wherein, the target volume threshold is smaller than the rated playback threshold of the target playback group. For example: the rated playback threshold of the target playback group is 150 decibels, and the target volume threshold is 100 decibels.
在获取到目标播放组后,显示全部目标播放组的信息。用户可根据显示的信息选择某一个目标播放组进行设置,并输入目标音量阈值作为该目标播放组的音量阈值。After the target playgroup is obtained, information of all target playgroups is displayed. The user can select a certain target playing group to set according to the displayed information, and input the target volume threshold as the volume threshold of the target playing group.
作为一种用户界面的举例,如图2所示,用户在设置目标播放组的音量阈值时,终端显示与目标播放组的音量对应的滑道以及滑道上的滑动块,滑道由小到大对应目标播放组的最小音量至额定播放阈值,且滑道上显示的有播放百分比(如0%-100%)。用户将滑块滑动到一定比值后,点击确定按钮,终端获取滑块对应的百分比,将该百分比与目标播放组的额定音量阈值相乘,得到目标音量阈值。As an example of a user interface, as shown in Figure 2, when the user sets the volume threshold of the target play group, the terminal displays the slideway corresponding to the volume of the target playgroup and the slider on the slideway, and the slideways are from small to large Corresponding to the minimum volume of the target playback group to the rated playback threshold, and the playback percentage (such as 0%-100%) is displayed on the slide. After the user slides the slider to a certain ratio and clicks the OK button, the terminal obtains the percentage corresponding to the slider, and multiplies the percentage by the rated volume threshold of the target playback group to obtain the target volume threshold.
步骤130、将至少一个目标播放组的音量阈值配置为目标音量阈值,以便至少一个目标播放组根据目标音量阈值输出音频信号。Step 130, configure the volume threshold of at least one target playback group as the target volume threshold, so that at least one target playback group outputs an audio signal according to the target volume threshold.
同一个播放组中的播放设备使用一个音量阈值进行输出。终端可将目标音量阈值发送到目标播放组中的目标播放设备,由目标播放设备对目标音量阈值进行保存,并根据目标音量阈值进行输出,实现将目标播放组的音量阈值配置为目标音量阈值的效果。目标播放组中的目标播放设备在输出音频信号时,最大播放音量为目标音量阈值。可选的,终端可在本地存储第一播放阈值,目标播放组进行播放时,由终端控制目标播放组的目标播放设备按照第一播放阈值进行输出。The playback devices in the same playback group use a volume threshold for output. The terminal can send the target volume threshold to the target playback device in the target playback group, and the target playback device will save the target volume threshold and output it according to the target volume threshold, so as to realize the configuration of the volume threshold of the target playback group as the target volume threshold Effect. When the target playback devices in the target playback group output audio signals, the maximum playback volume is the target volume threshold. Optionally, the terminal may store the first playing threshold locally, and when the target playing group plays, the terminal controls the target playing device of the target playing group to output according to the first playing threshold.
进一步的,用户可根据实际调节需求,对部分目标播放组进行调节,进而更加有针对性;或者,用户可对全部目标播放组进行调节,进而通过一次设置配置全部目标播放组的音量阈值。Further, the user can adjust some target playback groups according to actual adjustment requirements, so as to be more targeted; or, the user can adjust all target playback groups, and then configure the volume thresholds of all target playback groups through one setting.
本实施例的技术方案,能够根据用户输入的目标音量阈值控制目标播放组进行输出。与现有技术中,音量较大的播放组影响其他播放组的播放效果相比,本发明中当前用户可以调整归属于其他用户的播放组(目标播放组)的音量阈值,进而控制目标播放组的音量,使得目标播放组与当前用户的播放组之间互不干扰,进而优化播放组的播放效果。The technical solution of this embodiment can control the target play group to output according to the target volume threshold input by the user. Compared with the prior art, the playing group with higher volume affects the playing effect of other playing groups, in the present invention, the current user can adjust the volume threshold of the playing group (target playing group) belonging to other users, and then control the target playing group The volume of the target playback group and the current user's playback group will not interfere with each other, thereby optimizing the playback effect of the playback group.
实施例二Embodiment two
实施例一种提供了人工选择目标播放组的实现方式,为了减少用户操作,由终端自动进行识别,本实施例提供了一种多用户的音量控制方法,作为对实施例一的进一步说明,音乐播放系统中存在每个用户对应一个播放组的情况,如图3所示,步骤110、确定并显示至少一个目标播放组包括:Embodiment One provides an implementation method of manually selecting a target playback group. In order to reduce user operations, the terminal automatically recognizes it. This embodiment provides a multi-user volume control method. As a further description of Embodiment 1, music There is a situation that each user corresponds to a play group in the playback system, as shown in Figure 3, step 110, determining and displaying at least one target play group includes:
步骤111、获取当前用户的位置信息。Step 111, acquiring the location information of the current user.
通过GSP定位等定位方案,可获取当前用户的坐标。通过查找当前用户的坐标所在的位置区域,可确定当前用户的位置信息。位置区域为音乐播放系统所覆盖的区域中,播放组对应的功能区域的名称,例如餐厅、主卧、客厅等。可选的,位置区域也可以用坐标区间进行标识。Through positioning schemes such as GSP positioning, the coordinates of the current user can be obtained. The location information of the current user can be determined by searching the location area where the coordinates of the current user are located. The location area is the name of the functional area corresponding to the playback group in the area covered by the music playback system, such as dining room, master bedroom, and living room. Optionally, the location area may also be identified by a coordinate interval.
步骤112、查找与位置信息处于相同位置区域的第一播放组。Step 112, searching for the first playing group that is in the same location area as the location information.
在设置播放组时,终端除了保存播放组与用户的归属关系外,还保存有每个播放组所在的位置区域。如表2所示,其中保存有播放组和位置区域的对应关系,表示播放组所在的位置区域。When setting up the playing group, the terminal not only saves the belonging relationship between the playing group and the user, but also saves the location area where each playing group is located. As shown in Table 2, the corresponding relationship between the playing group and the location area is stored therein, indicating the location area where the playing group is located.
表2Table 2
表1和表2可以由关系型数据库进行管理。如果步骤111获取的当前用户的位置信息为餐厅,则第一播放组为位置区域同样为餐厅的播放组A。Table 1 and Table 2 can be managed by a relational database. If the location information of the current user acquired in step 111 is a restaurant, then the first playback group is playback group A whose location area is also a restaurant.
步骤113、将第一播放组以外的至少一个播放组确定为至少一个目标播放组。Step 113: Determine at least one playback group other than the first playback group as at least one target playback group.
由于每个播放组归属于一个用户,因此除了第一播放组以外的播放组,均属于其他用户。因此,通过排除法,将第一播放组以外的播放组确定为目标播放组。Since each playback group belongs to one user, all playback groups except the first playback group belong to other users. Therefore, by means of exclusion, the playgroups other than the first playgroup are determined as target playgroups.
步骤114、显示第一播放组的位置信息和至少一个目标播放组的位置信息。Step 114, displaying the location information of the first playing group and the location information of at least one target playing group.
生成包含有各播放组的位置信息对应的位置区域的分布图,在该分布图中的各位置区域中显示各播放组的位置信息。A distribution map containing the location areas corresponding to the location information of each playing group is generated, and the location information of each playing group is displayed in each location area in the distribution map.
以音乐播放系统覆盖一个家庭住宅为例,如图4所示,显示住宅的户型图,在户型图中各个功能区域中显示对应的播放组,例如客厅(播放组A)、厨房(播放组B)、卧室(播放组C),图4中卫生间未设置播放组,因此卫生间区域未显示播放组信息。当前用户位于卧室中,则在卧室处显示用户标识,以表示用户当前所处的位置区域。Take a family house covered by a music playback system as an example. As shown in Figure 4, the floor plan of the house is displayed, and the corresponding playing groups are displayed in each functional area of the floor plan, such as the living room (playing group A), kitchen (playing group B ), bedroom (playing group C), in Fig. 4, the playing group is not set in the bathroom, so the playing group information is not displayed in the bathroom area. If the current user is in the bedroom, the user identifier is displayed in the bedroom to represent the current location area of the user.
本实施例提供的技术方案,能够在播放组与用户一一对应的场景下,根据当前用户的位置信息确定目标播放组,终端保存各播放组的位置信息后,可为用户提供各播放组的位置信息,方便用户了解各播放组的位置,进而提高调解的有效性。The technical solution provided by this embodiment can determine the target playback group according to the location information of the current user in the scenario where the playback group corresponds to the user one by one. After the terminal saves the location information of each playback group, it can provide the user with the location information of each playback group. Location information, which is convenient for users to know the location of each playback group, thereby improving the effectiveness of mediation.
当每个用户对应至少两个播放组时,通过除了当前用户所在的位置区域外,还有其他位置区域包括从属于当前用户的播放组,此时使用上述方式确定目标播放组会出现误差。基于此,本发明实施例还提供了一种多用户的音量控制方法,作为对上述的进一步说明,如图5所示,步骤110、确定并显示至少一个目标播放组,可通过下述方式进行实施:When each user corresponds to at least two playgroups, in addition to the location area where the current user is located, there are other location areas including playgroups subordinate to the current user. At this time, using the above method to determine the target playgroup will cause errors. Based on this, the embodiment of the present invention also provides a multi-user volume control method, as a further description of the above, as shown in Figure 5, step 110, determining and displaying at least one target play group, can be performed in the following manner Implementation:
步骤115、获取当前用户对应的至少两个第二播放组。Step 115, acquiring at least two second playing groups corresponding to the current user.
第二播放组为归属于当前用户的播放组。在表1中,如果当前用户为用户A,则第二播放组为播放组A和播放组B。播放组A和播放组B分别位于不同的位置区域中,例如表2所示,播放组A位于餐厅,播放组B位于主卧中。The second playing group is a playing group belonging to the current user. In Table 1, if the current user is user A, then the second playing group is playing group A and playing group B. The playback group A and the playback group B are respectively located in different location areas. For example, as shown in Table 2, the playback group A is located in the dining room, and the playback group B is located in the master bedroom.
步骤116、将第二播放组以外的播放组确定为至少一个目标播放组。Step 116, determining a playback group other than the second playback group as at least one target playback group.
步骤117、显示至少一个目标播放组。Step 117, displaying at least one target playing group.
本实施例提供的技术方案,能够在一个用户对应多个播放组时,准确的确定目标播放组,提高多用户下的音量调控的准确性。The technical solution provided by this embodiment can accurately determine the target playback group when one user corresponds to multiple playback groups, and improve the accuracy of volume control under multiple users.
本发明实施例还提供了一种多用户的音量控制方法,作为对上述实施例的进一步说明,在步骤110、确定并显示至少一个目标播放组之前,所示方法还包括:The embodiment of the present invention also provides a multi-user volume control method. As a further description of the above embodiment, before step 110, determining and displaying at least one target play group, the shown method also includes:
如果所述音乐播放系统至少存在两个用户,则将全部用户对应的至少两个播放组的音量阈值配置为预设阈值。If there are at least two users in the music playing system, the volume thresholds of at least two playing groups corresponding to all users are configured as preset thresholds.
其中,预设阈值小于所述播放组的额定音量阈值,为额定音量阈值的预设百分比。例如,预设阈值为额定音量阈值的80%。此时,音乐播放系统中各个播放组的音量阈值均被配置为额定音量阈值的80%。Wherein, the preset threshold is smaller than the rated volume threshold of the playing group, which is a preset percentage of the rated volume threshold. For example, the preset threshold is 80% of the rated volume threshold. At this time, the volume thresholds of each playback group in the music playback system are configured to be 80% of the rated volume threshold.
如果当前用户认为目标播放组在80%的音量阈值时仍影响播放效果,或者当前用户认为目标播放组可以使用更高的音量阈值(如90%),则可根据图1所示的方式对目标播放组的播放阈值进行进一步的调整。If the current user thinks that the target playback group still affects the playback effect when the volume threshold is 80%, or the current user thinks that the target playback group can use a higher volume threshold (such as 90%), then the target playback group can be adjusted according to the method shown in Figure 1. The playback threshold of the playback group can be further adjusted.
本实施例提供的技术方案,能够在用户输入目标播放组的音量阈值之前,在确定有两个以上的用户控制播放组进行输出时,由终端按照预设阈值对各个播放组的音量阈值进行调整,实现自动化的音量调整。The technical solution provided by this embodiment can adjust the volume threshold of each playback group by the terminal according to the preset threshold when it is determined that there are more than two user-controlled playback groups for output before the user inputs the volume threshold of the target playback group , to achieve automatic volume adjustment.
上述技术方案中,由当前用户控制归属于其他用户的目标播放组的音量阈值,如果其他用户不希望归属于自己的播放组的音量阈值被当前用户调整,则会产生冲突。In the above technical solution, the current user controls the volume threshold of the target playback group belonging to other users. If other users do not want the volume threshold of their own playback group to be adjusted by the current user, conflicts will arise.
为了解决上述问题,本发明实施例还提供了一种多用户的音量控制方法,作为对上述实施例的进一步说明,如图6所示,在步骤120、接收所述当前用户输入的目标音量阈值之后,上述方法还包括:In order to solve the above problems, the embodiment of the present invention also provides a multi-user volume control method. As a further description of the above embodiment, as shown in FIG. 6, in step 120, the target volume threshold input by the current user is received Afterwards, the above method also includes:
步骤140、分别获取当前用户和其他用户的操作权值。Step 140, obtain the operation weights of the current user and other users respectively.
如表3所示,通过在表1中为每条记录添加一个属性值,即操作权值,进而对各用户的操作权值进行保存。As shown in Table 3, by adding an attribute value, namely the operation weight, to each record in Table 1, the operation weight of each user is saved.
表3table 3
所述步骤130、将所述目标播放组的音量阈值配置为所述目标音量阈值,包括:The step 130, configuring the volume threshold of the target playback group as the target volume threshold includes:
步骤131、如果当前用户的操作权值大于其他用户的操作权值,则将至少一个目标播放组的音量阈值配置为目标音量阈值。Step 131, if the operation weight of the current user is greater than the operation weight of other users, configure the volume threshold of at least one target playback group as the target volume threshold.
操作权值较高的用户可对操作权值较低的用户的播放组的音量阈值进行控制。以表3提供的数据为例,用户A的操作权值高于用户B和用户C,因此当用户A为当前用户时,可对用户B的播放组C和用户C的播放组D、播放组E的音量阈值进行控制。用户B和用户C具有相同操作权值,因此用户B无法对用户C的播放组D、播放组E的音量阈值进行控制;同理,用户C也无法对用户B的播放组C的音量阈值进行控制。A user with a higher operation weight can control the volume threshold of the playback group of a user with a lower operation weight. Taking the data provided in Table 3 as an example, the operation weight of user A is higher than that of user B and user C, so when user A is the current user, user B's playback group C and user C's playback group D, playback group E volume threshold is controlled. User B and user C have the same operation weight, so user B cannot control the volume thresholds of user C's playback group D and playback group E; similarly, user C cannot control the volume threshold of user B's playback group C control.
可选的,如果所述当前用户的操作权值大于等于所述其他用户的操作权值,则将所述至少一个目标播放组的音量阈值配置为所述目标音量阈值。Optionally, if the operation weight of the current user is greater than or equal to the operation weight of the other users, then configure the volume threshold of the at least one target playback group as the target volume threshold.
除了操作权值较高的用户可以控制操作权值较低的用户的播放组之外,具有相同操作权值的用户之间也可进行音量阈值的控制。在表3中,用户B和用户C具有相同操作权值,在可选方案中,用户B可对用户C的播放组D、播放组E的播放阈值进行控制;同理,用户C可对用户B的播放组C的播放阈值进行控制。In addition to the fact that users with higher operation weights can control the playback groups of users with lower operation weights, users with the same operation weights can also control the volume threshold. In Table 3, user B and user C have the same operation weight. In an alternative solution, user B can control the playback thresholds of user C's playback group D and playback group E; similarly, user C can control user C's B's play group C's play threshold is controlled.
本实施例提供的技术方案能够根据用户的操作权值对目标播放组的音量阈值进行控制,进而使得具有多个用户的音乐播放系统中,多个用户同时对彼此的播放组的播放音量进行控制时,根据操作权值的大小确定是否对播放组的音量阈值进行调整,防止冲突的发生。The technical solution provided by this embodiment can control the volume threshold of the target playback group according to the user's operation weight, so that in a music playback system with multiple users, multiple users can control the playback volume of each other's playback groups at the same time , determine whether to adjust the volume threshold of the playback group according to the value of the operation weight to prevent conflicts.
在用户对目标播放组的音量阈值进行设置后,用户认为无需对目标播放组的音量进行控制时,需要用户手动将目标播放组的音量阈值配置为额定音量阈值,否则目标播放组的音量阈值将始终为用户配置的目标音量阈值。如此,使得用户需要对目标播放组的音量阈值进行反复的设置,方可使目标播放组的音量阈值恢复。After the user sets the volume threshold of the target playback group, if the user thinks that there is no need to control the volume of the target playback group, the user needs to manually configure the volume threshold of the target playback group as the rated volume threshold, otherwise the volume threshold of the target playback group will be The target volume threshold that is always configured for the user. In this way, the user needs to repeatedly set the volume threshold of the target playback group to restore the volume threshold of the target playback group.
为了解决上述问题,本发明实施例还提供了一种多用户的音量控制方法,作为对上述实施例的进一步说明,在步骤130、将所述至少一个目标播放组的音量阈值配置为所述目标音量阈值之后,执行下述步骤:In order to solve the above problems, an embodiment of the present invention also provides a multi-user volume control method. As a further description of the above embodiment, in step 130, configure the volume threshold of the at least one target playback group as the target After the volume threshold, perform the following steps:
1、如果接收到所述当前用户触发的免打扰模式切换指令,则控制所述目标播放组根据所述目标音量阈值进行输出。1. If a do-not-disturb mode switching instruction triggered by the current user is received, control the target playback group to output according to the target volume threshold.
2、如果接收到所述当前用户触发的工作模式切换指令,则控制所述目标播放组根据所述目标播放组的额定音量阈值进行输出。2. If the working mode switching instruction triggered by the current user is received, control the target playback group to output according to the rated volume threshold of the target playback group.
在控制音乐播放系统的软件中提供模式切换按钮,用户通过点击或滑动按钮,选择不同的播放模式,播放模式为免打扰模式或工作模式。工作模式时,各播放组按照额定音量阈值进行输出。免打扰模式时,目标播放组根据用户之前输入的目标音量阈值进行输出。A mode switch button is provided in the software for controlling the music playback system, and the user can select a different playback mode by clicking or sliding the button, and the playback mode is a do-not-disturb mode or a working mode. In working mode, each playback group outputs according to the rated volume threshold. In the Do Not Disturb mode, the target playback group will output according to the target volume threshold input by the user.
本实施例提供的技术方案,能够通过在免打扰模式和工作模式之间进行切换,实现对目标播放组的音量阈值进行快速设置和恢复,提高目标播放组的音量阈值的配置效率。The technical solution provided by this embodiment can quickly set and restore the volume threshold of the target playback group by switching between the do not disturb mode and the working mode, and improve the configuration efficiency of the volume threshold of the target playback group.
实施例三Embodiment three
本发明实施例还提供了一种多用户的音量控制装置,用于实现上述方法,所述装置位于配置有音乐播放系统控制软件的终端中,如图7所示,包括:The embodiment of the present invention also provides a multi-user volume control device for implementing the above method. The device is located in a terminal configured with music playback system control software, as shown in FIG. 7 , including:
确定模块11,用于确定至少一个目标播放组,所述目标播放组为归属于其他用户的播放组,所述其他用户为音乐播放系统中除当前用户以外的用户。The determining module 11 is configured to determine at least one target playing group, the target playing group is a playing group belonging to other users, and the other users are users in the music playing system other than the current user.
显示模块12,用于显示所述确定模块11确定的所述至少一个目标播放组。A display module 12, configured to display the at least one target play group determined by the determination module 11.
接收模块13,用于接收所述当前用户输入的目标音量阈值。The receiving module 13 is configured to receive the target volume threshold input by the current user.
目标配置模块14,用于将至少一个目标播放组的音量阈值配置为所述目标音量阈值,以便所述至少一个目标播放组根据所述目标音量阈值输出音频信号。The target configuration module 14 is configured to configure the volume threshold of at least one target playback group as the target volume threshold, so that the at least one target playback group outputs audio signals according to the target volume threshold.
进一步的,每个用户对应一个播放组,所述确定模块11具体用于:Further, each user corresponds to a playing group, and the determining module 11 is specifically used for:
获取所述当前用户的位置信息;Obtain the location information of the current user;
查找与所述位置信息处于相同位置区域的第一播放组;Find the first playing group that is in the same location area as the location information;
将所述第一播放组以外的至少一个播放组确定为所述至少一个目标播放组。Determining at least one playback group other than the first playback group as the at least one target playback group.
所述显示模块12具体用于:显示所述第一播放组的位置信息和所述至少一个目标播放组的位置信息。The display module 12 is specifically configured to: display the location information of the first playing group and the location information of the at least one target playing group.
进一步的,每个用户对应至少两个播放组,所述确定模块11还用于:Further, each user corresponds to at least two playing groups, and the determining module 11 is also used for:
获取当前用户对应的至少两个第二播放组;Obtain at least two second playgroups corresponding to the current user;
将所述第二播放组以外的播放组确定为所述至少一个目标播放组。Determining a playback group other than the second playback group as the at least one target playback group.
进一步的,如图8所示,所述装置还包括:Further, as shown in Figure 8, the device also includes:
预设配置模块15,用于当所述音乐播放系统至少存在两个用户时,将全部用户对应的至少两个播放组的音量阈值配置为预设阈值,所述预设阈值小于所述播放组的额定音量阈值。The preset configuration module 15 is configured to configure the volume thresholds of at least two play groups corresponding to all users as a preset threshold when there are at least two users in the music playing system, and the preset threshold is smaller than the play group rated volume threshold.
进一步的,如图9所示,还包括:Further, as shown in Figure 9, it also includes:
获取模块16,用于分别获取所述当前用户和所述其他用户的操作权值。The obtaining module 16 is configured to obtain the operation weights of the current user and the other users respectively.
所述目标配置模块14还用于:The target configuration module 14 is also used for:
当所述当前用户的操作权值大于所述其他用户的操作权值时,将所述至少一个目标播放组的音量阈值配置为所述目标音量阈值。When the operation weight of the current user is greater than the operation weight of the other users, the volume threshold of the at least one target playback group is configured as the target volume threshold.
进一步的,所述目标配置模块14还用于:Further, the target configuration module 14 is also used for:
如果接收到所述当前用户触发的免打扰模式切换指令,则控制所述目标播放组根据所述目标音量阈值进行输出;If a do-not-disturb mode switching instruction triggered by the current user is received, control the target play group to output according to the target volume threshold;
如果接收到所述当前用户触发的工作模式切换指令,则控制所述目标播放组根据所述目标播放组的额定音量阈值进行输出。If the working mode switching instruction triggered by the current user is received, the target playback group is controlled to output according to the rated volume threshold of the target playback group.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510263263.6A CN104902392B (en) | 2015-05-21 | 2015-05-21 | The method for controlling volume and device of multi-user |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510263263.6A CN104902392B (en) | 2015-05-21 | 2015-05-21 | The method for controlling volume and device of multi-user |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104902392A CN104902392A (en) | 2015-09-09 |
| CN104902392B true CN104902392B (en) | 2018-11-20 |
Family
ID=54034740
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510263263.6A Expired - Fee Related CN104902392B (en) | 2015-05-21 | 2015-05-21 | The method for controlling volume and device of multi-user |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104902392B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109117052A (en) * | 2018-09-21 | 2019-01-01 | 深圳市二八智能家居有限公司 | The control method and device of multizone music |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104579211A (en) * | 2015-01-27 | 2015-04-29 | 广东欧珀移动通信有限公司 | Volume control method and device |
| CN104616675A (en) * | 2013-11-05 | 2015-05-13 | 华为终端有限公司 | Method for switching playing equipment and mobile terminal |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013106168A (en) * | 2011-11-14 | 2013-05-30 | Sony Corp | Control terminal device, control method, and program |
| US9510055B2 (en) * | 2013-01-23 | 2016-11-29 | Sonos, Inc. | System and method for a media experience social interface |
-
2015
- 2015-05-21 CN CN201510263263.6A patent/CN104902392B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104616675A (en) * | 2013-11-05 | 2015-05-13 | 华为终端有限公司 | Method for switching playing equipment and mobile terminal |
| CN104579211A (en) * | 2015-01-27 | 2015-04-29 | 广东欧珀移动通信有限公司 | Volume control method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104902392A (en) | 2015-09-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230112839A1 (en) | Touch control method and apparatus | |
| CN104618440B (en) | Smart machine control method and device | |
| JP6254282B2 (en) | System and method for selecting a Wi-Fi access point for location determination | |
| CN105554522B (en) | Method, server and the terminal of audio are played in group | |
| CN105047213B (en) | Music system and playing method thereof | |
| CN104918069B (en) | A playback scene restoration method, system, playback terminal and control terminal | |
| CN105025043A (en) | Information sharing method, information sharing device and information sharing system | |
| US20160142875A1 (en) | Location aware personal communication device enabled public addressing (pa) system | |
| CN104683546A (en) | Profile switching device and method | |
| CN104360307A (en) | Positioning method and positioning device | |
| CN108494954A (en) | Voice call data detection method and device, storage medium and mobile terminal | |
| US10694022B1 (en) | Autonomous profile switcher for devices based upon external environment | |
| CN108449496A (en) | Voice call data detection method, device, storage medium and mobile terminal | |
| CN116804854A (en) | Intelligent device control method and electronic device | |
| CN105786439B (en) | The control method and device of sound in a kind of terminal | |
| CN108449506A (en) | Voice call data processing method, device, storage medium and mobile terminal | |
| CN105095410A (en) | A song directory setting method, mobile terminal, server and system | |
| CN107071655B (en) | Method and device for configuring stereo output, audio playing equipment and mobile terminal | |
| CN104902392B (en) | The method for controlling volume and device of multi-user | |
| CN104935495A (en) | Method for Determining User Status, Unified Communications System, and Related Devices | |
| CN114915511B (en) | A control method and device for split equipment | |
| CN106506646A (en) | Playing device control method, device, mobile terminal and playing system | |
| CN105491114B (en) | Controlled device switching method, device and system | |
| CN108449504A (en) | Voice call data detection method, device, storage medium and mobile terminal | |
| CN105025353B (en) | Play control method and user terminal |
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 | ||
| 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. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181120 |