[go: up one dir, main page]

CN107277656B - Electronic device, detection device and earphone play setting method - Google Patents

Electronic device, detection device and earphone play setting method Download PDF

Info

Publication number
CN107277656B
CN107277656B CN201610210147.2A CN201610210147A CN107277656B CN 107277656 B CN107277656 B CN 107277656B CN 201610210147 A CN201610210147 A CN 201610210147A CN 107277656 B CN107277656 B CN 107277656B
Authority
CN
China
Prior art keywords
earphone
signal
connection interface
mentioned
electronic device
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.)
Active
Application number
CN201610210147.2A
Other languages
Chinese (zh)
Other versions
CN107277656A (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201610210147.2A priority Critical patent/CN107277656B/en
Publication of CN107277656A publication Critical patent/CN107277656A/en
Application granted granted Critical
Publication of CN107277656B publication Critical patent/CN107277656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)

Abstract

本发明提供一种电子装置、检测装置和耳机播放设定方法。上述电子装置包括第一连接接口、第二连接接口、处理器以及储存装置。第一连接接口通过耳机接头耦接至检测装置的第三连接接口,以从检测装置接收震荡信号和对应检测声源信号的多个耳机输出信号,以及传送检测声源信号至检测装置。第二连接接口耦接至检测装置的第四连接接口,以传送控制信号至检测装置。处理器耦接至第一连接接口和第二连接接口,并根据震荡信号,取得麦克风信息,以及根据多个耳机测量信号和麦克风信息,取得耳机信息。储存装置耦接至处理器,且储存麦克风信息和耳机信息。

The present invention provides an electronic device, a detection device and a headphone playback setting method. The electronic device includes a first connection interface, a second connection interface, a processor and a storage device. The first connection interface is coupled to the third connection interface of the detection device through the headphone connector to receive an oscillation signal and multiple headphone output signals corresponding to the detection sound source signal from the detection device, and transmit the detection sound source signal to the detection device. The second connection interface is coupled to the fourth connection interface of the detection device to transmit a control signal to the detection device. The processor is coupled to the first connection interface and the second connection interface, and obtains microphone information based on the oscillation signal, and obtains headphone information based on multiple headphone measurement signals and microphone information. The storage device is coupled to the processor and stores microphone information and headphone information.

Description

电子装置、检测装置和耳机播放设定方法Electronic device, detection device and earphone playback setting method

技术领域technical field

本发明说明书主要涉及一耳机播放设定技术,特别涉及通过取得电子装置的对应每一音阶的耳机输出信号值,对耳机播放设定进行一安全设定的耳机播放设定技术。The description of the present invention mainly relates to an earphone playback setting technology, in particular to a headphone playback setting technology for performing a safe setting on the earphone playback setting by obtaining the output signal value of the earphone corresponding to each musical scale of the electronic device.

背景技术Background technique

传统为了保护用户的听力,针对电子装置的耳机输出的最大电压值有制定了规范。举例来说,在欧盟制定的EN50332规范中,当检测声源为-10dB的粉红噪音(pink noise)时,其最大电压必须小于安全电压(150mV)。Traditionally, in order to protect the user's hearing, there are regulations on the maximum voltage output by the earphone of the electronic device. For example, in the EN50332 specification formulated by the European Union, when the detected sound source is -10dB pink noise (pink noise), its maximum voltage must be less than the safe voltage (150mV).

然而,目前市面上有许多电子装置产品所设计的输出电压仍大于安全电压的范围。此外,在不同国家可能会制定不同的认证规范来管理电子装置产品,因此当电子装置的销售当地若没有制定认证规范时,电子装置产品所设计的最大电压将可能会大于安全电压的范围,因而造成使用者听力的受损。However, the output voltage of many electronic devices on the market is still higher than the safe voltage range. In addition, different certification standards may be formulated in different countries to manage electronic device products. Therefore, if the locality where the electronic device is sold does not have a certification standard, the maximum voltage designed for the electronic device product may be greater than the safe voltage range. Therefore, cause hearing loss to the user.

发明内容Contents of the invention

有鉴于上述现有技术的问题,本发明提供了通过取得电子装置的对应每一音阶的耳机输出信号值,对耳机播放设定进行一安全设定的电子装置、检测装置和耳机播放设定方法。In view of the above-mentioned problems in the prior art, the present invention provides an electronic device, a detection device, and a method for setting a headphone playback by obtaining a headphone output signal value corresponding to each scale of the electronic device to perform a security setting on the headphone playback setting .

根据本发明的一实施例提供了一种电子装置。上述电子装置包括一第一连接接口、一第二连接接口、一处理器以及一储存装置。第一连接接口通过一耳机接头耦接至一检测装置的一第三连接接口,以从上述检测装置接收一震荡信号和对应一检测声源信号的多个耳机输出信号,以及传送上述检测声源信号至上述检测装置。第二连接接口耦接至上述检测装置的一第四连接接口,以传送一控制信号至上述检测装置。处理器耦接至上述第一连接接口和上述第二连接接口,并根据上述震荡信号,取得一麦克风信息,以及根据多个耳机测量信号和上述麦克风信息,取得一耳机信息。储存装置耦接至上述处理器,且储存上述麦克风信息和上述耳机信息。An embodiment of the present invention provides an electronic device. The electronic device includes a first connection interface, a second connection interface, a processor and a storage device. The first connection interface is coupled to a third connection interface of a detection device through a headphone connector, so as to receive an oscillating signal and a plurality of headphone output signals corresponding to a detection sound source signal from the detection device, and transmit the detection sound source Signal to the above detection device. The second connection interface is coupled to a fourth connection interface of the detection device to transmit a control signal to the detection device. The processor is coupled to the first connection interface and the second connection interface, and obtains microphone information according to the oscillating signal, and obtains headphone information according to a plurality of headphone measurement signals and the microphone information. The storage device is coupled to the processor and stores the microphone information and the earphone information.

根据本发明的一实施例提供了一种检测装置。上述检测装置包括一第三连接接口、一信号产生器、一第四连接接口以及一控制信号。第三连接接口通过一耳机接头耦接至一电子装置的一第一连接接口,以传送一震荡信号和对应一检测声源信号的多个耳机输出信号至上述电子装置,以及接收来自上述电子装置的对应不同音阶的一检测声源信号。信号产生器产生上述震荡信号。第四连接接口耦接至上述电子装置的一第二连接接口,以接收来自上述电子装置的一控制信号。切换电路耦接至上述第四连接接口,且根据上述控制信号,耦接至上述信号产生器或上述第三连接接口。According to an embodiment of the present invention, a detection device is provided. The detection device includes a third connection interface, a signal generator, a fourth connection interface and a control signal. The third connection interface is coupled to a first connection interface of an electronic device through an earphone connector, so as to transmit an oscillating signal and a plurality of earphone output signals corresponding to a detected sound source signal to the above-mentioned electronic device, and receive signals from the above-mentioned electronic device A detected sound source signal corresponding to different musical scales. The signal generator generates the above-mentioned oscillating signal. The fourth connection interface is coupled to a second connection interface of the electronic device to receive a control signal from the electronic device. The switching circuit is coupled to the fourth connection interface, and is coupled to the signal generator or the third connection interface according to the control signal.

