WO2017166604A1 - 一种音乐控制方法和终端、电子设备及存储介质 - Google Patents
一种音乐控制方法和终端、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2017166604A1 WO2017166604A1 PCT/CN2016/096375 CN2016096375W WO2017166604A1 WO 2017166604 A1 WO2017166604 A1 WO 2017166604A1 CN 2016096375 W CN2016096375 W CN 2016096375W WO 2017166604 A1 WO2017166604 A1 WO 2017166604A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sensing signal
- earphone
- user
- terminal
- control
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/012—Head tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Definitions
- the present invention relates to the field of terminal technologies, and in particular, to a music control method, a terminal, an electronic device, and a storage medium.
- the terminal has a music application, and the user can control and control the music application through a button on the terminal or a headset connected to the terminal, for example, the user can control the music application to play music, close the program, adjust the volume, and the like.
- the music application on the terminal receives the instruction sent by the user through the button of the terminal or the button of the earphone, and then controls and adjusts the music application.
- the user must manually trigger the button of the terminal or manually trigger the button on the earphone connected to the terminal to transmit the command to the music application on the terminal, thereby completing the operations of adjusting the volume, switching the song, etc., thereby making it inconvenient for the user to control.
- the music application on the terminal can not liberate the user's hands at the same time, and causes problems in operation.
- the embodiments of the present invention provide a music control method, a terminal, an electronic device, and a storage medium, which are used to solve the problem that the user does not control the music application on the terminal in the prior art. It is impossible to liberate the user's hands and cause problems in operation.
- an embodiment of the present invention provides a music control method, including:
- the method further includes:
- the step of acquiring the sensing signal generated by the sensor in the earphone is performed.
- the method further includes:
- determining, according to the sensing signal, a control instruction corresponding to the sensing signal including:
- sensing signal includes any one of the following signals:
- the sensing signal of the user's head the sensing signal of the user's nod, the sensing signal of the user shaking the head to the left, and the sensing signal of the user shaking the head to the right.
- control instruction comprising any one of the following instructions:
- the user After the user wears the earphone with the sensor set, the user performs a behavior action, so that the sensor in the earphone can detect the user's behavior, and then the sensor can generate a sensing signal that represents the current behavior of the user; after that, the earphone is acquired.
- the sensing signal generated by the sensor can determine the control command corresponding to the current sensing signal.
- the user does not need to manually control the terminal to cause the terminal to generate a control command for controlling the music application; and then adjust according to the control command.
- the music playback status of the music app After the user wears the earphone with the sensor set, the user performs a behavior action, so that the sensor in the earphone can detect the user's behavior, and then the sensor can generate a sensing signal that represents the current behavior of the user; after that, the earphone is acquired.
- the sensing signal generated by the sensor can determine the control command corresponding to the current sensing signal.
- the user does not need to manually control the terminal to cause the terminal
- an embodiment of the present invention provides a terminal, including:
- An acquiring module configured to acquire a sensing signal generated by a sensor in the earphone, where the sensing signal represents a behavior of the user;
- a determining module configured to determine, according to the sensing signal, a control instruction corresponding to the sensing signal
- a control module configured to adjust a music playing state of the music application according to the control instruction.
- terminal further includes:
- a detecting module configured to detect whether the earphone connection module is connected to the earphone before the acquiring module acquires the sensing signal generated by the sensor in the earphone, and determine whether to open the music application, wherein the earphone is type-c a headset; if the headset connection module is detected to be connected to the headset and the music application has been opened, the acquisition module is executed.
- terminal further includes:
- the receiving module is configured to receive and save a correspondence between the sensing signal input by the user and the control instruction, or acquire the sensing signal and the control stored in the server, before the acquiring module acquires the sensing signal generated by the sensor in the earphone The correspondence between instructions.
- determining module is specifically configured to:
- an electronic device including:
- At least one processor and,
- the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
- embodiments of the present invention provide a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the music control method described above .
- embodiments of the present invention provide a computer program product comprising a computer program stored on a non-transitory computer readable medium, the computer program comprising program instructions, when the program instructions are When the computer is executed, the computer is caused to execute the above music control method.
- the user After the user wears the earphone with the sensor set, the user performs a behavior action, so that the sensor in the earphone can detect the behavior of the user, and then the sensor can generate a sensing signal that represents the current behavior of the user; after that, the acquisition module Get the sensor generated sensor in the headset
- the signal determining module can determine a control instruction corresponding to the current sensing signal.
- the user does not need to manually control the terminal to cause the terminal to generate a control instruction for controlling the music application; the control module then adjusts the music application according to the control instruction.
- Music playback status After the user wears the earphone with the sensor set, the user performs a behavior action, so that the sensor in the earphone can detect the behavior of the user, and then the sensor can generate a sensing signal that represents the current behavior of the user; after that, the acquisition module Get the sensor generated sensor in the headset
- the signal determining module can determine a control instruction corresponding to the current sensing signal.
- the user does not need to manually control the
- the user does not need to manually trigger the button of the terminal, or manually trigger the button on the earphone connected with the terminal to transmit the instruction to the music application on the terminal; the control of the music application can be controlled by the user's behavior
- the instruction controls the music application to adjust the music playing state, thereby freeing the user's hands and facilitating the user to control the music application on the terminal, providing more convenience for the user's operation.
- Embodiment 1 is a schematic flow chart of Embodiment 1 of a music control method according to an embodiment of the present invention
- Embodiment 3 is a functional block diagram of Embodiment 3 of a terminal according to an embodiment of the present invention.
- FIG. 4 is a functional block diagram of Embodiment 4 of a terminal according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram showing the hardware structure of an electronic device according to Embodiment 6 of the music control method according to the embodiment of the present application.
- the word “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
- the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
- FIG. 1 it is a schematic flowchart of a music control method according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method includes the following steps:
- the method provided in this embodiment may be performed by a terminal, such as a smart phone, a tablet computer, or the like.
- a sensor is provided in the earphone, and the sensor is used to detect the behavior of the user.
- the earphone is connected to the terminal, wherein the earphone can be connected to the terminal through the connection port, or the earphone can also be connected to the terminal through a wireless connection.
- the sensor in the earphone can generate a sensing signal according to the behavior of the user, and the sensing signal ensures the current behavior of the user. Then, the terminal can acquire the sensing signal generated by the sensor in the earphone.
- the terminal can determine a control command corresponding to the current sensing signal according to the sensing signal generated by the sensor in the earphone; the control command is an instruction for controlling the music application in the terminal to adjust the music playing state.
- the terminal can determine that the current motion of the user indicates that the volume of the music application needs to be reduced, so that the terminal determines a music reducing application.
- the volume of the control command if the sensing signal generated by the sensor in the earphone is a sensing signal of the nodding action, the terminal can determine that the current motion of the user indicates that the volume of the music application needs to be reduced, so that the terminal determines a music reducing application.
- the volume of the control command is a sensing signal of the nodding action.
- the music playing state of the music application may be adjusted according to the control instruction corresponding to the sensing signal determined in S102.
- the terminal determines a control instruction for reducing the volume of the music application, and the terminal can adjust the volume of the music application according to the control instruction for reducing the volume of the music application, thereby adjusting the music playing state.
- the user after the user wears the earphone with the sensor installed, the user performs a behavior action, so that the sensor in the earphone can detect the behavior of the user, and then the sensor can generate a sensing signal that represents the current behavior of the user; Obtaining a sensing signal generated by the sensor in the earphone, and determining a control instruction corresponding to the current sensing signal.
- the user does not need to manually control the terminal to cause the terminal to generate a control instruction for controlling the music application; Command to adjust the music playback status of the music app.
- the terminal involved in the embodiment of the present invention may include, but is not limited to, a personal meter.
- PC Personal Computer
- PDA Personal Digital Assistant
- wireless handheld device tablet computer
- mobile phone MP3 player
- MP4 player etc.
- the music application may be an application (nativeApp) installed on the terminal, or may be a web application (webApp) of the browser on the terminal, which is not limited by the embodiment of the present invention.
- FIG. 2 is a schematic flowchart of a music control method according to Embodiment 2 of the present invention.
- the user can set a correspondence between different sensing signals and different control commands according to the requirements of the user, and the user inputs a correspondence between the sensing signals and the control commands in the terminal, so that the terminal can receive the corresponding Relationship and save the correspondence between the sensing signal and the control command.
- the correspondence between different sensing signals and different control commands is stored in the server, and the type of the server is not limited. After the terminal is connected to the server, the correspondence between the sensing signal stored in the server and the control command is obtained, and the terminal saves the correspondence.
- the sensing signal includes any one of the following signals: a sensing signal of the user's head, a sensing signal of the user's nod, a sensing signal of the user shaking the head to the left, and a sensing signal of the user shaking the head to the right.
- the control command includes any one of the following commands: a control command to increase the volume, a control command to decrease the volume, a control command to switch to the previous track, and a control command to switch to the next track.
- each of the four sensing signals corresponds to each of the four control commands, so that the sensing signal and the control command have a one-to-one correspondence.
- the correspondence between the sensing signal and the control command can be set according to the user's own needs, but it must be a one-to-one correspondence.
- the sensing signal of the user's head is corresponding to the control command for increasing the volume; the sensing signal of the user's nod corresponds to the control command for decreasing the volume; the user shaking the head to the left
- the sensing signal corresponds to the control command for switching to the previous song; the sensing signal of the user shaking the head to the right corresponds to the control command for switching to the next song.
- the sensing signal of the user's head is corresponding to the control command for reducing the volume; the sensing signal of the user's nod corresponds to the control command for increasing the volume; the sensing signal of the user shaking the head to the left, and switching to the next A control command corresponding to a song corresponds; the sensing signal of the user shaking the head to the right corresponds to the control command switched to the previous song.
- the control instruction corresponding to the sensing signal is queried according to the correspondence between the stored sensing signal and the control command.
- the sensing signal generated by the sensor in the earphone is acquired in S101, and a one-to-one correspondence between different sensing signals and different control commands is pre-stored in the terminal, and the terminal can perform query according to the corresponding relationship, thereby A control command corresponding to the current sensing signal is determined.
- the terminal may determine a control command for increasing the volume corresponding to the sensing signal of the user's head according to the corresponding relationship; and further, the terminal may increase the volume according to the S103.
- Control commands that increase the music playback volume of the music app If the sensing signal of the user's nod is obtained in S101, the terminal may determine a control command for reducing the volume corresponding to the sensing signal of the user's nod according to the corresponding relationship; and further, the terminal may, according to the control command for decreasing the volume, in S103. Reduce the music playback volume of your music app. If the sensing signal of the user shaking the head to the left is obtained in S101, the terminal may determine a control command for switching to the previous song corresponding to the sensing signal of the user shaking the head to the left; and further, the terminal may switch to the previous song according to the previous song in S103. The control command switches to the previous music of the music in the music application to be played.
- the terminal may determine a control instruction for switching to the next song corresponding to the sensing signal of the user shaking the right direction; and further, the terminal may switch to the next according to the next step in S103.
- the control command of the song switches to the next music of the music in the music application to be played.
- the sensing signal may be pre-informed in the terminal.
- the correspondence between the control commands is saved, and the correspondence between the sensing signals and the control commands set by the user according to the requirements of the user is received, so that the behaviors of the user and the music application can be determined according to the needs of the user.
- the sensing signal of the behavioral action afterwards, according to the one-to-one correspondence between different sensing signals and different control commands, the control command corresponding to the current sensing signal can be determined, and at this time, the user does not need to manually control the terminal.
- the behavioral action produces control commands for controlling the music application, and then controls the music application to adjust the music playing state, thereby liberating the user's hands, facilitating the user to control the music application on the terminal, providing more for the user's operation. More convenience.
- the embodiment of the present invention further includes:
- the step of acquiring the sensing signal generated by the sensor in the earphone is performed.
- the earphone connection module in the terminal is connected to the earphone.
- the earphone connection module may be a software module that is wirelessly connected to the earphone, or may be a connection port that is wiredly connected to the earphone.
- the headset is a type-c headset. If the terminal detects that the earphone connection module of the terminal is connected to the earphone, and the music application in the terminal has been opened, S101 can be executed.
- the embodiment of the present invention further provides a terminal for implementing the steps and methods in the foregoing method embodiments.
- FIG. 3 is a functional block diagram of a terminal according to Embodiment 3 of the present invention. As shown in FIG. 3, the terminal includes:
- the obtaining module 31 is configured to acquire a sensing signal generated by a sensor in the earphone, and the sensing signal represents a behavior of the user;
- a determining module 32 configured to determine, according to the sensing signal, a control instruction corresponding to the sensing signal
- the control module 33 is configured to adjust a music playing state of the music application according to the control instruction.
- each module in this embodiment can perform the method shown in FIG. 1 in the first embodiment, and the portions not described in detail in this embodiment, reference may be made to the related description of FIG. 1.
- the user after the user wears the earphone with the sensor installed, the user performs a behavior action, so that the sensor in the earphone can detect the behavior of the user, and then the sensor can generate a sensing signal that represents the current behavior of the user;
- the obtaining module acquires a sensing signal generated by the sensor in the earphone, and the determining module can determine a control instruction corresponding to the current sensing signal.
- the user does not need to manually control the terminal to cause the terminal to generate a control instruction for controlling the music application.
- the control module then adjusts the music playing state of the music application according to the control command.
- the user does not need to manually trigger the button of the terminal, or manually trigger the button on the earphone connected with the terminal to transmit the instruction to the music application on the terminal; the control of the music application can be controlled by the user's behavior
- the instruction controls the music application to adjust the music playing state, thereby freeing the user's hands and facilitating the user to control the music application on the terminal, providing more convenience for the user's operation.
- FIG. 4 is a functional block diagram of a terminal according to Embodiment 4 of the present invention.
- the terminal provided by the embodiment of the present invention further includes:
- the receiving module 41 is configured to receive and save a correspondence between the sensing signal input by the user and the control instruction before acquiring the sensing signal generated by the sensor in the earphone, or obtain the sensing signal and control stored in the server. The correspondence between instructions.
- the determining module 32 is specifically configured to:
- the control instruction corresponding to the sensing signal is queried according to the correspondence between the stored sensing signal and the control command.
- the terminal further includes:
- the detecting module 42 is configured to detect whether the earphone connection module is connected to the earphone before the obtaining module 31 acquires the sensing signal generated by the sensor in the earphone, and determine whether to open the music application, wherein the earphone is a type-c earphone; When the headphone connection module is connected to the earphone and the music application has been opened, the acquisition module 31 is executed.
- the modules in the present embodiment can perform the method shown in FIG. 2 in the second embodiment, and the methods in the foregoing embodiments.
- the parts that are not described in detail in this embodiment reference may be made to the related description of FIG. 2.
- the receiving module receives the correspondence between the sensing signal and the control command set by the user according to the requirements of the user, or obtains the correspondence between the sensing signal and the control command from the server, so that the terminal may be pre-sensed
- the correspondence between the signal and the control command is saved, and the corresponding relationship between the sensing signal and the control command set by the user according to the user's needs is received, so that the user's behavior and control music can be determined according to the user's needs.
- the detecting module detects the earphone and determines that the music application has been opened, and then the user performs a behavior action, thereby the sensor in the earphone
- the user's behavioral action can be detected, and then the sensor can generate a sensing signal that characterizes the user's current behavioral action, and the acquiring module can acquire the sensing signal; and then, the determining module is configured according to a different sensing signal and a different control instruction.
- Embodiment 5 of the present application provides a non-volatile computer storage medium storing computer-executable instructions, which can execute the music control method in any of the above method embodiments.
- FIG. 5 is a schematic diagram showing the hardware structure of an electronic device for performing a music control method according to Embodiment 6 of the present application. As shown in FIG. 5, the device includes:
- processors 610 and memory 620 one processor 610 is exemplified in FIG.
- the apparatus that performs the music control method may further include: an input device 630 and an output device 640.
- the processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
- the memory 620 is used as a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the music control method in the embodiment of the present application. / Module (for example, acquisition module 31, determination module 32, and control module 33 shown in FIG. 3).
- the processor 610 executes various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, implementing the above-described method embodiment music control method.
- the memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the music control device, and the like.
- memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 620 can optionally include memory remotely located relative to processor 610, which can be networked Connect to the music control unit. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Input device 630 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the music control device.
- the output device 640 can include a display device such as a display screen.
- the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform the music control method in any of the above method embodiments.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
一种音乐控制方法和终端,通过获取耳机内的感应器生成的感应信号,感应信号表征用户的行为动作(S101);根据感应信号,确定与感应信号对应的控制指令(S102);根据控制指令,调整音乐应用程序的音乐播放状态(S103)。能够通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提供了更多的便捷性。
Description
相关申请的交叉参考
本申请要求于2016年3月31日提交中国专利局、申请号为201610200637.4、发明名称为“一种音乐的控制方法和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及终端技术领域,尤其涉及一种音乐控制方法和终端、电子设备及存储介质。
随着终端在人们生活中的普及和应用,终端上具有了越来越多的功能。其中,在终端上播放音乐,已经成为终端的重要功能之一。
现有技术中,终端上具有音乐应用程序,用户可以通过终端上的按键或者与终端连接的耳机,去控制控制音乐应用程序,例如用户可以控制音乐应用程序播放音乐、关闭程序、调节音量等等;终端上的音乐应用程序接收到用户通过终端的按键或耳机的按键发送的指令之后,进行音乐应用程序的控制和调整。
在实现本发明过程中,发明人发现现有技术中至少存在如下问题:
用户必须手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,才可以将指令传送给终端上的音乐应用程序,进而完成调节音量、切换歌曲等操作,从而不便于用户控制终端上的音乐应用程序,同时无法解放用户的双手,并造成操作便捷的问题。
发明内容
有鉴于此,本发明实施例提供了一种音乐控制方法和终端、电子设备及存储介质,用以解决现有技术中不便于用户控制终端上的音乐应用程序,同
时无法解放用户的双手,并造成操作便捷的问题。
一方面,本发明实施例提供了一种音乐控制方法,包括:
获取耳机内的感应器生成的感应信号,所述感应信号表征用户的行为动作;
根据所述感应信号,确定与所述感应信号对应的控制指令;
根据所述控制指令,调整音乐应用程序的音乐播放状态。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,在所述获取耳机内的感应器生成的感应信号之前,还包括:
检测耳机连接模块是否与耳机连接,且确定是否打开所述音乐应用程序,其中,所述耳机为type-c耳机;
若检测到耳机连接模块与耳机连接、且已打开所述音乐应用程序,则执行获取耳机内的感应器生成的感应信号的步骤。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,在所述获取耳机内的感应器生成的感应信号之前,还包括:
接收并保存用户输入的感应信号与控制指令之间的对应关系;
或者,
获取服务器中存储的感应信号与控制指令之间的对应关系。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述根据所述感应信号,确定与所述感应信号对应的控制指令,包括:
根据存储的感应信号与控制指令之间的对应关系,查询与所述感应信号对应的控制指令。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述感应信号包括以下信号的任意一种:
用户仰头的感应信号、用户点头的感应信号、用户向左摇头的感应信号、用户向右摇头的感应信号。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述控制指令包括以下指令的任意一种:
增大音量的控制指令、减小音量的控制指令、切换至上一曲的控制指令、切换至下一曲的控制指令。
上述技术方案中的一个技术方案具有如下有益效果:
通过用户佩戴了设置了感应器的耳机之后,用户进行行为动作,从而耳机内的感应器可以检测到用户的行为动作,然后感应器可以生成表征用户当前的行为动作的感应信号;之后,获取耳机内的感应器生成的感应信号,可以确定出与当前的感应信号对应的控制指令,此时,不需要用户手动的控制终端去使得终端产生控制音乐应用程序的控制指令;再根据控制指令去调整音乐应用程序的音乐播放状态。从而提供了一种新的音乐控制的方法,不需要用户手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,去将指令传送给终端上的音乐应用程序;可以通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提供了更多的便捷性。
另一方面,本发明实施例提供了一种终端,包括:
获取模块,用于获取耳机内的感应器生成的感应信号,所述感应信号表征用户的行为动作;
确定模块,用于根据所述感应信号,确定与所述感应信号对应的控制指令;
控制模块,用于根据所述控制指令,调整音乐应用程序的音乐播放状态。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述终端,还包括:
检测模块,用于在所述获取模块获取耳机内的感应器生成的感应信号之前,检测耳机连接模块是否与耳机连接,且确定是否打开所述音乐应用程序,其中,所述耳机为type-c耳机;若检测到耳机连接模块与耳机连接、且已打开所述音乐应用程序,则执行所述获取模块。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述终端,还包括:
接收模块,用于在所述获取模块获取耳机内的感应器生成的感应信号之前,接收并保存用户输入的感应信号与控制指令之间的对应关系,或者,获取服务器中存储的感应信号与控制指令之间的对应关系。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述确定模块,具体用于:
根据存储的感应信号与控制指令之间的对应关系,查询与所述感应信号对应的控制指令。
另一方面,本发明实施例提供了一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器,其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
获取耳机内的感应器生成的感应信号,所述感应信号表征用户的行为动作;
根据所述感应信号,确定与所述感应信号对应的控制指令;
根据所述控制指令,调整音乐应用程序的音乐播放状态。
另一方面,本发明实施例提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述音乐控制方法。
另一方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述音乐控制方法。
上述技术方案中的一个技术方案具有如下有益效果:
通过用户佩戴了设置了感应器的耳机之后,用户进行行为动作,从而耳机内的感应器可以检测到用户的行为动作,然后感应器可以生成表征用户当前的行为动作的感应信号;之后,获取模块获取耳机内的感应器生成的感应
信号,确定模块可以确定出与当前的感应信号对应的控制指令,此时,不需要用户手动的控制终端去使得终端产生控制音乐应用程序的控制指令;控制模块再根据控制指令去调整音乐应用程序的音乐播放状态。从而不需要用户手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,去将指令传送给终端上的音乐应用程序;可以通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提供了更多的便捷性。
附图概述
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。
图1是本发明实施例所提供的音乐控制方法的实施例一的流程示意图;
图2是本发明实施例所提供的音乐控制方法的实施例二的流程示意图;
图3是本发明实施例所提供的终端的实施例三的功能方块图;
图4是本发明实施例所提供的终端的实施例四的功能方块图。
图5是本申请实施例提供的音乐控制方法的实施例六的电子设备的硬件结构示意图。
本申请的较佳实施方式
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的
实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
实施例一
本发明实施例给出一种音乐控制方法,请参考图1,其为本发明实施例一所提供的音乐控制方法的流程示意图,如图1所示,该方法包括以下步骤:
S101,获取耳机内的感应器生成的感应信号,感应信号表征用户的行为动作。
具体的,本实施例所提供的方法可以由终端执行,例如智能手机、平板电脑等。耳机中设置了感应器,感应器用于检测到用户的行为动作。将耳机与终端进行连接,其中,耳机可以通过连接口与终端连接,或者耳机也可以通过无线连接方式与终端连接。
用户佩戴了设置了感应器的耳机之后,用户在进行了某一个行为动作之后,耳机内的感应器可以根据用户的行为动作生成感应信号,此时感应信号保证了用户的当前的行为动作。然后,终端可以获取到耳机内的感应器生成的感应信号。
举例来说,用户佩戴了设置了感应器的耳机之后,用户进行了点头动作,耳机内的感应器可以检测到用户的点头动作,然后感应器可以生成一个点头动作的感应信号。
S102,根据感应信号,确定与感应信号对应的控制指令。
具体的,终端根据耳机内的感应器生成的感应信号,可以确定出与当前的感应信号的对应的控制指令;控制指令是用于控制终端中的音乐应用程序进行音乐播放状态的调整的指令。
举例来说,若耳机内的感应器生成的感应信号为点头动作的感应信号,终端可以确定出用户当前的动作表示了需要减小音乐应用程序的音量,从而终端确定出一个减小音乐应用程序的音量的控制指令。
S103,根据控制指令,调整音乐应用程序的音乐播放状态。
具体的,在终端确定了具体的控制指令之后,就可以根据S102中确定出的与感应信号对应的控制指令,去调整音乐应用程序的音乐播放状态了。
举例来说,终端确定出一个减小音乐应用程序的音量的控制指令,终端可以根据减小音乐应用程序的音量的控制指令,去减小音乐应用程序的音量,从而调整了音乐播放状态。
本实施例通过用户佩戴了设置了感应器的耳机之后,用户进行行为动作,从而耳机内的感应器可以检测到用户的行为动作,然后感应器可以生成表征用户当前的行为动作的感应信号;之后,获取耳机内的感应器生成的感应信号,可以确定出与当前的感应信号对应的控制指令,此时,不需要用户手动的控制终端去使得终端产生控制音乐应用程序的控制指令;再根据控制指令去调整音乐应用程序的音乐播放状态。从而提供了一种新的音乐控制的方法,不需要用户手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,去将指令传送给终端上的音乐应用程序;可以通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提供了更多的便捷性。
需要说明的是,本发明实施例中所涉及的终端可以包括但不限于个人计
算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。
可以理解的是,音乐应用程序可以是安装在终端上的应用程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本发明实施例对此不进行限定。
实施例二
基于上述实施例一所提供的音乐控制方法,请参考图2,其为本发明实施例二所提供的音乐控制方法的流程示意图,本发明实施例在执行S101之前,如图2所示,还包括:
S201,接收并保存用户输入的感应信号与控制指令之间的对应关系;或者,获取服务器中存储的感应信号与控制指令之间的对应关系。
具体的,用户可以根据自身的需求而设定不同的感应信号与不同的控制指令之间的对应关系,用户在终端中输入感应信号与控制指令之间的对应关系,从而终端可以接收到该对应关系,并将感应信号与控制指令之间的对应关系进行保存。
或者,在服务器中存储了不同的感应信号与不同的控制指令之间的对应关系,服务器的类型不做限定。终端可以与服务器连接之后,获取服务器中存储的感应信号与控制指令之间的对应关系,并且终端保存该对应关系。
在本实施例中,感应信号包括以下信号的任意一种:用户仰头的感应信号、用户点头的感应信号、用户向左摇头的感应信号、用户向右摇头的感应信号。控制指令包括以下指令的任意一种:增大音量的控制指令、减小音量的控制指令、切换至上一曲的控制指令、切换至下一曲的控制指令。
具体的,四种感应信号中的各感应信号,分别与四种控制指令中的各控制指令对应,使得感应信号与控制指令之间为一一对应的关系。感应信号与控制指令之间的对应关系,可以根据用户自身的需求而设定,但是必须是一一对应的关系。举例来说,用户仰头的感应信号,与增大音量的控制指令相对应;用户点头的感应信号,与减小音量的控制指令相对应;用户向左摇头
的感应信号,与切换至上一曲的控制指令相对应;用户向右摇头的感应信号,与切换至下一曲的控制指令相对应。再举例来说,用户仰头的感应信号,与减小音量的控制指令相对应;用户点头的感应信号,与增大音量的控制指令相对应;用户向左摇头的感应信号,与切换至下一曲的控制指令相对应;用户向右摇头的感应信号,与切换至上一曲的控制指令相对应。
对S102进行具体描述,S102具体包括:
根据存储的感应信号与控制指令之间的对应关系,查询与感应信号对应的控制指令。
具体的,在S101中获取了耳机内的感应器生成的感应信号,同时终端中预先存储了不同的感应信号与不同的控制指令之间的一一对应关系,终端可以根据对应关系进行查询,从而确定出与当前的感应信号对应的控制指令。
举例来说,若感应信号与控制指令之间的对应关系为:用户仰头的感应信号,与增大音量的控制指令相对应;用户点头的感应信号,与减小音量的控制指令相对应;用户向左摇头的感应信号,与切换至上一曲的控制指令相对应;用户向右摇头的感应信号,与切换至下一曲的控制指令相对应。从而,若S101中获取到的是用户仰头的感应信号,终端可以根据对应关系确定出与用户仰头的感应信号对应的增大音量的控制指令;进而,终端在S103中可以根据增大音量的控制指令,增大音乐应用程序的音乐播放音量。若S101中获取到的是用户点头的感应信号,终端可以根据对应关系确定出与用户点头的感应信号对应的减小音量的控制指令;进而,终端在S103中可以根据减小音量的控制指令,减小音乐应用程序的音乐播放音量。若S101中获取到的是用户向左摇头的感应信号,终端可以确定出与用户向左摇头的感应信号对应的切换至上一曲的控制指令;进而,终端在S103中可以根据切换至上一曲的控制指令,切换至音乐应用程序中处于播放状态的音乐的上一曲音乐进行播放。若S101中获取到的是用户向右摇头的感应信号,终端可以确定出与用户向右摇头的感应信号对应的切换至下一曲的控制指令;进而,终端在S103中可以根据切换至下一曲的控制指令,切换至音乐应用程序中处于播放状态的音乐的下一曲音乐进行播放。
本实施例通过接收用户根据自身需求而设定的感应信号与控制指令之间的对应关系,或者从服务器中获取到感应信号与控制指令之间的对应关系,可以使得终端中预先将感应信号与控制指令之间的对应关系进行保存,并且接收用户根据自身需求而设定的感应信号与控制指令之间的对应关系的方式,使得可以根据用户的需求而确定用户的行为动作与控制音乐应用程序的播放状态的指令之间的关系;在用户佩戴了设置了感应器的耳机之后,用户进行行为动作,从而耳机内的感应器可以检测到用户的行为动作,然后感应器可以生成表征用户当前的行为动作的感应信号;之后,根据不同的感应信号与不同的控制指令之间的一一对应关系,可以确定出与当前的感应信号对应的控制指令,此时,不需要用户手动的控制终端去使得终端产生控制音乐应用程序的控制指令;然后再根据控制指令去调整音乐应用程序的音乐播放状态。从而提供了一种新的音乐控制的方法,不需要用户手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,去将指令传送给终端上的音乐应用程序;可以通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提供了更多的便捷性。
进一步的,在上述实施例的基础,本发明实施方式在执行S101之前,还包括:
检测耳机连接模块是否与耳机连接,且确定是否打开音乐应用程序,其中,耳机为type-c耳机;
若检测到耳机连接模块与耳机连接、且已打开音乐应用程序,则执行获取耳机内的感应器生成的感应信号的步骤。
具体的,首先检测终端中的耳机连接模块是否与耳机连接,其中,耳机连接模块可以是与耳机进行无线连接的软件模块,也可以是与耳机进行有线连接的连接口。同时,确定终端中的音乐应用程序是否已经打开。耳机为type-c耳机。若终端检测到终端的耳机连接模块与耳机进行了连接,同时终端中的音乐应用程序已经打开,从而可以执行S101。
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的终端
实施例。
实施例三
请参考图3,其为本发明实施例三所提供的终端的功能方块图。如图3所示,该终端包括:
获取模块31,用于获取耳机内的感应器生成的感应信号,感应信号表征用户的行为动作;
确定模块32,用于根据感应信号,确定与感应信号对应的控制指令;
控制模块33,用于根据控制指令,调整音乐应用程序的音乐播放状态。
由于本实施例中的各模块能够执行实施例一中图1所示的方法,本实施例未详细描述的部分,可参考对图1的相关说明。
本发明实施例的技术方案具有以下有益效果:
本实施例通过用户佩戴了设置了感应器的耳机之后,用户进行行为动作,从而耳机内的感应器可以检测到用户的行为动作,然后感应器可以生成表征用户当前的行为动作的感应信号;之后,获取模块获取耳机内的感应器生成的感应信号,确定模块可以确定出与当前的感应信号对应的控制指令,此时,不需要用户手动的控制终端去使得终端产生控制音乐应用程序的控制指令;控制模块再根据控制指令去调整音乐应用程序的音乐播放状态。从而不需要用户手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,去将指令传送给终端上的音乐应用程序;可以通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提供了更多的便捷性。
实施例四
基于上述实施例三所提供的终端,请参考图4,其为本发明实施例四所提供的终端的功能方块图。本发明实施例提供的终端,还包括:
接收模块41,用于在获取模块31获取耳机内的感应器生成的感应信号之前,接收并保存用户输入的感应信号与控制指令之间的对应关系,或者,获取服务器中存储的感应信号与控制指令之间的对应关系。
确定模块32,具体用于:
根据存储的感应信号与控制指令之间的对应关系,查询与感应信号对应的控制指令。
进一步的,该终端,还包括:
检测模块42,用于在获取模块31获取耳机内的感应器生成的感应信号之前,检测耳机连接模块是否与耳机连接,且确定是否打开音乐应用程序,其中,耳机为type-c耳机;若检测到耳机连接模块与耳机连接、且已打开音乐应用程序,则执行获取模块31。
由于本实施例中的各模块能够执行实施例二中图2所示的方法、以及上述实施方式中提供的方法,本实施例未详细描述的部分,可参考对图2的相关说明。
本发明实施例的技术方案具有以下有益效果:
本实施例通过接收模块接收用户根据自身需求而设定的感应信号与控制指令之间的对应关系,或者从服务器中获取到感应信号与控制指令之间的对应关系,可以使得终端中预先将感应信号与控制指令之间的对应关系进行保存,并且接收用户根据自身需求而设定的感应信号与控制指令之间的对应关系的方式,使得可以根据用户的需求而确定用户的行为动作与控制音乐应用程序的播放状态的指令之间的关系;在用户佩戴了设置了感应器的耳机之后,检测模块检测到耳机并且确定了已经打开音乐应用程序,然后用户进行行为动作,从而耳机内的感应器可以检测到用户的行为动作,然后感应器可以生成表征用户当前的行为动作的感应信号,获取模块可以获取到该感应信号;之后,确定模块根据不同的感应信号与不同的控制指令之间的一一对应关系,可以确定出与当前的感应信号对应的控制指令,此时,不需要用户手动的控制终端去使得终端产生控制音乐应用程序的控制指令;然后控制模块再根据控制指令去调整音乐应用程序的音乐播放状态。从而不需要用户手动的触发终端的按键、或手动的触发与终端连接的耳机上的按键,去将指令传送给终端上的音乐应用程序;可以通过用户的行为动作而生产控制音乐应用程序的控制指令,进而去控制音乐应用程序进行音乐播放状态的调整,从而解放了用户的双手,便于用户控制终端上的音乐应用程序,为用户的操作提
供了更多的便捷性。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
实施例五
本申请实施例五提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的音乐控制方法。
实施例六
图5是本申请实施例六提供的执行音乐控制方法的电子设备的硬件结构示意图,如图5所示,该设备包括:
一个或多个处理器610以及存储器620,图5中以一个处理器610为例。
执行音乐控制方法的设备还可以包括:输入装置630和输出装置640。
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图5中以通过总线连接为例。
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的音乐控制方法对应的程序指令/模块(例如,附图3所示的获取模块31、确定模块32和控制模块33)。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例音乐控制方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据音乐控制装置的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络
连接至音乐控制装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可接收输入的数字或字符信息,以及产生与音乐控制装置的用户设置以及功能控制有关的键信号输入。输出装置640可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的音乐控制方法。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (13)
- 一种音乐控制方法,应用于电子设备上,其特征在于,所述方法包括:获取耳机内的感应器生成的感应信号,所述感应信号表征用户的行为动作;根据所述感应信号,确定与所述感应信号对应的控制指令;根据所述控制指令,调整音乐应用程序的音乐播放状态。
- 根据权利要求1所述的方法,其特征在于,在所述获取耳机内的感应器生成的感应信号之前,还包括:检测耳机连接模块是否与耳机连接,且确定是否打开所述音乐应用程序,其中,所述耳机为type-c耳机;若检测到耳机连接模块与耳机连接、且已打开所述音乐应用程序,则执行获取耳机内的感应器生成的感应信号的步骤。
- 根据权利要求1所述的方法,其特征在于,在所述获取耳机内的感应器生成的感应信号之前,还包括:接收并保存用户输入的感应信号与控制指令之间的对应关系;或者,获取服务器中存储的感应信号与控制指令之间的对应关系。
- 根据权利要求3所述的方法,其特征在于,所述根据所述感应信号,确定与所述感应信号对应的控制指令,包括:根据存储的感应信号与控制指令之间的对应关系,查询与所述感应信号对应的控制指令。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述感应信号包括以下信号的任意一种:用户仰头的感应信号、用户点头的感应信号、用户向左摇头的感应信号、用户向右摇头的感应信号。
- 根据权利要求5所述的方法,其特征在于,所述控制指令包括以下 指令的任意一种:增大音量的控制指令、减小音量的控制指令、切换至上一曲的控制指令、切换至下一曲的控制指令。
- 一种终端,其特征在于,所述终端包括:获取模块,用于获取耳机内的感应器生成的感应信号,所述感应信号表征用户的行为动作;确定模块,用于根据所述感应信号,确定与所述感应信号对应的控制指令;控制模块,用于根据所述控制指令,调整音乐应用程序的音乐播放状态。
- 根据权利要求7所述的终端,其特征在于,所述终端,还包括:检测模块,用于在所述获取模块获取耳机内的感应器生成的感应信号之前,检测耳机连接模块是否与耳机连接,且确定是否打开所述音乐应用程序,其中,所述耳机为type-c耳机;若检测到耳机连接模块与耳机连接、且已打开所述音乐应用程序,则执行所述获取模块。
- 根据权利要求7所述的终端,其特征在于,所述终端,还包括:接收模块,用于在所述获取模块获取耳机内的感应器生成的感应信号之前,接收并保存用户输入的感应信号与控制指令之间的对应关系,或者,获取服务器中存储的感应信号与控制指令之间的对应关系。
- 根据权利要求9所述的终端,其特征在于,所述确定模块,具体用于:根据存储的感应信号与控制指令之间的对应关系,查询与所述感应信号对应的控制指令。
- 一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取耳机内的感应器生成的感应信号,所述感应信号表征用户的行为动作;根据所述感应信号,确定与所述感应信号对应的控制指令;根据所述控制指令,调整音乐应用程序的音乐播放状态。
- 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-6任一项所述的方法。
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-6任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610200637.4A CN105824424A (zh) | 2016-03-31 | 2016-03-31 | 一种音乐控制方法和终端 |
| CN2016102006374 | 2016-03-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017166604A1 true WO2017166604A1 (zh) | 2017-10-05 |
Family
ID=56526613
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/096375 Ceased WO2017166604A1 (zh) | 2016-03-31 | 2016-08-23 | 一种音乐控制方法和终端、电子设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105824424A (zh) |
| WO (1) | WO2017166604A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110603507A (zh) * | 2018-08-01 | 2019-12-20 | 炼马机电(东莞)有限公司 | 控制方法、装置及系统 |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105824424A (zh) * | 2016-03-31 | 2016-08-03 | 乐视控股(北京)有限公司 | 一种音乐控制方法和终端 |
| CN106341544A (zh) * | 2016-09-22 | 2017-01-18 | 乐视控股(北京)有限公司 | 一种终端控制方法和终端 |
| CN106254995A (zh) * | 2016-09-27 | 2016-12-21 | 乐视控股(北京)有限公司 | 一种耳机控制方法及装置 |
| CN106952637B (zh) * | 2017-03-15 | 2021-02-09 | 北京时代拓灵科技有限公司 | 一种可交互式音乐的创作方法和体验装置 |
| CN107277661B (zh) * | 2017-06-20 | 2024-03-22 | 深圳市泰衡诺科技有限公司 | 压感耳机和压感耳机的工作方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090097689A1 (en) * | 2007-10-16 | 2009-04-16 | Christopher Prest | Sports Monitoring System for Headphones, Earbuds and/or Headsets |
| CN101472206A (zh) * | 2007-12-28 | 2009-07-01 | 英业达股份有限公司 | 耳机装置 |
| CN103561370A (zh) * | 2013-11-06 | 2014-02-05 | 彭庆国 | 一种智能型多功能耳机 |
| US20150138074A1 (en) * | 2013-11-15 | 2015-05-21 | Kopin Corporation | Head Tracking Based Gesture Control Techniques for Head Mounted Displays |
| CN105824424A (zh) * | 2016-03-31 | 2016-08-03 | 乐视控股(北京)有限公司 | 一种音乐控制方法和终端 |
-
2016
- 2016-03-31 CN CN201610200637.4A patent/CN105824424A/zh active Pending
- 2016-08-23 WO PCT/CN2016/096375 patent/WO2017166604A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090097689A1 (en) * | 2007-10-16 | 2009-04-16 | Christopher Prest | Sports Monitoring System for Headphones, Earbuds and/or Headsets |
| CN101472206A (zh) * | 2007-12-28 | 2009-07-01 | 英业达股份有限公司 | 耳机装置 |
| CN103561370A (zh) * | 2013-11-06 | 2014-02-05 | 彭庆国 | 一种智能型多功能耳机 |
| US20150138074A1 (en) * | 2013-11-15 | 2015-05-21 | Kopin Corporation | Head Tracking Based Gesture Control Techniques for Head Mounted Displays |
| CN105824424A (zh) * | 2016-03-31 | 2016-08-03 | 乐视控股(北京)有限公司 | 一种音乐控制方法和终端 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110603507A (zh) * | 2018-08-01 | 2019-12-20 | 炼马机电(东莞)有限公司 | 控制方法、装置及系统 |
| CN110603507B (zh) * | 2018-08-01 | 2024-01-09 | 炼马机电(东莞)有限公司 | 控制方法、装置及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105824424A (zh) | 2016-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017166604A1 (zh) | 一种音乐控制方法和终端、电子设备及存储介质 | |
| EP3401776B1 (en) | Sound effect configuration method and system and related device | |
| CN108062190B (zh) | 一种应用运行状态控制方法及移动终端 | |
| CN107613146B (zh) | 一种音量调整方法、装置及移动终端 | |
| CN106095387B (zh) | 一种终端的音效设置方法及终端 | |
| US10635388B2 (en) | Sound effect processing method and mobile terminal | |
| CN105933537B (zh) | 一种音量处理方法及用户终端 | |
| WO2021017742A1 (zh) | 应用程序控制方法及电子设备 | |
| CN109995933B (zh) | 控制终端设备的闹钟的方法及终端设备 | |
| CN108174037B (zh) | 一种通知消息的提示方法和移动终端 | |
| WO2015131550A1 (zh) | 一种控制播放器进入睡眠模式的方法、装置及终端设备 | |
| EP3614244B1 (en) | Touch screen adjustment method, touch chip and electronic terminal | |
| CN104880968B (zh) | 一种闹钟的控制方法及设备 | |
| WO2015131676A1 (zh) | 一种移动终端闹钟的控制方法和装置、存储介质 | |
| CN104066011A (zh) | 智能电视的界面切换的控制方法和控制装置 | |
| WO2017166608A1 (zh) | 一种多媒体播放状态的调整方法及装置、电子设备及存储介质 | |
| CN107908527B (zh) | 一种应用图标显示方法及装置 | |
| CN108008892B (zh) | 一种功能启用的方法及终端 | |
| CN108008808B (zh) | 运行参数的调整方法和移动终端 | |
| CN108388400B (zh) | 一种操作处理方法及移动终端 | |
| CN106095637B (zh) | 一种智能终端的控制方法、装置及智能终端 | |
| CN105573646A (zh) | 一种多媒体内容播放进度控制方法及用户终端 | |
| CN112424744B (zh) | 电子设备和电子设备的音量调节方法 | |
| CN110800277B (zh) | 通话处理方法及相关产品 | |
| CN107040840A (zh) | 一种耳机、音乐播放方法及其装置、电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16896376 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16896376 Country of ref document: EP Kind code of ref document: A1 |