CN108710486A - Audio playing method and device, earphone and computer readable storage medium - Google Patents

Audio playing method and device, earphone and computer readable storage medium Download PDF

Info

Publication number
CN108710486A
CN108710486A CN201810520863.XA CN201810520863A CN108710486A CN 108710486 A CN108710486 A CN 108710486A CN 201810520863 A CN201810520863 A CN 201810520863A CN 108710486 A CN108710486 A CN 108710486A
Authority
CN
China
Prior art keywords
earphone
audio
server
user
information
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.)
Granted
Application number
CN201810520863.XA
Other languages
Chinese (zh)
Other versions
CN108710486B (en
Inventor
严笔祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810520863.XA priority Critical patent/CN108710486B/en
Publication of CN108710486A publication Critical patent/CN108710486A/en
Application granted granted Critical
Publication of CN108710486B publication Critical patent/CN108710486B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to an audio playing method, an audio playing device, an earphone and a computer readable storage medium. The method comprises the following steps: establishing a communication connection with a server based on the identification of the headset when the headset is connected to a wireless network; when detecting that the earphone is inserted into the ear of a user, acquiring identity information related to the user wearing the earphone at present; sending an audio acquisition request carrying the identity information to a server, wherein the audio acquisition request is used for indicating the server to send audio information to the earphone according to the identity information; and receiving the audio information fed back by the server, and playing audio according to the audio information. By the method, the audio playing can be realized by acquiring the audio information returned by the server after the server is connected with the server, no additional audio electronic equipment is needed, the convenience of receiving the audio information by the user through the earphone is improved, and the user experience is improved.

Description

音频播放方法、装置、耳机及计算机可读存储介质Audio playback method, device, earphone and computer-readable storage medium

技术领域technical field

本申请涉及通信技术领域,特别是涉及一种音频播放方法、装置、耳机及计算机可读存储介质。The present application relates to the technical field of communication, and in particular to an audio playback method, device, earphone and computer-readable storage medium.

背景技术Background technique

随着通信设备的智能化发展,耳机在人们在日常生活中的使用越来越频繁,通过耳机进行听音乐、通话、以及收听视频语音等多种多样的活动。传统的耳机在使用时需要与额外的音频电子设备(例如手机、电脑、MP3等)配合才能收听到音频,当用户需要收听音乐时,不仅需要佩戴耳机,还需要携带其他音频电子设备才能收听到音乐,给用户的使用带来很多局限性,通过耳机收听音频的操作也需要繁琐的操作,给用户带来不便。With the intelligent development of communication equipment, earphones are used more and more frequently in people's daily life, and various activities such as listening to music, talking, and listening to video and voice are performed through earphones. Traditional earphones need to cooperate with additional audio electronic devices (such as mobile phones, computers, MP3, etc.) Music brings many limitations to the use of users, and the operation of listening to audio through earphones also requires cumbersome operations, which brings inconvenience to users.

发明内容Contents of the invention

本申请实施例提供一种音频播放方法、装置、耳机及计算机可读存储介质,能够通过获取服务器上的音频信息实现音频播放,让用户的使用过程更方便快捷。Embodiments of the present application provide an audio playback method, device, earphone, and computer-readable storage medium, which can implement audio playback by acquiring audio information on a server, making the user's use process more convenient and quick.

一种音频播放方法,应用于具备无线连接功能的耳机,所述方法包括:An audio playback method applied to an earphone with a wireless connection function, the method comprising:

当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接;When the earphone is connected to the wireless network, establish a communication connection with the server based on the identity of the earphone;

当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息;When it is detected that the earphone is inserted into the user's ear, the identity information of the user who is currently wearing the earphone is obtained;

向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息;sending an audio acquisition request carrying the identity information to the server, where the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information;

接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。The audio information fed back by the server is received, and audio playback is performed according to the audio information.

一种音频播放方法,包括:An audio playback method, comprising:

接收耳机发送的验证请求,在验证所述耳机的标识通过后与耳机建立通信连接;receiving the verification request sent by the earphone, and establishing a communication connection with the earphone after verifying that the identity of the earphone is passed;

接收所述耳机发送的音频获取请求;receiving an audio acquisition request sent by the earphone;

根据所述音频获取请求中携带的身份信息向所述耳机发送音频信息。Sending audio information to the earphone according to the identity information carried in the audio acquisition request.

一种音频播放装置,所述装置包括:An audio playback device, said device comprising:

通信连接模块,用于当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接;A communication connection module, configured to establish a communication connection with a server based on the identity of the earphone when the earphone is connected to the wireless network;

身份获取模块,用于当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息;The identity acquisition module is used to obtain the identity information associated with the user currently wearing the earphone when it is detected that the earphone is inserted into the user's ear;

请求发送模块,用于向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息;A request sending module, configured to send an audio acquisition request carrying the identity information to the server, where the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information;

音频播放模块,用于接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。An audio playing module, configured to receive the audio information fed back by the server, and perform audio playback according to the audio information.

一种音频播放装置,所述装置包括:An audio playback device, said device comprising:

验证请求接收模块,用于接收耳机发送的验证请求,在验证所述耳机的标识通过后与耳机建立通信连接;The verification request receiving module is used to receive the verification request sent by the earphone, and establish a communication connection with the earphone after verifying that the identity of the earphone is passed;

音频请求接收模块,用于接收所述耳机发送的音频获取请求;an audio request receiving module, configured to receive the audio acquisition request sent by the earphone;

音频信息发送模块,用于根据所述音频获取请求中携带的身份信息向所述耳机发送音频信息。An audio information sending module, configured to send audio information to the earphone according to the identity information carried in the audio acquisition request.

一种耳机,包括电声换能器、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器与所述电声换能器及所述存储器电连接,所述处理器执行所述计算机程序时实现所述方法的步骤。An earphone, comprising an electro-acoustic transducer, a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor is electrically connected to the electro-acoustic transducer and the memory, The steps of the method are implemented when the processor executes the computer program.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method are implemented.

上述音频播放方法、装置、耳机及计算机可读存储介质,当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接,当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息,向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息,接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放,能够通过与服务器进行连接后,获取由服务器返回的音频信息而实现音频播放,不需要额外的音频电子设备,增加了用户通过耳机接收音频信息的便捷性,提升用户体验。The above-mentioned audio playing method, device, earphone and computer-readable storage medium, when the earphone is connected to the wireless network, establish a communication connection with the server based on the identification of the earphone, and when it is detected that the earphone is inserted into the user's ear, obtain the associated current wearing The identity information of the earphone user, sending an audio acquisition request carrying the identity information to the server, the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information, and receive audio information fed back by the server, And perform audio playback according to the audio information, after connecting with the server, obtain the audio information returned by the server to realize audio playback, without the need for additional audio electronic equipment, increasing the convenience for users to receive audio information through earphones, Improve user experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为一个实施例中音频播放方法的应用环境示意图;Fig. 1 is a schematic diagram of an application environment of an audio playback method in an embodiment;

图2为一个实施例中耳机的内部结构示意图;Fig. 2 is a schematic diagram of the internal structure of the earphone in one embodiment;

图3为一个实施例中音频播放方法的流程示意图;Fig. 3 is a schematic flow chart of an audio playback method in an embodiment;

图4为另一个实施例中音频播放方法的流程示意图;Fig. 4 is a schematic flow chart of an audio playback method in another embodiment;

图5为另一个实施例中音频播放方法的流程示意图;Fig. 5 is a schematic flow chart of an audio playback method in another embodiment;

图6为另一个实施例中音频播放方法的流程示意图;Fig. 6 is a schematic flow chart of an audio playback method in another embodiment;

图7为另一个实施例中音频播放方法的流程示意图;Fig. 7 is a schematic flow chart of an audio playback method in another embodiment;

图8为另一个实施例中音频播放方法的流程示意图;FIG. 8 is a schematic flow chart of an audio playback method in another embodiment;

图9为一个实施例中音频播放装置的结构框图;Fig. 9 is a structural block diagram of an audio playback device in an embodiment;

图10为与本申请实施例提供的终端相关的耳机的部分结构的框图。FIG. 10 is a block diagram of a partial structure of an earphone related to a terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本申请。可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一应用程序称为第二应用程序,且类似地,可将第二进应用程序为第一应用程序。第一应用程序和第二应用程序两者都是应用程序,但其不是同一应用程序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the description of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application. It can be understood that the terms "first", "second" and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first application could be termed a second application, and, similarly, a second application could be termed the first application, without departing from the scope of the present application. Both the first application and the second application are applications, but they are not the same application.

图1为一个实施例中数据处理方法的应用环境示意图。如图1所示,该应用环境包括为服务器110和与该服务器110进行通信的耳机120。Fig. 1 is a schematic diagram of an application environment of a data processing method in an embodiment. As shown in FIG. 1 , the application environment includes a server 110 and an earphone 120 communicating with the server 110 .

其中,服务器110可以是云端服务器,也可以是独立的物理服务器,还可以是物理服务器集群。服务器110上存储有音频信息,该音频信息包括但不限于歌曲、录音、广播等。耳机120的类型包括但不限于入耳式、耳塞式、头戴式,挂耳式,耳机120与服务器110可以通过无线的方式进行通信,实现数据的传输。Wherein, the server 110 may be a cloud server, an independent physical server, or a cluster of physical servers. Audio information is stored on the server 110, including but not limited to songs, recordings, broadcasts, and the like. The types of the earphone 120 include but not limited to in-ear type, earphone type, head-mounted type, and ear-hook type. The earphone 120 and the server 110 can communicate wirelessly to realize data transmission.

耳机120包括声电换能器121,声电换能器121位于耳机的尖端部分,将耳机的尖端部分定位在用户的耳道内时,声电换能器121将耳机120获取的音频信号输出至用户耳道中。声电换能器121包括扬声器和麦克风,扬声器用于播放音频信号,麦克风用于录制耳机120周围的音频信号,可选地,麦克风还可采集扬声器播放的音频信号经过耳朵内部结构的反射和振动后形成的回声信号。在一个实施例中,所述扬声器和所述麦克风为一体式结构。The earphone 120 includes an acoustic-electric transducer 121, and the acoustic-electric transducer 121 is located at the tip of the earphone. When the tip of the earphone is positioned in the user's ear canal, the acoustic-electric transducer 121 outputs the audio signal acquired by the earphone 120 to in the user's ear canal. The acoustic-electric transducer 121 includes a loudspeaker and a microphone, the loudspeaker is used to play the audio signal, and the microphone is used to record the audio signal around the earphone 120. Optionally, the microphone can also collect the reflection and vibration of the audio signal played by the loudspeaker through the inner structure of the ear The resulting echo signal. In one embodiment, the speaker and the microphone are integrated.

图2为一个实施例中耳机的内部结构示意图。该耳机120包括通过系统总线连接的处理器、存储器和通信接口。其中,该处理器用于提供计算和控制能力,支撑整个耳机120的运行。存储器用于存储数据、程序、和/或指令代码等,存储器上存储至少一个计算机程序,该计算机程序可被处理器执行,以实现本申请实施例中提供的适用于耳机120的音频播放方法。存储器可包括磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random-Access-Memory,RAM)等。例如,在一个实施例中,存储器包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统、数据库和计算机程序。该数据库中存储有用于实现以上各个实施例所提供的一种音频播放方法相关的数据。该计算机程序可被处理器所执行,以用于实现本申请各个实施例所提供的一种音频播放方法。内存储器为非易失性存储介质中的操作系统、数据库和计算机程序提供高速缓存的运行环境。通信接口包括移动通信接口、wifi通信接口和蓝牙通信接口等,耳机120通过通信接口与服务器110进行通信连接,以获取服务器110上的音频信息。Fig. 2 is a schematic diagram of the internal structure of the earphone in one embodiment. The headset 120 includes a processor, a memory, and a communication interface connected through a system bus. Wherein, the processor is used to provide computing and control capabilities to support the operation of the entire earphone 120 . The memory is used to store data, programs, and/or instruction codes, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the audio playback method suitable for the earphone 120 provided in the embodiment of the present application. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random-access-memory (Random-Access-Memory, RAM). For example, in one embodiment, the memory includes non-volatile storage media and internal memory. Nonvolatile storage media store operating systems, databases, and computer programs. The database stores data related to implementing an audio playing method provided by the above embodiments. The computer program can be executed by a processor, so as to implement an audio playing method provided by various embodiments of the present application. Internal memory provides a cached operating environment for operating systems, databases, and computer programs in non-volatile storage media. The communication interface includes a mobile communication interface, a wifi communication interface, a bluetooth communication interface, etc., and the headset 120 communicates with the server 110 through the communication interface to obtain audio information on the server 110 .

