CN102938255B - Electronic device and method for adjusting a control mode according to the control function of the headset - Google Patents

Electronic device and method for adjusting a control mode according to the control function of the headset Download PDF

Info

Publication number
CN102938255B
CN102938255B CN 201110234146 CN201110234146A CN102938255B CN 102938255 B CN102938255 B CN 102938255B CN 201110234146 CN201110234146 CN 201110234146 CN 201110234146 A CN201110234146 A CN 201110234146A CN 102938255 B CN102938255 B CN 102938255B
Authority
CN
Grant status
Grant
Patent type
Application number
CN 201110234146
Other languages
Chinese (zh)
Other versions
CN102938255A (en )
Inventor
庄宗仁
翁世芳
王文武
罗文东
刘彬
Original Assignee
富泰华工业(深圳)有限公司
鸿海精密工业股份有限公司
Filing date
Publication date
Grant date

Links

Abstract

一种接有耳机的电子设备。 An access electronic equipment headphones. 耳机包括存储有其功能参数信息的第一存储单元。 Earphone comprises a first storage unit which stores a function of the parameter information. 电子设备包括连接端口、识别模块、控制模块、多个功能单元及存储有功能参数信息表的第二存储单元。 The electronic device comprises a connection port, an identification module, controls the second memory cell block, a plurality of functional units and memory functional parameter information table. 功能参数信息表记录了功能参数信息与多个可控功能的对应关系。 Function parameter information table records the correspondence relationship between the plurality of functional parameter information of controllable functions. 该多个可控功能包括电子设备或其他电子设备所具有的可被用户经由耳机的输入单元进行控制的功能。 The plurality of controllable functions include functions of an electronic device or other electronic device can be controlled with a user via the input unit of the headset. 识别模块读取第一存储单元中存储的功能参数信息,并根据功能参数信息表确定耳机的控制功能。 A first identification module reading function storage unit parameter information, and determines the control function parameters based on the headphone information table. 控制模块启动电子设备对应的功能,并根据耳机传输的操作信号控制已被启动的功能。 The control module activates the function corresponding to the electronic device, and an operation signal for controlling the transmission of the headphone function has been activated. 本发明还提供了一种相关的方法。 The present invention also provides a method related. 本发明使电子设备可确定耳机的控制功能并自动启动对应的功能单元,从而方便了用户。 The present invention may determine that the electronic device controls the headset and automatically starts the corresponding functional unit, thereby facilitating the user.

Description

电子设备及其根据耳机的控制功能调整控制模式的方法 Electronic device and method for adjusting a control mode according to the control function of the headset

技术领域 FIELD

[0001] 本发明涉及一种电子设备及其根据耳机的控制功能调整控制模式的方法。 [0001] relates to an electronic device and method for adjusting a control mode of the control function according to the present invention the headset.

背景技术 Background technique

[0002] 具有音频输出功能的电子设备越来越受到消费者的青睐,通常,消费者通过将耳机连接到电子设备的音频输出端来欣赏音乐或收听其他声音信息。 [0002] electronic device with an audio output function of more and more consumers, in general, consumers to listen to music or other audio information by listening to the audio output of the headphones connected to the electronic device. 目前有的电子设备通过侦测耳机的阻抗等参数区分耳机的类型来调整电子设备的音频输出模式与耳机相匹配,以求较好的声音输出效果。 Currently, some types of electronic equipment to distinguish between the headset by detecting impedance headphones feature to adjust the audio output mode and electronic equipment headphones to match, in order to better sound output. 随着技术的发展,耳机由传统的输出装置已经演变为同时具有输入控制功能,例如翻页控制功能、键控拍照控制功能、语音拨号控制功能、具有蓝牙模块可以和电子设备进行无线通信功能等等。 With the development of technology, the conventional headset has evolved simultaneously outputting means having a control input, for example, flip control, photographing control function key, the control voice dialing function, a Bluetooth module and a wireless communication function may be electronic devices Wait. 现有的电子设备可通过耳机的阻抗等参数识别出相应的耳机并对电子设备的输出进行相应的配置,然而仅仅通过侦测耳机的阻抗等参数不能识别出各种不同控制功能的耳机,因而也不能根据连接电子设备的耳机调整手机的相应设置,以配合耳机的功能方便用户使用。 Existing electronic devices can be identified by a corresponding configuration parameters headphones impedance headphone and the corresponding output of the electronic device, but only by the impedance detecting headphone parameter fails to identify the different control functions of the headset, thus the phone can not adjust the respective headphone connection is provided an electronic apparatus, the function to fit the headset user-friendly.

发明内容 SUMMARY

[0003] 有鉴于此,有必要提供一种电子设备,可根据耳机具有的控制功能相应的调整控制模式,以配合耳机的功能方便用户使用,以解决上述问题。 [0003] In view of this, it is necessary to provide an electronic apparatus, according to the headphone control functions of the control mode corresponding adjustment to match a user-friendly headphone function, in order to solve the above problems.

[0004] 有鉴于此,还有必要提供一种电子设备根据耳机具有的控制功能调整控制模式的方法,以解决上述问题。 [0004] In view of this, there is a need to provide an electronic apparatus control method according to the headphones have a function to adjust the control mode, in order to solve the above problems.