根据本发明的一实施例提供了一种耳机播放设定方法。上述耳机播放设定方法适用于一电子装置。上述耳机播放设定方法的步骤包括:耦接上述电子装置和一检测装置;从上述检测装置接收一震荡信号;根据上述震荡信号产生一麦克风信息;传送一检测声源信号至上述检测装置;从上述检测装置接收对应上述检测声源信号的多个耳机输出信号;产生对应上述多个耳机输出信号的多个耳机测量信号;根据上述多个耳机测量信号和上述麦克风信息,取得一耳机信息;以及根据上述耳机信息,对上述电子装置的一耳机播放设定进行一安全设定。An embodiment of the present invention provides a method for setting earphone playback. The above-mentioned earphone playback setting method is applicable to an electronic device. The steps of the above-mentioned headphone playback setting method include: coupling the above-mentioned electronic device and a detection device; receiving an oscillating signal from the above-mentioned detection device; generating a microphone information according to the above-mentioned oscillating signal; transmitting a detection sound source signal to the above-mentioned detection device; The detection device receives a plurality of earphone output signals corresponding to the detected sound source signal; generates a plurality of earphone measurement signals corresponding to the plurality of earphone output signals; obtains an earphone information according to the plurality of earphone measurement signals and the microphone information; and According to the earphone information, a security setting is performed on an earphone playback setting of the electronic device.

根据本发明的一实施例提供了一种耳机播放设定方法。上述耳机播放设定适用于一检测装置。上述耳机播放设定的步骤包括:耦接上述检测装置和一电子装置;An embodiment of the present invention provides a method for setting earphone playback. The above earphone playback settings are suitable for a detection device. The above-mentioned steps of earphone playback setting include: coupling the above-mentioned detection device and an electronic device;

从上述电子装置接收一第一控制信号;产生一震荡信号;receiving a first control signal from the electronic device; generating an oscillating signal;

传送上述震荡信号至上述电子装置;从上述电子装置接收一第二控制信号;从上述电子装置接收对应不同音阶的一检测声源信号;以及产生多个耳机输出信号,其中上述多个耳机输出信号分别对应在不同音阶的上述检测声源信号,其中上述电子装置根据上述震荡信号和上述多个耳机输出信号产生一麦克风信息和一耳机信息,并根据上述耳机信息,对上述电子装置的一耳机播放设定进行一安全设定。Transmitting the oscillating signal to the electronic device; receiving a second control signal from the electronic device; receiving a detected sound source signal corresponding to a different scale from the electronic device; and generating a plurality of earphone output signals, wherein the plurality of earphone output signals Corresponding to the above-mentioned detected sound source signals in different scales, wherein the above-mentioned electronic device generates a microphone information and a headphone information according to the above-mentioned oscillating signal and the above-mentioned plurality of headphone output signals, and plays to a headphone of the above-mentioned electronic device according to the above-mentioned headphone information Set to perform a security setting.

关于本发明其他附加的特征与优点,本领域技术人员,在不脱离本发明的精神和范围内,当可根据本案实施方法中所公开的执行联系程序的用户装置、系统、以及方法,做些许的变动与润饰而得到。With regard to other additional features and advantages of the present invention, those skilled in the art, without departing from the spirit and scope of the present invention, can make some changes and modifications.

附图说明Description of drawings

图1是显示根据本发明的一实施例所述的电子装置100的方块图。FIG. 1 is a block diagram showing an electronic device 100 according to an embodiment of the invention.

图2是显示根据本发明的一实施例所述的检测装置200的方块图。FIG. 2 is a block diagram showing a detection device 200 according to an embodiment of the present invention.

图3是显示根据本发明的一实施例所述的耳机接头300的示意图。FIG. 3 is a schematic diagram showing an earphone connector 300 according to an embodiment of the invention.

图4A-4B是显示根据本发明的一实施例所述的控制信号S1产生的示意图。4A-4B are schematic diagrams showing generation of the control signal S1 according to an embodiment of the present invention.

图5是根据本发明一实施例所述的耳机播放设定方法的流程图500。FIG. 5 is a flow chart 500 of a method for setting earphone playback according to an embodiment of the present invention.

图6是根据本发明另一实施例所述的耳机播放设定方法的流程图600。Fig. 6 is a flow chart 600 of a method for setting up earphone playback according to another embodiment of the present invention.

附图标记说明:Explanation of reference signs:

100 电子装置;100 electronic devices;

110 第一连接接口;110 the first connection interface;

120 第二连接接口;120 second connection interface;

121 加法器;121 adder;

130 处理器;130 processors;

140 储存装置;140 storage device;

200 检测装置;200 detection device;

210 第三连接接口;210 a third connection interface;

220 第四连接接口;220 the fourth connection interface;

230 切换电路;230 switching circuit;

240 信号产生器;240 signal generator;

250 直流消除电路;250 DC elimination circuit;

260 分压电路;260 voltage divider circuit;

300 耳机接头;300 headphone connector;

500、600 流程图;500, 600 flow charts;

Data+、Data- 差分信号;Data+, Data- differential signal;

GND 接地信号;GND ground signal;

S1 控制信号;S1 control signal;

S2 震荡信号;S2 oscillating signal;

S3 检测声源信号;S3 detects the sound source signal;

S4 耳机输出信号。S4 Headphone output signal.

具体实施方式Detailed ways

本章节所叙述的是实施本发明的最佳方式,目的在于说明本发明的精神而非用以限定本发明的保护范围,本发明的保护范围当视所附的权利要求所界定者为准。The description in this chapter is the best way to implement the present invention. The purpose is to illustrate the spirit of the present invention rather than to limit the protection scope of the present invention. The protection scope of the present invention should be defined by the appended claims.

图1是显示根据本发明的一实施例所述的电子装置100的方块图。电子装置100可是一计算机主机、一笔记本电脑、一平板计算机、一移动装置等。如图1所示,电子装置100中包括了一第一连接接口110、一第二连接接口120、一处理器130以及一储存装置140。注意地是,在图1中的方块图,仅是为了方便说明本发明的实施例,但本发明并不以此为限。电子装置100亦可包括其他组件。FIG. 1 is a block diagram showing an electronic device 100 according to an embodiment of the invention. The electronic device 100 can be a host computer, a notebook computer, a tablet computer, a mobile device, and the like. As shown in FIG. 1 , the electronic device 100 includes a first connection interface 110 , a second connection interface 120 , a processor 130 and a storage device 140 . It should be noted that the block diagram in FIG. 1 is only for the convenience of illustrating the embodiment of the present invention, but the present invention is not limited thereto. The electronic device 100 may also include other components.

图2是显示根据本发明的一实施例所述的检测装置200的方块图。如图2所示,检测装置200中包括了一第三连接接口210、一第四连接接口220、一切换电路230、一信号产生器240、一直流消除电路250以及一分压电路260。注意地是,在图2中的方块图,仅是为了方便说明本发明的实施例,但本发明并不以此为限。检测装置200亦可包括其他组件。FIG. 2 is a block diagram showing a detection device 200 according to an embodiment of the present invention. As shown in FIG. 2 , the detection device 200 includes a third connection interface 210 , a fourth connection interface 220 , a switch circuit 230 , a signal generator 240 , a DC elimination circuit 250 and a voltage divider circuit 260 . It should be noted that the block diagram in FIG. 2 is only for the convenience of illustrating the embodiment of the present invention, but the present invention is not limited thereto. The detection device 200 may also include other components.

