WO2017166606A1 - Audio playback method and apparatus, terminal device, electronic device, and storage medium - Google Patents

Audio playback method and apparatus, terminal device, electronic device, and storage medium Download PDF

Info

Publication number
WO2017166606A1
WO2017166606A1 PCT/CN2016/096398 CN2016096398W WO2017166606A1 WO 2017166606 A1 WO2017166606 A1 WO 2017166606A1 CN 2016096398 W CN2016096398 W CN 2016096398W WO 2017166606 A1 WO2017166606 A1 WO 2017166606A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
earphone
user
user information
playing
Prior art date
Application number
PCT/CN2016/096398
Other languages
French (fr)
Chinese (zh)
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 WO2017166606A1 publication Critical patent/WO2017166606A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to an audio playing method, apparatus, terminal device, electronic device, and storage medium.
  • a headphone is a commonly used audio output device that typically includes a pair of conversion units, each of which converts the received electrical signal into an audible sound wave.
  • the inventors have found that at least the following problems exist in the prior art: when playing audio through the earphone, the terminal device first adopts the setting of the last play as the initial setting, and if it does not match the user requirement, the user is required. The adjustment is performed manually, so that the size, play style, and the like of the sound wave obtained by the conversion unit are matched with the needs of the user. Therefore, the operation is not convenient, especially when multiple users use the same terminal device to play audio, it is often required to play each time. Repeat this adjustment process.
  • the embodiment of the present application provides an audio playing method, device, terminal device, electronic device, and storage medium, which are used to solve the problem that the setting of the previous playing is not convenient when the audio is played in the prior art.
  • Technical problem
  • the embodiment of the present application provides an audio playing method, including:
  • Audio playback is performed according to the user settings.
  • the acquiring user information from the headset includes:
  • User information is obtained from the earphone when connected to the earphone.
  • the user setting includes a volume and/or a timbre
  • the audio playing according to the user setting comprises:
  • the modulated audio is output to the earphone to cause the earphone to play the modulated audio.
  • the user setting includes an audio identifier
  • the performing audio playback according to the user setting includes:
  • the audio is output to the earphone to cause the earphone to play the audio.
  • One of the above technical solutions has the following beneficial effects: after obtaining the user information pre-stored by the earphone from the earphone, the user setting matching the user information is determined, and then the audio is played according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art.
  • the setting of the time is an inconvenient technical problem caused by the initial setting.
  • an audio playback device including:
  • An acquiring module configured to acquire user information from the earphone; wherein the user information is pre-stored in the earphone;
  • a determining module configured to determine a user setting that matches the user information
  • a playing module configured to perform audio playback according to the user setting.
  • the obtaining module is specifically configured to acquire user information from the earphone when connected to the earphone.
  • the user setting further includes a volume and/or a timbre
  • the playing module includes:
  • a modulating unit configured to modulate audio according to the volume and/or timbre
  • an output unit configured to output the modulated audio to the earphone to cause the earphone to play the modulated audio.
  • the playing module includes:
  • a query unit configured to query audio indicated by the audio identifier
  • a playing unit configured to output the audio to the earphone, so that the earphone plays the audio.
  • One technical solution of the foregoing technical solution has the following beneficial effects: after acquiring the user information pre-stored by the earphone through the acquiring module, the determining module determines the user setting that matches the user information, and then the playing module sets according to the user. Play audio. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art.
  • the setting of the time is an inconvenient technical problem caused by the initial setting.
  • an embodiment of the present application provides a terminal device, including an audio playback device provided on another aspect.
  • One technical solution of the foregoing technical solution has the following beneficial effects: after the user information pre-stored by the earphone is acquired from the earphone by the terminal device, the user setting matching the user information is determined, and then the audio is played according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art.
  • the setting of the time is an inconvenient technical problem caused by the initial setting.
  • 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:
  • Audio playback is performed according to the user settings.
  • embodiments of the present application provide a non-volatile computer storage medium storing computer instructions for causing the computer to execute the audio playback method described above.
  • embodiments of the present application provide a computer program product, the computer program product comprising a computer program stored on a non-volatile computer storage 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 audio playing method.
  • FIG. 1 is a schematic diagram of a Type-C interface provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an audio playing method according to Embodiment 1 of the present application.
  • FIG. 3 is a schematic structural diagram of an audio playback device according to Embodiment 2 of the present application.
  • FIG. 4 is a schematic structural diagram of another audio playback device according to Embodiment 2 of the present application.
  • FIG. 5 is a schematic structural diagram of still another audio playback device according to Embodiment 2 of the present application.
  • FIG. 6 is a schematic structural diagram of hardware of an electronic device for performing an audio playing method according to Embodiment 4 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)”.
  • the embodiment of the present application provides an audio playing method.
  • the method provided in this embodiment may be applied to a terminal device, where the terminal device may have a Type-C interface, and a Type-C interface and a headset that also adopts a Type-C interface.
  • the earphone mentioned in the embodiment may be the earphone adopting the Type-C interface.
  • the Type-C interface is briefly introduced below.
  • FIG. 1 is a schematic diagram of a Type-C interface according to an embodiment of the present disclosure.
  • a Type-C interface may be used for interconnecting a headset and a terminal device, where, as shown in FIG. 1 , the Dp and Dn pins respectively As the input pin of the left and right conversion units of the earphone, the CC pin is a function pin of the earphone, and can be used for transmitting a control signal.
  • FIG. 2 is a schematic flowchart of a method provided by an embodiment of the present application. As shown in the figure, the method includes the following steps:
  • user information is pre-existing in the headset.
  • the user information of the user is pre-stored in the earphone, and the user setting of the user is preset in the terminal device.
  • the user information can be obtained from the earphone based on the function pin of the Type-C interface, such as the CC pin.
  • the user settings include volume and/or tone and/or audio identification.
  • the audio indicated by the audio identifier is queried, and then the audio is modulated according to the volume and/or the timbre, and the modulated audio is output to the earphone to enable the earphone to play the modulated audio.
  • the audio volume is adjusted too much due to a misoperation or the like when the audio is played last time, even if the current volume is displayed on the audio play interface of the terminal device, the user usually does not notice Instead, it is played directly, and in the prior art, it is easy to cause damage to the ear. If the method provided by the embodiment of the present application is adopted, the volume of the audio is matched with the user's needs, thereby avoiding damage to the ear.
  • terminals involved in the embodiments of the present application may include, but are not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a tablet computer.
  • PC personal computer
  • PDA personal digital assistant
  • Mobile phones MP3 players, MP4 players, etc.
  • execution body of the embodiment may also be an audio playback device, and the device may be located in an application of a local terminal, or may be a plug-in or a software development kit (SDK) located in an application of the local terminal.
  • SDK software development kit
  • the application may be an application (nativeApp) installed on the terminal, or may be a webpage (webApp) of the browser on the terminal, which is not limited by the embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an audio playback device according to Embodiment 2 of the present application. As shown in FIG. 3, the method includes: an obtaining module 31, a determining module 32, and a playing module 33.
  • the obtaining module 31 is configured to acquire user information from the earphone.
  • user information is pre-existing in the headset.
  • the obtaining module 31 is specifically configured to acquire user information from the earphone when connected to the earphone.
  • a determination module 32 is configured to determine user settings that match the user information.
  • the playing module 33 is configured to perform audio playback according to user settings.
  • the user setting includes a volume and/or a timbre.
  • another audio playback device is provided.
  • FIG. 4 is another audio playback device according to Embodiment 2 of the present application. Schematic diagram of the structure, as shown in FIG. 4, on the basis of FIG. 3, the playing module 33 further includes:
  • the modulating unit 331 is configured to modulate the audio according to the volume and/or the timbre.
  • the output unit 332 is configured to output the modulated audio to the earphone to enable the earphone to play the modulated audio.
  • the user setting includes an audio identifier
  • another audio playback device is provided according to the embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another audio playback device according to Embodiment 2 of the present application.
  • the playing module 33 further includes:
  • the query unit 333 is configured to query the audio indicated by the audio identifier.
  • the playing unit 334 is configured to output audio to the earphone to enable the earphone to play the audio.
  • the technical solution of the embodiment of the present application has the following beneficial effects: by acquiring the module from the earphone, After obtaining the user information pre-stored by the earphone, the determining module determines the user setting that matches the user information, and then the playing module plays the audio according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art.
  • the setting of the time is an inconvenient technical problem caused by the initial setting.
  • the embodiment of the present application further provides a terminal device, including the audio playback device mentioned above.
  • the terminal device After the terminal device obtains the user information pre-stored by the earphone from the earphone, the terminal device determines the user setting that matches the user information, and then performs audio playback according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art.
  • the setting of the time is an inconvenient technical problem caused by the initial setting.
  • a fifth embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions that can perform the audio playback method in any of the foregoing method embodiments.
  • FIG. 6 is a schematic diagram showing the hardware structure of an electronic device provided by the audio playing method according to Embodiment 7 of the present application. As shown in FIG. 6, the device includes:
  • processors 610 and memory 620 one processor 610 is taken as an example in FIG.
  • the apparatus that performs the audio playback 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 can pass through the bus. Or other ways of connecting, in Figure 6 by way of a bus connection.
  • the memory 620 is 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 audio playing method in the embodiment of the present application. / Module (for example, the acquisition module 31, the determination module 32, and the playback module 33 shown in FIG. 3).
  • the processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, implementing the audio playback method of the above method embodiment.
  • the memory 620 may include a storage program area and an 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 terminal, 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 connected to the terminal over a network. 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 terminal.
  • 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 an audio playback 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)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