[0005] -种电子设备,用于根据外接于其上的耳机具有的控制功能相应的调整控制模式。 [0005] - electronic device for adjusting a control mode in accordance with a respective external headphones having control functions thereon. 所述耳机包括一存储有所述耳机的功能参数信息的第一存储单元和用于接收用户操作而产生操作信号的输入单元。 The earphone comprises a first storage unit is a function of parameter information is stored and the earphone for receiving a user operation input unit generating an operation signal. 所述电子设备包括用于外接耳机的连接端口、处理单元、多个功能单元及第二存储单元。 The electronic device comprises a port for connecting an external headset, the processing unit, a plurality of functional units and the second storage unit. 所述第二存储单元存储有一功能参数信息表,所述功能参数信息表记录了功能参数信息与多个可控功能的对应关系。 The second storage unit stores a parameter information table function, the functional parameter information table records correspondence between a plurality of functional parameters and information of controllable functions. 所述多个可控功能包括所述电子设备或其他电子设备所具有的可被用户经由所述耳机的输入单元进行控制的功能。 Said plurality of controllable function comprises the function of the electronic device or other electronic device can be controlled with a user via the input unit of the headset. 所述处理单元包括一识别模块和一控制模块。 The processing unit includes an identification module and a control module. 所述识别模块用于读取所述第一存储单元中存储的功能参数信息,并根据所述功能参数信息表以及电子设备本身的功能配置确定所述电子设备可被用户经由所述耳机的输入单元进行控制的功能。 Means for reading the identification information of the first functional parameter storage unit and configured to determine the electronic device may be a user input via the headphone function of the functional parameter according to information table and an electronic device itself, function control unit. 所述控制模块用于根据所述识别模块所确定的结果启动所述电子设备可被用户经由所述耳机的输入单元进行控制的功能,并用于根据所述耳机的输入单元传输的操作信号相应控制所述已被启动的功能。 The control module according to the determined result identification module to activate the electronic device may be a user via the input unit controlling the headphone function, and an operation control signal for the respective input unit for transmission to the earphone the function has been activated.

[0006] -种根据耳机具有的控制功能调整电子设备的控制模式的方法。 [0006] - methods headset having control functions to adjust the control mode of the electronic device. FIG. 所述耳机包括一存储有所述耳机的功能参数信息的第一存储单元和用于接收用户操作而产生操作信号的输入单元。 The earphone comprises a first storage unit is a function of parameter information is stored and the earphone for receiving a user operation input unit generating an operation signal. 所述电子设备包括用于外接所述耳机的连接端口、多个功能单元及第二存储单元。 The electronic device comprises a headset for the external connection ports, a plurality of functional units and the second storage unit. 所述方法包括如下步骤:读取外接于所述连接端口的耳机的第一存储单元中存储的功能参数信息,并根据所述电子设备的第二存储单元所存储的功能参数信息表以及电子设备本身的功能配置确定所述耳机具有的控制功能;根据所述耳机具有的控制功能启动电子设备可被用户经由所述耳机的输入单元进行控制的功能;及根据所述耳机的输入单元传输的操作信号相应控制已被启动的功能。 Said method comprising the steps of: reading parameter external to the functional information stored in the first storage unit connected to the earphone port, and the second storage unit in accordance with the stored electronic device functional parameter information table and an electronic device function determined by the configuration itself of the control functions of the headset; headset according to the control functions of the electronic device can be started via the input unit of the user function to control the headset; and a transmission unit according to the input operation of the headphone a control signal corresponding function has been activated.

[0007] 相对于现有技术,上述电子设备及其根据耳机具有的控制功能调整控制模式的方法,当耳机连接于连接端口时,识别模块即可读取耳机的存储单元存储的耳机功能参数信息,根据所述功能参数信息表及电子设备本身的功能配置确定耳机具有的控制功能,控制模块再根据所确定的结果启动电子设备可被用户经由耳机的输入单元进行控制的功能,并根据耳机的输入单元传输的操作信号相应控制已被启动的功能。 [0007] Information with respect to the prior art, the electronic device and a method of controlling the headphone function parameter adjustment function control mode with the headset when the headset is connected to the connecting ports, identification module stored in the read memory cell to the headphone , the function of the functional parameter information table and an electronic device having the earphone itself determined by the configuration of the control function, the control function of the electronic module restart control device may be a user via the input unit of the headset according to the determined result, and in accordance with the headset transmitting an operation signal input unit corresponding to the control function has been activated. 从而使得电子设备可以自动配合耳机具有的控制功能方便用户使用。 So that the electronic device can automatically fit the headset with a user-friendly control.

附图说明 BRIEF DESCRIPTION

[0008] 图1为本发明一实施方式中外接有耳机的电子设备的功能模组图。 [0008] Figure 1 is an embodiment of the invention there is described an external functional module of the electronic device Photo headset.

[0009] 图2为存储于图1所示电子设备的存储单元中的功能参数信息表。 [0009] The storage unit 2 is stored in the electronic device 1 shown in FIG functional parameter information table.

[0010]图3为本发明中电子设备根据耳机的控制功能调整控制模式的方法步骤流程图。 [0010] FIG. 3 is an electronic device control flowchart of a method of adjusting a control mode of the headset step. [0011]主要元件符号说明 [0011] Main reference numerals DESCRIPTION

Figure CN102938255BD00051

[0013]如下具体实施方式将结合上述附图进一步说明本发明。 [0013] The following specific embodiments in conjunction with the accompanying drawings, the present invention is described.

具体实施方式 detailed description

[0014] 请参阅图1,其为本发明的一实施方式的外接有耳机的电子设备的功能模组图。 [0014] Referring to FIG 1, an external embodiment of the present invention which has a functional module of the electronic device Photo headset. 在本实施方式中,电子设备100为手机,在其他实施方式中,电子设备100还可以是电脑、MP3、 电子书阅读器等电子设备。 In this embodiment, the electronic device 100 is a mobile phone, in other embodiments, the electronic device 100 may also be a computer, MP3, e-book readers and other electronic equipment.