如图1所示,第一连接接口110耦接于处理器130。根据本发明的一实施例,当要检测电子装置100时,电子装置100的第一连接接口110可通过一耳机接头300耦接至检测装置200的第三连接接口210。根据本发明的一实施例,第一连接接口110对应耳机接头300的一母端,以及第三连接接口210对应耳机接头的一公端。图3是显示根据本发明的一实施例所述的耳机接头300的示意图。如图3所示,耳机接头300可是表示一具有4接脚(pin)的耳机接头,其4根接脚分别对应麦克风(MIC)、接地(GND)、右声道(RIGHT)以及左声道(LEFT)。根据本发明的一实施例,当电子装置100的第一连接接口110通过耳机接头300耦接至检测装置200的第三连接接口210时,处理器130会判定检测装置200是一具有麦克风的耳机装置,也就是说处理器130会将检测装置200视为具有麦克风的耳机装置。As shown in FIG. 1 , the first connection interface 110 is coupled to the processor 130 . According to an embodiment of the present invention, when the electronic device 100 is to be detected, the first connection interface 110 of the electronic device 100 may be coupled to the third connection interface 210 of the detection device 200 through an earphone connector 300 . According to an embodiment of the present invention, the first connection interface 110 corresponds to a female end of the earphone connector 300 , and the third connection interface 210 corresponds to a male end of the earphone connector. FIG. 3 is a schematic diagram showing an earphone connector 300 according to an embodiment of the invention. As shown in FIG. 3 , the headphone connector 300 may represent a headphone connector with 4 pins, and the 4 pins correspond to microphone (MIC), ground (GND), right channel (RIGHT) and left channel respectively. (LEFT). According to an embodiment of the present invention, when the first connection interface 110 of the electronic device 100 is coupled to the third connection interface 210 of the detection device 200 through the earphone connector 300, the processor 130 will determine that the detection device 200 is an earphone with a microphone device, that is to say, the processor 130 will regard the detection device 200 as an earphone device with a microphone.

如图1所示,第二连接接口120耦接于处理器130。根据本发明的一实施例,第二连接接口120和第四连接接口220是通用型的输入输出(General Purpose I/O,GPIO),例如:一通用串行总线(Universal Serial Bus,USB)界面。当要检测电子装置100时,第二连接接口120会耦接于第四连接接口220,以将处理器130所产生的控制信号S1通过第四连接接口220传送给检测装置200。图4A-4B是显示根据本发明的一实施例所述的控制信号S1产生的示意图。如图4A-4B所示,第二连接接口120还包含一加法器121,当处理器130传送的是差分信号(例如:Data+或Data-)时(如图4A的实线所示),差分信号经过加法器后会产生一高电位的控制信号;当处理器130传送的是接地信号GND时(如图4B的虚线所示),接地信号经过加法器后会产生一低电位的控制信号。当第四连接接口220接收到控制信号S1时,会将控制信号S1传送给切换电路230。切换电路230会根据控制信号S1来决定直流消除电路250是要耦接至第三连接接口210或信号产生器240。底下将有更详细的叙述。As shown in FIG. 1 , the second connection interface 120 is coupled to the processor 130 . According to an embodiment of the present invention, the second connection interface 120 and the fourth connection interface 220 are general-purpose input and output (General Purpose I/O, GPIO), for example: a Universal Serial Bus (Universal Serial Bus, USB) interface . When the electronic device 100 is to be tested, the second connection interface 120 is coupled to the fourth connection interface 220 to transmit the control signal S1 generated by the processor 130 to the detection device 200 through the fourth connection interface 220 . 4A-4B are schematic diagrams showing generation of the control signal S1 according to an embodiment of the present invention. As shown in FIGS. 4A-4B, the second connection interface 120 also includes an adder 121. When the processor 130 transmits a differential signal (for example: Data+ or Data-) (as shown by the solid line in FIG. 4A ), the differential After the signal passes through the adder, a high potential control signal will be generated; when the processor 130 transmits the ground signal GND (as shown by the dotted line in FIG. 4B ), the ground signal will generate a low potential control signal after passing through the adder. When the fourth connection interface 220 receives the control signal S1 , it will transmit the control signal S1 to the switching circuit 230 . The switch circuit 230 determines whether the DC cancellation circuit 250 is to be coupled to the third connection interface 210 or the signal generator 240 according to the control signal S1 . There will be a more detailed description below.

如图1所示,储存装置140耦接于处理器130。根据本发明的实施例,储存装置140可用以储存电子装置100的软件和固件程序代码、系统数据、用户数据等。储存装置140可是一挥发性内存(volatile memory)(例如:随机存取内存(Random Access Memory,RAM)),或一非挥发性内存(Non-volatile memory)(例如:闪存(flash memory)、只读存储器(ReadOnly Memory,ROM))、一硬盘或上述储存装置的组合。As shown in FIG. 1 , the storage device 140 is coupled to the processor 130 . According to an embodiment of the present invention, the storage device 140 may be used to store software and firmware program codes, system data, user data, etc. of the electronic device 100 . The storage device 140 can be a volatile memory (for example: random access memory (Random Access Memory, RAM)), or a non-volatile memory (Non-volatile memory) (for example: flash memory (flash memory), only read memory (ReadOnly Memory, ROM)), a hard disk, or a combination of the above storage devices.

如上所述,根据本发明的实施例,当要检测电子装置100时,电子装置100的第一连接接口110可通过一耳机接头300耦接至检测装置200的第三连接接口210,且电子装置100的第二连接接口120会耦接于检测装置200的第四连接接口220。接着,处理器130会启动一录音装置(或一录音模块,图未显示),并通过第二连接接口120传送控制信号给检测装置200。根据本发明的一实施例,录音装置耦接至处理器130,其可是一独立电路,或是整合于处理器130之中。录音装置会纪录一麦克风信号以及多个耳机测量信号。特别说明的是,录音装置所记录的麦克风信号以及多个耳机测量信号的电压值,可表示电子装置100实际量测到的麦克风信号和耳机信号的电压值。As mentioned above, according to the embodiment of the present invention, when the electronic device 100 is to be detected, the first connection interface 110 of the electronic device 100 can be coupled to the third connection interface 210 of the detection device 200 through an earphone connector 300, and the electronic device The second connection interface 120 of 100 is coupled to the fourth connection interface 220 of the detection device 200 . Next, the processor 130 activates a recording device (or a recording module, not shown in the figure), and transmits a control signal to the detection device 200 through the second connection interface 120 . According to an embodiment of the present invention, the recording device is coupled to the processor 130 , which may be an independent circuit or integrated in the processor 130 . The recording device records a microphone signal and a plurality of headphone measurement signals. In particular, the voltage values of the microphone signal and the earphone measurement signals recorded by the recording device may represent the voltage values of the microphone signal and the earphone signal actually measured by the electronic device 100 .

