WO2016150190A1 - 音频播放控制方法、装置及音箱 - Google Patents

音频播放控制方法、装置及音箱 Download PDF

Info

Publication number
WO2016150190A1
WO2016150190A1 PCT/CN2015/096059 CN2015096059W WO2016150190A1 WO 2016150190 A1 WO2016150190 A1 WO 2016150190A1 CN 2015096059 W CN2015096059 W CN 2015096059W WO 2016150190 A1 WO2016150190 A1 WO 2016150190A1
Authority
WO
WIPO (PCT)
Prior art keywords
speaker
playback control
vibration sensor
audio playback
audio
Prior art date
Application number
PCT/CN2015/096059
Other languages
English (en)
French (fr)
Inventor
任超
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2016150190A1 publication Critical patent/WO2016150190A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Definitions

  • the present invention relates to the field of audio device technologies, and in particular, to an audio playback control method, apparatus, and speaker.
  • Smart Wireless Speaker is a new type of smart home appliance that communicates with smart devices (such as smartphones, tablets, etc.) by connecting to a Wi-Fi network.
  • the smart device sends a control command through the corresponding APP thereon, and the smart wireless speaker receives and executes the control command, thereby completing the control operation of the smart wireless speaker.
  • an embodiment of the present invention provides an audio playback control method, apparatus, and speaker to control an audio playback operation of a speaker by tapping a speaker cabinet.
  • an audio playback control method comprising:
  • a plurality of vibration sensors are respectively disposed at the top of the speaker cabinet, the left side of the speaker cabinet, and/or the right side of the speaker cabinet.
  • the method further includes:
  • the audio playback control command includes starting playback, pausing playback, playing a previous song, and/or playing a next song.
  • the audio playback control instruction corresponding to the vibration sensor at the top of the speaker cabinet includes starting playback and/or pausing playback;
  • the acquiring an audio playback control instruction of the vibration sensor corresponding to the maximum value, and executing the audio playback control instruction includes:
  • Suspending playback of the current audio information while the playback state is that the audio information is playing;
  • the current audio information is started to be played.
  • an audio playback control apparatus comprising:
  • a first acquiring module configured to acquire a detection value of the plurality of vibration sensors on the speaker box when detecting that the user taps the speaker box;
  • a second acquiring module configured to acquire a vibration sensor corresponding to a maximum value among the detected values
  • an execution module configured to acquire an audio playback control instruction of the vibration sensor corresponding to the maximum value, and execute the audio playback control instruction.
  • a plurality of vibration sensors are respectively disposed at the top of the speaker cabinet, the left side of the speaker cabinet, and/or the right side of the speaker cabinet.
  • the device further includes:
  • a setting module for setting a correspondence between a vibration sensor at different positions of the speaker cabinet and an audio playback control command
  • the audio playback control command includes starting playback, pausing playback, playing a previous song, and/or playing a next song.
  • the audio playback control instruction corresponding to the vibration sensor at the top of the speaker cabinet includes starting playback and/or pausing playback;
  • the execution module is specifically configured to:
  • the vibration sensor corresponding to the maximum value of the detection value is the vibration sensor at the top of the speaker cabinet, detecting the current playing state of the speaker;
  • Suspending playback of the current audio information while the playback state is that the audio information is playing;
  • the current audio information is started to be played.
  • a speaker comprising at least one vibration sensor, and an audio playback control device as described above;
  • the vibration sensor is connected to the audio playback control device.
  • the plurality of vibration sensors are respectively disposed at the top of the speaker cabinet, the left side of the speaker cabinet, and/or the right side of the speaker cabinet.
  • the embodiment of the present invention provides a vibration sensor at different positions inside or outside the speaker cabinet to detect a vibration signal generated when the user taps on the speaker cabinet; when the user taps the speaker cabinet, Identifying the tapping position of the user on the speaker cabinet by acquiring the vibration sensor corresponding to the maximum value among the detected values; and then obtaining the maximum value Corresponding vibration sensor audio playback control command, and executing the audio playback control command; thereby realizing the audio playback operation of the speaker by tapping the speaker cabinet, and tapping different positions of the speaker cabinet to perform different operations
  • the audio playback operation greatly enriches the audio control mode on the existing speakers, and the operation mode is convenient.
  • a computer storage medium for storing an application for performing an audio playback control method provided by the first aspect of the embodiments of the present invention at runtime.
  • an apparatus comprising: one or more processors; a memory; one or more programs, the one or more programs being stored in the memory when processed by the one or more When the device is executed, the audio playback control method provided by the first aspect of the embodiment of the present invention is executed.
  • FIG. 1 is a flowchart of implementing an audio playback control method according to Embodiment 1 of the present invention
  • FIG. 2 is a structural diagram of the structure of an audio playback control apparatus according to Embodiment 2 of the present invention.
  • a vibration sensor is arranged at different positions inside or outside the speaker box to detect a vibration signal generated when the user taps on the speaker box; when the user taps the speaker box, the maximum value of the detection value is obtained.
  • Corresponding vibration sensor identifying a tapping position of the user on the speaker cabinet; then acquiring an audio playback control instruction of the vibration sensor corresponding to the maximum value, and executing the audio playback control instruction; thereby implementing a knocking on the speaker box
  • the body mode controls the audio playback operation of the speaker, and taps different positions of the speaker cabinet to perform different audio playback operations, which greatly enriches the audio control mode of the existing speaker, and the operation mode is convenient.
  • the embodiments of the present invention also provide corresponding devices, which are described in detail below.
  • FIG. 1 shows a first implementation flow of an audio playback control method according to Embodiment 1 of the present invention. For convenience of description, only parts related to the present invention are shown.
  • the method is applied to a smart wireless speaker, and at least one vibration sensor is disposed at different positions inside or outside the smart wireless speaker box.
  • the different positions include, but are not limited to, the top of the speaker cabinet, the left side of the speaker cabinet, and/or the right side of the speaker cabinet, and may be at the top of the inside of the speaker cabinet, the left side of the interior, the right side of the interior, and the like.
  • At least one vibration sensor is disposed, and at least one vibration sensor may be disposed at a position on the top of the outside of the speaker cabinet, on the left side of the outside, on the right side of the outside, and the like.
  • the method includes:
  • step S101 when it is detected that the user taps the speaker cabinet, the detected values of the plurality of vibration sensors on the speaker cabinet are acquired.
  • the vibration sensor on the speaker cabinet is capable of detecting a vibration signal generated when the user taps on the speaker cabinet.
  • the magnitude of the vibration signal is represented by the magnitude of the detected value of the vibration sensor output on the speaker cabinet.
  • step S102 a vibration sensor corresponding to the maximum value among the detected values is acquired.
  • the embodiment of the present invention performs the detection value after acquiring the detected values of the plurality of vibration sensors on the speaker cabinet. Compare to obtain a vibration sensor corresponding to the maximum value of the detected values.
  • the position of the different vibration sensors inside or outside the speaker cabinet is fixed, and the tapping position of the user on the speaker cabinet can be known by the setting position of the vibration sensor corresponding to the maximum value among the detection values.
  • step S103 an audio playback control instruction of the vibration sensor corresponding to the maximum value is acquired, and the audio playback control instruction is executed.
  • the embodiment of the invention pre-sets the correspondence between the vibration sensor at different positions inside or outside the speaker cabinet and the audio playback control command.
  • the audio playback control instructions include, but are not limited to, starting playback, pausing playback, playing a previous song, and/or playing a next song.
  • acquiring an audio playback control instruction according to the vibration sensor ie, a tap position of the user currently on the speaker cabinet
  • executing the audio playback control instruction thereby It realizes the audio playback operation of the speaker by tapping the speaker box, and tapping different positions of the speaker box to perform different audio playback operations.
  • the knocking position of the speaker includes the outer top of the speaker cabinet, the left side of the speaker cabinet, and the outside of the speaker cabinet.
  • a vibration sensor is disposed in advance on the top of the inside of the speaker cabinet, the left side of the interior, and the right side of the interior, and the correspondence between the vibration sensor at different positions inside the speaker cabinet and the audio playback control command is set.
  • the audio playback control instructions include starting playback, pausing playback, playing a previous song, and/or playing a next song.
  • the corresponding relationship between the vibration sensor and the audio playback control command may be: the vibration sensor at the top of the speaker cabinet corresponds to a control command for starting or pausing playback, and the vibration sensor on the left side of the speaker cabinet plays the previous song.
  • the vibration sensor on the right side of the speaker cabinet corresponds to the control command for playing the next song.
  • the step S103 includes:
  • the current audio information is paused; and/or when the playing state is that the audio information is paused, the current audio information is started to be played.
  • the step S103 includes:
  • the step S103 includes:
  • a vibration sensor is disposed at different positions inside or outside the speaker cabinet to detect a vibration signal generated when the user taps on the speaker cabinet; when the user taps the speaker cabinet, the maximum value among the detection values is obtained.
  • the speaker box is used to control the audio playback operation of the speaker, and different audio playback operations are performed by tapping different positions of the speaker cabinet, which greatly enriches the audio control mode of the existing speaker, and the operation mode is convenient and flexible. , to enhance the user's experience.
  • FIG. 2 shows the composition of an audio playback control apparatus according to Embodiment 2 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the device is used to implement the audio playback control method described in the embodiment of FIG. 1, and may be a software unit, a hardware unit, or a combination of hardware and software built in the speaker.
  • the speaker is preferably a smart wireless speaker.
  • At least one vibration sensor is disposed at different positions inside or outside the speaker cabinet to detect a vibration signal generated when the user taps on the speaker cabinet. Preferably.
  • the different locations include, but are not limited to, a speaker cabinet top a portion, a left side of the speaker cabinet, and/or a right side of the speaker cabinet, at least one vibration sensor may be disposed at a position on the top of the speaker cabinet, the left side of the interior, the right side of the interior, or the like, or At least one vibration sensor is disposed at a position on the outer portion of the outer portion of the casing, the left side of the outer portion, and the right side of the outer portion.
  • the device 2 includes:
  • the first obtaining module 21 is configured to acquire a detection value of the plurality of vibration sensors on the speaker box when detecting that the user taps the speaker box.
  • the second obtaining module 22 is configured to acquire a vibration sensor corresponding to the maximum value among the detected values.
  • the execution module 23 is configured to acquire an audio playback control instruction of the vibration sensor corresponding to the maximum value, and execute the audio playback control instruction.
  • the device further includes:
  • a setting module 24 configured to set a correspondence between a vibration sensor at different positions on the speaker cabinet and an audio playback control instruction
  • the audio playback control command includes, but is not limited to, starting playback, pausing playback, playing the previous song, and/or playing the next song.
  • the audio playback control instruction corresponding to the vibration sensor at the top of the speaker cabinet comprises playing start playback and/or pause playback;
  • the execution module 23 is specifically configured to:
  • Suspending playback of the current audio information while the playback state is that the audio information is playing;
  • the current audio information is started to be played.
  • the device in the embodiment of the present invention may be used to implement all the technical solutions in the foregoing method embodiments, and the functions of the respective functional modules may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to Related descriptions in the above embodiments are not described herein again.
  • a vibration sensor is disposed at different positions inside or outside the speaker cabinet to detect a vibration signal generated when the user taps on the speaker cabinet; when the user taps the speaker cabinet, the maximum value of the detection value is obtained.
  • the box mode controls the audio playback operation of the speaker, and taps different positions of the speaker cabinet to perform different audio playback operations, which greatly enriches the audio control mode on the existing speaker, and has convenient operation mode and improves the user. The sense of experience.
  • composition of the speaker provided in the third embodiment of the present invention is given below.
  • the speaker includes:
  • At least one vibration sensor and an audio playback control device as described in the embodiment of FIG. 2.
  • the vibration sensor is connected to the audio playback control device.
  • the vibration sensors are disposed at different positions inside or outside the speaker cabinet to detect a vibration signal generated when the user taps on the speaker cabinet.
  • the different positions include, but are not limited to, a top of the speaker cabinet, a left side of the speaker cabinet, and/or a right side of the speaker cabinet, and therefore, may be at the top of the inside of the speaker cabinet, the left side of the interior, or the inside.
  • a vibration sensor is respectively disposed at the right side and the like, or a vibration sensor is respectively disposed at a position on the top of the speaker box, the left side of the outside, and the right side of the outside.
  • the vibration sensor is configured to detect a vibration signal generated when a user taps on a speaker cabinet; and the audio playback control device is configured to identify a vibration sensor with a maximum vibration signal detection value to obtain a user in the speaker. a tapping position on the box, and performing a corresponding audio playing operation according to the vibration sensor having the largest detected value; thereby realizing controlling the audio playing operation of the speaker by tapping the speaker box, and tapping the speaker box
  • Different audio playback operations are performed at different positions, which greatly enriches the audio control mode of the existing speakers, and the operation mode is convenient and flexible, thereby improving the user experience.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本发明适用于音频设备技术领域,提供了一种音频播放控制方法、装置及音箱,所述方法包括:当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值;获取所述检测值中最大值对应的振动传感器;获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。本发明实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置执行不同的音频播放操作,极大地丰富了现有的音箱上的音频控制方式,且操作方式便捷。