[0015] 耳机200包括一输入单元201和一存储单元202。 [0015] The headset 200 includes an input unit 201 and a storage unit 202. 输入单元201用于响应用户操作产生相应的信号并将所述信号传输至电子设备100,输入单元201可为包括播放、暂停、快进、 翻页、录音等功能按键的物理面板或触摸面板和/或用于接收语音信号的麦克风,输入单元201具有的功能按键具体可根据需要进行设置。 A user input unit 201 in response to the operation signal and generates a corresponding signal to the electronic device 100, input unit 201 may include play, pause, fast forward, page, recording the physical function keys or a touch panel and the panel / or a microphone receiving a voice signal input unit 201 has the function keys may be set according to specific needs. 存储单元202用于存储有所述耳机200的功能参数信息,所述功能参数信息包括用户经由耳机200的输入单元201可对电子设备100进行控制的控制功能。 The storage unit 202 for storing a function of the parameter information 200 of the headset, the functional parameters may include user information to the electronic device 100 a control function via the input unit 201 to the headphone 200. 其中,不同的耳机具有不同的功能参数。 Wherein different headphones with different functional parameters. 当耳机200连接于电子设备100 后,电子设备100获取所述耳机200的功能参数信息,并根据所述耳机200的功能参数信息以及电子设备100本身的功能配置确定电子设备100可被耳机200的输入单元201进行控制的功能,且根据耳机200的输入单元201传输的操作信号相应控制已被启动的功能。 When the headset 200 is connected to the electronic device 100, the electronic device 100 acquires the headphone function parameter information 200, and determines the function of the electronic device 100 earphone functional parameter information 200 and an electronic device 100 itself can be configured in accordance with a headset 200 the input unit 201 for controlling functions, the headset 200 and the input unit 201 an operation signal transmitted in accordance with the respective control function has been activated.

[0016] 如图1所示,所述电子设备100包括一存储单元10、一连接端口20和一处理单元30 以及多个功能单元40。 [0016] 1, the electronic device 100 includes a storage unit 10, a port 20 and a processing unit 30, and a plurality of functional units 40. 在本实施方式中,该多个功能单元40包括一音频处理单元41、一摄像单元42、一通讯单元43及一语音处理单元44。 In the present embodiment, the plurality of functional unit 40 includes an audio processing unit 41, an imaging unit 42, a communication unit 43 and a speech processing unit 44. 显然,这仅仅是本实施方式的一个例子,该多个功能单元40所包括的功能单元并不限于上述的几个,还可包括浏览器、图片编辑单元等等功能单元。 Obviously, this is merely an example of the present embodiment, the function unit comprises a plurality of functional units 40 is not limited to the above number, it may include a browser, image editing unit, etc. functional unit.

[0017] 存储单元10存储有至少一个音频文件11以及一功能参数信息表12。 [0017] The storage unit 10 stores at least one audio parameter file 11 and the function information table 12 a.

[0018]连接端口20用于外接耳机200等音频输出装置。 [0018] 20 for connecting an external headset port 200, etc., an audio output device. 所述连接端口20可连接具有不同功能参数即不同控制功能的耳机。 The connection port 20 can be connected to different control functions of the headset i.e. having a different function parameters.

[0019]请参阅图2,所述耳机的存储单元202存储有功能参数信息,具有不同控制功能的耳机具有不同的功能参数。 [0019] Referring to FIG. 2, the storage unit 202 stores the headset functional parameter information, the headset having different control parameters having different functions. 在本实施方式中,所述功能参数信息为一个8位的字节,其中第0 位直至第7位依次对应了一控制功能,且位值反映了所述耳机200是否具有用户经由输入单元201可对电子设备100进行控制的控制功能。 In the present embodiment, the parameter information as a function of the 8-bit byte, bit 0 until the bit 7 corresponds to a control order, and the bit value reflects whether the headset 200 via the user input unit 201 It may be a control function of the electronic device 100. 例如,所述第0位直至第7位分别反映了所述耳机是否具有音乐播放控制功能、是否设有麦克风、是否具有录音控制功能、是否具有语音控制功能、是否具有信息存储控制功能、是否具有拍照控制功能、是否具有键控摄像功能及是否具有音量调节功能等信息。 For example, until the first 0 bit 7 respectively reflect whether the earphone having a music playback control function, whether a microphone, whether the recording control function, whether voice control, whether the control information is stored, whether camera control functions, whether key camera functions and whether the volume control and other information. 显然,所述第〇位直至第7位对应的耳机控制功能可自由设置,例如可在耳机出厂时进行设定,并不限于上述的控制功能,而所述功能参数信息包括的字节数也可根据耳机控制功能的多少而变化。 Obviously, the second position until the square corresponding to bit 7 control function can be set free headset, for example, the headset can be set at the factory, not limited to the control function, but also the number of bytes of the parameter information included in the function may vary depending on the number of headphone control functions.