根据本发明的一实施例,处理器130会先通过第二连接接口120传送一高电位的控制信号S1(第一控制信号)至第四连接接口220。接着,第四连接接口220会将控制信号S1传送给切换电路230。当切换电路230接收到高电位的控制信号S1后,会将直流消除电路250耦接于信号产生器240。根据本发明的一实施例,信号产生器240可是一RC震荡器。信号产生器240可产生一震荡信号S2,并将震荡信号S2传送给直流消除电路250,以消除震荡信号S2的直流成分。接着,消除直流成分的震荡信号S2会传送给分压电路260进行分压的处理。分压处理后的震荡信号S2就会通过第三连接接口210传送给第一连接接口110。第一连接接口110将震荡信号S2传送给处理器130后,处理器130即可根据录音装置所记录的对应震荡信号S2的麦克风信号以及震荡信号S2,取得一麦克风信息(或麦克风路径信息)。举例来说,若震荡信号S2是一100mV的信号,录音装置所记录的麦克风信号是一200mV的信号,处理器130即可根据震荡信号S2和麦克风信号求得麦克风的增益为2(即麦克风信息)。处理器130取得麦克风信息后,会将麦克风信息储存于储存装置140中。According to an embodiment of the present invention, the processor 130 first transmits a high potential control signal S1 (first control signal) to the fourth connection interface 220 through the second connection interface 120 . Next, the fourth connection interface 220 transmits the control signal S1 to the switching circuit 230 . When the switching circuit 230 receives the high potential control signal S1 , it couples the DC canceling circuit 250 to the signal generator 240 . According to an embodiment of the present invention, the signal generator 240 may be an RC oscillator. The signal generator 240 can generate an oscillating signal S2, and transmit the oscillating signal S2 to the DC elimination circuit 250, so as to eliminate the DC component of the oscillating signal S2. Next, the oscillating signal S2 with the DC component eliminated is sent to the voltage divider circuit 260 for voltage divider processing. The oscillating signal S2 after voltage division is transmitted to the first connection interface 110 through the third connection interface 210 . After the first connection interface 110 transmits the oscillating signal S2 to the processor 130, the processor 130 can obtain microphone information (or microphone path information) according to the microphone signal corresponding to the oscillating signal S2 and the oscillating signal S2 recorded by the recording device. For example, if the oscillating signal S2 is a signal of 100mV, and the microphone signal recorded by the recording device is a signal of 200mV, the processor 130 can calculate the gain of the microphone as 2 according to the oscillating signal S2 and the microphone signal (that is, the microphone information ). After the processor 130 obtains the microphone information, it stores the microphone information in the storage device 140 .

根据本发明的一实施例,当取得麦克风信息后,处理器130会启动一播放装置开始播放一检测声源信号S3(例如:-10dB的粉红噪音(pink noise)),且再通过第二连接接口120传送一低电位的控制信号S1(第二控制信号)至第四连接接口220。接着,第四连接接口220会将控制信号S1传送给切换电路230。当切换电路230接收到低电位的控制信号S1后,会将直流消除电路250耦接于第三连接接口210。第三连接接口210就会接收到来自播放装置所产生的在不同音阶(即不同声音大小)的检测声源信号S3。第三连接接口210会将所接收的检测声源信号S3,传送给直流消除电路250,以消除检测声源信号S3的直流成分。接着,消除直流成分的检测声源信号S3会传送给分压电路260进行分压的处理,以产生(多个)耳机输出信号S4。注意的是,此时耳机输出信号S4的电压值仍是未知,也就是说的后所求得的耳机信息即可视为耳机输出信号S4的电压值。根据本发明的一实施例,每一耳机输出信号S4会对应在不同音阶的检测声源信号S3。耳机输出信号S4会通过第三连接接口210传送给第一连接接口110。According to an embodiment of the present invention, after obtaining the microphone information, the processor 130 will start a playback device to start playing a detected sound source signal S3 (for example: -10dB pink noise (pink noise)), and then through the second connection The interface 120 transmits a low-level control signal S1 (second control signal) to the fourth connection interface 220 . Next, the fourth connection interface 220 transmits the control signal S1 to the switching circuit 230 . When the switching circuit 230 receives the low potential control signal S1 , it will couple the DC canceling circuit 250 to the third connection interface 210 . The third connection interface 210 will receive the detected sound source signals S3 in different scales (ie different sound levels) generated by the playback device. The third connection interface 210 transmits the received detection sound source signal S3 to the DC elimination circuit 250 to eliminate the DC component of the detection sound source signal S3. Next, the detected sound source signal S3 with the DC component eliminated is sent to the voltage divider circuit 260 for voltage divider processing, so as to generate (multiple) headphone output signals S4. It should be noted that the voltage value of the headphone output signal S4 is still unknown at this time, that is to say, the obtained headphone information can be regarded as the voltage value of the headphone output signal S4. According to an embodiment of the present invention, each headphone output signal S4 corresponds to a detected sound source signal S3 in a different musical scale. The headphone output signal S4 is transmitted to the first connection interface 110 through the third connection interface 210 .

第一连接接口110将多个耳机输出信号S4传送给处理器130后,处理器130即可根据录音装置所记录的对应多个耳机输出信号S4的多个耳机测量信号以及麦克风信息,取得一耳机信息(或耳机路径信息)。根据本发明的一实施例,录音装置所记录的每一多个耳机测量信号会对应不同耳机输出信号S4,也就是说每一多个耳机测量信号亦对应在不同音阶的检测声源信号S3。举例来说,若录音装置所记录对应在不同音阶的检测声源信号S3的耳机测量信号分别为,在L0音阶时,耳机测量信号的电压值是600mV;在L1音阶时,耳机测量信号的电压值是300mV;在L2音阶时,耳机测量信号的电压值是100mV;在L3音阶时,耳机测量信号的电压值是50mV,且根据麦克风信息得知麦克风的增益为2,处理器130即可根据录音装置所记录的多个耳机测量信号以及麦克风信息,推得对应不同音阶的耳机输出信号S4的未知电压值(即耳机信息)分别为,在L0音阶时,电压值是300mV;在L1音阶时,电压值是150mV;在L2音阶时,电压值是50mV;在L3音阶时,电压值是25mV。After the first connection interface 110 transmits the plurality of earphone output signals S4 to the processor 130, the processor 130 can obtain an earphone according to the plurality of earphone measurement signals and microphone information corresponding to the plurality of earphone output signals S4 recorded by the recording device. information (or headphone path information). According to an embodiment of the present invention, each plurality of headphone measurement signals recorded by the recording device corresponds to a different headphone output signal S4, that is, each plurality of headphone measurement signals also corresponds to detected sound source signals S3 in different scales. For example, if the recording device records the earphone measurement signals corresponding to the detected sound source signal S3 in different scales, the voltage value of the earphone measurement signal is 600mV at the L0 scale; The value is 300mV; at the L2 scale, the voltage value of the earphone measurement signal is 100mV; at the L3 scale, the voltage value of the earphone measurement signal is 50mV, and the gain of the microphone is 2 according to the microphone information, the processor 130 can then A plurality of earphone measurement signals and microphone information recorded by the recording device, and the unknown voltage values (that is, earphone information) of the earphone output signal S4 corresponding to different musical scales are deduced to be respectively, when the L0 scale is used, the voltage value is 300mV; , the voltage value is 150mV; in the L2 scale, the voltage value is 50mV; in the L3 scale, the voltage value is 25mV.