Description

音频播放控制方法、装置及音箱
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2015年3月23日提交的、发明名称为“音频播放控制方法、装置及音箱”的、中国专利申请号“201510130155.1”的优先权。
技术领域
本发明涉及音频设备技术领域,尤其涉及一种音频播放控制方法、装置及音箱。
背景技术
智能无线音箱是一种新型的智能家电设备,通过连接Wi-Fi网络与智能设备(比如智能手机、平板电脑等)进行通信。智能设备通过其上相应的APP发送控制指令,智能无线音箱接收并执行所述控制指令,从而完成对智能无线音箱的控制操作。
然而,现有技术在对智能无线音箱进行控制时,都需要用户预先在智能设备上安装相应的APP,以通过所述APP发送控制指令,操作繁琐,且控制方式单一,灵活性差。
发明内容
鉴于此,本发明实施例提供了一种音频播放控制方法、装置及音箱,以实现通过敲击音箱箱体的方式来控制音箱的音频播放操作。
第一方面,提供了一种音频播放控制方法,所述方法包括:
当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值;
获取所述检测值中最大值对应的振动传感器;
获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。
进一步地,多个振动传感器分别设置在音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧。
进一步地,在获取所述音箱箱体上多个振动传感器的检测值之前,所述方法还包括:
设置音箱箱体不同位置的振动传感器与音频播放控制指令之间的对应关系;
其中,所述音频播放控制指令包括开始播放、暂停播放、播放上一曲和/或播放下一曲。
进一步地,所述音箱箱体顶部的振动传感器对应的音频播放控制指令包括开始播放和/或暂停播放;
当检测值中最大值对应的振动传感器为所述音箱箱体顶部的振动传感器时,所述获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令包括:
检测音箱当前的播放状态;
在所述播放状态为音频信息正在播放时,暂停播放当前的音频信息;和/或
在所述播放状态为音频信息暂停播放时,开始播放当前的音频信息。
第二方面,提供了一种音频播放控制装置,所述装置包括:
第一获取模块,用于当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值;
第二获取模块,用于获取所述检测值中最大值对应的振动传感器;
执行模块,用于获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。
进一步地,多个振动传感器分别设置在音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧。
进一步地,所述装置还包括:
设置模块,用于设置音箱箱体不同位置的振动传感器与音频播放控制指令之间的对应关系;
其中,所述音频播放控制指令包括开始播放、暂停播放、播放上一曲和/或播放下一曲。
进一步地,所述音箱箱体顶部的振动传感器对应的音频播放控制指令包括开始播放和/或暂停播放;
所述执行模块具体用于:
当检测值中最大值对应的振动传感器为所述音箱箱体顶部的振动传感器时,检测音箱当前的播放状态;
在所述播放状态为音频信息正在播放时,暂停播放当前的音频信息;和/或
在所述播放状态为音频信息暂停播放时,开始播放当前的音频信息。
第三方面,提供了一种音箱,所述音箱包括至少一个振动传感器,以及如上所述的音频播放控制装置;
所述振动传感器与所述音频播放控制装置连接。
进一步地,当有多个振动传感器时,所述多个振动传感器分别设置在音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧。
与现有技术相比,本发明实施例在音箱箱体内部或者外部的不同位置设置振动传感器,以检测用户在音箱箱体上敲击时产生的振动信号;当用户敲击音箱箱体时,通过获取检测值中最大值对应的振动传感器,识别用户在音箱箱体上的敲击位置;然后获取所述最大值 对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令;从而实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置执行不同的音频播放操作,极大地丰富了现有的音箱上的音频控制方式,且操作方式便捷。
第四方面,提供了一种计算机存储介质,用于存储应用程序,所述应用程序用于在运行时执行本发明实施例第一方面提供的音频播放控制方法。
第五方面,提供了一种设备,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,执行本发明实施例第一方面提供的音频播放控制方法。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例一提供的音频播放控制方法的实现流程图;
图2是本发明实施例二提供的音频播放控制装置的组成结构图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例在音箱箱体内部或者外部的不同位置设置振动传感器,以检测用户在音箱箱体上敲击时产生的振动信号;当用户敲击音箱箱体时,通过获取检测值中最大值对应的振动传感器,识别用户在音箱箱体上的敲击位置;然后获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令;从而实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置执行不同的音频播放操作,极大地丰富了现有的音箱上的音频控制方式,且操作方式便捷。本发明实施例还提供了相应的装置,以下分别进行详细的说明。
实施例一
图1示出了本发明实施例一提供的音频播放控制方法的第一实现流程,为了便于说明,仅示出了与本发明相关的部分。
在本发明实施例中,所述方法应用于智能无线音箱,所述智能无线音箱箱体内部或者外部的不同位置上设置有至少一个振动传感器。优选地。所述不同位置包括但不限于音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧,可在所述音箱箱体内部的顶部、内部的左侧、内部的右侧等位置上设置至少一个振动传感器,也可在所述音箱箱体外部的顶部、外部的左侧、外部的右侧等位置上设置至少一个振动传感器。
如图1所示,所述方法包括:
在步骤S101中,当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值。
在本发明实施例中,所述音箱箱体上的振动传感器能够检测用户在音箱箱体上敲击时产生的振动信号。所述振动信号的大小通过音箱箱体上的振动传感器输出的检测值大小来表示。并且,振动传感器离敲击位置越近,其输出的检测值相应越大;振动传感器离敲击位置越远,其输出的检测值相应越小。
在步骤S102中,获取所述检测值中最大值对应的振动传感器。
由于振动传感器输出的检测值的大小直接反应了振动传感器离敲击位置的远近,因此,本发明实施例在获取到音箱箱体上的多个振动传感器的检测值后,对所述检测值进行比较,以获取检测值中的最大值对应的振动传感器。不同的振动传感器在音箱箱体内部或者外部的位置是固定的,通过所述检测值中的最大值对应的振动传感器的设置位置即可获知用户在音箱箱体上的敲击位置。
在步骤S103中,获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。
本发明实施例预先设置了音箱箱体内部或者外部不同位置的振动传感器与音频播放控制指令之间的对应关系。优选地,所述音频播放控制指令包括但不限于开始播放、暂停播放、播放上一曲和/或播放下一曲。在获取到检测值中的最大值对应的振动传感器后,根据所述振动传感器(即用户当前在音箱箱体上的敲击位置)获取音频播放控制指令,并执行所述音频播放控制指令,从而实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置对应执行不同的音频播放操作。
进一步地,音箱箱体内部或者外部不同位置的振动传感器与音频播放控制指令之间的对应关系有多种组合方式,以下将以一具体实施例来进行详细的说明。
假设所述音箱的敲击位置包括音箱箱体外部顶部、音箱箱体外部左侧、音箱箱体外部右侧。预先分别在音箱箱体内部的顶部、内部的左侧、内部的右侧位置上设置一个振动传感器,并且设置音箱箱体内部不同位置上的振动传感器与音频播放控制指令之间的对应关系。
示例性地,所述音频播放控制指令包括开始播放、暂停播放、播放上一曲和/或播放下一曲。所述振动传感器与音频播放控制指令之间的对应关系可以为:音箱箱体内部顶部的振动传感器与开始或暂停播放的控制指令对应,音箱箱体内部左侧的振动传感器与播放上一曲的控制指令对应,音箱箱体内部右侧的振动传感器与播放下一曲的控制指令对应。
当检测值中的最大值对应的振动传感器为音箱箱体内部顶部上的振动传感器时,所述步骤S103包括:
检测所述音箱当前的播放状态;
在所述播放状态为音频信息正在播放时,暂停播放当前的音频信息;和/或在所述播放状态为音频信息暂停播放时,开始播放当前的音频信息。
当检测值中的最大值对应的振动传感器为音箱箱体内部左侧的振动传感器时,所述步骤S103包括:
获取播放上一曲的控制指令,并执行该控制指令,播放上一曲。
当检测值中的最大值对应的振动传感器为音箱箱体内部右侧的振动传感器时,所述步骤S103包括:
获取播放下一曲的控制指令,并执行该控制指令,播放下一曲。
需要说明的是,以上仅为本发明提供的音箱箱体内部不同位置的振动传感器与音频播放控制指令之间的对应关系的一个具体的实施示例,并不用于限制本发明。
本发明实施例在音箱箱体内部或者外部的不同位置设置振动传感器,以检测用户在音箱箱体上敲击时产生的振动信号;当用户敲击音箱箱体时,通过获取检测值中的最大值对应的振动传感器,识别用户在音箱箱体上的敲击位置;然后获取所述振动传感器对应的音频播放控制指令,并在所述音箱上执行所述音频播放控制指令;从而实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置执行不同的音频播放操作,极大地丰富了现有的音箱上的音频控制方式,且操作方式便捷、灵活,提升了用户的体验感。
实施例二
图2示出了本发明实施例二提供的音频播放控制装置的组成结构,为了便于说明,仅示出了与本发明实施例相关的部分。
在本发明实施例中,所述装置用于实现图1实施例所述的音频播放控制方法,可以是内置于音箱内部的软件单元、硬件单元或者软硬件结合的单元。所述音箱优选为智能无线音箱。所述音箱箱体内部或者外部的不同位置上设置有至少一个振动传感器,用以检测用户在音箱箱体上敲击时产生的振动信号。优选地。所述不同位置包括但不限于音箱箱体顶 部、音箱箱体左侧和/或音箱箱体右侧,可在所述音箱箱体内部的顶部、内部的左侧、内部的右侧等位置上设置至少一个振动传感器,或者在所述音箱箱体外部的顶部、外部的左侧、外部的右侧等位置上设置至少一个振动传感器。
如图2所示,所述装置2包括:
第一获取模块21,用于当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值。
第二获取模块22,用于获取所述检测值中最大值对应的振动传感器。
执行模块23,用于获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。
进一步地,所述装置还包括:
设置模块24,用于设置音箱箱体上不同位置的振动传感器与音频播放控制指令之间的对应关系;
其中,所述音频播放控制指令包括但不限于开始播放、暂停播放、播放上一曲和/或播放下一曲。
优选地,所述音箱箱体顶部的振动传感器对应的音频播放控制指令包括播放开始播放和/或暂停播放;
所述执行模块23具体用于:
当检测值中最大值对应的振动传感器为所述音箱箱体顶部的振动传感器时,检测所述音箱当前的播放状态;
在所述播放状态为音频信息正在播放时,暂停播放当前的音频信息;和/或
在所述播放状态为音频信息暂停播放时,开始播放当前的音频信息。
需要说明的是,本发明实施例中的装置可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施例中的相关描述,此处不再赘述。
本发明实施例在音箱箱体内部或者外部的不同位置上设置振动传感器,以检测用户在音箱箱体上敲击时产生的振动信号;当用户敲击音箱箱体时,通过获取检测值中最大值对应的振动传感器,识别用户在音箱箱体上的敲击位置;然后获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令;从而实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置执行不同的音频播放操作,极大地丰富了现有的音箱上的音频控制方式,且操作方式便捷,提升了用户的体验感。
实施例三
以下给出本发明实施例三提供的音箱的组成结构。
所述音箱包括:
至少一个振动传感器以及如图2实施例所述的音频播放控制装置。
所述振动传感器与所述音频播放控制装置连接。
其中,当有多个振动传感器时,所述振动传感器设置在音箱箱体内部或者外部的不同位置上,以检测用户在音箱箱体上敲击时产生的振动信号。进一步地,所述不同位置包括但不限于音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧,因此,可在所述音箱箱体内部的顶部、内部的左侧、内部的右侧等位置上分别设置一个振动传感器,或者在所述音箱箱体外部的顶部、外部的左侧、外部的右侧等位置上分别设置一个振动传感器。
在本发明实施例中,所述振动传感器用于检测用户在音箱箱体上敲击时产生的振动信号;所述音频播放控制装置用于识别振动信号检测值最大的振动传感器以获取用户在音箱箱体上的敲击位置,并根据所述检测值最大的振动传感器执行对应的音频播放操作;从而实现了通过敲击音箱箱体的方式来控制音箱的音频播放操作,并且敲击音箱箱体的不同位置执行不同的音频播放操作,极大地丰富了现有的音箱上的音频控制方式,且操作方式便捷、灵活,提升了用户的体验感。
需要说明的是,本发明实施例中的音箱可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施例中的相关描述,此处不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (12)

  1. 一种音频播放控制方法,其特征在于,所述方法包括:
    当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值;
    获取所述检测值中最大值对应的振动传感器;
    获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。
  2. 如权利要求1所述的音频播放控制方法,其特征在于,多个振动传感器分别设置在音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧。
  3. 如权利要求1或2所述的音频播放控制方法,其特征在于,在获取所述音箱箱体上多个振动传感器的检测值之前,所述方法还包括:
    设置音箱箱体不同位置的振动传感器与音频播放控制指令之间的对应关系;
    其中,所述音频播放控制指令包括开始播放、暂停播放、播放上一曲和/或播放下一曲。
  4. 如权利要求3所述的音频播放控制方法,其特征在于,所述音箱箱体顶部的振动传感器对应的音频播放控制指令包括开始播放和/或暂停播放;
    当检测值中最大值对应的振动传感器为所述音箱箱体顶部的振动传感器时,所述获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令包括:
    检测音箱当前的播放状态;
    在所述播放状态为音频信息正在播放时,暂停播放当前的音频信息;和/或
    在所述播放状态为音频信息暂停播放时,开始播放当前的音频信息。
  5. 一种音频播放控制装置,其特征在于,所述装置包括:
    第一获取模块,用于当检测到用户敲击音箱箱体时,获取所述音箱箱体上多个振动传感器的检测值;
    第二获取模块,用于获取所述检测值中最大值对应的振动传感器;
    执行模块,用于获取所述最大值对应的振动传感器的音频播放控制指令,并执行所述音频播放控制指令。
  6. 如权利要求5所述的音频播放控制装置,其特征在于,多个振动传感器分别设置在音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧。
  7. 如权利要求5或6所述的音频播放控制装置,其特征在于,所述装置还包括:
    设置模块,用于设置音箱箱体不同位置的振动传感器与音频播放控制指令之间的对应关系;
    其中,所述音频播放控制指令包括开始播放、暂停播放、播放上一曲和/或播放下一曲。
  8. 如权利要求7所述的音频播放控制装置,其特征在于,所述音箱箱体顶部的振动传感器对应的音频播放控制指令包括开始播放和/或暂停播放;
    所述执行模块具体用于:
    当检测值中最大值对应的振动传感器为所述音箱箱体顶部的振动传感器时,检测音箱当前的播放状态;
    在所述播放状态为音频信息正在播放时,暂停播放当前的音频信息;和/或
    在所述播放状态为音频信息暂停播放时,开始播放当前的音频信息。
  9. 一种音箱,其特征在于,所述音箱包括至少一个振动传感器,以及如权利要求5至8任一项所述的音频播放控制装置;
    所述振动传感器与所述音频播放控制装置连接。
  10. 如权利要求9所述的音箱,其特征在于,当有多个振动传感器时,所述多个振动传感器分别设置在音箱箱体顶部、音箱箱体左侧和/或音箱箱体右侧。
  11. 一种计算机存储介质,其特征在于,所述计算机存储介质用于存储应用程序,所述应用程序用于在运行时执行如权利要求1-4任一项所述的音频播放控制方法。
  12. 一种设备,其特征在于,包括:
    一个或者多个处理器;
    存储器;
    一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,执行如权利要求1-4任一项所述的音频播放控制方法。