[0020]如图2所示,所述功能参数信息表12记录了功能参数信息与多个可控功能的对应关系。 [0020] As shown, the functional parameter information table 12 records the correspondence relationship between the plurality of functional parameter information of controllable functions 2. 其中,所述多个可控功能包括所述电子设备100或其他电子设备所具有的可被用户经由耳机200的输入单元201进行控制的功能。 Wherein said plurality of controllable function comprises the electronic device 100 or other electronic device may be a user having a function of controlling the input unit 201 via the headphones 200. 具体地,在本实施方式中,所述功能参数信息表12中,当所述功能参数信息的第0-7位为1时,表示耳机200具有所述位对应的控制功能,当所述功能参数信息的第0-7位为0时,表示耳机200不具有所述位对应的控制功能。 In particular, in the present embodiment, the functional parameter information table 12, when bits 0-7 of the functional parameter the time information is 1, the bit represents a headset 200 having a control function corresponding to the function when the first parameter information bits 0-7 is 0 to indicate the headset 200 does not have the bit corresponding to the control function. 例如,当存储单元202存储的功能参数信息的值为11111111时,表示所述耳机200功能参数信息如下:具有音乐播放控制功能、设有麦克风、具有录音控制功能、具有语音控制功能、具有信息存储控制功能、具有键控拍照功能、具有键控摄像功能并具有音量调节控制功能。 For example, when the value 11111111 functional parameter information stored in the storage unit 202, the parameter information indicating the headset 200 function as follows: having a music playback control function, a microphone, having a recording control function, having a voice control function, an information storage control functions, with key camera functions, with key camera functions and control functions to adjust the volume.

[0021] 请一并参阅图1和图2,电子设备100的处理单元30包括识别模块31和控制模块32。 [0021] Referring to FIG. 1 and FIG. 2, the processing unit 30 of the electronic device 100 includes an identification module 31 and a control module 32. 识别模块31用于读取外接于连接端口20的耳机200的存储单元202中存储的功能参数信息, 并根据所述功能参数信息表12以及电子设备100本身的功能配置确定电子设备100可被用户经由耳机200的输入单元201进行控制的功能。 Function identification module 31 for reading the parameter information stored in the external memory unit 202 connected to the port 200 of the headset 20, and configure the electronic device 100 may be determined according to the functional parameter the user information table 12 and the function of the electronic device 100 itself, a function of controlling the headphone 201 via the input unit 200. 控制模块32用于根据识别模块31所确定的结果调整电子设备100相应的控制模式,即启动电子设备100可被用户经由耳机200的输入单元201进行控制的功能(以下简称为耳机200具有的控制功能),并用于根据耳机200的输入单元201传输的操作信号相应控制已被启动的功能。 The control module 32 according to the determined result of the identification module 31 of the electronic device 100 to adjust the corresponding control mode, i.e., promoter function of the electronic device 100 can be controlled via the user input unit 201 of the earphone 200 (hereinafter, simply referred to as having control of the headset 200 function), and a control operation according to a corresponding transmission signal input unit 201 of the headset 200 has been activated function. 具体的,控制模块32根据识别模块31 确定的耳机200具有的控制功能,自动启动电子设备100中对应的控制软件及其功能单元以备用,并根据用户对耳机200的功能按键的操作而产生控制信号给对应的功能单元以控制所述功能单元执行相应的功能。 Specifically, the control module 32 has a headset 200 in accordance with the identification module 31 determines a control function, the electronic device 100 to automatically start the corresponding control software and to spare functional unit, and generating a control operation of the function keys according to a user's headset 200 signal to the corresponding functional unit to control the functional unit to perform the corresponding function.

[0022]音频处理单元41两端分别连接于存储单元10和处理单元30,用于解码被播放的音频文件11并将音频文件11转换成模拟信号。 Ends [0022] The audio processing unit 41 is connected to the storage unit 10 and processing unit 30 for decoding and converting the audio file being played audio file 11 into an analog signal 11. 所述音频处理单元41还与连接端口20连接,并通过连接端口20将模拟音频信号传输至耳机200。 The audio processing unit 41 is also connected to the connection ports 20, 20 and the analog audio signal to the headset 200 through the connection port. 音频处理单元41还用于将耳机200通过连接端口20传输的模拟音频信号转换成数字音频信号并储存于存储单元10。 The audio processing unit 41 for the headset 200 further converts an analog audio signal via a transmission port 20 is connected to a digital audio signal and stored in the storage unit 10.

[0023]摄像单元42用于根据控制模块32产生的控制信号而启动进行摄像或拍照动作。 [0023] The imaging unit 42 is configured to initiate imaging or photographing operation according to a control signal generated by the control module 32. 在本实施方式中,摄像单元42为一摄像头。 In the present embodiment, the imaging unit 42 is a camera.

[0024]通讯单元43用于根据控制模块32传输的控制信号与其他电子设备进行数据通讯。 [0024] The communication unit 43 for performing data communication with another electronic device 32 according to a control signal transmission control module. [0025]语音处理单元44用于在所述耳机200具有语音控制功能时,将语音信号转换为相应的控制指令。 [0025] The speech processing unit 44 is used when the headset 200 having a voice control, a voice signal into a corresponding control command.

[0026]下面举例说明电子设备100如何根据外接于其连接端口20的耳机200具有的控制功能来调整其控制模式。 [0026] The following examples illustrate how the electronic device 100 according to a control mode which adjusts its external connection port 20 of the headphone 200 having a control function. 需要说明的是,电子设备100的不同控制模式主要是启动电子设备100与耳机的控制功能对应的功能单元的不同,当耳机为具有多种功能参数时,则控制模块32将电子设备100的控制模式调整为启动电子设备100中与所述耳机功能参数对应的多个功能单元。 Incidentally, different control mode of the electronic device 100 is primarily different functional units of the electronic start control device 100 corresponding to the headset when the headset is a parameter having a plurality of functions, the control module 32 will control the electronic device 100 start mode is adjusted to a plurality of functional units 100 and the electronic apparatus corresponding to the functional parameter headset. 为节约篇幅,以下分别一一举例说明耳机具有某一功能时电子设备100的控制模式调整方式,可以理解的是,当耳机具有以下举例中的一种、几种或全部功能时,电子设备100的控制模式将包括下述的一种、几种或全部的调整方式,即下述的调整控制模式的方式可以同时在同一控制模式中进行。 To save space, the following eleven respectively illustrate a control mode of the electronic device 100 is adjusted when the headphones have a function manner, be understood that, when the headphone having one of the following example, when some or all of the functions, the electronic device 100 the control mode includes one of the following, several or all of the adjustment method, of adjusting the control mode in the following manner may be simultaneously performed in the same control mode.