根据本发明的一实施例,当取得耳机信息后,处理器130即可根据耳机信息对电子装置的耳机播放设定进行一安全设定。举例来说,若耳机信息是对应不同音阶的耳机输出信号S4的电压值分别为,在L0音阶时,电压值是300mV;在L1音阶时,电压值是150mV;在L2音阶时,电压值是50mV;在L3音阶时,电压值是25mV,由于安全电压是150mV,因此,处理器130会限制只能使用对应的电压值小于150mV的音阶(即L1~L3音阶)。此外,电子装置100的耳机播放设定经过安全设定之后,不管使用任何型号耳机,都可适用于此安全设定。也就是说,电子装置100的耳机播放设定经过安全设定之后,每次在电子装置100使用耳机收听声源信号时,就不需要再和检测装置200相接重新进行电子装置100的耳机播放设定的安全设定。According to an embodiment of the present invention, after obtaining the earphone information, the processor 130 can perform a security setting on the earphone playback setting of the electronic device according to the earphone information. For example, if the headphone information is the voltage value of the headphone output signal S4 corresponding to different scales, the voltage value is 300mV at the L0 scale; the voltage value is 150mV at the L1 scale; and the voltage value at the L2 scale is 50mV; in the L3 scale, the voltage value is 25mV, because the safe voltage is 150mV, therefore, the processor 130 will restrict the use of only scales with corresponding voltage values less than 150mV (ie L1-L3 scales). In addition, after the earphone playback setting of the electronic device 100 has undergone the security setting, no matter what type of earphone is used, the security setting is applicable. That is to say, after the earphone playback setting of the electronic device 100 has been set safely, each time the electronic device 100 uses the earphone to listen to the sound source signal, it does not need to be connected with the detection device 200 to perform the earphone playback of the electronic device 100 again. Set security settings.

图5是根据本发明一实施例所述的耳机播放设定方法的流程图500。此耳机播放设定方法适用于电子装置100。如图5所示,在步骤S510,耦接电子装置100和检测装置200。在步骤S520,从检测装置200接收一震荡信号。在步骤S530,通过电子装置100根据震荡信号产生一麦克风信息。在步骤S540,从电子装置100传送一检测声源信号至检测装置200。在步骤S550,从检测装置200接收对应上述检测声源信号的多个耳机输出信号。在步骤S560,通过电子装置100产生对应上述多个耳机输出信号的多个耳机测量信号。在步骤S570,通过电子装置100根据多个耳机测量信号和麦克风信息,取得一耳机信息。在步骤S580,根据上述耳机信息,对电子装置100的一耳机播放设定进行一安全设定。FIG. 5 is a flow chart 500 of a method for setting earphone playback according to an embodiment of the present invention. This headphone playback setting method is suitable for the electronic device 100 . As shown in FIG. 5 , in step S510 , the electronic device 100 and the detection device 200 are coupled. In step S520 , an oscillating signal is received from the detection device 200 . In step S530, the electronic device 100 generates microphone information according to the oscillating signal. In step S540 , a detection sound source signal is transmitted from the electronic device 100 to the detection device 200 . In step S550, a plurality of headphone output signals corresponding to the detected sound source signals are received from the detection device 200 . In step S560, the electronic device 100 generates a plurality of earphone measurement signals corresponding to the aforementioned plurality of earphone output signals. In step S570, the electronic device 100 acquires headphone information according to a plurality of headphone measurement signals and microphone information. In step S580, a security setting is performed on an earphone playback setting of the electronic device 100 according to the earphone information.

根据本发明一实施例,步骤S530还包括,纪录对应上述震荡信号的一麦克风信号,并根据震荡信号以及麦克风信号,取得麦克风信息。According to an embodiment of the present invention, step S530 further includes recording a microphone signal corresponding to the oscillating signal, and obtaining microphone information according to the oscillating signal and the microphone signal.

根据本发明一实施例,步骤S540还包括,产生在不同音阶的检测声源信号;以及传送在不同音阶的检测声源信号至检测装置200。根据本发明一实施例,流程图500中所述的多个耳机输出信号分别对应在不同音阶的检测声源信号,且多个耳机测量信号分别对应在不同音阶的耳机输出信号。According to an embodiment of the present invention, step S540 further includes generating detected sound source signals at different musical scales; and transmitting the detected sound source signals at different musical scales to the detection device 200 . According to an embodiment of the present invention, the plurality of earphone output signals described in the flowchart 500 respectively correspond to detected sound source signals in different musical scales, and the plurality of earphone measurement signals respectively correspond to earphone output signals in different musical scales.

图6是根据本发明一实施例所述的耳机播放设定方法的流程图600。此耳机播放设定方法适用于检测装置100。如图6所示,在步骤S610,耦接检测装置200和一电子装置100。在步骤S620,从电子装置100接收一第一控制信号(例如:一高电位的控制信号)。在步骤S630,通过检测装置200产生一震荡信号。在步骤S640,传送震荡信号至电子装置100。在步骤S650,从电子装置100接收一第二控制信号(例如:一低电位的控制信号)。在步骤S660,从电子装置100接收对应不同音阶的一检测声源信号。在步骤S670,通过检测装置200产生多个耳机输出信号,其中多个耳机输出信号分别对应在不同音阶的检测声源信号。在步骤S680,通过检测装置200传送多个耳机输出信号至电子装置100。在此实施例中,电子装置100可根据震荡信号和多个耳机输出信号产生一麦克风信息和一耳机信息,并根据耳机信息,对电子装置100的一耳机播放设定进行一安全设定。FIG. 6 is a flow chart 600 of a method for setting earphone playback according to an embodiment of the present invention. This headphone playback setting method is applicable to the detection device 100 . As shown in FIG. 6 , in step S610 , the detection device 200 is coupled to an electronic device 100 . In step S620, a first control signal (for example, a high potential control signal) is received from the electronic device 100 . In step S630 , an oscillating signal is generated by the detection device 200 . In step S640 , transmit the oscillating signal to the electronic device 100 . In step S650, a second control signal (for example, a low level control signal) is received from the electronic device 100 . In step S660, a detected sound source signal corresponding to different musical scales is received from the electronic device 100 . In step S670, a plurality of earphone output signals are generated by the detection device 200, wherein the plurality of earphone output signals respectively correspond to detected sound source signals in different musical scales. In step S680 , the detection device 200 transmits a plurality of headphone output signals to the electronic device 100 . In this embodiment, the electronic device 100 can generate a microphone information and a headphone information according to the oscillating signal and a plurality of headphone output signals, and perform a security setting on a headphone playback setting of the electronic device 100 according to the headphone information.

根据本发明一实施例,流程图600还包括以下步骤,消除震荡信号和检测声源信号的直流成分;以及对消除直流成分的震荡信号和检测声源信号进行分压的处理。According to an embodiment of the present invention, the flowchart 600 further includes the steps of eliminating the DC component of the oscillating signal and detecting the sound source signal; and performing voltage division processing on the oscillating signal with the DC component removed and the detecting sound source signal.