PCT/CN2015/096059 2015-03-23 2015-11-30 音频播放控制方法、装置及音箱 WO2016150190A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510130155.1 2015-03-23
CN201510130155.1A CN104853281A (zh) 2015-03-23 2015-03-23 音频播放控制方法、装置及音箱

Publications (1)

Publication Number Publication Date
WO2016150190A1 true WO2016150190A1 (zh) 2016-09-29

Family

ID=53852571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096059 WO2016150190A1 (zh) 2015-03-23 2015-11-30 音频播放控制方法、装置及音箱

Country Status (2)

Country Link
CN (1) CN104853281A (zh)
WO (1) WO2016150190A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371098A (zh) * 2017-09-07 2017-11-21 合肥新文远信息技术有限公司 一种蓝牙音箱控制电路

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853281A (zh) * 2015-03-23 2015-08-19 广东欧珀移动通信有限公司 音频播放控制方法、装置及音箱
CN107885357A (zh) * 2017-11-10 2018-04-06 无锡睿勤科技有限公司 一种声音控制计算机的方法、系统及计算机
CN109652954B (zh) * 2018-03-22 2020-08-28 青岛海尔滚筒洗衣机有限公司 一种衣物处理装置的控制方法及衣物处理装置
CN109276033A (zh) * 2018-10-26 2019-01-29 广州三拾七度智能家居有限公司 一种动作控制的木质音响茶几
CN113928232A (zh) * 2021-10-13 2022-01-14 广州小鹏自动驾驶科技有限公司 一种车辆控制的方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620465A (zh) * 2008-07-02 2010-01-06 联想(北京)有限公司 一种指令输入方法及数据处理系统
CN103577060A (zh) * 2012-08-07 2014-02-12 联想(北京)有限公司 一种数据处理方法及电子设备
CN103645845A (zh) * 2013-11-22 2014-03-19 华为终端有限公司 一种敲击控制方法及终端
CN203520626U (zh) * 2013-08-06 2014-04-02 京东方科技集团股份有限公司 一种茶几遥控器
CN104853281A (zh) * 2015-03-23 2015-08-19 广东欧珀移动通信有限公司 音频播放控制方法、装置及音箱

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060097983A1 (en) * 2004-10-25 2006-05-11 Nokia Corporation Tapping input on an electronic device
CN201336655Y (zh) * 2009-01-12 2009-10-28 叶静文 一种使用重力加速度传感器的开关
CN103034376A (zh) * 2011-09-30 2013-04-10 索尼爱立信移动通讯有限公司 声音控制装置、方法及电子设备
CN103780749A (zh) * 2012-10-25 2014-05-07 英属维京群岛速位互动股份有限公司 行动装置与控制其应用程序的方法
CN103941998A (zh) * 2014-03-25 2014-07-23 惠州Tcl移动通信有限公司 敲击屏幕或手势识别控制移动终端音乐播放的方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620465A (zh) * 2008-07-02 2010-01-06 联想(北京)有限公司 一种指令输入方法及数据处理系统
CN103577060A (zh) * 2012-08-07 2014-02-12 联想(北京)有限公司 一种数据处理方法及电子设备
CN203520626U (zh) * 2013-08-06 2014-04-02 京东方科技集团股份有限公司 一种茶几遥控器
CN103645845A (zh) * 2013-11-22 2014-03-19 华为终端有限公司 一种敲击控制方法及终端
CN104853281A (zh) * 2015-03-23 2015-08-19 广东欧珀移动通信有限公司 音频播放控制方法、装置及音箱

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371098A (zh) * 2017-09-07 2017-11-21 合肥新文远信息技术有限公司 一种蓝牙音箱控制电路