本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的耳机120的限定,具体的耳机120可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 2 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the earphone 120 to which the solution of this application is applied. The specific earphone 120 can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.

如图3所示,为一个实施例中音频播放方法的流程图,本实施例中的音频播放方法,以运行于图1中的耳机上为例进行描述。该音频播放方法,包括以下步骤302~步骤308:As shown in FIG. 3 , it is a flowchart of an audio playback method in an embodiment. The audio playback method in this embodiment is described by taking the earphone running on the earphone in FIG. 1 as an example. The audio playback method includes the following steps 302 to 308:

步骤302:当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接。Step 302: When the headset is connected to the wireless network, establish a communication connection with a server based on the identifier of the headset.

其中,无线网络(wireless network)是采用无线通信技术实现的网络,无线网络可以包括通过公众移动通信网实现的无线网络(如GPRS、4G、5G等)和无线局域网(WirelessLocal Area Networks,WLAN)等。耳机上包含无线通信接口,可以通过无线通信接口连接至无线网络,例如,当耳机处于无线局域网络的覆盖范围内时,可以通过耳机内置的wifi通信模块连接至无线局域网络。Among them, the wireless network (wireless network) is a network implemented by wireless communication technology, and the wireless network may include wireless networks (such as GPRS, 4G, 5G, etc.) and wireless local area networks (Wireless Local Area Networks, WLAN) implemented through public mobile communication networks. . The headset includes a wireless communication interface, and can be connected to a wireless network through the wireless communication interface. For example, when the headset is within the coverage of the wireless local area network, it can be connected to the wireless local area network through the built-in wifi communication module of the headset.

当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接。其中耳机的标识指的是耳机的身份标识,耳机通过无线网络将身份标识发送至服务器,当服务器验证耳机的身份标识通过后,耳机与服务器建立连接。耳机与服务器的建立通信连接后,能够通过无线网络相互传输数据,例如耳机可以向服务器发送请求或控制指令等,服务器可以根据耳机发送的请求返回相关数据或根据耳机发送的控制指令执行相关操作等。When the headset is connected to the wireless network, a communication connection is established with the server based on the identifier of the headset. The logo of the earphone refers to the identity of the earphone. The earphone sends the identity to the server through the wireless network. After the server verifies the identity of the earphone, the earphone establishes a connection with the server. After establishing a communication connection between the headset and the server, data can be transmitted to each other through the wireless network. For example, the headset can send requests or control instructions to the server, and the server can return relevant data according to the request sent by the headset or perform related operations according to the control instructions sent by the headset. .

步骤304:当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息。Step 304: When it is detected that the earphone is inserted into the user's ear, obtain the identity information associated with the user currently wearing the earphone.

当用户需要使用耳机进行听音乐、看视频或接听电话等功能时,会将耳机戴入耳朵内以接收耳机上传播的声音。其中,耳机内预存有音频信号,该音频信号可用于检测用户行为和用户信息,具体地,音频信号可以存储在耳机内的存储器中,该音频信号可以是特定频率的音频信号,例如超声波,即使在耳机位于用户的耳朵内时播放该音频信号,用户也听不到,这样就能在用户无法察觉的情况下完成用户行为和用户信息的检测。When the user needs to use the earphone for functions such as listening to music, watching videos, or answering calls, the user will put the earphone into the ear to receive the sound transmitted on the earphone. Wherein, an audio signal is pre-stored in the headset, and the audio signal can be used to detect user behavior and user information. Specifically, the audio signal can be stored in a memory in the headset, and the audio signal can be an audio signal of a specific frequency, such as an ultrasonic wave. When the earphone is in the user's ear, the audio signal is played, and the user cannot hear it, so that the detection of user behavior and user information can be completed without the user being aware of it.

进一步地,耳机的听筒会发出音频信号并采集返回的信号,通过分析返回的信号可以判断出耳机的听筒是否位于用户的耳道中。举例说明,通过耳机的听筒发出特定频率的音频信号(例如超声波信号),该音频信号经过不同障碍物会发生不同的效应,此时采集从听筒周围的信号,并对采集的信号进行分析比对,若检测出返回的信号与人耳数据匹配时,则判定耳机已插入用户耳朵。Furthermore, the earpiece of the earphone will send out audio signals and collect the returned signal, and it can be judged whether the earpiece of the earphone is located in the user's ear canal by analyzing the returned signal. For example, an audio signal of a specific frequency (such as an ultrasonic signal) is sent out through the earpiece of the earphone. The audio signal will have different effects when passing through different obstacles. At this time, the signals around the earpiece are collected, and the collected signals are analyzed and compared. , if it is detected that the returned signal matches the human ear data, it is determined that the earphone has been inserted into the user's ear.

在检测到耳机插入用户耳朵后,获取关联当前佩戴耳机用户的身份信息。具体地,可以根据耳机中当前播放的音频信号来获取与当前用户的耳朵内部结构相关联的声学特征模型。其中,声学特征模型可以理解为耳机当前所在用户耳朵内部结构的空间特征,也即,可以用不同的声学特征模型来表征耳机位于用户耳朵内部的不同位置。更进一步地,根据该声学特征模型还可以用于生成声学签名以验证用户身份,也即生成用户的耳纹信息,其中耳纹是一种人们身上特有的特征,就像指纹和脸部长相一样,独一无二。After detecting that the headset is inserted into the user's ear, obtain the identity information associated with the user who is currently wearing the headset. Specifically, the acoustic feature model associated with the internal structure of the current user's ear may be acquired according to the audio signal currently played in the earphone. The acoustic feature model can be understood as the spatial feature of the internal structure of the user's ear where the earphone is currently located, that is, different acoustic feature models can be used to represent different positions of the earphone in the user's ear. Furthermore, according to the acoustic feature model, it can also be used to generate an acoustic signature to verify the user's identity, that is, to generate the user's earprint information, where the earprint is a unique feature of people, just like fingerprints and facial appearance ,unique.

举例说明,用户初次使用耳机时,需要对用户的耳纹信息进行初始化,并将用户的耳纹信息存入预设系统构建的耳纹数据库中,以便对用户的身份进行验证。具体地,系统提示用户将耳机佩戴至预设标准位置后对用户的耳纹信息进行识别与存储,其中预设标准位置可以根据用户佩戴习惯进行设定与调校。当用户佩戴耳机后,系统获取当前用户的耳纹特征,并调用耳纹数据库中的耳纹信息进行数据匹配;若当前用户的耳纹特征能够与耳纹数据库中的耳纹信息匹配,则提示用户“身份认证成功”。若当前用户的耳纹特征与预设用户的耳纹信息不匹配,则存储当前用户的耳纹信息后,提示用户“身份注册成功”。For example, when the user uses the headset for the first time, the user's earprint information needs to be initialized and stored in the earprint database built by the preset system, so as to verify the user's identity. Specifically, the system prompts the user to identify and store the user's earprint information after wearing the headset to a preset standard position, where the preset standard position can be set and adjusted according to the user's wearing habits. When the user wears the earphones, the system obtains the current user's earprint features, and calls the earprint information in the earprint database for data matching; if the current user's earprint features can match the earprint information in the earprint database, the system prompts User "authentication successful". If the earprint feature of the current user does not match the earprint information of the preset user, after storing the earprint information of the current user, the user is prompted "identity registration is successful".

步骤306:向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息。Step 306: Send an audio acquisition request carrying the identity information to the server, where the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information.

具体地,身份信息用于验证在服务器上预先设置的用户账号,用户可以在使用过程中通过在服务器上注册而生成用户账号,并在注册时录入与用户耳朵内部结构相关联的声学特征模型。耳机根据检测到的当前佩戴用户的身份信息生成数据包作为音频获取请求,并将音频获取请求发送至服务器。Specifically, the identity information is used to verify the user account preset on the server, and the user can generate a user account by registering on the server during use, and enter the acoustic feature model associated with the internal structure of the user's ear during registration. The earphone generates a data packet as an audio acquisition request according to the detected identity information of the currently wearing user, and sends the audio acquisition request to the server.