根据本发明的实施例所提出的耳机播放设定方法,将可使得使用者可在一安全的电压值范围的音阶,来调整自己想要的音量。According to the earphone playback setting method proposed by the embodiment of the present invention, the user can adjust the desired volume within a safe voltage range.

本发明的说明书所公开的方法和算法的步骤,可直接通过执行一处理器直接应用在硬件以及软件模块或两者的结合上。一软件模块(包括执行指令和相关数据)和其它数据可储存在数据内存中,像是随机存取内存(RAM)、闪存(flash memory)、只读存储器(ROM)、可抹除可规化只读存储器(EPROM)、电子可抹除可规划只读存储器(EEPROM)、缓存器、硬盘、便携式应碟、光盘只读存储器(CD-ROM)、DVD或在此领域习的技术中任何其它计算机可读取的储存媒体格式。一储存媒体可耦接至一机器装置,举例来说,像是计算机/处理器(为了对其进行说明方便,在本说明书以处理器来表示),上述处理器可通过来读取信息(像是程序代码),以及写入信息至储存媒体。一储存媒体可整合一处理器。一特殊应用集成电路(ASIC)包括处理器和储存媒体。一用户设备则包括一特殊应用集成电路。换句话说,处理器和储存媒体以不直接连接用户设备的方式,包含于用户设备中。此外,在一些实施例中,任何适合计算机程序的产品包括可读取的储存媒体,其中可读取的储存媒体包括和一或多个所公开实施例相关的程序代码。在一些实施例中,计算机程序的产品可包括封装材料。The steps of the methods and algorithms disclosed in the description of the present invention can be directly applied to hardware and software modules or a combination of both by executing a processor. A software module (including execution instructions and associated data) and other data can be stored in data memory, such as random access memory (RAM), flash memory (flash memory), read-only memory (ROM), erasable programmable Read-Only Memory (EPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), cache memory, hard disk, portable application, compact disk read-only memory (CD-ROM), DVD, or any other Computer-readable storage medium format. A storage medium may be coupled to a machine device, for example, such as a computer/processor (for the convenience of description, it is represented by a processor in this specification), and the above-mentioned processor can read information through (such as is the program code), and write information to the storage medium. A storage medium can integrate a processor. An application specific integrated circuit (ASIC) includes a processor and storage media. A user equipment includes an ASIC. In other words, the processor and the storage medium are included in the user equipment without being directly connected to the user equipment. Furthermore, in some embodiments, any suitable computer program product comprises a readable storage medium including program code associated with one or more disclosed embodiments. In some embodiments, a computer program product may include packaging materials.

本说明书中所提到的「一实施例」或「实施例」,表示与实施例有关的所述特定的特征、结构、或特性是包含根据本发明的至少一实施例中,但并不表示它们存在于每一个实施例中。因此,在本说明书中不同地方出现的「在一实施例中」或「在实施例中」词组并不必然表示本发明的相同实施例。"An embodiment" or "embodiment" mentioned in this specification means that the specific features, structures, or characteristics related to the embodiment are included in at least one embodiment of the present invention, but it does not mean that They are present in every embodiment. Therefore, appearances of the phrases "in one embodiment" or "in an embodiment" in different places in this specification do not necessarily refer to the same embodiment of the present invention.

以上段落使用多种层面描述。显然的,本文的启示可以多种方式实现,而在范例中公开的任何特定架构或功能仅为一代表性的状况。根据本文的教示,任何本领域技术人员应理解在本文公开的各层面可独立实作或两种以上的层面可以合并实作。The above paragraphs use various levels of description. Obviously, the teachings herein can be implemented in many ways, and any specific architecture or functionality disclosed in the examples is only a representative situation. Based on the teachings herein, anyone skilled in the art should understand that each aspect disclosed herein can be implemented independently or two or more aspects can be implemented in combination.

虽然本发明已以较佳实施例公开如上,然其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神和范围内,当可作些许的变动与润饰,因此本发明的保护范围当视所附的权利要求所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall prevail as defined by the appended claims.

Claims (17)