An audio playback method and apparatus, a terminal device, an electronic device, and a storage medium. After user information pre-stored in earphones is obtained from the earphones (101), a user setting matching the user information is determined (102), and then an audio is played according to the user setting (103). Since users can configure a personalized setting on a terminal device in advance, an audio can be played according to the setting corresponding to the recognized user, and user's manual operation is no longer required, such that the technical problem in the prior art of operation inconvenience caused by using the previous playback setting as an initial setting during audio playback is resolved.

Description

一种音频播放方法、装置、终端设备、电子设备及存储介质Audio playing method, device, terminal device, electronic device and storage medium
交叉引用cross reference
本申请要求于2016年3月31日提交中国专利局、申请号为201610201219.7、发明名称为“一种音频播放方法、装置和终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610201219.7, entitled "Audio Playback Method, Apparatus and Terminal Equipment", filed on March 31, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种音频播放方法、装置、终端设备、电子设备及存储介质。The present application relates to the field of electronic technologies, and in particular, to an audio playing method, apparatus, terminal device, electronic device, and storage medium.
背景技术Background technique
耳机是一种常用的音频输出装置,其通常包括一对转换单元,每一个转换单元都可以将所接收到的电信号,转化成可以听到的声波。A headphone is a commonly used audio output device that typically includes a pair of conversion units, each of which converts the received electrical signal into an audible sound wave.
在实现本发明过程中,发明人发现现有技术中至少存在如下问题:终端设备在通过耳机播放音频时,首先采用上一次播放时的设置作为初始设置,若与用户需求不匹配,则需要用户手动进行调节,从而使得转换单元转换所获得声波的大小、播放风格等与用户的需求相匹配,因此,操作不便捷,尤其是多个用户使用同一终端设备播放音频时,往往需要在每一次播放时重复这一调节过程。In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: when playing audio through the earphone, the terminal device first adopts the setting of the last play as the initial setting, and if it does not match the user requirement, the user is required. The adjustment is performed manually, so that the size, play style, and the like of the sound wave obtained by the conversion unit are matched with the needs of the user. Therefore, the operation is not convenient, especially when multiple users use the same terminal device to play audio, it is often required to play each time. Repeat this adjustment process.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种音频播放方法、装置、终端设备、电子设备及存储介质,用以解决现有技术中播放音频时采用上一次播放时的设置作为初始设置操作不便捷的技术问题。In view of this, the embodiment of the present application provides an audio playing method, device, terminal device, electronic device, and storage medium, which are used to solve the problem that the setting of the previous playing is not convenient when the audio is played in the prior art. Technical problem.
一方面,本申请实施例提供了一种音频播放方法,包括:In one aspect, the embodiment of the present application provides an audio playing method, including:
从耳机获取用户信息;其中,所述用户信息预存在所述耳机中; Obtaining user information from the headset; wherein the user information is pre-stored in the headset;
确定与所述用户信息匹配的用户设置;Determining user settings that match the user information;
根据所述用户设置进行音频播放。Audio playback is performed according to the user settings.
如上所述的一方面和任一可能的实现方式,进一步提供一种实现方式,所述从耳机获取用户信息包括:The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the acquiring user information from the headset includes:
当与所述耳机连接时,从所述耳机获取用户信息。User information is obtained from the earphone when connected to the earphone.
如上所述的一方面和任一可能的实现方式,进一步提供一种实现方式,所述用户设置包括音量和/或音色,所述根据所述用户设置进行音频播放,包括:In an aspect as described above, and in any of the possible implementations, an implementation is further provided, the user setting includes a volume and/or a timbre, and the audio playing according to the user setting comprises:
根据所述音量和/或音色对音频进行调制;Modulating the audio according to the volume and/or tone;
向所述耳机输出所述经过调制的音频,以使所述耳机对所述经过调制的音频进行播放。The modulated audio is output to the earphone to cause the earphone to play the modulated audio.
如上所述的一方面和任一可能的实现方式,进一步提供一种实现方式,所述用户设置包括音频标识,所述根据所述用户设置进行音频播放,包括:The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the user setting includes an audio identifier, and the performing audio playback according to the user setting includes:
查询所述音频标识所指示的音频;Querying audio indicated by the audio identifier;
向所述耳机输出所述音频,以使所述耳机对所述音频进行播放。The audio is output to the earphone to cause the earphone to play the audio.
上述技术方案中的一个技术方案具有如下有益效果:通过从耳机中,获取到耳机所预存的用户信息之后,确定与用户信息相匹配的用户设置,进而根据该用户设置进行音频的播放。由于采用了用户可以预先在终端设备上设置用户个性化设置的方式,基于所识别出的用户采用对应的设置播放音频,无需用户手动操作,从而解决了现有技术中播放音频时采用上一次播放时的设置作为初始设置所导致的操作不便捷的技术问题。One of the above technical solutions has the following beneficial effects: after obtaining the user information pre-stored by the earphone from the earphone, the user setting matching the user information is determined, and then the audio is played according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art. The setting of the time is an inconvenient technical problem caused by the initial setting.
另一方面,本申请实施例提供了一种音频播放装置,包括:On the other hand, an embodiment of the present application provides an audio playback device, including:
获取模块,用于从耳机获取用户信息;其中,所述用户信息预存在所述耳机中;An acquiring module, configured to acquire user information from the earphone; wherein the user information is pre-stored in the earphone;
确定模块,用于确定与所述用户信息匹配的用户设置;a determining module, configured to determine a user setting that matches the user information;
播放模块,用于根据所述用户设置进行音频播放。a playing module, configured to perform audio playback according to the user setting.
如上所述的另一方面和任一可能的实现方式,进一步提供一种实现方 式,Another aspect as described above and any possible implementation further provides an implementation formula,
所述获取模块,具体用于当与所述耳机连接时,从所述耳机获取用户信息。The obtaining module is specifically configured to acquire user information from the earphone when connected to the earphone.
如上所述的另一方面和任一可能的实现方式,进一步提供一种实现方式,所述用户设置包括音量和/或音色,所述播放模块,包括:In another aspect and any possible implementation manner, the user setting further includes a volume and/or a timbre, and the playing module includes:
调制单元,用于根据所述音量和/或音色对音频进行调制;a modulating unit configured to modulate audio according to the volume and/or timbre;
输出单元,用于向所述耳机输出所述经过调制的音频,以使所述耳机对所述经过调制的音频进行播放。And an output unit, configured to output the modulated audio to the earphone to cause the earphone to play the modulated audio.
如上所述的另一方面和任一可能的实现方式,进一步提供一种实现方式,所述用户设置包括音频文件标识,所述播放模块,包括:The above-mentioned another aspect and any possible implementation manner further provide an implementation manner, where the user setting includes an audio file identifier, and the playing module includes:
查询单元,用于查询所述音频标识所指示的音频;a query unit, configured to query audio indicated by the audio identifier;
播放单元,用于向所述耳机输出所述音频,以使所述耳机对所述音频进行播放。a playing unit, configured to output the audio to the earphone, so that the earphone plays the audio.
上述技术方案中的一个技术方案具有如下有益效果:通过获取模块从耳机中,获取到耳机所预存的用户信息之后,由确定模块确定与用户信息相匹配的用户设置,进而播放模块根据该用户设置进行音频的播放。由于采用了用户可以预先在终端设备上设置用户个性化设置的方式,基于所识别出的用户采用对应的设置播放音频,无需用户手动操作,从而解决了现有技术中播放音频时采用上一次播放时的设置作为初始设置所导致的操作不便捷的技术问题。One technical solution of the foregoing technical solution has the following beneficial effects: after acquiring the user information pre-stored by the earphone through the acquiring module, the determining module determines the user setting that matches the user information, and then the playing module sets according to the user. Play audio. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art. The setting of the time is an inconvenient technical problem caused by the initial setting.
另一方面,本申请实施例提供了一种终端设备,包括另一方面所提供的音频播放装置。On the other hand, an embodiment of the present application provides a terminal device, including an audio playback device provided on another aspect.
上述技术方案中的一个技术方案具有如下有益效果:通过终端设备从耳机中,获取到耳机所预存的用户信息之后,确定与用户信息相匹配的用户设置,进而根据该用户设置进行音频的播放。由于采用了用户可以预先在终端设备上设置用户个性化设置的方式,基于所识别出的用户采用对应的设置播放音频,无需用户手动操作,从而解决了现有技术中播放音频时采用上一次播放时的设置作为初始设置所导致的操作不便捷的技术问题。 One technical solution of the foregoing technical solution has the following beneficial effects: after the user information pre-stored by the earphone is acquired from the earphone by the terminal device, the user setting matching the user information is determined, and then the audio is played according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art. The setting of the time is an inconvenient technical problem caused by the initial setting.
另一方面,本申请实施例提供了一种电子设备,包括:On the other hand, an embodiment of the present application provides an electronic device, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器,其中,a memory communicatively coupled to the at least one processor, wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够: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:
从耳机获取用户信息;其中,所述用户信息预存在所述耳机中;Obtaining user information from the headset; wherein the user information is pre-stored in the headset;
确定与所述用户信息匹配的用户设置;Determining user settings that match the user information;
根据所述用户设置进行音频播放。Audio playback is performed according to the user settings.
另一方面,本申请实施例提供了一种非易失性计算机存储介质,所述非易失性计算机存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述音频播放方法。In another aspect, embodiments of the present application provide a non-volatile computer storage medium storing computer instructions for causing the computer to execute the audio playback method described above.
另一方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述音频播放方法。In another aspect, embodiments of the present application provide a computer program product, the computer program product comprising a computer program stored on a non-volatile computer storage 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 audio playing method.
附图概述BRIEF abstract
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1为本申请实施例提供的Type-C接口的示意图;FIG. 1 is a schematic diagram of a Type-C interface provided by an embodiment of the present application;
图2为本申请实施例一提供的一种音频播放方法的流程示意图;2 is a schematic flowchart of an audio playing method according to Embodiment 1 of the present application;
图3为本申请实施例二提供的一种音频播放装置的结构示意图;3 is a schematic structural diagram of an audio playback device according to Embodiment 2 of the present application;
图4为本申请实施例二提供的另一种音频播放装置的结构示意图;4 is a schematic structural diagram of another audio playback device according to Embodiment 2 of the present application;
图5为本申请实施例二提供的又一种音频播放装置的结构示意图;FIG. 5 is a schematic structural diagram of still another audio playback device according to Embodiment 2 of the present application;
图6是本申请实施例四所提供的执行音频播放方法的电子设备的硬件结构示意图。 FIG. 6 is a schematic structural diagram of hardware of an electronic device for performing an audio playing method according to Embodiment 4 of the present application.
本申请的较佳实施方式Preferred embodiment of the present application
为了更好的理解本发明的技术方案,下面结合附图对本申请实施例进行详细描述。For a better understanding of the technical solutions of the present invention, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present application are for the purpose of describing particular embodiments only, and are not intended to limit the invention. The singular forms "a", "the", and "the"
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" as used herein is merely an association describing the associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, while A and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, 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)".
实施例一 Embodiment 1
本申请实施例给出一种音频播放方法,本实施例所提供的方法可以应用于终端设备中,该终端设备可以具有Type-C接口,通过Type-C接口与同样采用Type-C接口的耳机连接,本实施例中所提及的耳机便可以为该采用Type-C接口的耳机,为了便于更好的理解本申请实施例,下面对Type-C接口进行简要介绍。The embodiment of the present application provides an audio playing method. The method provided in this embodiment may be applied to a terminal device, where the terminal device may have a Type-C interface, and a Type-C interface and a headset that also adopts a Type-C interface. For the connection, the earphone mentioned in the embodiment may be the earphone adopting the Type-C interface. To facilitate a better understanding of the embodiment of the present application, the Type-C interface is briefly introduced below.
图1为本申请实施例提供的Type-C接口的示意图,Type-C接口可以用于耳机和终端设备之间进行互联,其中,如图1所示,Dp和Dn管脚分别 作为耳机的左右两转换单元的输入管脚,CC管脚为耳机的功能管脚,可以用于传输控制信号。FIG. 1 is a schematic diagram of a Type-C interface according to an embodiment of the present disclosure. A Type-C interface may be used for interconnecting a headset and a terminal device, where, as shown in FIG. 1 , the Dp and Dn pins respectively As the input pin of the left and right conversion units of the earphone, the CC pin is a function pin of the earphone, and can be used for transmitting a control signal.
对于本申请实施例所提供的音频播放方法请参考图2,其为本申请实施例所提供的方法的流程示意图,如图所示,该方法包括以下步骤:For the audio playing method provided by the embodiment of the present application, please refer to FIG. 2 , which is a schematic flowchart of a method provided by an embodiment of the present application. As shown in the figure, the method includes the following steps:
S101,从耳机获取用户信息。S101. Acquire user information from a headset.
其中,用户信息预存在耳机中。Among them, user information is pre-existing in the headset.
具体的,在耳机中预先存储有该用户的用户信息,并在终端设备中预先设置了该用户的用户设置。当用户将耳机***终端设备的接口时,若采用Type-C接口与耳机连接,则可以基于Type-C接口的功能管脚,如CC管脚,从耳机获取到用户信息。Specifically, the user information of the user is pre-stored in the earphone, and the user setting of the user is preset in the terminal device. When the user inserts the earphone into the interface of the terminal device, if the Type-C interface is used to connect with the earphone, the user information can be obtained from the earphone based on the function pin of the Type-C interface, such as the CC pin.
S102,确定与用户信息匹配的用户设置。S102. Determine user settings that match user information.
其中,用户设置包括音量和/或音色和/或音频标识。Among them, the user settings include volume and/or tone and/or audio identification.
S103,根据用户设置进行音频播放。S103, performing audio playback according to user settings.
具体的,查询音频标识所指示的音频,进而根据音量和/或音色对该音频进行调制,向耳机输出经过调制的音频,以使耳机对经过调制的音频进行播放。Specifically, the audio indicated by the audio identifier is queried, and then the audio is modulated according to the volume and/or the timbre, and the modulated audio is output to the earphone to enable the earphone to play the modulated audio.
作为一种可能的应用场景,当上一次播放音频时,由于误操作等原因将耳机音量调节的过大时,即使在终端设备的音频播放界面上显示有当前音量,但用户通常不会注意到,而是直接进行播放,在现有技术中,遇到这种情况则容易对耳朵造成损伤。若采用本申请实施例所提供的方法,则使得音频的音量与用户的需求相匹配,避免了对耳朵造成的伤害。As a possible application scenario, when the audio volume is adjusted too much due to a misoperation or the like when the audio is played last time, even if the current volume is displayed on the audio play interface of the terminal device, the user usually does not notice Instead, it is played directly, and in the prior art, it is easy to cause damage to the ear. If the method provided by the embodiment of the present application is adopted, the volume of the audio is matched with the user's needs, thereby avoiding damage to the ear.
需要说明的是,本申请实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。It should be noted that the terminals involved in the embodiments of the present application may include, but are not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a tablet computer. Mobile phones, MP3 players, MP4 players, etc.
需要说明的是,本实施例的执行主体还可以为音频播放装置,该装置可以位于本地终端的应用,或者还可以为位于本地终端的应用中的插件或软件开发工具包(Software Development Kit,SDK)等功能单元,本申请实施例 对此不进行特别限定。It should be noted that the execution body of the embodiment may also be an audio playback device, and the device may be located in an application of a local terminal, or may be a plug-in or a software development kit (SDK) located in an application of the local terminal. Functional unit, etc., embodiment of the present application This is not particularly limited.
可以理解的是,应用可以是安装在终端上的应用程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本申请实施例对此不进行限定。It can be understood that the application may be an application (nativeApp) installed on the terminal, or may be a webpage (webApp) of the browser on the terminal, which is not limited by the embodiment of the present application.
实施例二 Embodiment 2
图3为本申请实施例二提供的一种音频播放装置的结构示意图,如图3所示,包括:获取模块31、确定模块32和播放模块33。FIG. 3 is a schematic structural diagram of an audio playback device according to Embodiment 2 of the present application. As shown in FIG. 3, the method includes: an obtaining module 31, a determining module 32, and a playing module 33.
获取模块31,用于从耳机获取用户信息。The obtaining module 31 is configured to acquire user information from the earphone.
其中,用户信息预存在耳机中。Among them, user information is pre-existing in the headset.
具体的,获取模块31具体用于当与耳机连接时,从耳机获取用户信息。Specifically, the obtaining module 31 is specifically configured to acquire user information from the earphone when connected to the earphone.
确定模块32,用于确定与用户信息匹配的用户设置。A determination module 32 is configured to determine user settings that match the user information.
播放模块33,用于根据用户设置进行音频播放。The playing module 33 is configured to perform audio playback according to user settings.
作为一种可能的实现方式,用户设置包括音量和/或音色,基于此本申请实施例还提供了另一种音频播放装置,图4为本申请实施例二提供的另一种音频播放装置的结构示意图,如图4所示,在图3的基础上,播放模块33进一步包括:As a possible implementation, the user setting includes a volume and/or a timbre. Based on this embodiment of the present application, another audio playback device is provided. FIG. 4 is another audio playback device according to Embodiment 2 of the present application. Schematic diagram of the structure, as shown in FIG. 4, on the basis of FIG. 3, the playing module 33 further includes:
调制单元331,用于根据音量和/或音色对音频进行调制。The modulating unit 331 is configured to modulate the audio according to the volume and/or the timbre.
输出单元332,用于向耳机输出经过调制的音频,以使耳机对经过调制的音频进行播放。The output unit 332 is configured to output the modulated audio to the earphone to enable the earphone to play the modulated audio.
作为另一种可能的实现方式,用户设置包括音频标识,基于此本申请实施例还提供了另一种音频播放装置,图5为本申请实施例二提供的又一种音频播放装置的结构示意图,如图5所示,在图3的基础上,播放模块33进一步包括:As another possible implementation manner, the user setting includes an audio identifier, and another audio playback device is provided according to the embodiment of the present application. FIG. 5 is a schematic structural diagram of another audio playback device according to Embodiment 2 of the present application. As shown in FIG. 5, on the basis of FIG. 3, the playing module 33 further includes:
查询单元333,用于查询音频标识所指示的音频。The query unit 333 is configured to query the audio indicated by the audio identifier.
播放单元334,用于向耳机输出音频,以使耳机对音频进行播放。The playing unit 334 is configured to output audio to the earphone to enable the earphone to play the audio.
本申请实施例的技术方案具有以下有益效果:通过获取模块从耳机中, 获取到耳机所预存的用户信息之后,由确定模块确定与用户信息相匹配的用户设置,进而播放模块根据该用户设置进行音频的播放。由于采用了用户可以预先在终端设备上设置用户个性化设置的方式,基于所识别出的用户采用对应的设置播放音频,无需用户手动操作,从而解决了现有技术中播放音频时采用上一次播放时的设置作为初始设置所导致的操作不便捷的技术问题。The technical solution of the embodiment of the present application has the following beneficial effects: by acquiring the module from the earphone, After obtaining the user information pre-stored by the earphone, the determining module determines the user setting that matches the user information, and then the playing module plays the audio according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art. The setting of the time is an inconvenient technical problem caused by the initial setting.
为了清楚说明本申请实施例,本申请实施例还提供了一种终端设备,包括前面所提及的音频播放装置。In order to clearly illustrate the embodiments of the present application, the embodiment of the present application further provides a terminal device, including the audio playback device mentioned above.
该终端设备通过终端设备从耳机中,获取到耳机所预存的用户信息之后,确定与用户信息相匹配的用户设置,进而根据该用户设置进行音频的播放。由于采用了用户可以预先在终端设备上设置用户个性化设置的方式,基于所识别出的用户采用对应的设置播放音频,无需用户手动操作,从而解决了现有技术中播放音频时采用上一次播放时的设置作为初始设置所导致的操作不便捷的技术问题。After the terminal device obtains the user information pre-stored by the earphone from the earphone, the terminal device determines the user setting that matches the user information, and then performs audio playback according to the user setting. Since the user can set the user personalized setting on the terminal device in advance, based on the recognized user playing the audio with the corresponding setting, the user does not need to manually operate, thereby solving the previous play when playing audio in the prior art. The setting of the time is an inconvenient technical problem caused by the initial setting.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
实施例三 Embodiment 3
本申请实施例五提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的音频播放方法。A fifth embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions that can perform the audio playback method in any of the foregoing method embodiments.
实施例四Embodiment 4
图6是本申请实施例七提供的音频播放方法的电子设备的硬件结构示意图,如图6所示,该设备包括:FIG. 6 is a schematic diagram showing the hardware structure of an electronic device provided by the audio playing method according to Embodiment 7 of the present application. As shown in FIG. 6, the device includes:
一个或多个处理器610以及存储器620,图6中以一个处理器610为例。One or more processors 610 and memory 620, one processor 610 is taken as an example in FIG.
执行音频播放方法的设备还可以包括:输入装置630和输出装置640。The apparatus that performs the audio playback method may further include: an input device 630 and an output device 640.
处理器610、存储器620、输入装置630和输出装置640可以通过总线 或者其他方式连接,图6中以通过总线连接为例。The processor 610, the memory 620, the input device 630, and the output device 640 can pass through the bus. Or other ways of connecting, in Figure 6 by way of a bus connection.
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的音频播放方法对应的程序指令/模块(例如,附图3所示的获取模块31、确定模块32和播放模块33)。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例音频播放方法。The memory 620 is 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 audio playing method in the embodiment of the present application. / Module (for example, the acquisition module 31, the determination module 32, and the playback module 33 shown in FIG. 3). The processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, implementing the audio playback method of the above method embodiment.
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may include a storage program area and an 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 terminal, and the like. Moreover, 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. In some embodiments, memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置630可接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。输出装置640可包括显示屏等显示设备。 Input device 630 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. The output device 640 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的音频播放方法。The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform an audio playback method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。 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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (12)

  1. 一种音频播放方法,应用于电子设备上,其特征在于,所述方法包括:An audio playing method is applied to an electronic device, and the method includes:
    从耳机获取用户信息;其中,所述用户信息预存在所述耳机中;Obtaining user information from the headset; wherein the user information is pre-stored in the headset;
    确定与所述用户信息匹配的用户设置;Determining user settings that match the user information;
    根据所述用户设置进行音频播放。Audio playback is performed according to the user settings.
  2. 根据权利要求1所述的方法,其特征在于,所述从耳机获取用户信息包括:The method according to claim 1, wherein the obtaining user information from the earphone comprises:
    当与所述耳机连接时,从所述耳机获取用户信息。User information is obtained from the earphone when connected to the earphone.
  3. 根据权利要求1或2所述的方法,其特征在于,所述用户设置包括音量和/或音色,所述根据所述用户设置进行音频播放,包括:The method according to claim 1 or 2, wherein the user setting comprises a volume and/or a timbre, and the audio playing according to the user setting comprises:
    根据所述音量和/或音色对音频进行调制;Modulating the audio according to the volume and/or tone;
    向所述耳机输出所述经过调制的音频,以使所述耳机对所述经过调制的音频进行播放。The modulated audio is output to the earphone to cause the earphone to play the modulated audio.
  4. 根据权利要求1或2所述的方法,其特征在于,所述用户设置包括音频标识,所述根据所述用户设置进行音频播放,包括:The method according to claim 1 or 2, wherein the user setting comprises an audio identifier, and the audio playing according to the user setting comprises:
    查询所述音频标识所指示的音频;Querying audio indicated by the audio identifier;
    向所述耳机输出所述音频,以使所述耳机对所述音频进行播放。The audio is output to the earphone to cause the earphone to play the audio.
  5. 一种音频播放装置,其特征在于,所述装置包括:An audio playback device, characterized in that the device comprises:
    获取模块,用于从耳机获取用户信息;其中,所述用户信息预存在所述耳机中;An acquiring module, configured to acquire user information from the earphone; wherein the user information is pre-stored in the earphone;
    确定模块,用于确定与所述用户信息匹配的用户设置;a determining module, configured to determine a user setting that matches the user information;
    播放模块,用于根据所述用户设置进行音频播放。a playing module, configured to perform audio playback according to the user setting.
  6. 根据权利要求5所述的装置,其特征在于,The device according to claim 5, characterized in that
    所述获取模块,具体用于当与所述耳机连接时,从所述耳机获取用户信息。 The obtaining module is specifically configured to acquire user information from the earphone when connected to the earphone.
  7. 根据权利要求5或6所述的装置,其特征在于,所述用户设置包括音量和/或音色,所述播放模块,包括:The device according to claim 5 or 6, wherein the user setting comprises a volume and/or a timbre, and the playing module comprises:
    调制单元,用于根据所述音量和/或音色对音频进行调制;a modulating unit configured to modulate audio according to the volume and/or timbre;
    输出单元,用于向所述耳机输出所述经过调制的音频,以使所述耳机对所述经过调制的音频进行播放。And an output unit, configured to output the modulated audio to the earphone to cause the earphone to play the modulated audio.
  8. 根据权利要求5或6所述的装置,其特征在于,所述用户设置包括音频标识,所述播放模块,包括:The device according to claim 5 or 6, wherein the user setting comprises an audio identifier, and the playing module comprises:
    查询单元,用于查询所述音频标识所指示的音频;a query unit, configured to query audio indicated by the audio identifier;
    播放单元,用于向所述耳机输出所述音频,以使所述耳机对所述音频进行播放。a playing unit, configured to output the audio to the earphone, so that the earphone plays the audio.
  9. 一种终端设备,其特征在于,包括权利要求5-8任一项所述的音频播放装置。A terminal device comprising the audio playback device of any of claims 5-8.
  10. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器,其中,a memory communicatively coupled to the at least one processor, wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够: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:
    从耳机获取用户信息;其中,所述用户信息预存在所述耳机中;Obtaining user information from the headset; wherein the user information is pre-stored in the headset;
    确定与所述用户信息匹配的用户设置;Determining user settings that match the user information;
    根据所述用户设置进行音频播放。Audio playback is performed according to the user settings.
  11. 一种非易失性计算机存储介质,其特征在于,所述非易失性计算机存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-4任一项所述的方法。A non-volatile computer storage medium, characterized in that the non-volatile computer storage medium stores computer instructions for causing the computer to perform the method of any of claims 1-4 .
  12. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-4任一项所述的方法。 A computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute a right The method of any of claims 1-4.