[0027]当电子设备100的识别模块31识别到耳机200的存储单元202存储的功能参数信息的第5位或第6位为1时,识别模块31根据功能参数信息表12及电子设备100本身的功能配置确定电子设备100可被用户经由耳机200的输入单元201进行控制的功能为键控拍照或键控摄像。 [0027] When the electronic device identification module 100 of 31 identifies the function parameter storage unit headset 200 202 stores the 5-bit information or bit 6 is 1, the identification module 31 according to the function parameter information table 12 and the electronic device 100 itself determining a functional configuration of the electronic device 100 can be controlled by the user via the input unit 201 of the headset 200 is a function key or key camera imaging. 控制模块32接收到所述确定结果后,调整电子设备100的控制模式,自动启动电子设备100中与拍照或摄像功能对应的摄像单元42及其控制软件以备拍照或摄像。 After the control module 32 receives the determination result, the control mode adjusting an electronic apparatus 100, the electronic device 100 automatically starts the function corresponding to the imaging camera or the imaging unit 42 and the control software to prepare photographing or imaging. 从而当用户操作耳机200上的拍照或摄像控制按键时,输入单元201即将所述操作信号通过连接端口20 传输至电子设备100的控制模块32。 When the user operates such that imaging or camera control buttons on the headset 200, the input unit 201 is about to transmit an operation signal port 20 is connected to the electronic device by the control module 32, 100. 控制模块32根据所述操作信号控制摄像单元42进行拍照或摄像,并将所拍的照片或摄制的影像存储于存储单元10。 The control module 32 in accordance with the photographing or imaging operation signal controls the imaging unit 42, and the shot images or pictures stored in the storage unit 10 filmed. 在其他实施方式中,电子设备100还可以提示用户是否存储所拍的照片或摄制的影像,并根据用户的选择操作执行存储或删除等功能。 In other embodiments, the electronic device 100 may also prompt the user to store the photos or video filming, and according to the user's selection to perform operations such as storage or delete function.

[0028]同理,当耳机200连接于电子设备100的连接端口20,识别模块31识别耳机200的存储单元202存储的功能参数信息的第4位为1时,根据该功能参数信息表12及电子设备100本身的功能配置确定电子设备100可被用户经由耳机200的输入单元201进行控制的功能为信息存储控制功能。 [0028] Similarly, when the earphone 200 is connected to the electronic device 100 when the connection port 20, the function of the four parameters of information identification module 31 of the earphone storage unit 200 is a memory 202, based on the function information table 12 and parameter functions of the electronic device 100 itself to determine the configuration of the electronic device 100 may be a function of controlling the user via the input unit 201 of the headset 200 is an information storage control functions. 控制模块32调整电子设备100的控制模式,自动启动电子设备100中与信息存储控制功能对应的资料存取功能单元及其控制软件以备通过连接端口20传输数据。 The control module 32 adjusts the control mode of the electronic device 100, the electronic device 100 automatically start information in the information storage control unit and the access function corresponding to the control software to prepare data transmission port 20 is connected through. 因而电子设备100可以将信息存储于耳机200的存储单元202或读取耳机200的存储单元202中的信息。 Thus the electronic device 100 can store the information in the storage unit 200 reads the headphone information storage unit 202 in the headset 200 or 202. 而当耳机200中存储有机密信息时,电子设备100和耳机200还会进行相互认证,例如可以是通过提示用户输入验证密码来进行认证,通过认证后电子设备100才能读取耳机200中的机密信息。 When the headset 200 stores confidential information, the electronic device 100 and the headset 200 will perform mutual authentication, for example, it can be authenticated by prompting the user to enter a password in order to read the headset 200 through certification confidential electronic device 100 information.

[0029]当识别模块31读取连接于电子设备100的连接端口20的耳机200的存储单元202中存储的功能参数信息的第3位为1时,确认所述耳机200具有语音控制功能。 [0029] When bit 3 functional parameter information identification module 31 reads the connection port connected to the electronic device 100 of the storage unit 20 of the headset 200 202 1 is stored, confirming that the headset 200 has a voice control function. 控制模块32接收到所述确定结果后,自动启动电子设备100中与语音控制功能对应的语音处理单元44及其控制软件。 After the control module 32 receives the result of the determination, automatically start the electronic device 100 and the voice control function corresponding to the speech processing unit 44 and the control software. 此时耳机200-般还设置有麦克风,还可以设置录音功能,相应的在其功能参数信息中的第2-3位的位值均为1。 The headset is provided with a microphone 200- like, the recording function may be provided, the corresponding bit values ​​of the bits 2-3 in the function parameter information are 1. 而电子设备100的控制模块32也将确认出耳机200具有这些控制功能。 The electronic device 100 and the control module 32 of the headset 200 will be confirmed with these control functions. 因而,当用户启动耳机200的语音控制功能时,输入单元201将用户的语音控制操作信号及从麦克风输入的语音信号通过连接端口20传输至电子设备100。 Thus, when the user starts the voice control headset 200, the input unit 201 controls the operation of the user's speech signals and voice signals from the microphone input port 20 is connected through the transmission to the electronic device 100. 控制模块32接收到耳机200传输的信号后,控制语音处理单元44将语音信号转换为相应的控制指令,并控制电子设备100的功能单元执行所述控制指令。 After the control module 32 receives a signal 200 transmitted headphones, control the voice processing unit 44 converts the voice signal into corresponding control commands, and controls the electronic device to execute the functions of control instruction unit 100. 例如,当用户对着耳机200的麦克风说"请开始录音",则电子设备100即启动语音处理单元44,并可以在显示屏上显示录音提示,同时将用户通过耳机200的麦克风传输声音进行录制并将其以音频文件的形式存储于存储单元10。 For example, when a user into the microphone headset 200 said, "Please start recording", the electronic device 100 that is to start a voice processing unit 44, and can be displayed with recorded prompts on the screen while the user to record the transmission of sound through a microphone headset 200 and stores in the storage unit 10 in the form of an audio file. 在其他实施方式中,电子设备100还可以提示用户选择录制的音频文件的存储路径,还可以提示用户选择将录制的音频文件存储至耳机200中的存储单元202。 In other embodiments, the electronic device 100 may also prompt the user to select audio file storage path recording may also prompt the user to select the recorded audio file is stored to the storage unit 202 of the headset 200.