服务器在接收到音频获取请求后,从音频获取请求中提取用户的身份信息,并对该身份信息进行验证,当该身份信息与至少一个预设身份信息匹配时,向该耳机发送音频信息。其中,服务器上可以预存多个用户身份信息,以对当前用户的登录操作进行验证,例如,不同耳机标识的用户预存的身份信息存储在服务器的用户目录下,一个耳机标识还可以对应存储多个用户的身份信息,本实施例对此不进行限定。After receiving the audio acquisition request, the server extracts the user's identity information from the audio acquisition request, verifies the identity information, and sends audio information to the earphone when the identity information matches at least one preset identity information. Among them, multiple user identity information can be pre-stored on the server to verify the login operation of the current user. For example, the pre-stored identity information of users with different earphone IDs is stored in the user directory of the server, and one earphone ID can also store multiple The identity information of the user is not limited in this embodiment.

步骤308:接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。Step 308: Receive the audio information fed back by the server, and perform audio playback according to the audio information.

其中,音频信息可以理解为数字化的声音数据,耳机通过将数字化的声音数据进行数模转换(DAC)变成模拟音频信号输出,从而实现声音的播放。服务器返回的音频信息可以是歌曲、录音、广播、电台等,举例说明,该音频信息可以是在用户账号中预先购买的歌曲,或是预先下载、收藏的歌曲等;该音频信息还可以是耳机用户共享至云服务器中的歌曲,可以理解的是,本实施例并不限于上述举例说明。Wherein, the audio information can be understood as digitized sound data, and the earphone converts the digitized sound data into an analog audio signal output through digital-to-analog conversion (DAC), so as to realize sound playback. The audio information returned by the server can be songs, recordings, broadcasts, radio stations, etc. For example, the audio information can be pre-purchased songs in the user account, or pre-downloaded and favorited songs, etc.; the audio information can also be earphones It should be understood that the present embodiment is not limited to the above examples for the songs shared by the user to the cloud server.

上述音频播放方法,当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接,当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息,向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息,接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放,能够通过与服务器进行连接后,获取由服务器返回的音频信息而实现音频播放,不需要额外的音频电子设备,增加了用户通过耳机接收音频信息的便捷性,提升用户体验。In the above audio playback method, when the earphone is connected to the wireless network, a communication connection is established with the server based on the identification of the earphone; An audio acquisition request for the identity information, the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information, receive the audio information fed back by the server, and perform audio playback according to the audio information, After being connected to the server, audio information returned by the server can be acquired to realize audio playback without requiring additional audio electronic equipment, which increases the convenience for users to receive audio information through earphones and improves user experience.

在一个实施例中,如图4所示,当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接,也即步骤302包括:In one embodiment, as shown in FIG. 4, when the earphone is connected to the wireless network, a communication connection is established with the server based on the identity of the earphone, that is, step 302 includes:

步骤402:当所述耳机连接至无线网络时,获取表征耳机固有属性的耳机标识,并向服务器发送带有所述耳机标识的验证请求。Step 402: When the earphone is connected to the wireless network, obtain the earphone ID representing the intrinsic property of the earphone, and send a verification request with the earphone ID to the server.

每个耳机对应设有特定的耳机标识,耳机标识作为耳机上的固有属性,可以作为耳机的身份识别标志,也即是通过识别耳机标识就能对耳机进行身份认证。该耳机标识可以是数字编码,例如001001,也可以是二维码,或是条形编码等,本实施例对此不进行限定。Each earphone is correspondingly provided with a specific earphone logo, and the earphone logo is an inherent attribute on the earphone, which can be used as an identification mark of the earphone, that is, the identity of the earphone can be authenticated by identifying the earphone logo. The earphone identification may be a digital code, such as 001001, or a two-dimensional code, or a bar code, etc., which is not limited in this embodiment.

在耳机连接至无线网络后,向服务器发送带有所述耳机标识的验证请求,以使得服务器对耳机的身份进行验证。由于服务器上存储有允许连接的耳机标识,该耳机标识可以是预先设置在服务器上,也可以是在耳机使用过程中通过在服务器上注册后存储至服务器的连接列表中,例如该耳机标识包含了耳机型号、耳机品牌、耳机类型等信息。After the earphone is connected to the wireless network, a verification request with the earphone ID is sent to the server, so that the server verifies the identity of the earphone. Since the headphone ID that allows connection is stored on the server, the headphone ID can be pre-set on the server, or it can be stored in the connection list of the server after registering on the server during the use of the headset. For example, the earphone ID includes Headphone model, headphone brand, headphone type and other information.

步骤404:当所述验证请求与预设验证信息匹配时,所述耳机与服务器建立通信连接。Step 404: When the verification request matches the preset verification information, the headset establishes a communication connection with the server.

当服务器识别出耳机发送的耳机标识处于连接白名单中时,该耳机与服务器连接通信连接,并可以通过无线网络相互传输数据。例如耳机可以向服务器发送请求或控制指令等,服务器可以根据耳机发送的请求返回相关数据或根据耳机发送的控制指令执行相关操作等。When the server recognizes that the earphone identification sent by the earphone is in the connection white list, the earphone and the server are connected in communication and can transmit data to each other through the wireless network. For example, the earphone can send a request or control instruction to the server, and the server can return relevant data according to the request sent by the earphone or perform related operations according to the control instruction sent by the earphone.

本实施例提供的音频播放方法,在耳机连接至无线网络后,通过服务器验证耳机标识后,所述耳机与服务器建立通信连接,能够使耳机在不需要额外的音频电子设备也能获取音频信息,提升了用户通过耳机收听声音的便捷性。In the audio playback method provided in this embodiment, after the earphone is connected to the wireless network, the earphone establishes a communication connection with the server after the server verifies the earphone identity, so that the earphone can obtain audio information without additional audio electronic equipment. It improves the convenience for users to listen to sound through headphones.

在一个实施例中,如图5所示,当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息,也即步骤304包括:In one embodiment, as shown in FIG. 5, when it is detected that the earphone is inserted into the user's ear, the identity information associated with the user currently wearing the earphone is obtained, that is, step 304 includes:

步骤502:获取所述耳机内预存的音频信号,并播放所述音频信号。Step 502: Obtain an audio signal pre-stored in the earphone, and play the audio signal.

其中,耳机内预存有音频信号,该音频信号可用于检测用户行为和用户信息,具体地,音频信号可以存储在耳机内的存储器中,该音频信号可以是特定频率的音频信号,例如超声波,即使在耳机位于用户的耳朵内时播放该音频信号,用户也听不到,这样就能在用户无法察觉的情况下完成用户行为和用户信息的检测。Wherein, an audio signal is pre-stored in the headset, and the audio signal can be used to detect user behavior and user information. Specifically, the audio signal can be stored in a memory in the headset, and the audio signal can be an audio signal of a specific frequency, such as an ultrasonic wave. When the earphone is in the user's ear, the audio signal is played, and the user cannot hear it, so that the detection of user behavior and user information can be completed without the user being aware of it.

在其他实施例中,该音频信号可以为预设应用中播放的多媒体文件而发出的音乐、语音信号,或用户听力范围以外的声音信号等,该音频信号还可以为通话过程中用户本人或联系人的语音信号等。In other embodiments, the audio signal can be music, voice signals from multimedia files played in the preset application, or sound signals beyond the hearing range of the user, etc. Human voice signals, etc.

步骤504:基于播放所述音频信号的电声换能器,采集所述音频信号经过耳朵内部结构的反射和振动后形成的回声信号。Step 504: Based on the electro-acoustic transducer playing the audio signal, collect the echo signal formed after the audio signal is reflected and vibrated by the inner structure of the ear.

耳机包括电声换能器,电声换能器可以作为扬声器,将音频信号对应的电信号转换成用户可以听到的声波信号。同时,电声换能器对用户耳朵内部结构(耳道)中的声波非常敏感,能够引起扬声器纸盆的振动,带动与纸盆相连的线圈在永久磁体的磁场中作切割磁力线的运动,从而产生随着声波的变化而变化的电流(产生电流的现象在物理学上称为电磁感应现象),同时,在线圈两端将输出音频的电动势。因此,电声换能器还可以采集音频信号经耳朵内部结构的反射和振动后而产生的声学回声信号。也即,电声换能器也可以作为麦克风来使用。其中,麦克风的原理是在所述电声换能器进行能量逆向转换后,将声信号转换成机械振动后再转换成电信号,从而实现回声信号的采集功能。The earphone includes an electro-acoustic transducer, and the electro-acoustic transducer can be used as a loudspeaker to convert an electrical signal corresponding to an audio signal into a sound wave signal that a user can hear. At the same time, the electroacoustic transducer is very sensitive to the sound waves in the internal structure of the user's ear (ear canal), which can cause the vibration of the speaker paper cone, and drive the coil connected to the paper cone to cut the magnetic force line in the magnetic field of the permanent magnet. Generate a current that changes with the change of the sound wave (the phenomenon of generating current is called electromagnetic induction phenomenon in physics), and at the same time, the electromotive force of the audio frequency will be output at both ends of the coil. Therefore, the electro-acoustic transducer can also collect the acoustic echo signal generated by the reflection and vibration of the internal structure of the ear after the audio signal. That is, the electro-acoustic transducer can also be used as a microphone. Wherein, the principle of the microphone is to convert the acoustic signal into mechanical vibration and then convert it into an electrical signal after the electro-acoustic transducer performs energy reverse conversion, so as to realize the function of collecting the echo signal.

电声换能器,尽管其类型、功能或工作状态不同,它们都包括两个基本组成部分,即电系统和机械振动系统,在电声换能器内部,电系统和机械振动系统之间通过某种物理效应相互联系,以完成能量的转换。Electro-acoustic transducers, although different in type, function or working state, they all include two basic components, namely, the electrical system and the mechanical vibration system. Inside the electro-acoustic transducer, the electrical system and the mechanical vibration system pass through Certain physical effects are interconnected to complete the energy conversion.