1.一种电子装置,其特征在于,包括:1. An electronic device, characterized in that, comprising: 一第一连接接口,通过一耳机接头耦接至一检测装置的一第三连接接口,以从上述检测装置接收一震荡信号和对应一检测声源信号的多个耳机输出信号,以及传送对应不同音阶的上述检测声源信号至上述检测装置;A first connection interface is coupled to a third connection interface of a detection device through a headphone connector, so as to receive an oscillation signal and a plurality of headphone output signals corresponding to a detection sound source signal from the detection device, and transmit corresponding different The above-mentioned detected sound source signal of the scale is sent to the above-mentioned detection device; 一第二连接接口,耦接至上述检测装置的一第四连接接口,以传送一控制信号至上述检测装置;A second connection interface, coupled to a fourth connection interface of the detection device, to transmit a control signal to the detection device; 一处理器,耦接至上述第一连接接口和上述第二连接接口,并根据上述震荡信号以及一麦克风信号,取得一麦克风信息,以及根据多个耳机测量信号和上述麦克风信息,取得一耳机信息,以及根据上述耳机信息进行一安全设定,以限制只能使用对应的电压值小于一安全电压的音阶,其中上述多个耳机测量信号分别对应上述多个耳机输出信号,以及上述麦克风信息是上述震荡信号和上述麦克风信号间的一增益且上述耳机信息是一电压值;以及A processor, coupled to the above-mentioned first connection interface and the above-mentioned second connection interface, and obtain a microphone information according to the above-mentioned oscillation signal and a microphone signal, and obtain a headphone information according to a plurality of headphone measurement signals and the above-mentioned microphone information , and perform a security setting according to the earphone information to restrict the use of scales whose corresponding voltage values are less than a safe voltage, wherein the plurality of earphone measurement signals respectively correspond to the plurality of earphone output signals, and the microphone information is the aforementioned a gain between the oscillating signal and the microphone signal and the earphone information is a voltage value; and 一储存装置,耦接至上述处理器,且储存上述麦克风信息和上述耳机信息。A storage device is coupled to the processor and stores the microphone information and the earphone information. 2.如权利要求1所述的电子装置,其中上述第一连接接口对应上述耳机接头的一母端,以及上述第三连接接口对应上述耳机接头的一公端。2. The electronic device as claimed in claim 1, wherein the first connection interface corresponds to a female end of the earphone connector, and the third connection interface corresponds to a male end of the earphone connector. 3.如权利要求1所述的电子装置,其中上述第二连接接口和上述第四连接接口是通用型的输入输出。3. The electronic device as claimed in claim 1, wherein the second connection interface and the fourth connection interface are general-purpose input and output. 4.如权利要求1所述的电子装置,还包括:4. The electronic device of claim 1, further comprising: 一录音装置,耦接至上述处理器,纪录对应上述震荡信号的一麦克风信号,以及上述多个耳机测量信号。A recording device, coupled to the processor, records a microphone signal corresponding to the oscillating signal, and the plurality of earphone measurement signals. 5.如权利要求4所述的电子装置,还包括:5. The electronic device of claim 4, further comprising: 一播放装置,耦接上述处理器,以及产生在不同音阶的上述检测声源信号,其中上述多个耳机输出信号分别对应在不同音阶的上述检测声源信号。A playback device, coupled to the processor, and generates the detected sound source signals at different scales, wherein the plurality of headphone output signals respectively correspond to the detected sound source signals at different scales. 6.如权利要求1所述的电子装置,其中上述处理器根据上述麦克风信息以及对应在不同音阶的上述多个耳机测量信号,产生上述耳机信息。6. The electronic device as claimed in claim 1, wherein the processor generates the earphone information according to the microphone information and the plurality of earphone measurement signals corresponding to different musical scales. 7.一种检测装置,其特征在于,包括:7. A detection device, characterized in that, comprising: 一第三连接接口,通过一耳机接头耦接至一电子装置的一第一连接接口,以传送一震荡信号和对应一检测声源信号的多个耳机输出信号至上述电子装置,以及接收来自上述电子装置的对应不同音阶的上述检测声源信号;A third connection interface, coupled to a first connection interface of an electronic device through an earphone connector, to transmit an oscillating signal and a plurality of earphone output signals corresponding to a detected sound source signal to the above-mentioned electronic device, and receive signals from the above-mentioned The above-mentioned detected sound source signals corresponding to different musical scales of the electronic device; 一信号产生器,产生上述震荡信号;A signal generator, which generates the above-mentioned oscillating signal; 一第四连接接口,耦接至上述电子装置的一第二连接接口,以接收来自上述电子装置的一控制信号;以及A fourth connection interface, coupled to a second connection interface of the above-mentioned electronic device, to receive a control signal from the above-mentioned electronic device; and 一切换电路,耦接至上述第四连接接口,且根据上述控制信号,耦接至上述信号产生器或上述第三连接接口;A switching circuit, coupled to the fourth connection interface, and coupled to the signal generator or the third connection interface according to the control signal; 其中上述电子装置根据上述震荡信号以及一麦克风信号产生一麦克风信息,以及根据多个耳机测量信号和上述麦克风信息产生一耳机信息,并根据上述耳机信息,对上述电子装置的一耳机播放设定进行一安全设定,以限制只能使用对应的电压值小于一安全电压的音阶,其中上述多个耳机测量信号分别对应上述多个耳机输出信号,以及上述麦克风信息是上述震荡信号和上述麦克风信号间的一增益且上述耳机信息是一电压值。Wherein the above-mentioned electronic device generates a microphone information according to the above-mentioned oscillating signal and a microphone signal, and generates a headphone information according to a plurality of headphone measurement signals and the above-mentioned microphone information, and performs a headphone playback setting of the above-mentioned electronic device according to the above-mentioned headphone information. A security setting to restrict the use of scales whose corresponding voltage values are less than a safe voltage, wherein the plurality of earphone measurement signals respectively correspond to the plurality of earphone output signals, and the microphone information is the difference between the oscillation signal and the microphone signal A gain of and the above headphone information is a voltage value. 8.如权利要求7所述的检测装置,还包括:8. The detection device of claim 7, further comprising: 一直流消除电路,耦接至上述切换电路,以消除上述震荡信号和上述检测声源信号的直流成分;以及a DC elimination circuit, coupled to the switching circuit, to eliminate the DC components of the oscillation signal and the detected sound source signal; and 一分压电路,耦接至上述直流消除电路,以对消除直流成分的上述震荡信号和上述检测声源信号进行分压的处理。A voltage divider circuit, coupled to the above-mentioned DC elimination circuit, is used to divide the voltage of the above-mentioned oscillating signal and the above-mentioned detected sound source signal from which the DC component is eliminated. 9.如权利要求7所述的检测装置,其中上述多个耳机输出信号分别对应在不同音阶的上述检测声源信号。9. The detection device according to claim 7, wherein the plurality of headphone output signals respectively correspond to the detected sound source signals in different musical scales. 10.一种耳机播放设定方法,适用于一电子装置,其特征在于,包括:10. A headphone playback setting method, suitable for an electronic device, characterized in that it comprises: 耦接上述电子装置和一检测装置;coupling the electronic device and a detection device; 从上述检测装置接收一震荡信号;receiving an oscillating signal from the detection device; 根据上述震荡信号以及一麦克风信号产生一麦克风信息;generating microphone information according to the oscillating signal and a microphone signal; 传送对应不同音阶的一检测声源信号至上述检测装置;transmitting a detection sound source signal corresponding to different musical scales to the detection device; 从上述检测装置接收对应上述检测声源信号的多个耳机输出信号;receiving a plurality of earphone output signals corresponding to the detected sound source signal from the detection device; 产生对应上述多个耳机输出信号的多个耳机测量信号;generating a plurality of earphone measurement signals corresponding to the plurality of earphone output signals; 根据上述多个耳机测量信号和上述麦克风信息,取得一耳机信息;以及Obtaining earphone information according to the plurality of earphone measurement signals and the microphone information; and 根据上述耳机信息,对上述电子装置的一耳机播放设定进行一安全设定,以限制只能使用对应的电压值小于一安全电压的音阶;According to the earphone information, a safety setting is performed on an earphone playback setting of the electronic device, so as to restrict the use of scales whose corresponding voltage values are less than a safe voltage; 其中上述麦克风信息是上述震荡信号和上述麦克风信号间的一增益且上述耳机信息是一电压值。The microphone information is a gain between the oscillating signal and the microphone signal, and the earphone information is a voltage value. 11.如权利要求10所述的耳机播放设定方法,还包括:11. The earphone playback setting method according to claim 10, further comprising: 通过一耳机接头耦接上述电子装置的一第一连接接口以及上述检测装置的一第三连接接口,A first connection interface of the electronic device and a third connection interface of the detection device are coupled through an earphone connector, 其中上述第一连接接口对应上述耳机接头的一母端,以及上述第三连接接口对应上述耳机接头的一公端。Wherein the first connection interface corresponds to a female end of the earphone connector, and the third connection interface corresponds to a male end of the earphone connector. 12.如权利要求10所述的耳机播放设定方法,还包括:12. The earphone playback setting method according to claim 10, further comprising: 耦接上述电子装置的一第二连接接口以及上述检测装置的一第四连接接口;以及coupled to a second connection interface of the electronic device and a fourth connection interface of the detection device; and 通过上述第二连接接口传送一控制信号给上述第四连接接口,以控制上述检测装置的一开关电路,transmitting a control signal to the fourth connection interface through the second connection interface to control a switch circuit of the detection device, 其中上述第二连接接口和上述第四连接接口是通用型的输入输出。Wherein the above-mentioned second connection interface and the above-mentioned fourth connection interface are general-purpose input and output. 13.如权利要求10所述的耳机播放设定方法,还包括:13. The earphone playback setting method according to claim 10, further comprising: 纪录对应上述震荡信号的上述麦克风信号,以及上述多个耳机测量信号。Recording the above-mentioned microphone signal corresponding to the above-mentioned oscillating signal, and the above-mentioned multiple earphone measurement signals. 14.如权利要求10所述的耳机播放设定方法,还包括:14. The earphone playback setting method according to claim 10, further comprising: 产生在不同音阶的上述检测声源信号;以及generating the above detected sound source signals at different musical scales; and 传送在不同音阶的上述检测声源信号至上述检测装置,transmitting the above-mentioned detection sound source signals in different scales to the above-mentioned detection device, 其中上述多个耳机输出信号分别对应在不同音阶的上述检测声源信号。Wherein the plurality of earphone output signals respectively correspond to the detected sound source signals in different musical scales. 15.如权利要求14所述的耳机播放设定方法,还包括:15. The earphone playback setting method according to claim 14, further comprising: 根据上述麦克风信息以及对应在不同音阶的上述检测声源信号的上述多个耳机测量信号,产生上述耳机信息。The earphone information is generated according to the microphone information and the plurality of earphone measurement signals corresponding to the detected sound source signals in different musical scales. 16.一种耳机播放设定方法,适用于一检测装置,其特征在于,包括:16. A method for setting earphone playback, suitable for a detection device, characterized in that it comprises: 耦接上述检测装置和一电子装置;coupling the detection device and an electronic device; 从上述电子装置接收一第一控制信号;receiving a first control signal from the electronic device; 产生一震荡信号;generate an oscillating signal; 传送上述震荡信号至上述电子装置;transmitting the oscillating signal to the electronic device; 从上述电子装置接收一第二控制信号;receiving a second control signal from the electronic device; 从上述电子装置接收对应不同音阶的一检测声源信号;以及receiving a detected sound source signal corresponding to different musical scales from the electronic device; and 产生多个耳机输出信号,其中上述多个耳机输出信号分别对应在不同音阶的上述检测声源信号,generating a plurality of earphone output signals, wherein the plurality of earphone output signals respectively correspond to the above-mentioned detected sound source signals in different scales, 其中上述电子装置根据上述震荡信号以及一麦克风信号产生一麦克风信息,以及根据多个耳机测量信号和上述麦克风信息产生一耳机信息,并根据上述耳机信息,对上述电子装置的一耳机播放设定进行一安全设定,以限制只能使用对应的电压值小于一安全电压的音阶,其中上述多个耳机测量信号分别对应上述多个耳机输出信号,以及上述麦克风信息是上述震荡信号和上述麦克风信号间的一增益且上述耳机信息是一电压值。Wherein the above-mentioned electronic device generates a microphone information according to the above-mentioned oscillating signal and a microphone signal, and generates a headphone information according to a plurality of headphone measurement signals and the above-mentioned microphone information, and performs a headphone playback setting of the above-mentioned electronic device according to the above-mentioned headphone information. A security setting to restrict the use of scales whose corresponding voltage values are less than a safe voltage, wherein the plurality of earphone measurement signals correspond to the plurality of earphone output signals respectively, and the microphone information is the difference between the oscillation signal and the microphone signal A gain of and the above headphone information is a voltage value. 17.如权利要求16所述的耳机播放设定方法,还包括:17. The earphone playback setting method according to claim 16, further comprising: 消除上述震荡信号和上述检测声源信号的直流成分;以及eliminating the DC component of the above-mentioned oscillating signal and the above-mentioned detected sound source signal; and 对消除直流成分的上述震荡信号和上述检测声源信号进行分压的处理。Perform voltage division processing on the oscillation signal and the detected sound source signal from which the direct current component has been eliminated.
CN201610210147.2A 2016-04-06 2016-04-06 Electronic device, detection device and earphone play setting method Active CN107277656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610210147.2A CN107277656B (en) 2016-04-06 2016-04-06 Electronic device, detection device and earphone play setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610210147.2A CN107277656B (en) 2016-04-06 2016-04-06 Electronic device, detection device and earphone play setting method