[0030] 在本实施方式中,当耳机200具有其他功能,如具有快进,暂停,下一首等音乐播放控制功能。 [0030] In the present embodiment, when the headset 200 has other functions, such as having a fast-forward, pause, next, etc. music playback control function. 相应的电子设备100将启动与音乐播放控制功能对应的音频处理单元41及其控制软件,根据用户通过耳机200的输入单元201传输的操作信号,相应的控制音乐播放等操作。 The corresponding electronic device 100 will initiate the audio processing unit corresponding to the music playback control function 41 and the control software, according to a user operation signal input unit 201 is transmitted to the headset 200, the respective control operations such as music playback. 在其他实施方式中,耳机200的存储单元202还可以存储包括麦克风的型号、耳机阻抗值等信息,电子设备100则可以根据识别的耳机的麦克风型号及耳机阻抗值等信息,相应的调整与麦克风型号对应的输出电压及阻抗,以与耳机200相匹配达到最佳的音效。 In other embodiments, the memory cell headset 200 202 may also store include a microphone models, headphones impedance values ​​and other information 100 based on information headset identified microphone type and headphones impedance values, etc., corresponding adjustments to the microphone an electronic device model corresponding to the output voltage and impedance match with the headset 200 to achieve the best sound.

[0031] 使用时,当耳机200连接于连接端口20时,识别模块31即可读取耳机200的存储单元202存储的耳机功能参数信息,根据所述功能参数信息表12及电子设备100本身的功能配置确定耳机200具有的控制功能,控制模块32再根据所确定的结果启动电子设备100可被用户经由耳机200的输入单元201进行控制的功能,并根据耳机200的输入单元201传输的操作信号相应控制已被启动的功能。 [0031] In use, when the headset 200 is connected to the connecting ports 20, 31 can read the identification module 200 of the storage unit 202 stores the earphone headphone function parameter information, according to the functional parameter information table 12 and the electronic device 100 itself functional configuration determining headset 200 having a control function, the control module 32 and then based on the determined result of starting function of the electronic device 100 can be controlled to a user via the input unit 201 of the headset 200, and an operation signal based on the transmission input unit headset 200 201 corresponding control function has been activated. 从而使得电子设备100可以自动配合耳机200具有的控制功能方便用户使用。 So that the electronic device 100 with the headset 200 may automatically control function with user-friendly.

[0032] 请同时参阅图3,其为本发明的电子设备100根据耳机200的控制功能调整控制模式的方法步骤流程图,包括如下步骤: [0032] Referring also to FIG. 3, the electronic device 100 according to the present invention that the method step of controlling the function adjustment control mode flowchart headset 200, comprising the steps of:

[0033]步骤S201,识别模块31读取外接于连接端口20的耳机200的存储单元202中存储的功能参数信息,并根据电子设备100的存储单元10所存储的功能参数信息表12以及电子设备本身的功能配置确定耳机200具有的控制功能。 [0033] step S201, the identification module 31 reads the external connection port to the functional parameter information storage unit 200 of the headset 20 in store 202 and memory cell 100 of the electronic device 10 stored in the parameter function information table 12 and an electronic device function determined by the configuration itself headset 200 having a control function. 在本实施方式中,耳机200具有的控制功能是指电子设备100可被用户经由耳机200的输入单元201进行控制的功能。 In the present embodiment, the earphone 200 has a control function refers to the electronic device 100 may be a function of controlling the user via the input unit 201 to the headphone 200.

[0034]步骤S202,控制模块32根据耳机200具有的控制功能启动电子设备100可被用户经由耳机200的输入单元201进行控制的功能。 [0034] Step S202, the control module 32100 may be a function of controlling the user via the input unit 201 of the headset 200 with the earphone 200 of the electronic device in accordance with a control function is activated.

[0035]步骤S203,控制模块32根据耳机200的输入单元201传输的操作信号相应控制已被启动的功能。 [0035] In step S203, the control function module 32 has been activated headset 200 input unit 201 an operation signal transmitted in accordance with the respective control.

[0036]本技术领域的普通技术人员应当认识到,以上的实施方式仅是用来说明本发明, 而并非用作为对本发明的限定,只要在本发明的实质精神范围之内,对以上实施方式所作的适当改变和变化都落在本发明要求保护的范围之内。 [0036] skilled in the art should appreciate that the above embodiments are only used to illustrate the present invention and are not used to limit the present invention, as long as within the true spirit of the invention, the above embodiments within the appropriate changes are made and variations fall within the scope of the invention as claimed.