基于播放所述音频信号的电声换能器录制所述音频信号经耳朵内部结构的反射和振动而形成的声学回声信号,不需要通过在耳机内额外设置麦克风来采集声学回声信号,节约了成本,简化了耳机的内部结构。Based on the electroacoustic transducer playing the audio signal, the acoustic echo signal formed by the reflection and vibration of the audio signal through the internal structure of the ear does not need to be additionally provided with a microphone in the earphone to collect the acoustic echo signal, which saves costs , simplifying the internal structure of the earphone.

可选的,还可以通过设置在耳机中的麦克风来采集所述音频信号经耳朵内部结构的反射和振动而形成的声学回声信号。其中,当耳机戴入用户的耳朵中时,其麦克风设置在耳机与用户耳朵内部结构相接触的一侧,也即,麦克风设置在设置扬声器通孔的耳机壳体上。Optionally, the acoustic echo signal formed by the reflection and vibration of the internal structure of the ear through the audio signal may also be collected through a microphone arranged in the earphone. Wherein, when the earphone is worn in the user's ear, the microphone is arranged on the side where the earphone is in contact with the internal structure of the user's ear, that is, the microphone is arranged on the earphone housing with the speaker through hole.

步骤506:根据所述音频信号、回声信号确定与当前用户的耳朵内部结构相关联的声学特征模型。Step 506: Determine an acoustic feature model associated with the internal structure of the current user's ear according to the audio signal and the echo signal.

其中,将耳机扬声器播放的音频信号为s(t),麦克风采集到的耳道中的声学回声信号为r(t),与当前用户的耳朵内部结构相关联的声学特征模型用w(t)来表示,因此可以得到如下表达式:Among them, the audio signal played by the earphone speaker is s(t), the acoustic echo signal in the ear canal collected by the microphone is r(t), and the acoustic feature model associated with the internal structure of the current user's ear is represented by w(t). , so the following expression can be obtained:

r(t)=s(t)*w(t) (1)r(t)=s(t)*w(t) (1)

式中,w(t)是一个能够反映耳机和用户耳朵耦合的参量,可以用来表征耳机被放置在用户耳朵内的空间的声学特征。公式(1)中,音频信号为s(t)与声学回声信号为r(t)可以通过耳机或电子设备设置的音频电路监测获得,进而可以获取与当前用户的耳朵内部结构相关联的声学特征模型w(t)。其中,声学特征模型w(t)可以理解为耳机当前所在用户耳朵内部结构的空间特征,也即,可以用不同的声学特征模型w(t)来表征耳机位于用户耳朵内部的不同位置。相应的,还可以用声学特征模型w(t)来表征每个用户的的耳纹特征。In the formula, w(t) is a parameter that can reflect the coupling between the earphone and the user's ear, and can be used to characterize the acoustic characteristics of the space where the earphone is placed in the user's ear. In formula (1), the audio signal s(t) and the acoustic echo signal r(t) can be obtained by monitoring the audio circuit set by the earphone or electronic equipment, and then the acoustic features associated with the internal structure of the current user's ear can be obtained Model w(t). The acoustic feature model w(t) can be understood as the spatial feature of the internal structure of the user's ear where the earphone is currently located, that is, different acoustic feature models w(t) can be used to represent different positions of the earphone in the user's ear. Correspondingly, the acoustic feature model w(t) can also be used to characterize the earprint features of each user.

进一步的,上述公式(1)中还可以增加一项噪声因子e(t),其中噪声因子e(t)包括环境噪声和电路噪声;环境噪声为在没有播放音频信号s(t)时,录音声学回声信号的过程中产生的环境噪声,该环境噪声可以有额外的麦克风来采集;电路噪声为耳机内置电路中而引起的噪声,是耳机的固有属性。增加噪声因子e(t)为已知参数,考虑噪声因子e(t)后,其公式(1)可以修订为:Further, a noise factor e(t) can also be added to the above formula (1), wherein the noise factor e(t) includes environmental noise and circuit noise; the environmental noise is when the audio signal s(t) is not played, the recording The environmental noise generated during the process of the acoustic echo signal can be collected by an additional microphone; the circuit noise is the noise caused by the built-in circuit of the earphone, which is an inherent property of the earphone. Adding the noise factor e(t) as a known parameter, after considering the noise factor e(t), the formula (1) can be revised as:

r(t)=s(t)*w(t)+e(t) (2)r(t)=s(t)*w(t)+e(t) (2)

公式(2)中,新增加的噪声因子e(t)、音频信号为s(t)以及声学回声信号为r(t)均为已知参数,进而可以获取与当前用户的耳朵内部结构相关联的声学特征模型w(t)。In formula (2), the newly added noise factor e(t), the audio signal s(t) and the acoustic echo signal r(t) are all known parameters, and then the parameters related to the internal structure of the current user's ear can be obtained. The acoustic feature model w(t) of .

本实施例提供的音频播放方法,能够通过与用户的耳朵内部结构相关联的声学特征模型来表征用户的身份信息,提高了用户身份鉴权的安全性和便捷性,只需要在用户戴上耳机时就能确定用户身份,并且获取用户身份的过程不需要添加额外的器件,节省了器件成本。The audio playback method provided in this embodiment can represent the user's identity information through the acoustic feature model associated with the internal structure of the user's ear, which improves the security and convenience of user identity authentication. The user identity can be determined when the user identity is obtained, and the process of obtaining the user identity does not need to add an additional device, which saves the cost of the device.

在一个实施例中,如图6所示,在向服务器发送携带所述身份信息的音频获取请求之后,还包括:In one embodiment, as shown in FIG. 6, after sending the audio acquisition request carrying the identity information to the server, it further includes:

步骤602:基于所述身份信息验证与所述耳机标识关联的用户账号。Step 602: Verify the user account associated with the headset identifier based on the identity information.

在获取用户的身份信息后,耳机发送携带当前用户身份信息的音频获取请求至服务器,在服务器存储有与耳机标识相关联的用户账号信息,用户可以在使用耳机的过程中通过在服务器上注册而生成用户账号,并在注册时录入与用户耳朵内部结构相关联的声学特征模型。当服务器接收到音频获取请求后,从音频获取请求中提取用户的身份信息,对该身份信息进行验证,并在身份验证结束后向该耳机发送身份验证结果。After obtaining the user's identity information, the headset sends an audio acquisition request carrying the current user's identity information to the server. The server stores the user account information associated with the headset ID. The user can register on the server during the use of the headset. Generate a user account and enter the acoustic feature model associated with the internal structure of the user's ear during registration. After receiving the audio acquisition request, the server extracts the user's identity information from the audio acquisition request, verifies the identity information, and sends the identity verification result to the headset after the identity verification is completed.

具体地,当该身份信息与服务器中存储的至少一个预设身份信息匹配时,服务器向该耳机发送身份认证成功的验证结果。当该身份信息与服务器中存储的预设身份信息不匹配时,服务器向该耳机发送身份认证失败的验证结果。Specifically, when the identity information matches at least one preset identity information stored in the server, the server sends a verification result of successful identity authentication to the headset. When the identity information does not match the preset identity information stored in the server, the server sends a verification result of identity authentication failure to the headset.

步骤604:接收所述服务器返回的基于所述身份信息的验证结果,并根据所述验证结果进行提示。Step 604: Receive the verification result based on the identity information returned by the server, and prompt according to the verification result.

具体地,当接收到服务器返回的身份认证成功的验证结果时,耳机可以通过播放特定语音或振动提示,以提醒用户耳机已连接至服务器并登录用户账号,例如耳机可以通过播放“用户验证成功”的语音提示,或耳机发出短暂振动一下,以提示用户登录成功。当接收到服务器返回的身份认证失败的验证结果时,耳机可以通过播放特定语音或振动提示,以提醒用户身份认证失败,也即是当前用户的身份信息与耳机绑定的用户身份信息不匹配,例如耳机可以通过播放“用户无法识别,请确定用户身份是否注册!”的语音提示,或耳机发出长振动三下,以提示用户登录失败,需要注册用户信息。Specifically, when receiving the verification result of successful identity authentication returned by the server, the earphone can play a specific voice or vibration prompt to remind the user that the earphone has been connected to the server and log in to the user account, for example, the earphone can play "user verification successful" The voice prompt, or the headset emits a short vibration to prompt the user to log in successfully. When receiving the verification result of identity authentication failure returned by the server, the headset can play a specific voice or vibration prompt to remind the user that the identity authentication fails, that is, the current user's identity information does not match the user identity information bound to the headset. For example, the earphone can play the voice prompt of "the user cannot be identified, please confirm whether the user identity is registered!", or the earphone emits three long vibrations to prompt the user that the login failed and the user information needs to be registered.

在一个实施例中,在用户账号登录成功后,耳机可以接收所述服务器反馈的当前登录用户目录下的音频播放列表,根据所述音频播放列表进行音频播放。具体地,用户在听音乐的过程中会增添自己的音乐播放列表,例如通过购买、下载、收藏歌曲,或是创建自己喜欢的歌单。在接收到服务器返回的音频播放列表后,耳机播放音频播放列表中的音频。In one embodiment, after the user account is successfully logged in, the headset may receive the audio playlist fed back by the server under the directory of the currently logged-in user, and play audio according to the audio playlist. Specifically, users will add their own music playlists during the process of listening to music, such as by purchasing, downloading, and collecting songs, or creating their favorite playlists. After receiving the audio playlist returned by the server, the headset plays the audio in the audio playlist.

在一个实施例中,在用户账号登录成功后,耳机还可以接收所述服务器反馈的共享音频,根据所述共享音频进行音频播放。由于服务器上存有多个用户的账号信息,当用户登录账号时,可以将音频数据上传至服务器上,上传至服务器上的音频数据可以提供给服务器上的其他用户获取,以实现音频数据的共享。例如,用户A将自己账号的播放列表中的音乐1上传至服务器,服务器会将音乐1存储至数据库中,当用户B通过服务器搜索音乐1时,服务器会将已经存储在数据库中的音乐1发送至用户B的账号中,因此用户A与用户B之间实现了数据共享,节省了用户的资源消耗,用户收听音乐更便捷。In one embodiment, after the user account is successfully logged in, the earphone can also receive the shared audio fed back by the server, and play audio according to the shared audio. Since there are multiple user account information stored on the server, when the user logs in to the account, the audio data can be uploaded to the server, and the audio data uploaded to the server can be provided to other users on the server for acquisition, so as to realize the sharing of audio data . For example, user A uploads music 1 in the playlist of his account to the server, and the server will store music 1 in the database. When user B searches for music 1 through the server, the server will send music 1 already stored in the database to the account of user B, so that data sharing is realized between user A and user B, which saves the resource consumption of the user and makes it more convenient for the user to listen to music.