Publications (2)

Publication Number Publication Date
CN107277656A CN107277656A (en) 2017-10-20
CN107277656B true CN107277656B (en) 2019-11-05

Family

ID=60052182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610210147.2A Active CN107277656B (en) 2016-04-06 2016-04-06 Electronic device, detection device and earphone play setting method

Country Status (1)

Country Link
CN (1) CN107277656B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401517B (en) 2017-12-08 2022-01-11 北京小米移动软件有限公司 Buffer status report transmission and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227759A (en) * 2007-01-15 2008-07-23 上海杰得微电子有限公司 Earphone device with automatic volume control function
US8379884B2 (en) * 2008-01-17 2013-02-19 Funai Electric Co., Ltd. Sound signal transmitter-receiver
TW201325262A (en) * 2011-12-05 2013-06-16 Inventec Corp Audio testing system and audio testing method for under-testing device
TWI420919B (en) * 2009-12-22 2013-12-21 Hon Hai Prec Ind Co Ltd Volume adjusting system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9138178B2 (en) * 2010-08-05 2015-09-22 Ace Communications Limited Method and system for self-managed sound enhancement
US9124970B2 (en) * 2013-07-22 2015-09-01 Qualcomm Incorporated System and method for using a headset jack to control electronic device functions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227759A (en) * 2007-01-15 2008-07-23 上海杰得微电子有限公司 Earphone device with automatic volume control function
US8379884B2 (en) * 2008-01-17 2013-02-19 Funai Electric Co., Ltd. Sound signal transmitter-receiver
TWI420919B (en) * 2009-12-22 2013-12-21 Hon Hai Prec Ind Co Ltd Volume adjusting system
TW201325262A (en) * 2011-12-05 2013-06-16 Inventec Corp Audio testing system and audio testing method for under-testing device

Also Published As

Publication number Publication date
CN107277656A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
EP2849451A1 (en) A/V receiving apparatus and method for delaying output of audio signal and A/V signal processing system
CN103730122B (en) Voice conversion device and method for converting user voice
US20070098187A1 (en) Method and apparatus for reproducing music file
JP6244758B2 (en) Portable terminal device and detection program
CN103874001B (en) The method of the output translator of hearing instrument and identification hearing instrument
EP3002606A1 (en) Apparatus, system and method for space status detection based on acoustic signal
CN107277656B (en) Electronic device, detection device and earphone play setting method
TWI540908B (en) Multimedia output device and audio output method thereof
CN102905213A (en) Audio signal processing device and audio signal processing method
WO2019240258A1 (en) Electronic device, control method, and program
US20200145756A1 (en) Headset
TWI582686B (en) Electronic device, detection device and method for setting output of headset
TWI582687B (en) Electronic device and method for dynamically adjusting output of headset
CN113613157B (en) Earphone and wearing state detection method and device thereof and storage medium
CN108777745A (en) A kind of volume adjusting method and device
US11721346B2 (en) Authentication device
CN107566935A (en) Electronic device and method for dynamically adjusting earphone play setting
CN106878865A (en) Control method and control device of electroacoustic element
CN106407157A (en) Universal serial bus audio frequency locking device and method
US20250039621A1 (en) Semiconductor Device And Electronic Apparatus
CN105243762A (en) Electronic sensor doorbell having anti-theft function and control method thereof
CN106851807B (en) Electronic equipment, and method and device for adjusting signal intensity
CN114205739B (en) Wireless positioning method, wireless positioning device and computer readable storage medium
KR102362363B1 (en) Soundwave volume adjusting method and apparatus
CN113808603B (en) Audio tampering detection method, device, server and 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