Claims (8)

  1. 1. 一种电子设备,用于根据外接于其上的耳机具有的控制功能相应的调整控制模式, 所述耳机包括一存储有所述耳机的功能参数信息的第一存储单元和用于接收用户操作而产生操作信号的输入单元,所述电子设备包括用于外接耳机的连接端口、处理单元、多个功能单元及第二存储单元,其特征在于: 所述第二存储单元存储有一功能参数信息表,所述功能参数信息表记录了功能参数信息与多个可控功能的对应关系,其中,所述多个可控功能包括所述电子设备所具有的可被用户经由所述耳机的输入单元进行控制的功能; 所述处理单元包括: 一识别模块,用于读取所述第一存储单元中存储的功能参数信息,并根据所述功能参数信息表以及电子设备本身的功能配置确定所述电子设备可被用户经由所述耳机的输入单元进行控制的功能;及一控制模块,用于 An electronic device, according to an external headset having its control function corresponding adjustment control mode, the earphone comprises a first storage unit is a function of parameter information is stored and the earphone for receiving a user operation input means generating an operation signal, the electronic device comprises means for connecting an external headset port, a processing unit, a plurality of functional units and a second storage unit, wherein: said second storage unit stores information of a functional parameter table, the functional parameter information table records the correspondence relation with the plurality of functions controllable parameter information functions, wherein said controllable function comprises a plurality of said electronic device has a user via the input unit may be a headphone controlling function; the processing unit comprises: an identification module, the first functional parameter information storage unit for reading, and the configuration of the function information table and the functional parameter determining the electronic device itself the electronic device can be controlled by a user via the input unit of the headphone function; and a control module for 据所述识别模块所确定的结果启动所述电子设备可被用户经由所述耳机的输入单元进行控制的功能,并用于根据所述耳机的输入单元传输的操作信号相应控制所述已被启动的功能。 According to the result of the determined identification module startup of the electronic device may be a user via the input unit of the headphone control function has been activated and is used to control operation according to a corresponding signal input of the transmission unit of the earphone Features.
  2. 2. 如权利要求1所述的电子设备,其特征在于:所述电子设备可被用户经由所述耳机的输入单元进行控制的功能对应所述多个功能单元中的一个或多个功能单元,所述控制模块根据识别模块所确定的结果启动所述电子设备的多个功能单元中的一个或多个功能单元及其控制软件,并根据所述耳机的输入单元传输的操作信号控制相应的功能单元及其控制软件执行对应的功能。 2. The electronic device according to claim 1, wherein: the electronic device may be a user via the input unit of the headphone function of controlling the plurality of function units corresponding to one or more functional units, the control module according to the determined result identification module to start a plurality of functional units of the electronic device or a plurality of functional units and its control software, and a corresponding function according to the operation signal input unit for transmission of the control headphone and a control unit software executing a corresponding function.
  3. 3. 如权利要求2所述的电子设备,其特征在于:所述功能包括以下中的一种或多种:音乐播放控制功能、麦克风功能、录音控制功能、语音控制功能、信息存储控制功能、键控拍照功能、键控摄像功能和音量调节控制功能。 3. An electronic device according to claim 2, wherein: said function comprises one or more of: music playback control function, the microphone function, the recording control function, voice control, control information is stored, camera key, volume control key camera functions and control functions.
  4. 4. 如权利要求2所述的电子设备,其特征在于:所述多个功能单元包括音频处理单元、 摄像单元和通讯单元,所述音频处理单元用于解码被播放的音频文件并将所述音频文件转换成模拟信号后通过所述连接端口传输至所述耳机,及将所述耳机通过连接端口传输的声音模拟信号转换成音频数字信号;所述摄像单元用于根据所述控制模块产生的控制信号而启动进行摄像或拍照动作;所述通讯单元用于根据所述控制模块传输的控制信号与其他电子设备进行数据通讯。 4. The electronic apparatus according to claim 2, wherein: said plurality of functional units includes an audio processing unit, the imaging unit, and a communication unit, the audio processing unit for decoding the audio file being played and the transmitting the converted file into an analog audio signal through the connection port to the headset, and the headset connection port by converting the sound signal into an analog transmission audio digital signal; a camera unit for generating, according to the control module control signal or imaging start photographing operation; the communication unit for performing data communication with other electronic devices in accordance with a control signal transmitted to the control module.
  5. 5. 如权利要求4所述的电子设备,其特征在于:所述多个功能单元还包括一语音处理单元,用于将所述耳机传输的语音信号转换为相应的控制指令。 5. The electronic device according to claim 4, wherein: said plurality of functional unit further comprises a voice processing unit configured to convert a voice signal transmitted to the headset corresponding control commands.
  6. 6. 如权利要求1所述的电子设备,其特征在于:所述电子设备为手机、电脑、MP3以及电子书阅读器中的一种。 6. The electronic apparatus according to claim 1, wherein: the electronic device as a mobile phones, computers, MP3, and the e-book reader.
  7. 7. -种根据耳机的控制功能调整电子设备的控制模式的方法,所述耳机包括一存储有所述耳机的功能参数信息的第一存储单元和用于接收用户操作而产生操作信号的输入单元,所述电子设备包括用于外接所述耳机的连接端口、多个功能单元及第二存储单元,所述方法包括如下步骤: 读取外接于所述连接端口的耳机的第一存储单元中存储的功能参数信息,并根据所述电子设备的第二存储单元所存储的功能参数信息表以及电子设备本身的功能配置确定所述耳机具有的控制功能; 根据所述耳机具有的控制功能启动电子设备可被用户经由所述耳机的输入单元进行控制的功能;及根据所述耳机的输入单元传输的操作信号相应控制已被启动的功能。 7. - The method of controlling a kind of headphone function adjustment control mode of the electronic device, the earphone of said headset comprising a memory with a first functional parameter information storage unit for receiving a user operation input unit generates an operation signal the electronic device comprises means for connecting an external headset port of said plurality of functional units and a second storage unit, the method comprising the steps of: reading stored in the first external storage unit connected to the headphone port of function parameter information determined by the configuration and function of the headset itself has a function of controlling the second storage unit in accordance with the stored electronic device functional parameter information table and an electronic device; activating an electronic apparatus according to the control functions of the headset can be a function of controlling the user via the input unit of the earphone; and a control operation according to the corresponding signal input unit transmits the headphone function has been activated.
  8. 8.如权利要求7所述的方法,其特征在于:所述耳机具有的控制功能对应所述多个功能单元中的一个或多个功能单元,所述功能参数表记录了功能参数信息与多个可控功能的对应关系,所述多个可控功能包括所述电子设备所具有的可被用户经由所述耳机的输入单元进行控制的功能。 8. The method according to claim 7, wherein: the one or more functional units of the control functions corresponding to the plurality of functional units with the headset in the functional parameters of the parameter table records information Multi Function a correspondence relationship controllable functions, said plurality of controllable function comprises the electronic device may be a user having a function of controlling the input unit via the headphone.