在一个实施例中,如图7所示,该音频播放方法还包括:In one embodiment, as shown in Figure 7, the audio playback method also includes:

步骤702:基于所述声学特征模型获取表征当前用户身体特性的健康数据。Step 702: Obtain health data representing the current user's physical characteristics based on the acoustic feature model.

基于耳机获取的表征用户耳朵内部结构的空间特征的声学特征模型,采集耳机播放的音频信号经过耳朵内部结构的反射和振动后形成的声学回声信号,将所述声学回声信号进行低通滤波处理后,也即是排除了外界噪声的干扰后,可以得到周期较为明确的信号波形图,可以通过检测相邻两个波峰的间隔时间计算该声学回声信号的信号周期,该信号周期表征了当前用户的身体特性。Based on the acoustic feature model representing the spatial characteristics of the internal structure of the user's ear acquired by the earphone, the acoustic echo signal formed after the audio signal played by the earphone is reflected and vibrated by the internal structure of the ear is collected, and the acoustic echo signal is processed by low-pass filtering , that is, after eliminating the interference of external noise, a signal waveform diagram with a relatively clear period can be obtained. The signal period of the acoustic echo signal can be calculated by detecting the interval between two adjacent peaks. The signal period represents the current user's physical characteristics.

举例说明,心脏的跳动具有一定的周期性,心脏的跳动会引起耳道壁的收缩振动,根据获取的声学回声信号的周期即可在一定程度上反映心脏的跳动规律,那么该声学回声信号的周期的倒数即为心率。可以理解的是,基于相同或相似的原理,还可以根据该声学回声信号的周期反映血液对血管壁的侧压力、大脑活动时的电波变化等,在此不再累述。For example, the beating of the heart has a certain periodicity, and the beating of the heart will cause the contraction vibration of the ear canal wall. According to the period of the acquired acoustic echo signal, it can reflect the beating law of the heart to a certain extent, then the acoustic echo signal The inverse of the period is the heart rate. It can be understood that based on the same or similar principle, the period of the acoustic echo signal can also reflect the lateral pressure of the blood on the blood vessel wall, the electric wave changes during brain activity, etc., which will not be repeated here.

步骤704:向所述服务器发送带有所述健康数据的音频推荐请求,所述音乐推荐请求用于指示所述服务器根据所述健康数据匹配相应类型的歌曲,并生成推荐歌单。Step 704: Send an audio recommendation request with the health data to the server, the music recommendation request is used to instruct the server to match corresponding types of songs according to the health data, and generate a recommended song list.

本实施例向服务器发送携带有当前用户的健康数据的音频推荐请求,服务器可根据所述健康数据搜索相应类型的歌曲,并生成推荐歌单。例如当根据该健康数据可以分析当前用户所处的状态、心情、环境等,根据适应不同场景的歌曲类型生成对应的推荐歌单。例如当检测到用户的心率呈现增快的趋势,则判断用户可能处于运动状态(如跑步),此时服务器生成节奏轻快、律动性较强的音乐歌单,推荐给用户,提升用户听觉体验。当检测到用户的脑电波中包含大量噪声电流时,表明此时用户的大脑无法集中注意力、用户的情绪比较躁动不安,此时服务器生成悦耳动听、且节奏轻缓的音乐歌单(例如轻音乐),使用户的心情放松下来。可以理解的是,本实施例并不限于上述举例说明,在此,不再一一列举说明。In this embodiment, an audio recommendation request carrying the current user's health data is sent to the server, and the server can search for songs of a corresponding type according to the health data, and generate a recommended song list. For example, based on the health data, the current state, mood, environment, etc. of the current user can be analyzed, and corresponding recommended playlists can be generated based on song types adapted to different scenarios. For example, when it is detected that the user's heart rate is increasing, it is judged that the user may be in a state of exercise (such as running). At this time, the server generates a music playlist with a brisk rhythm and strong rhythm, and recommends it to the user to improve the user's listening experience. When it is detected that the user's brain wave contains a large amount of noise current, it indicates that the user's brain cannot concentrate at this time, and the user's mood is relatively restless. At this time, the server generates a melodious and slow-paced music playlist (such as light music ) to relax the user's mind. It can be understood that, the present embodiment is not limited to the above illustrations, and will not be listed here.

步骤706:接收所述服务器反馈的推荐歌单,根据所述推荐歌单进行音频播放。Step 706: Receive the recommended song list fed back by the server, and perform audio playback according to the recommended song list.

当接收到服务器反馈的推荐歌单时,根据所述推荐歌单进行歌曲推荐。When receiving the recommended song list fed back by the server, perform song recommendation according to the recommended song list.

本实施例提供的方法,通过将表征当前用户身体特性的健康数据发送至服务器,服务器根据所述健康数据搜索相应类型的歌曲,并生成推荐歌单,耳机根据接收到的推荐歌单进行歌曲推荐,能够根据用户当前用户所处的状态、心情、环境等场景进行适应性曲风的歌曲推荐,使用户能够听到符合当前场景的音乐,增强用户的音乐代入感,提升用户的听觉体验。In the method provided in this embodiment, the health data representing the physical characteristics of the current user is sent to the server, the server searches for songs of the corresponding type according to the health data, and generates a recommended song list, and the earphone recommends songs according to the received recommended song list , according to the user's current state, mood, environment and other scenes, it can recommend songs with adaptive genres, so that the user can hear music that fits the current scene, enhance the user's sense of music substitution, and improve the user's listening experience.

在一个实施例中,如图8所示,该音频播放方法还包括:In one embodiment, as shown in Figure 8, the audio playback method also includes:

步骤802:检测作用于所述耳机上的输入操作,根据所述输入操作生成对应的操作指令。Step 802: Detect an input operation on the earphone, and generate a corresponding operation instruction according to the input operation.

举例说明,耳机的外壳上开设有用于平衡气压的泄露口,通过泄露口可对用户耳道进行排气,通过校准泄露口的大小和形状,以使得不同用户佩戴耳机时和/或耳机位于用户耳朵内部的不同位置时具有基本一致的频率响应。用户在使用耳机的过程中,可以对耳机外壳上的泄露口进行覆盖、堵孔、按压等输入操作,具体地,输入操作包括但不限于覆盖预设位置、覆盖预设时长、覆盖预设频率等。For example, the shell of the earphone is provided with a leak port for balancing the air pressure, through which the user's ear canal can be exhausted, and the size and shape of the leak port can be calibrated so that when different users wear the earphone and/or the earphone is located at the user's Different locations inside the ear have a substantially consistent frequency response. In the process of using the earphone, the user can perform input operations such as covering, plugging, and pressing the leakage port on the earphone shell. Specifically, the input operations include but are not limited to covering the preset position, covering the preset duration, and covering the preset frequency. Wait.

当耳机接收到该输入操作时,可以根据耳机中当前播放的音频信号来获取与所述耳机的声学结构相关联的频率响应曲线。其中,频率响应是指将一个以恒电压输出的音频信号与系统相连接时,耳机产生的声压随频率的变化而发生增大或衰减、相位随频率而发生变化的现象,这种声压和相位与频率的相关联的变化关系称为频率响应。由于耳机上的泄露口可以对用户耳道进行排气,当该泄露口被用户覆盖时,会使耳机的声学结构发生变化,并且会改变用户耳道内的气压,导致用户耳道内的频率响应发生变化。也即,可以用频率响应曲线来表征耳机的声学结构变化。When the earphone receives the input operation, a frequency response curve associated with the acoustic structure of the earphone may be acquired according to the audio signal currently played in the earphone. Among them, the frequency response refers to the phenomenon that when an audio signal output with a constant voltage is connected to the system, the sound pressure generated by the earphone increases or attenuates with the frequency, and the phase changes with the frequency. The relationship between phase and frequency is called the frequency response. Since the leak on the earphone can exhaust the user's ear canal, when the leak is covered by the user, the acoustic structure of the earphone will change, and the air pressure in the user's ear canal will change, causing the frequency response in the user's ear canal to change. Variety. That is, the frequency response curve can be used to characterize the change of the acoustic structure of the earphone.

进一步地,根据所述频率响应曲线识别所述输入操作,并生成与所述输入操作对应的操作指令。Further, the input operation is identified according to the frequency response curve, and an operation instruction corresponding to the input operation is generated.

步骤804:将所述操作指令发送至所述服务器,以指示所述服务器执行与所述操作指令对应的指令交互操作。Step 804: Send the operation instruction to the server, so as to instruct the server to perform an instruction interaction operation corresponding to the operation instruction.

具体地,耳机将生成的操作指令传送至于所述耳机进行通信的服务器,并指示该服务器执行与该操作指令对应的指令交互操作。其中,指令交互操作包括但不限于播放/暂停音乐、切换音乐歌曲、调节播放音量、切换频道等,可选地,该指令交互操作还可以是搜索、收藏、下载或共享正在播放的音频信号,还可以是录制等操作。当然,还可以根据用户的使用习惯,添加或删除指令交互操作的内容,本实施例对此不作限定。Specifically, the earphone transmits the generated operation instruction to the server with which the earphone communicates, and instructs the server to perform an instruction interaction operation corresponding to the operation instruction. Wherein, the instruction interaction operation includes but is not limited to playing/pausing music, switching music songs, adjusting playback volume, switching channels, etc. Optionally, the instruction interaction operation can also be searching, collecting, downloading or sharing the audio signal being played, It can also be operations such as recording. Certainly, according to the usage habit of the user, the content of instruction interaction operation may also be added or deleted, which is not limited in this embodiment.