PCT/CN2016/096398 2016-03-31 2016-08-23 Audio playback method and apparatus, terminal device, electronic device, and storage medium WO2017166606A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201219.7A CN105895133A (en) 2016-03-31 2016-03-31 Audio playing method and device and terminal device
CN201610201219.7 2016-03-31

Publications (1)

Publication Number Publication Date
WO2017166606A1 true WO2017166606A1 (en) 2017-10-05

Family

ID=57012066

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096398 WO2017166606A1 (en) 2016-03-31 2016-08-23 Audio playback method and apparatus, terminal device, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN105895133A (en)
WO (1) WO2017166606A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292771A (en) * 2020-02-24 2020-06-16 青岛海尔多媒体有限公司 Method and device for controlling audio and video equipment and terminal equipment
CN114388001A (en) * 2021-12-31 2022-04-22 北京梧桐车联科技有限责任公司 Multimedia file playing method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371800A (en) * 2016-09-21 2017-02-01 乐视控股(北京)有限公司 Audio output method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1811735A (en) * 2005-01-27 2006-08-02 乐金电子(惠州)有限公司 Portable audio-frequence player device and its drive method
CN104581472A (en) * 2013-10-21 2015-04-29 阿里巴巴集团控股有限公司 Headset with identity authentication function
CN204515794U (en) * 2015-02-16 2015-07-29 联想(北京)有限公司 Electronic equipment
CN104966521A (en) * 2015-06-12 2015-10-07 广东小天才科技有限公司 Method and apparatus for adjusting play mode of music
US9232293B1 (en) * 2012-06-13 2016-01-05 Amazon Technologies, Inc. Headphone authentication modules

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505802A1 (en) * 2003-08-04 2005-02-09 High Tech Computer Corp. Handheld device having an auto-volume control means for earphone plugging and controlling method thereof
CN110278508A (en) * 2010-10-02 2019-09-24 广州市智专信息科技有限公司 A kind of audiogenic device and its control method, earphone
CN102664033A (en) * 2012-05-09 2012-09-12 东莞市美之尊电子科技有限公司 Method of realizing multipoint break-point memory continue-play of portable speaker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1811735A (en) * 2005-01-27 2006-08-02 乐金电子(惠州)有限公司 Portable audio-frequence player device and its drive method
US9232293B1 (en) * 2012-06-13 2016-01-05 Amazon Technologies, Inc. Headphone authentication modules
CN104581472A (en) * 2013-10-21 2015-04-29 阿里巴巴集团控股有限公司 Headset with identity authentication function
CN204515794U (en) * 2015-02-16 2015-07-29 联想(北京)有限公司 Electronic equipment
CN104966521A (en) * 2015-06-12 2015-10-07 广东小天才科技有限公司 Method and apparatus for adjusting play mode of music

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292771A (en) * 2020-02-24 2020-06-16 青岛海尔多媒体有限公司 Method and device for controlling audio and video equipment and terminal equipment
CN114388001A (en) * 2021-12-31 2022-04-22 北京梧桐车联科技有限责任公司 Multimedia file playing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105895133A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017166603A1 (en) Sound quality adjustment method, terminal, electronic device, and non-volatile computer storage medium
US10503464B2 (en) Sound effect configuration method and system and related device
US10839782B2 (en) External extended device and audio playback method
WO2019237491A1 (en) Wireless earphone pairing method and device and wireless earphones
US10628119B2 (en) Sound effect processing method and mobile terminal
WO2017166607A1 (en) Earphone-based sound recording control method and apparatus, electronic device, and storage medium
US20130345842A1 (en) Earphone removal detection
TW201339957A (en) Headset device and a device profile management system and method thereof
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
WO2016187946A1 (en) Volume control method, electronic device and computer storage medium
US20170168705A1 (en) Method and electronic device for adjusting video progress
TWI633486B (en) System and method for detecting status of headphone port
WO2017166606A1 (en) Audio playback method and apparatus, terminal device, electronic device, and storage medium
WO2017166604A1 (en) Music control method, terminal, electronic device, and storage medium
US10880378B2 (en) Contextual conversation mode for digital assistant
TW201517650A (en) Method, apparatus and system for transmitting information
CN110086941B (en) Voice playing method and device and terminal equipment
WO2020019844A1 (en) Speech data processing method and related product
TW202020652A (en) Voice processing method and apparatus
US10748535B2 (en) Transcription record comparison
CN107872727B (en) Media playing control method, media playing control device and electronic terminal
CN108574914B (en) Method and device for adjusting multicast playback file of sound box and receiving end
WO2016000297A1 (en) Audio adjustment method and apparatus
CN114501286A (en) Bluetooth connection testing method and device
US10602273B2 (en) Audio playing apparatus and audio transmission circuit

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: 16896378

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896378

Country of ref document: EP

Kind code of ref document: A1