Also Published As

Publication number Publication date
CN104853281A (zh) 2015-08-19

Similar Documents

Publication Publication Date Title
WO2016150190A1 (zh) 音频播放控制方法、装置及音箱
US10623835B2 (en) Information processing apparatus, information processing method, and program
EP3691291A1 (en) Wireless earpiece and control method therefor
KR102343269B1 (ko) 웨어러블 전자 장치
WO2016045088A1 (zh) 控制应用程序的方法、装置和电子设备
US20160057553A1 (en) Method for processing data and electronic device therefor
CN104699248A (zh) 音频播放的控制方法及装置、电子设备
EP3267437A1 (en) Interactive peripheral device for television karaoke
KR102160473B1 (ko) 볼륨을 제어하는 방법 및 전자 장치
EP3416040A1 (en) Sound effect processing method and mobile terminal
US20200027469A1 (en) Content streaming apparatus and method
EP3652933A1 (en) Controlling visual indicators in an audio responsive device, and capturing and providing audio using an api
KR102206866B1 (ko) 전자 장치 및 전자 장치에서 촬영 방법
TW201617847A (zh) 音訊播放系統及音訊播放方法
US20160259419A1 (en) Techniques for controlling devices based on user proximity
WO2017166685A1 (zh) 外接扬声器切换方法及装置
US11356789B2 (en) Signal processing device, channel setting method, and speaker system
KR102131626B1 (ko) 미디어 데이터 싱크 방법 및 장치
WO2013152554A1 (zh) 自动设置音效参数的方法及装置
WO2017166684A1 (zh) 电子设备的音箱控制方法及装置
WO2017166686A1 (zh) 外接扬声器切换方法及装置
US11095988B2 (en) Electronic device comprising speaker
TW201407414A (zh) 輸入裝置及搭配其使用之主機
TWM550851U (zh) 語音傳輸裝置
WO2018083511A1 (zh) 一种音频播放装置及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15886112

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15886112

Country of ref document: EP

Kind code of ref document: A1