本实施例提供的方法,能够根据用户作用于耳机泄露口上的输入操作实现与服务器的指令交互控制,使用户的操作变得方便快捷,提高了使用效率,改善用户体验。The method provided in this embodiment can realize command interaction control with the server according to the user's input operation on the earphone leak port, making the user's operation convenient and fast, improving the use efficiency and improving the user experience.

在一个实施例中,提供了一种音频播放方法,本实施例中的音频播放方法,以运行于图1中的服务器上为例进行描述。该音频播放方法,包括以下步骤:接收耳机发送的验证请求,在验证所述耳机的标识通过后与耳机建立通信连接;接收所述耳机发送的音频获取请求;根据所述音频获取请求中携带的身份信息向所述耳机发送音频信息。In one embodiment, an audio playback method is provided. The audio playback method in this embodiment is described by taking the server running on the server in FIG. 1 as an example. The audio playback method includes the following steps: receiving a verification request sent by the earphone, and establishing a communication connection with the earphone after the identification of the earphone is verified; receiving the audio acquisition request sent by the earphone; according to the audio acquisition request carried in the audio acquisition request, The identity information sends audio information to the headset.

本实施例提供的方法,能够通过与服务器进行连接后,获取由服务器返回的音频信息而实现音频播放,不需要额外的音频电子设备,增加了用户通过耳机接收音频信息的便捷性,提升用户体验。The method provided in this embodiment can achieve audio playback by obtaining the audio information returned by the server after connecting to the server, without requiring additional audio electronic equipment, increasing the convenience for users to receive audio information through earphones, and improving user experience .

应该理解的是,虽然上述实施例对应的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图3-8中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flow chart corresponding to the above embodiments are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Figures 3-8 may include a plurality of sub-steps or stages, these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times, these sub-steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

如图9所示,在一个实施例中,提供一种音频播放装置,该装置包括:通信连接模块910、身份获取模块920、请求发送模块930和音频播放模块940。As shown in FIG. 9 , in one embodiment, an audio playback device is provided, which includes: a communication connection module 910 , an identity acquisition module 920 , a request sending module 930 and an audio playback module 940 .

通信连接模块910,用于当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接。The communication connection module 910 is configured to establish a communication connection with a server based on the identification of the earphone when the earphone is connected to the wireless network.

身份获取模块920,用于当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息。The identity acquisition module 920 is configured to acquire the identity information associated with the user currently wearing the earphone when it is detected that the earphone is inserted into the user's ear.

请求发送模块930,用于向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息。The request sending module 930 is configured to send an audio acquisition request carrying the identity information to the server, and the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information.

音频播放模块940,用于接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。The audio playing module 940 is configured to receive the audio information fed back by the server, and perform audio playback according to the audio information.

上述音频播放装置,当所述耳机连接至无线网络时,通信连接模块910基于所述耳机的标识与服务器建立通信连接,当检测到耳机插入用户耳朵时,身份获取模块920获取关联当前佩戴耳机用户的身份信息,请求发送模块930向服务器发送携带所述身份信息的音频获取请求,音频播放模块940接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。通过上述装置,能够通过与服务器进行连接后,获取由服务器返回的音频信息而实现音频播放,不需要额外的音频电子设备,增加了用户通过耳机接收音频信息的便捷性,提升用户体验。In the above-mentioned audio playback device, when the earphone is connected to the wireless network, the communication connection module 910 establishes a communication connection with the server based on the identification of the earphone, and when it is detected that the earphone is inserted into the user's ear, the identity acquisition module 920 obtains the information associated with the user currently wearing the earphone. identity information, the request sending module 930 sends an audio acquisition request carrying the identity information to the server, and the audio playback module 940 receives the audio information fed back by the server, and performs audio playback according to the audio information. Through the above device, audio playback can be realized by obtaining the audio information returned by the server after being connected to the server, without requiring additional audio electronic equipment, increasing the convenience for users to receive audio information through earphones, and improving user experience.

在一个实施例中,通信连接模块910还用于当所述耳机连接至无线网络时,获取表征耳机固有属性的耳机标识,并向服务器发送带有所述耳机标识的验证请求;当所述验证请求与预设验证信息匹配时,所述耳机与服务器建立通信连接。In one embodiment, the communication connection module 910 is further configured to obtain the earphone ID representing the intrinsic properties of the earphone when the earphone is connected to the wireless network, and send a verification request with the earphone ID to the server; when the verification When the request matches the preset verification information, the headset establishes a communication connection with the server.

在一个实施例中,身份获取模块920还用于获取所述耳机内预存的音频信号,并播放所述音频信号;基于播放所述音频信号的电声换能器,采集所述音频信号经过耳朵内部结构的反射和振动后形成的回声信号;根据所述音频信号、回声信号确定与当前用户的耳朵内部结构相关联的声学特征模型。In one embodiment, the identity acquisition module 920 is also used to acquire the audio signal pre-stored in the earphone, and play the audio signal; based on the electro-acoustic transducer playing the audio signal, collect the audio signal through the ear The echo signal formed after the reflection and vibration of the internal structure; determine the acoustic feature model associated with the internal structure of the current user's ear according to the audio signal and the echo signal.

在一个实施例中,该音频播放装置还包括提示模块,用于基于所述身份信息验证与所述耳机标识关联的用户账号;接收所述服务器返回的基于所述身份信息的验证结果,并根据所述验证结果进行提示。In one embodiment, the audio playback device further includes a prompt module, configured to verify the user account associated with the headset identifier based on the identity information; receive the verification result based on the identity information returned by the server, and The verification result will be prompted.

在一个实施例中,该音频播放装置还包括音频推荐模块,用于基于所述声学特征模型获取表征当前用户身体特性的健康数据;向所述服务器发送带有所述健康数据的音频推荐请求,所述音乐推荐请求用于指示所述服务器根据所述健康数据匹配相应类型的歌曲,并生成推荐歌单;接收所述服务器反馈的推荐歌单,根据所述推荐歌单进行音频播放。In one embodiment, the audio playback device further includes an audio recommendation module, configured to obtain health data representing the physical characteristics of the current user based on the acoustic feature model; send an audio recommendation request with the health data to the server, The music recommendation request is used to instruct the server to match corresponding types of songs according to the health data, and generate a recommended song list; receive the recommended song list fed back by the server, and perform audio playback according to the recommended song list.

在一个实施例中,该音频播放装置还包括指令操作模块,用于检测作用于所述耳机上的输入操作,根据所述输入操作生成对应的操作指令;将所述操作指令发送至所述服务器,以指示所述服务器执行与所述操作指令对应的指令交互操作。In one embodiment, the audio playback device further includes an instruction operation module, configured to detect an input operation acting on the earphone, generate a corresponding operation instruction according to the input operation; and send the operation instruction to the server , to instruct the server to perform an instruction interaction operation corresponding to the operation instruction.

在一个实施例中,还提供一种音频播放装置,所述装置包括:In one embodiment, there is also provided an audio playback device, the device comprising:

验证请求接收模块,用于接收耳机发送的验证请求,在验证所述耳机的标识通过后与耳机建立通信连接。The verification request receiving module is configured to receive the verification request sent by the earphone, and establish a communication connection with the earphone after the identification of the earphone is verified.

音频请求接收模块,用于接收所述耳机发送的音频获取请求。The audio request receiving module is configured to receive the audio acquisition request sent by the earphone.

音频信息发送模块,用于根据所述音频获取请求中携带的身份信息向所述耳机发送音频信息。An audio information sending module, configured to send audio information to the earphone according to the identity information carried in the audio acquisition request.

上述音频播放装置中各个模块的划分仅用于举例说明,在其他实施例中,可将音频播放装置按照需要划分为不同的模块,以完成上述音频播放装置的全部或部分功能。The division of each module in the above audio playback device is only for illustration. In other embodiments, the audio playback device can be divided into different modules according to needs, so as to complete all or part of the functions of the above audio playback device.

关于音频播放装置的具体限定可以参见上文中对于音频播放方法的限定,在此不再赘述。上述音频播放装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the audio playback device, refer to the above-mentioned limitations on the audio playback method, which will not be repeated here. Each module in the above-mentioned audio playback device can be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

本申请实施例中提供的音频播放装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述的音频播放方法的步骤。The implementation of each module in the audio playback device provided in the embodiment of the present application may be in the form of a computer program. The computer program can run on a terminal or a server. The program modules constituted by the computer program can be stored in the memory of the terminal or server. When the computer program is executed by the processor, the steps of the audio playing method described in the embodiments of the present application are implemented.

本申请实施例还提供了一种耳机,该耳机包括电声换能器、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器与所述电声换能器及所述存储器电连接,所述处理器执行所述计算机程序时实现如上述各实施例中所描述的音频播放方法。The embodiment of the present application also provides an earphone, which includes an electro-acoustic transducer, a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor and the electro-acoustic transducer The processor is electrically connected to the memory, and when the processor executes the computer program, the audio playing method as described in the above embodiments is implemented.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行如上述各实施例中所描述的音频播放方法。The embodiment of the present application also provides a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the Describes the audio playback method.

本申请实施例还提供了一种计算机程序产品。一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各实施例中所描述的音频播放方法。The embodiment of the present application also provides a computer program product. A computer program product containing instructions, when running on a computer, causes the computer to execute the audio playing method described in the above embodiments.

本申请实施例还提供了一种终端设备。如图10所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。以终端设备为耳机为例:The embodiment of the present application also provides a terminal device. As shown in FIG. 10 , for ease of description, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. Take the terminal device as a headset as an example:

图10为与本申请实施例提供的终端相关的耳机的部分结构的框图。参考图10,耳机包括:射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、无线保真(wireless fidelity,WiFi)模块1070、处理器1080、以及电源1090等部件。本领域技术人员可以理解,图10所示的耳机结构并不构成对耳机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 10 is a block diagram of a partial structure of an earphone related to a terminal provided by an embodiment of the present application. Referring to FIG. 10 , the headset includes: a radio frequency (Radio Frequency, RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (wireless fidelity, WiFi) module 1070, and a processor 1080 , and power supply 1090 and other components. Those skilled in the art can understand that the earphone structure shown in FIG. 10 is not limited to the earphone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

其中,RF电路1010可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器1080处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。Among them, the RF circuit 1010 can be used for sending and receiving information or receiving and sending signals during a call. After receiving the downlink information from the base station, it can be processed by the processor 1080; it can also send uplink data to the base station. Generally, an RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行耳机的各种功能应用以及数据处理。存储器1020可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据耳机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the earphone by running the software programs and modules stored in the memory 1020 . The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.); The data storage area can store data (such as audio data, address book, etc.) created according to the use of the headset, and the like. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元1030可用于接收输入的数字或字符信息,以及产生与耳机1000的用户设置以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 1030 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the earphone 1000 . Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032 . The touch panel 1031, which can also be referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 1031 or near the touch panel 1031 operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 1031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1031 , the input unit 1030 may also include other input devices 1032 . Specifically, other input devices 1032 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.

显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及耳机的各种菜单。显示单元1040可包括显示面板1041。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。在一个实施例中,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图10中,触控面板1031与显示面板1041是作为两个独立的部件来实现耳机的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现耳机的输入和输出功能。The display unit 1040 may be used to display information input by or provided to the user and various menus of the earphone. The display unit 1040 may include a display panel 1041 . In one embodiment, the display panel 1041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. In one embodiment, the touch panel 1031 can cover the display panel 1041, and when the touch panel 1031 detects a touch operation on or near it, the touch operation is sent to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the The type of touch event provides a corresponding visual output on the display panel 1041 . Although in FIG. 10, the touch panel 1031 and the display panel 1041 are used as two independent components to realize the input and input functions of the earphone, in some embodiments, the touch panel 1031 and the display panel 1041 can be integrated and Realize the input and output functions of the earphone.

耳机1000还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在耳机移动到耳边时,关闭显示面板1041和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别耳机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,耳机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The headset 1000 may also include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1041 and/or when the earphone is moved to the ear. or backlight. The motion sensor can include an acceleration sensor, through which the magnitude of acceleration in various directions can be detected, and the magnitude and direction of gravity can be detected when stationary, and can be used for applications that recognize the posture of the earphone (such as switching between horizontal and vertical screens), vibration recognition related functions (such as pedometer, tap), etc.; in addition, the headset can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.

音频电路1060、扬声器1061和传声器1062可提供用户与耳机之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010可以发送给另一耳机,或者将音频数据输出至存储器1020以便后续处理。Audio circuitry 1060, speaker 1061 and microphone 1062 may provide an audio interface between the user and the headset. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the speaker 1061 converts it into an audio signal for output; After being received, it is converted into audio data, and after being processed by the output processor 1080, the audio data can be sent to another earphone through the RF circuit 1010, or the audio data can be output to the memory 1020 for subsequent processing.

WiFi属于短距离无线传输技术,耳机通过WiFi模块1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块1070,但是可以理解的是,其并不属于耳机1000的必须构成,可以根据需要而省略。WiFi is a short-distance wireless transmission technology. The headset can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1070, which provides users with wireless broadband Internet access. Although FIG. 10 shows the WiFi module 1070, it can be understood that it is not an essential component of the headset 1000 and can be omitted as required.

处理器1080是耳机的控制中心,利用各种接口和线路连接整个耳机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行耳机的各种功能和处理数据,从而对耳机进行整体监控。在一个实施例中,处理器1080可包括一个或多个处理单元。在一个实施例中,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。The processor 1080 is the control center of the earphone. It uses various interfaces and lines to connect various parts of the entire earphone. By running or executing software programs and/or modules stored in the memory 1020, and calling data stored in the memory 1020, execution Various functions and processing data of the headset, so as to monitor the headset as a whole. In one embodiment, processor 1080 may include one or more processing units. In one embodiment, the processor 1080 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs, etc.; the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1080 .

耳机1000还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The earphone 1000 also includes a power supply 1090 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1080 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system.

在一个实施例中,耳机1000还可以包括蓝牙模块等。In an embodiment, the headset 1000 may also include a Bluetooth module and the like.

在本申请实施例中,该终端设备所包括的处理器1080执行存储在存储器上的计算机程序时实现实现上述各实施例中所描述的音频播放方法。In this embodiment of the present application, when the processor 1080 included in the terminal device executes the computer program stored in the memory, the audio playing method described in the foregoing embodiments is realized.

在处理器上运行的计算机程序的执行时,能够通过与服务器进行连接后,获取由服务器返回的音频信息而实现音频播放,不需要额外的音频电子设备,增加了用户通过耳机接收音频信息的便捷性,提升用户体验。When the computer program running on the processor is executed, it can realize audio playback by connecting to the server and obtaining the audio information returned by the server, without the need for additional audio electronic equipment, which increases the convenience for users to receive audio information through earphones and improve user experience.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (15)

1.一种音频播放方法,其特征在于,应用于具备无线连接功能的耳机,所述方法包括:1. An audio playback method, characterized in that, being applied to earphones with a wireless connection function, the method comprises: 当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接;When the earphone is connected to the wireless network, establish a communication connection with the server based on the identity of the earphone; 当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息;When it is detected that the earphone is inserted into the user's ear, the identity information of the user who is currently wearing the earphone is obtained; 向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息;sending an audio acquisition request carrying the identity information to the server, where the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information; 接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。The audio information fed back by the server is received, and audio playback is performed according to the audio information. 2.根据权利要求1所述的方法,其特征在于,所述当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接,包括:2. The method according to claim 1, wherein when the earphone is connected to the wireless network, establishing a communication connection with the server based on the identity of the earphone comprises: 当所述耳机连接至无线网络时,获取表征耳机固有属性的耳机标识,并向服务器发送带有所述耳机标识的验证请求;When the earphone is connected to the wireless network, obtain the earphone ID representing the intrinsic property of the earphone, and send a verification request with the earphone ID to the server; 当所述验证请求与预设验证信息匹配时,所述耳机与服务器建立通信连接。When the verification request matches the preset verification information, the headset establishes a communication connection with the server. 3.根据权利要求1所述的方法,其特征在于,所述当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息,包括:3. The method according to claim 1, wherein when it is detected that the earphone is inserted into the user's ear, acquiring the identity information associated with the user currently wearing the earphone comprises: 获取所述耳机内预存的音频信号,并播放所述音频信号;Obtain the audio signal pre-stored in the earphone, and play the audio signal; 基于播放所述音频信号的电声换能器,采集所述音频信号经过耳朵内部结构的反射和振动后形成的回声信号;Based on the electro-acoustic transducer playing the audio signal, collecting the echo signal formed after the audio signal passes through the reflection and vibration of the internal structure of the ear; 根据所述音频信号、回声信号确定与当前用户的耳朵内部结构相关联的声学特征模型。An acoustic feature model associated with the internal structure of the current user's ear is determined according to the audio signal and the echo signal. 4.根据权利要求2所述的方法,其特征在于,在所述向服务器发送携带所述身份信息的音频获取请求之后,还包括:4. The method according to claim 2, further comprising: after sending the audio acquisition request carrying the identity information to the server: 基于所述身份信息验证与所述耳机标识关联的用户账号;Verifying a user account associated with the headset identifier based on the identity information; 接收所述服务器返回的基于所述身份信息的验证结果,并根据所述验证结果进行提示。receiving the verification result based on the identity information returned by the server, and prompting according to the verification result. 5.根据权利要求4所述的方法,其特征在于,所述接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放,包括:5. The method according to claim 4, wherein the receiving the audio information fed back by the server and performing audio playback according to the audio information comprises: 接收所述服务器反馈的当前登录用户目录下的音频播放列表,根据所述音频播放列表进行音频播放;或Receive the audio playlist under the currently logged-in user directory fed back by the server, and perform audio playback according to the audio playlist; or 接收所述服务器反馈的共享音频,根据所述共享音频进行音频播放;其中所述共享音频为用户上传至服务器的音频。receiving the shared audio fed back by the server, and performing audio playback according to the shared audio; wherein the shared audio is the audio uploaded by the user to the server. 6.根据权利要求2所述的方法,其特征在于,所述方法还包括:6. The method according to claim 2, characterized in that the method further comprises: 基于所述声学特征模型获取表征当前用户身体特性的健康数据;Acquiring health data representing the physical characteristics of the current user based on the acoustic feature model; 向所述服务器发送带有所述健康数据的音频推荐请求,所述音乐推荐请求用于指示所述服务器根据所述健康数据匹配相应类型的歌曲,并生成推荐歌单;Sending an audio recommendation request with the health data to the server, the music recommendation request is used to instruct the server to match corresponding types of songs according to the health data, and generate a recommended song list; 接收所述服务器反馈的推荐歌单,根据所述推荐歌单进行音频播放。receiving the recommended song list fed back by the server, and performing audio playback according to the recommended song list. 7.根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 1-6, wherein the method further comprises: 检测作用于所述耳机上的输入操作,根据所述输入操作生成对应的操作指令;Detecting an input operation acting on the earphone, and generating a corresponding operation instruction according to the input operation; 将所述操作指令发送至所述服务器,以指示所述服务器执行与所述操作指令对应的指令交互操作。Sending the operation instruction to the server to instruct the server to perform an instruction interaction operation corresponding to the operation instruction. 8.一种音频播放方法,其特征在于,包括:8. An audio playback method, characterized in that, comprising: 接收耳机发送的验证请求,在验证所述耳机的标识通过后与耳机建立通信连接;receiving the verification request sent by the earphone, and establishing a communication connection with the earphone after verifying that the identity of the earphone is passed; 接收所述耳机发送的音频获取请求;receiving an audio acquisition request sent by the earphone; 根据所述音频获取请求中携带的身份信息向所述耳机发送音频信息。Sending audio information to the earphone according to the identity information carried in the audio acquisition request. 9.一种音频播放装置,其特征在于,所述装置包括:9. An audio playback device, characterized in that the device comprises: 通信连接模块,用于当所述耳机连接至无线网络时,基于所述耳机的标识与服务器建立通信连接;A communication connection module, configured to establish a communication connection with a server based on the identity of the earphone when the earphone is connected to the wireless network; 身份获取模块,用于当检测到耳机插入用户耳朵时,获取关联当前佩戴耳机用户的身份信息;The identity acquisition module is used to obtain the identity information associated with the user currently wearing the earphone when it is detected that the earphone is inserted into the user's ear; 请求发送模块,用于向服务器发送携带所述身份信息的音频获取请求,所述音频获取请求用于指示服务器根据所述身份信息向所述耳机发送音频信息;A request sending module, configured to send an audio acquisition request carrying the identity information to the server, where the audio acquisition request is used to instruct the server to send audio information to the earphone according to the identity information; 音频播放模块,用于接收所述服务器反馈的音频信息,并根据所述音频信息进行音频播放。An audio playing module, configured to receive the audio information fed back by the server, and perform audio playback according to the audio information. 10.一种音频播放装置,其特征在于,所述装置包括:10. An audio playback device, characterized in that the device comprises: 验证请求接收模块,用于接收耳机发送的验证请求,在验证所述耳机的标识通过后与耳机建立通信连接;The verification request receiving module is used to receive the verification request sent by the earphone, and establish a communication connection with the earphone after verifying that the identity of the earphone is passed; 音频请求接收模块,用于接收所述耳机发送的音频获取请求;an audio request receiving module, configured to receive the audio acquisition request sent by the earphone; 音频信息发送模块,用于根据所述音频获取请求中携带的身份信息向所述耳机发送音频信息。An audio information sending module, configured to send audio information to the earphone according to the identity information carried in the audio acquisition request. 11.一种耳机,其特征在于,包括电声换能器、存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器与所述电声换能器及所述存储器电连接,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。11. An earphone, characterized in that it comprises an electro-acoustic transducer, a memory, a processor and a computer program stored on the memory and operable on the processor, the processor and the electro-acoustic transducer and the The memory is electrically connected, and the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program. 12.根据权利要求11所述的耳机,其特征在于,所述电声换能器用于播放所述音频信号,并用于采集所述音频信号经过耳朵内部结构的反射和振动后形成的回声信号。12 . The earphone according to claim 11 , wherein the electro-acoustic transducer is used to play the audio signal, and to collect echo signals formed after the audio signal is reflected and vibrated by internal structures of the ear. 13 . 13.根据权利要求12所述的耳机,其特征在于,所述电声换能器包括扬声器和麦克风,所述扬声器用于播放所述音频信号,所述麦克风用于采集所述音频信号经过耳朵内部结构的反射和振动后形成的回声信号。13. The earphone according to claim 12, wherein the electroacoustic transducer comprises a loudspeaker and a microphone, the loudspeaker is used to play the audio signal, and the microphone is used to collect the audio signal through the ear The echo signal formed by the reflection and vibration of the internal structure. 14.根据权利要求13所述的耳机,其特征在于,所述扬声器和所述麦克风为一体式结构。14. The earphone according to claim 13, wherein the speaker and the microphone are integrated. 15.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的方法的步骤。15. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
CN201810520863.XA 2018-05-28 2018-05-28 Audio playback method, device, earphone, and computer-readable storage medium Expired - Fee Related CN108710486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810520863.XA CN108710486B (en) 2018-05-28 2018-05-28 Audio playback method, device, earphone, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810520863.XA CN108710486B (en) 2018-05-28 2018-05-28 Audio playback method, device, earphone, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108710486A true CN108710486A (en) 2018-10-26
CN108710486B CN108710486B (en) 2021-07-09