CN 201110234146 2011-08-16 Electronic device and method for adjusting a control mode according to the control function of the headset CN102938255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110234146 CN102938255B (en) 2011-08-16 Electronic device and method for adjusting a control mode according to the control function of the headset

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201110234146 CN102938255B (en) 2011-08-16 Electronic device and method for adjusting a control mode according to the control function of the headset
US13283597 US8983641B2 (en) 2011-08-16 2011-10-28 Electronic device for activating and controlling user-controllable functions thereof according to an earphone connected thereto, and associated method

Publications (2)

Publication Number Publication Date
CN102938255A true CN102938255A (en) 2013-02-20
CN102938255B true CN102938255B (en) 2016-12-14

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932753A (en) * 2005-09-13 2007-03-21 鸿富锦精密工业(深圳)有限公司 Sound outputting system and method
CN1940856A (en) * 2005-09-26 2007-04-04 鸿富锦精密工业(深圳)有限公司 Voice outputting system and method
US7283635B1 (en) * 1999-12-09 2007-10-16 Plantronics, Inc. Headset with memory
CN101616204A (en) * 2008-06-27 2009-12-30 鸿富锦精密工业(深圳)有限公司;鸿海精密工业股份有限公司 Headset and handset system
CN102098603A (en) * 2010-12-24 2011-06-15 鸿富锦精密工业(深圳)有限公司 Drive-by-wire earphone and electronic device provided with same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283635B1 (en) * 1999-12-09 2007-10-16 Plantronics, Inc. Headset with memory
CN1932753A (en) * 2005-09-13 2007-03-21 鸿富锦精密工业(深圳)有限公司 Sound outputting system and method
CN1940856A (en) * 2005-09-26 2007-04-04 鸿富锦精密工业(深圳)有限公司 Voice outputting system and method
CN101616204A (en) * 2008-06-27 2009-12-30 鸿富锦精密工业(深圳)有限公司;鸿海精密工业股份有限公司 Headset and handset system
CN102098603A (en) * 2010-12-24 2011-06-15 鸿富锦精密工业(深圳)有限公司 Drive-by-wire earphone and electronic device provided with same

Similar Documents

Publication Publication Date Title
US20100093401A1 (en) Modular wireless communicator
US20080070501A1 (en) Pairing of wireless devices using a wired medium
US20130262687A1 (en) Connecting a mobile device as a remote control
US20080248797A1 (en) Method and System for Operating a Multi-Function Portable Electronic Device Using Voice-Activation
US8086332B2 (en) Media delivery system with improved interaction
US20050107120A1 (en) Mobile storage device with wireless bluetooth module attached thereto
US20120289291A1 (en) Modular wireless communicator
JP2003008695A (en) Personal digital assistant
CN103558916A (en) Man-machine interaction system, method and device
JP2005072911A (en) System and method for reproducing contents, and contents reproducing device
JP2003023479A (en) Portable radio terminal
US20150055789A1 (en) Apparatus and method for acquiring configuration data
CN1617546A (en) Tune volume regulating device and method for mobile communication terminal
JP2006319572A (en) Portable communication device
US20110237230A1 (en) Activation of applications based on vibration of portable electronic device
WO2013100933A1 (en) Multi-stream-multipoint-jack audio streaming
US20040131175A1 (en) Method and system for downloading audio samples for personalized telephone ring tones
CN201274475Y (en) Bluetooth earphone and equipment using the earphone
US20090048848A1 (en) Method And System For Media Processing Extensions (MPX) For Audio And Video Setting Preferences
US20140233772A1 (en) Techniques for front and rear speaker audio control in a device
US9277320B1 (en) Managing and using headset profiles for different headsets
CN101286913A (en) Apparatus and method for interfacing between digital devices
US20140233771A1 (en) Apparatus for front and rear speaker audio control in a device
US7715874B2 (en) Portable handsfree device for cable connection to a mobile terminal
JP2002055729A (en) Information equipment system