Family

ID=63869689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810520863.XA Expired - Fee Related CN108710486B (en) 2018-05-28 2018-05-28 Audio playback method, device, earphone, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108710486B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324742A (en) * 2019-07-01 2019-10-11 Oppo广东移动通信有限公司 Control method, earphone and storage medium
CN111031438A (en) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 Control method of earphone assembly, earphone assembly and computer readable storage medium
CN111556394A (en) * 2020-04-24 2020-08-18 维沃移动通信有限公司 Earphone set
CN111586050A (en) * 2020-05-08 2020-08-25 上海明略人工智能(集团)有限公司 Audio file transmission method and device, storage medium and electronic equipment
CN111739529A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Interaction method and device, earphone and server
CN112765395A (en) * 2021-01-22 2021-05-07 咪咕音乐有限公司 Audio playing method, electronic device and storage medium
CN113473429A (en) * 2021-06-29 2021-10-01 北京紫光展锐通信技术有限公司 Network connection method, device, medium, program product and Wi-Fi headset
CN113938718A (en) * 2021-12-20 2022-01-14 深圳市云动创想科技有限公司 Channel control system, method, device, equipment and playing equipment
CN114158019A (en) * 2021-11-26 2022-03-08 歌尔科技有限公司 Terminal control method, terminal control system and storage medium
CN114915880A (en) * 2018-12-07 2022-08-16 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN119966893A (en) * 2025-01-17 2025-05-09 深圳市玄机人工智能科技有限公司 Method, device, computer equipment and storage medium for identifying wireless audio devices based on audio routing information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047686A (en) * 2008-04-07 2011-05-04 美国高思公司 Wireless headphones that switch between wireless networks
CN104518870A (en) * 2013-09-26 2015-04-15 德信无线通讯科技(北京)有限公司 Encryption type communication safe earphones
CN104581480A (en) * 2014-12-18 2015-04-29 周祥宇 Touch control headset system and touch control command recognition method
CN105939421A (en) * 2016-06-14 2016-09-14 努比亚技术有限公司 Terminal parameter adjusting device and method
US20170083494A1 (en) * 2015-09-17 2017-03-23 Samsung Electronics Co., Ltd. Electronic device and operation control method therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102047686A (en) * 2008-04-07 2011-05-04 美国高思公司 Wireless headphones that switch between wireless networks
CN103648068A (en) * 2008-04-07 2014-03-19 美国高思公司 Earphone assembly and system
CN104518870A (en) * 2013-09-26 2015-04-15 德信无线通讯科技(北京)有限公司 Encryption type communication safe earphones
CN104581480A (en) * 2014-12-18 2015-04-29 周祥宇 Touch control headset system and touch control command recognition method
US20170083494A1 (en) * 2015-09-17 2017-03-23 Samsung Electronics Co., Ltd. Electronic device and operation control method therefor
CN105939421A (en) * 2016-06-14 2016-09-14 努比亚技术有限公司 Terminal parameter adjusting device and method

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915880A (en) * 2018-12-07 2022-08-16 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
US12245179B2 (en) 2018-12-07 2025-03-04 Huawei Technologies Co., Ltd. Point-to-multipoint data transmission method and electronic device
CN110324742A (en) * 2019-07-01 2019-10-11 Oppo广东移动通信有限公司 Control method, earphone and storage medium
CN111031438A (en) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 Control method of earphone assembly, earphone assembly and computer readable storage medium
CN111556394A (en) * 2020-04-24 2020-08-18 维沃移动通信有限公司 Earphone set
CN111556394B (en) * 2020-04-24 2022-07-15 维沃移动通信有限公司 earphone
CN111586050A (en) * 2020-05-08 2020-08-25 上海明略人工智能(集团)有限公司 Audio file transmission method and device, storage medium and electronic equipment
CN111739529A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Interaction method and device, earphone and server
CN112765395A (en) * 2021-01-22 2021-05-07 咪咕音乐有限公司 Audio playing method, electronic device and storage medium
CN112765395B (en) * 2021-01-22 2023-09-19 咪咕音乐有限公司 Audio playback method, electronic device and storage medium
CN113473429A (en) * 2021-06-29 2021-10-01 北京紫光展锐通信技术有限公司 Network connection method, device, medium, program product and Wi-Fi headset
CN114158019A (en) * 2021-11-26 2022-03-08 歌尔科技有限公司 Terminal control method, terminal control system and storage medium
WO2023092785A1 (en) * 2021-11-26 2023-06-01 歌尔科技有限公司 Terminal control method, terminal control system, and storage medium
CN114158019B (en) * 2021-11-26 2025-07-15 歌尔科技有限公司 Terminal control method, terminal control system and storage medium
CN113938718B (en) * 2021-12-20 2022-04-22 深圳市云动创想科技有限公司 A channel control system, method, device, device and playback device
CN113938718A (en) * 2021-12-20 2022-01-14 深圳市云动创想科技有限公司 Channel control system, method, device, equipment and playing equipment
CN119966893A (en) * 2025-01-17 2025-05-09 深圳市玄机人工智能科技有限公司 Method, device, computer equipment and storage medium for identifying wireless audio devices based on audio routing information

Also Published As

Publication number Publication date
CN108710486B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN108710486B (en) Audio playback method, device, earphone, and computer-readable storage medium
CN108519871B (en) Audio signal processing method and related product
CN108922537B (en) Audio recognition method, device, terminal, earphone and readable storage medium
CN108430003B (en) Sound effect compensation method and device, readable storage medium and terminal
CN108391205B (en) Left and right channel switching method and device, readable storage medium, and terminal
CN108540900B (en) Volume adjusting method and related product
CN108668009B (en) Input operation control method, device, terminal, earphone and readable storage medium
CN108803859A (en) Information processing method, device, terminal, earphone and readable storage medium
CN108538320B (en) Recording control method and device, readable storage medium, and terminal
CN108763978B (en) Information prompting method, device, terminal, earphone and readable storage medium
CN108429969B (en) Audio frequency playing method, device, terminal, earphone and readable storage medium storing program for executing
CN108391207A (en) Data processing method, device, terminal, earphone and readable storage medium
CN108763901B (en) Ear print information acquisition method and device, terminal, earphone and readable storage medium
EP2693721B1 (en) Audio output apparatus
CN108521621A (en) Signal processing method, device, terminal, earphone and readable storage medium
CN108886653A (en) A kind of earphone sound channel control method, relevant device and system
CN108763913A (en) Data processing method, device, terminal, earphone and readable storage medium
CN109067965A (en) Interpretation method, translating equipment, wearable device and storage medium
CN107911777B (en) Processing method and device for return-to-ear function and mobile terminal
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN110460721A (en) A startup method, device and mobile terminal
CN208402071U (en) Audio playing apparatus, earphone and audio frequency broadcast system
WO2016028847A1 (en) Binaural recording system and earpiece set
CN108616640A (en) Terminal unlocking method and device, readable storage medium and terminal
CN108391208B (en) Signal switching method, device, terminal, earphone, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210709

CF01 Termination of patent right due to non-payment of annual fee