WO2009094878A1 - Method and apparatus for invoking earphone application program - Google Patents

Method and apparatus for invoking earphone application program Download PDF

Info

Publication number
WO2009094878A1
WO2009094878A1 PCT/CN2008/073078 CN2008073078W WO2009094878A1 WO 2009094878 A1 WO2009094878 A1 WO 2009094878A1 CN 2008073078 W CN2008073078 W CN 2008073078W WO 2009094878 A1 WO2009094878 A1 WO 2009094878A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
terminal device
headset
module
configuration file
Prior art date
Application number
PCT/CN2008/073078
Other languages
French (fr)
Chinese (zh)
Inventor
Qi Cheng
Original Assignee
Shenzhen Huawei Communication Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huawei Communication Technologies Co., Ltd. filed Critical Shenzhen Huawei Communication Technologies Co., Ltd.
Priority to US12/356,372 priority Critical patent/US20090185675A1/en
Publication of WO2009094878A1 publication Critical patent/WO2009094878A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/56Details of telephonic subscriber devices including a user help function

Definitions

  • the present invention relates to the field of communications, and in particular, to a headset application calling method and apparatus. Background technique
  • the handheld terminal Due to the continuous introduction of traditional consumer electronic functions and computer functions, the handheld terminal has surpassed the positioning of traditional calling tools that only provide voice and short message services, and has become a communication hub that connects people to the digital world today, becoming a "all-powerful" number. terminal. This portrays a wonderful picture of future terminal development: In the digital age, handheld terminals will combine multiple functions into one, becoming a communication hub for connecting anyone and everything; with handheld terminals, people can “control one hand” Digital world.
  • the inventors have found that at least the following problems exist in the prior art: When an end user makes an operation by making a call, listening to a radio, listening to music, etc. through the earphone, the menu tree structure of the terminal device is complicated, and some of the audio functions are It may be buried in a deep menu tree structure, and the user is very cumbersome in finding this function, and needs to open the menu to find it step by step.
  • Summary of the invention The embodiment of the present invention provides a method and device for invoking a headset application, so that when the terminal device is inserted into the headset, an application prompt list supporting all the headsets in the terminal device is displayed on the display screen of the terminal device for the user to select.
  • an embodiment of the present invention provides a headset application calling method, including the following steps: detecting whether a headset is accessed; if detecting a headset access, displaying an application prompt for all headsets in the terminal device List.
  • Another aspect of the embodiment of the present invention further provides a terminal device, including:
  • a detecting module configured to detect whether a headset is connected
  • a display module configured to display, when the detecting module detects the earphone access, an application prompt list supporting all the headphones in the terminal device.
  • a further aspect of the present invention provides a headset application calling device, including: a detecting module, configured to detect whether a terminal device has a headset access; and a display module, configured to display, according to the detection result of the detecting module, the terminal device A list of all application tips that support headsets.
  • the embodiment of the present invention has the following advantages: After the terminal device detects that the headset is accessed, the embodiment of the present invention directly displays an application prompt list supporting all the headsets on the display screen of the terminal device. For the user to choose. Thereby, the efficiency of the operation of the terminal device user to listen to the radio, play music, and make a call by using the earphone is greatly improved, and the overall ease of use of the terminal device is improved.
  • FIG. 1 is a flowchart of a method for calling a headset application according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of an earphone application calling device according to an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a method for calling a headset application, where the terminal device is detected When the headset is accessed, an application prompt list supporting all the headsets in the terminal device is displayed for the user to select, and the efficiency of the operation of the terminal device user to listen to the radio, play music, and make a call is improved, and the overall convenience of the terminal device is improved. Use sex.
  • a flowchart of a method for invoking a headset application includes the following steps:
  • Step S101 Detect whether the terminal device has a headset access.
  • the terminal device After the terminal device is initialized, it detects whether there is a headset access.
  • the above detection terminal device has multiple access modes for the headset.
  • the detection mode includes the interrupt mode, GPI 0 (Genera l Purpose I / O, universal input). Output port) Mode, interface polling mode.
  • the detection method can be to detect the corresponding wireless signal. If there is no earphone access, step S102 is performed, otherwise step S103, and subsequent steps are performed.
  • Step S102 continue to detect whether there is a headset access.
  • Step S103 Parse the configuration file of the terminal device.
  • a configuration file is added on the software side, and the configuration file describes the application name of all the supported earphones in the terminal device and the corresponding identification ID activation entry, such as listening to the radio, playing music, and the like.
  • the configuration file also includes some configuration information of other applications on the terminal device, which will not be described in detail here.
  • the format of the headset application mentioned above is as follows:
  • the terminal device parses the configuration file stored in the device, and extracts the application name of the headset application and the application ID of the hexadecimal application line by line by means of string scanning.
  • the earphone access is detected for the first time, and the configuration file is parsed, and then the parsed configuration file is saved.
  • the parsed configuration can be directly displayed. file. It is also possible to save the configuration file after the terminal device is powered on, and directly display the parsed configuration file when the headset is detected before the terminal device is powered off. It is also possible that the terminal device parses the configuration file for display every time the headset access is detected.
  • Step S104 displaying an application prompt list.
  • the display screen of the terminal device displays a list of application prompts for all the headsets in the terminal device for the user to select, as shown in Table 1.
  • Step S105 Start an application in the application prompt list.
  • the terminal device starts the corresponding application according to the ID corresponding to the selected application option.
  • the application name "earp iece_app_l” in the above configuration file corresponds to "Start Multimedia Player” in Table 1, and its ID startup entry is "0x38545446”, when the terminal device
  • the headset is detected, by parsing the above configuration file, the "start multimedia player” corresponding to the application name "earp iece_app-l” is displayed directly on the display of the terminal device.
  • the terminal device starts the multimedia player of the terminal device by the ID "0x38545446" corresponding to the ID of "ea rp i ece _app- l ".
  • the terminal device When the terminal device detects that the terminal device has the earphone access, the terminal device directly displays the terminal device. All the application prompt lists supporting headphones are available for users to select, which greatly improves the efficiency of the terminal device users to listen to the radio, play music, make calls, etc., and improve the overall usability of the terminal device. Moreover, the configurability of the software can be improved by using the embodiment of the invention, and the corresponding modification can be obtained only by changing the configuration file for the related application.
  • FIG. 2 it is a structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device in this embodiment includes: a detection module 21 and a display module 22, wherein the detection module 21 is configured to detect whether a headset is accessed; and the display module 22 It is used to display an application prompt list of all supported headphones in the terminal device when the detecting module 21 detects the earphone access.
  • the terminal device of this embodiment may further include: a storage module 23, configured to store a configuration file, where the configuration file is used by the display module 22 to display an application prompt list; and the parsing module 25 is configured to parse the configuration file for the display module 22 display.
  • the terminal device of this embodiment may further include: a startup module 24, configured to: when the user of the terminal device selects an application option in the application prompt list displayed by the display module 22, start the application.
  • a startup module 24 configured to: when the user of the terminal device selects an application option in the application prompt list displayed by the display module 22, start the application.
  • the display module 22 displays the application prompt list parsed by the parsing module 25 when the detecting module 21 detects that the earphone is accessed.
  • the parsing module 25 can parse and save the configuration file when the terminal device is powered on, and the display module 11 directly displays the parsed configuration file when needed.
  • the parsing module 25 can also detect that the headset access is parsing the configuration file and save it for the first time after the terminal device is powered on.
  • the subsequent display module 22 can directly display the parsed configuration file when detecting the headset access.
  • the parsing module 25 can also parse the configuration file for display by the display module 11 each time the detection module 21 detects the headset access.
  • a structural diagram of a headset application calling device specifically includes: a detecting module 1 configured to detect whether a terminal device has a headset access; and a display module 2 configured to detect according to the detecting module 1
  • the results show a list of all application reminders that support headsets in the terminal.
  • the headset application calling device of the embodiment of the present invention further includes: a storage module 3, For storing a configuration file, the configuration file is a basis for the display module 2 to display the application prompt list; the startup module 4 is configured to: when the user of the terminal device selects an application option in the application prompt list displayed by the display module 2 The corresponding application is started; the parsing module 5 is configured to parse the configuration file for display by the display module.
  • the display module 2 displays the application prompt list parsed by the parsing module 5 when the detecting module 1 detects that the earphone is accessed.
  • the parsing module 5 can parse and save the configuration file when the terminal device is powered on, and the display module 2 directly displays the parsed configuration file when needed.
  • the parsing module 5 can also detect that the headset access is parsing the configuration file and save it for the first time after the terminal device is turned on, and the subsequent display module 2 can directly display the parsed configuration file when detecting the headset access.
  • the parsing module 5 can also parse the configuration file for display by the display module 2 each time the detecting module 1 detects the earphone access.
  • the display module 2 directly displays the application prompt list of all the supporting headphones in the terminal device for the user to select, thereby greatly improving the terminal device user to use the earphone.
  • the efficiency of listening to the radio, playing music, making calls, etc. improves the overall usability of the terminal device.
  • the configurability of the software can be improved by using the embodiment of the present invention. For the related application, only the configuration file needs to be changed to obtain the corresponding tampering.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention. Any changes that can be considered by those skilled in the art should fall within the scope of the present invention.

Abstract

A method and apparatus for invoking earphone application program and a terminal device. The method includes detecting whether an earphone is connected with a terminal device; if there is an earphone connected with the terminal device, then displaying all the application tip lists supporting the earphone.

Description

一种耳机应用程序调用方法和装置  Headphone application calling method and device
技术领域 Technical field
本发明涉及通信领域, 特别涉及一种耳机应用程序调用方法和装置。 背景技术  The present invention relates to the field of communications, and in particular, to a headset application calling method and apparatus. Background technique
随着社会的发展, 人们希望生活更加方便快捷, 希望能随时随地获得信 息, 因此具备如拍摄、 音频、 视频、 网络服务、 游戏及定位等功能的终端设 备越来越受到广大消费群体的关注和青睐。  With the development of society, people hope that life is more convenient and faster, and they hope to obtain information anytime and anywhere. Therefore, terminal devices with functions such as shooting, audio, video, network services, games and positioning are getting more and more attention from consumers. Favor.
由于对传统消费电子功能和计算机功能的不断引入, 使手持终端超越了 仅提供话音和短信服务的传统通话工具的定位, 转变为今天人们连接数字世 界的通信枢纽, 成为 "无所不能" 的数字终端。 这描绘出了一幅未来终端发 展的美妙画卷: 在数字时代, 手持终端将融合多种功能于一身, 成为连接任 何人、 任何事物的通信枢纽; 借助手持终端, 人们就能够 "一手掌控" 整个 数字世界。  Due to the continuous introduction of traditional consumer electronic functions and computer functions, the handheld terminal has surpassed the positioning of traditional calling tools that only provide voice and short message services, and has become a communication hub that connects people to the digital world today, becoming a "all-powerful" number. terminal. This portrays a wonderful picture of future terminal development: In the digital age, handheld terminals will combine multiple functions into one, becoming a communication hub for connecting anyone and everything; with handheld terminals, people can “control one hand” Digital world.
目前的终端设备都会支持耳机来接听电话、 听收音机、 听音乐等功能, 但是其中一些功能可能被埋藏在较深的菜单树结构下, 用户要寻找该功能时 非常繁瑣, 要一级一级打开菜单进行寻找。 而随着手持终端技术的发展, 手 持终端设备的操作系统和应用软件的功能和性能得到了很大的提到, 大部分 手持终端设备都具有内置收音机功能、 媒体播放机等功能, 并且在硬件结构 上支持插入式耳机。  Current terminal devices support headsets to answer calls, listen to the radio, listen to music, etc., but some of these functions may be buried in a deep menu tree structure. It is very cumbersome for users to find this function. The menu is looking for. With the development of handheld terminal technology, the functions and performance of the operating system and application software of the handheld terminal device have been greatly mentioned. Most handheld terminal devices have functions such as a built-in radio function, a media player, and the like. The plug-in earphone is structurally supported.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 当终 端用户通过耳机进行打电话、 听收音机、 听音乐等操作时, 由于终端设备的 菜单树结构复杂, 其中一些音频功能可能被埋藏在较深的菜单树结构下, 用 户在寻找该功能时非常繁瑣, 需要逐级打开菜单进行寻找。 发明内容 本发明实施例提供一种耳机应用程序调用方法和装置, 以实现在终端 设备插入耳机时, 直接在终端设备的显示屏上显示出该终端设备中所有支 持耳机的应用提示列表, 供用户选择。 In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: When an end user makes an operation by making a call, listening to a radio, listening to music, etc. through the earphone, the menu tree structure of the terminal device is complicated, and some of the audio functions are It may be buried in a deep menu tree structure, and the user is very cumbersome in finding this function, and needs to open the menu to find it step by step. Summary of the invention The embodiment of the present invention provides a method and device for invoking a headset application, so that when the terminal device is inserted into the headset, an application prompt list supporting all the headsets in the terminal device is displayed on the display screen of the terminal device for the user to select.
为达到上述目的, 本发明实施例一方面提供一种耳机应用程序调用方 法, 包括以下步骤: 检测是否有耳机接入; 如果检测到有耳机接入, 则显 示终端设备中所有支持耳机的应用提示列表。  To achieve the above objective, an embodiment of the present invention provides a headset application calling method, including the following steps: detecting whether a headset is accessed; if detecting a headset access, displaying an application prompt for all headsets in the terminal device List.
本发明实施例另一方面还提供一种终端设备, 包括:  Another aspect of the embodiment of the present invention further provides a terminal device, including:
检测模块, 用于检测是否有耳机接入;  a detecting module, configured to detect whether a headset is connected;
显示模块, 用于当所述检测模块检测到耳机接入时显示终端设备中所 有支持耳机的应用提示列表。  And a display module, configured to display, when the detecting module detects the earphone access, an application prompt list supporting all the headphones in the terminal device.
本发明实施例再一方面还提供一种耳机应用程序调用装置, 包括: 检 测模块, 用于检测终端设备是否有耳机接入; 显示模块, 用于根据所述检 测模块的检测结果显示终端设备中所有支持耳机的应用提示列表。  A further aspect of the present invention provides a headset application calling device, including: a detecting module, configured to detect whether a terminal device has a headset access; and a display module, configured to display, according to the detection result of the detecting module, the terminal device A list of all application tips that support headsets.
与现有技术相比, 本发明实施例具有以下优点: 本发明实施例在终端 设备检测到有耳机接入后, 直接在所述终端设备的显示屏上显示出所有支 持耳机的应用提示列表, 供用户选择。 从而大大提高了终端设备用户使用 耳机进行收听收音机、 播放音乐、 拨打电话的等操作的效率, 提高了终端 设备的整体易用性。  Compared with the prior art, the embodiment of the present invention has the following advantages: After the terminal device detects that the headset is accessed, the embodiment of the present invention directly displays an application prompt list supporting all the headsets on the display screen of the terminal device. For the user to choose. Thereby, the efficiency of the operation of the terminal device user to listen to the radio, play music, and make a call by using the earphone is greatly improved, and the overall ease of use of the terminal device is improved.
附图说明 图 1为本发明实施例的耳机应用程序调用方法流程图; BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of a method for calling a headset application according to an embodiment of the present invention;
图 2为本发明实施例的终端设备结构图;  2 is a structural diagram of a terminal device according to an embodiment of the present invention;
图 3为本发明实施例的耳机应用程序调用装置结构图。 具体实施方式  FIG. 3 is a structural diagram of an earphone application calling device according to an embodiment of the present invention. detailed description
本发明实施例提供一种耳机应用程序调用方法, 在检测到终端设备有 耳机接入时, 显示所述终端设备中所有支持耳机的应用提示列表, 供用户 选择, 提高终端设备用户使用耳机进行收听收音机、 播放音乐、 拨打电话 的等操作的效率, 提高终端设备的整体易用性。 An embodiment of the present invention provides a method for calling a headset application, where the terminal device is detected When the headset is accessed, an application prompt list supporting all the headsets in the terminal device is displayed for the user to select, and the efficiency of the operation of the terminal device user to listen to the radio, play music, and make a call is improved, and the overall convenience of the terminal device is improved. Use sex.
如图 1所示, 为本发明实施例的耳机应用程序调用方法流程图, 具体 包括以下步骤:  As shown in FIG. 1 , a flowchart of a method for invoking a headset application according to an embodiment of the present invention includes the following steps:
步骤 S101 , 检测终端设备是否有耳机接入。  Step S101: Detect whether the terminal device has a headset access.
终端设备在开机初始化后, 检测是否有耳机接入, 上述检测终端设备 是否有耳机接入方式有多种,对于有线耳机,检测方式包括中断方式、 GPI 0 ( Genera l Purpose I /O , 通用输入输出口) 方式、 接口轮询方式。 对于 无线耳机, 检测方式可以为检测相应的无线信号。 如果没有耳机接入, 则 执行步骤 S102 , 否则执行步骤 S 103 , 及其以后的步骤。  After the terminal device is initialized, it detects whether there is a headset access. The above detection terminal device has multiple access modes for the headset. For the wired headset, the detection mode includes the interrupt mode, GPI 0 (Genera l Purpose I / O, universal input). Output port) Mode, interface polling mode. For wireless headphones, the detection method can be to detect the corresponding wireless signal. If there is no earphone access, step S102 is performed, otherwise step S103, and subsequent steps are performed.
步骤 S102 , 继续检测是否有耳机接入。  Step S102, continue to detect whether there is a headset access.
步骤 S103 , 解析终端设备的配置文件。 在终端设备的软件集成时, 在 软件侧增加一个配置文件, 上述配置文件描述了该终端设备中所有支持耳 机的应用名称和对应的标识 ID启动入口, 如收听收音机、 播放音乐等。 而对于相关应用只需要更改配置文件即可得到对应修改。 其中, 配置文件 的格式可以使用 "应用名称 =应用启动 ID" 的格式来配置, 其中应用启动 ID是唯一标识一个应用的代号, 使用十六进制的值, 以 Ox开头。 当然配 置文件还包括终端设备上其他应用的一些配置信息, 在此就不详细说明 了。 上述配置文件中涉及耳机应用的格式如下:  Step S103: Parse the configuration file of the terminal device. When the software integration of the terminal device is performed, a configuration file is added on the software side, and the configuration file describes the application name of all the supported earphones in the terminal device and the corresponding identification ID activation entry, such as listening to the radio, playing music, and the like. For related applications, you only need to change the configuration file to get the corresponding modification. The format of the configuration file can be configured in the format of "application name = application startup ID", where the application startup ID is a code that uniquely identifies an application, using a hexadecimal value, starting with Ox. Of course, the configuration file also includes some configuration information of other applications on the terminal device, which will not be described in detail here. The format of the headset application mentioned above is as follows:
Figure imgf000006_0001
终端设备解析本设备内存储的配置文件, 釆用字符串扫描的方式将支 持耳机应用的应用名称和十六进制的应用 ID分别逐行提取出来。
Figure imgf000006_0001
The terminal device parses the configuration file stored in the device, and extracts the application name of the headset application and the application ID of the hexadecimal application line by line by means of string scanning.
本步骤中可以是终端设备开机后第一次检测到耳机接入, 就解析所述 配置文件,然后保存解析后的配置文件,在终端设备后续检测耳机接入时, 可以直接显示解析后的配置文件。 也可以是终端设备开机后就解析配置文 件进行保存, 在终端设备关机之前检测到耳机接入就直接显示解析后的配 置文件。 也可以是终端设备每检测到一次耳机接入就解析一次配置文件以 供显示。  In this step, after the terminal device is powered on, the earphone access is detected for the first time, and the configuration file is parsed, and then the parsed configuration file is saved. When the terminal device subsequently detects the earphone access, the parsed configuration can be directly displayed. file. It is also possible to save the configuration file after the terminal device is powered on, and directly display the parsed configuration file when the headset is detected before the terminal device is powered off. It is also possible that the terminal device parses the configuration file for display every time the headset access is detected.
步骤 S104 , 显示应用提示列表。  Step S104, displaying an application prompt list.
在解析上述配置文件后, 该终端设备的显示屏就会显示出一个该终端 设备中所有支持耳机的应用提示列表, 供用户选择, 如表 1所示。  After parsing the above configuration file, the display screen of the terminal device displays a list of application prompts for all the headsets in the terminal device for the user to select, as shown in Table 1.
表 1  Table 1
Figure imgf000007_0001
Figure imgf000007_0001
步骤 S105 , 启动应用提示列表中的应用。 当该终端设备的用户根据上 述应用提示列表选择其中的一个应用选项时, 该终端设备根据选择的应用 选项所对应的 ID启动相应的应用。 以上述配置文件格式和表 1为例, 4叚 如上述配置文件中的应用名称 "earp iece_app_ l " 对应表 1中 "启动多媒 体播放器" , 其 ID启动入口为 " 0x38545446" , 当该终端设备检测到有 耳机接入时, 通过解析上述配置文件, 直接在终端设备的显示屏上显示出 应用名称 "earp iece_app- l " 所对应的 "启动多媒体播放器" 。 当用户选 择 "启动多媒体播放器" 时, 该终端设备就会通过 "ea rp i ece _app- l " 所 对应的 ID启动入口 " 0x38545446" 启动该终端设备的多媒体播放器。  Step S105: Start an application in the application prompt list. When the user of the terminal device selects one of the application options according to the application prompt list, the terminal device starts the corresponding application according to the ID corresponding to the selected application option. Taking the above configuration file format and Table 1 as an example, 4, for example, the application name "earp iece_app_l" in the above configuration file corresponds to "Start Multimedia Player" in Table 1, and its ID startup entry is "0x38545446", when the terminal device When the headset is detected, by parsing the above configuration file, the "start multimedia player" corresponding to the application name "earp iece_app-l" is displayed directly on the display of the terminal device. When the user selects "Start Multimedia Player", the terminal device starts the multimedia player of the terminal device by the ID "0x38545446" corresponding to the ID of "ea rp i ece _app- l ".
本发明实施例在检测到终端设备有耳机接入时, 直接显示所述终端设 备中所有支持耳机的应用提示列表, 供用户选择, 从而大大提高了终端设 备用户使用耳机进行收听收音机、 播放音乐、 拨打电话的等操作的效率, 提高了终端设备的整体易用性。 而且运用本发明实施例可以提高软件的可 配置性, 对于相关应用只需要更改配置文件即可得到对应修改。 When the terminal device detects that the terminal device has the earphone access, the terminal device directly displays the terminal device. All the application prompt lists supporting headphones are available for users to select, which greatly improves the efficiency of the terminal device users to listen to the radio, play music, make calls, etc., and improve the overall usability of the terminal device. Moreover, the configurability of the software can be improved by using the embodiment of the invention, and the corresponding modification can be obtained only by changing the configuration file for the related application.
如图 2所示, 为本发明实施例的终端设备结构图, 本实施例的终端设备 具体包括: 检测模块 21和显示模块 22 , 其中检测模块 21用于检测是否有耳 机接入; 显示模块 22用于当检测模块 21检测到耳机接入时显示终端设备中 所有支持耳机的应用提示列表。  As shown in FIG. 2, it is a structural diagram of a terminal device according to an embodiment of the present invention. The terminal device in this embodiment includes: a detection module 21 and a display module 22, wherein the detection module 21 is configured to detect whether a headset is accessed; and the display module 22 It is used to display an application prompt list of all supported headphones in the terminal device when the detecting module 21 detects the earphone access.
本实施例的终端设备还可以包括: 存储模块 23 , 用于存储配置文件, 该 配置文件是显示模块 22显示应用提示列表的依据; 解析模块 25 , 用于解析 上述配置文件, 以供显示模块 22显示。  The terminal device of this embodiment may further include: a storage module 23, configured to store a configuration file, where the configuration file is used by the display module 22 to display an application prompt list; and the parsing module 25 is configured to parse the configuration file for the display module 22 display.
本实施例的终端设备还可以进一步包括: 启动模块 24 , 用于当终端设 备的用户选择显示模块 22显示的应用提示列表中的一个应用选项时, 启 动所述应用。  The terminal device of this embodiment may further include: a startup module 24, configured to: when the user of the terminal device selects an application option in the application prompt list displayed by the display module 22, start the application.
本发明实施例在检测模块 21检测到有耳机接入时, 显示模块 22在检 测模块 21检测到有耳机接入时, 将解析模块 25解析得到的应用提示列表 显示出来。 解析模块 25可以在终端设备开机时解析配置文件并保存, 显 示模块 11在需要时直接显示解析后的配置文件。 解析模块 25也可以在终 端设备开机后第一次检测到耳机接入是解析配置文件并保存, 后续显示模 块 22可以在检测到耳机接入时直接显示解析后的配置文件。 解析模块 25 还可以在每次检测模块 21检测到耳机接入时解析配置文件供显示模块 11 显示。  In the embodiment of the present invention, when the detecting module 21 detects that the earphone is connected, the display module 22 displays the application prompt list parsed by the parsing module 25 when the detecting module 21 detects that the earphone is accessed. The parsing module 25 can parse and save the configuration file when the terminal device is powered on, and the display module 11 directly displays the parsed configuration file when needed. The parsing module 25 can also detect that the headset access is parsing the configuration file and save it for the first time after the terminal device is powered on. The subsequent display module 22 can directly display the parsed configuration file when detecting the headset access. The parsing module 25 can also parse the configuration file for display by the display module 11 each time the detection module 21 detects the headset access.
如图 3所示, 为本发明实施例的耳机应用程序调用装置结构图, 具体 包括: 检测模块 1 , 用于检测终端设备是否有耳机接入; 显示模块 2 , 用 于根据检测模块 1的检测结果显示终端设备中所有支持耳机的应用提示列表。  As shown in FIG. 3, a structural diagram of a headset application calling device according to an embodiment of the present invention specifically includes: a detecting module 1 configured to detect whether a terminal device has a headset access; and a display module 2 configured to detect according to the detecting module 1 The results show a list of all application reminders that support headsets in the terminal.
其中, 本发明实施例的耳机应用程序调用装置, 还包括: 存储模块 3 , 用于存储配置文件, 所述配置文件是所述显示模块 2显示所述应用提示列 表的依据; 启动模块 4 , 用于当终端设备的用户选择显示模块 2显示的应 用提示列表中的一个应用选项时, 启动对应的应用; 解析模块 5 , 用于解 析所述配置文件, 以供显示模块显示。 The headset application calling device of the embodiment of the present invention further includes: a storage module 3, For storing a configuration file, the configuration file is a basis for the display module 2 to display the application prompt list; the startup module 4 is configured to: when the user of the terminal device selects an application option in the application prompt list displayed by the display module 2 The corresponding application is started; the parsing module 5 is configured to parse the configuration file for display by the display module.
本发明实施例在检测模块 1检测到有耳机接入时, 显示模块 2在检测 模块 1检测到有耳机接入时, 将解析模块 5解析得到的应用提示列表显示 出来。 解析模块 5可以在终端设备开机时解析配置文件并保存, 显示模块 2在需要时直接显示解析后的配置文件。 解析模块 5也可以在终端设备开 机后第一次检测到耳机接入是解析配置文件并保存, 后续显示模块 2可以 在检测到耳机接入时直接显示解析后的配置文件。 解析模块 5还可以在每 次检测模块 1检测到耳机接入时解析配置文件供显示模块 2显示。  In the embodiment of the present invention, when the detecting module 1 detects that there is a headset access, the display module 2 displays the application prompt list parsed by the parsing module 5 when the detecting module 1 detects that the earphone is accessed. The parsing module 5 can parse and save the configuration file when the terminal device is powered on, and the display module 2 directly displays the parsed configuration file when needed. The parsing module 5 can also detect that the headset access is parsing the configuration file and save it for the first time after the terminal device is turned on, and the subsequent display module 2 can directly display the parsed configuration file when detecting the headset access. The parsing module 5 can also parse the configuration file for display by the display module 2 each time the detecting module 1 detects the earphone access.
本发明实施例在检测模块 1检测到终端设备有耳机接入时, 显示模块 2直接显示所述终端设备中所有支持耳机的应用提示列表, 供用户选择, 从而大大提高了终端设备用户使用耳机进行收听收音机、 播放音乐、 拨打 电话的等操作的效率, 提高了终端设备的整体易用性。 而且运用本发明实 施例可以提高软件的可配置性, 对于相关应用只需要更改配置文件即可得 到对应 4爹改。  In the embodiment of the present invention, when the detecting module 1 detects that the terminal device has the earphone access, the display module 2 directly displays the application prompt list of all the supporting headphones in the terminal device for the user to select, thereby greatly improving the terminal device user to use the earphone. The efficiency of listening to the radio, playing music, making calls, etc., improves the overall usability of the terminal device. Moreover, the configurability of the software can be improved by using the embodiment of the present invention. For the related application, only the configuration file needs to be changed to obtain the corresponding tampering.
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令用以 使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执 行本发明各个实施例所述的方法。 此, 任何本领域的技术人员能思之的变化都应落入本发明的保护范围。 以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应该以权利要求的保护范围为准。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making a A computer device (which may be a personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention. Any changes that can be considered by those skilled in the art should fall within the scope of the present invention. The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种耳机应用程序调用方法, 其特征在于, 包括以下步骤: 检测是否有耳机接入;  A method for calling a headset application, comprising the steps of: detecting whether a headset is accessed;
如果检测到有耳机接入, 则显示终端设备中所有支持耳机的应用提示 列表。  If a headset access is detected, a list of application prompts for all headsets in the terminal device is displayed.
2、 如权利要求 1所述耳机应用程序调用方法, 其特征在于, 所述检测是否有耳机接入, 具体通过包括: 中断方式或通用输入输出口 2. The headset application calling method according to claim 1, wherein the detecting whether there is a headset access comprises: interrupt mode or universal input and output port
GP 10方式或接口轮询方式检测。 GP 10 mode or interface polling mode detection.
3、 如权利要求 1或 2所述耳机应用程序调用方法, 其特征在于, 还 包括: 预先在所述终端设备的软件集成时增加配置文件, 所述配置文件描 述了所述终端设备中所有支持耳机的应用名称和对应的标识 ID启动入口; 所述显示终端设备中所有支持耳机的应用提示列表具体为: 解析所述 配置文件, 根据解析结果显示所述终端设备中所有支持耳机的应用提示列 表。  The headset application calling method according to claim 1 or 2, further comprising: adding a configuration file in advance of software integration of the terminal device, the configuration file describing all support in the terminal device The application name of the headset and the corresponding identifier ID are used to initiate the entry. The application prompt list of all the headsets in the display terminal device is: parsing the configuration file, and displaying an application prompt list of all the headsets supported by the terminal device according to the analysis result. .
4、 如权利要求 3 所述耳机应用程序调用方法, 其特征在于, 所述配 置文件包括应用名称和对应的标识 ID的格式, 所述标识 ID唯一标识一个 所述支持耳机的应用。  The headset application calling method according to claim 3, wherein the configuration file includes an application name and a corresponding identifier ID format, and the identifier ID uniquely identifies an application supporting the headset.
5、 如权利要求 1所述耳机应用程序调用方法, 其特征在于, 所述显示终 端设备中所有支持耳机的应用提示列表之后, 还包括: 当所述终端设备的用 户选择所述应用提示列表中一个应用选项时, 所述终端设备用所述应用选项 对应的 ID启动所述应用。  The headset application calling method according to claim 1, wherein after the application prompt list supporting all the headphones in the terminal device, the method further includes: when the user of the terminal device selects the application prompt list When an application option is selected, the terminal device starts the application with an ID corresponding to the application option.
6、 一种终端设备, 其特征在于, 包括:  6. A terminal device, comprising:
检测模块, 用于检测是否有耳机接入;  a detecting module, configured to detect whether a headset is connected;
显示模块, 用于当所述检测模块检测到耳机接入时显示终端设备中所有 支持耳机的应用提示列表。  And a display module, configured to display an application prompt list of all supporting headphones in the terminal device when the detecting module detects the earphone access.
7、 如权利要求 6所述终端设备, 其特征在于, 还包括: 存储模块, 用于存储配置文件, 所述配置文件是所述显示模块显示所述 应用提示列表的依据; The terminal device according to claim 6, further comprising: a storage module, configured to store a configuration file, where the configuration file is a basis for the display module to display the application prompt list;
解析模块, 用于解析所述配置文件, 以供显示模块显示。  A parsing module, configured to parse the configuration file for display by the display module.
8、 如权利要求 6所述终端设备, 其特征在于, 还包括:  8. The terminal device according to claim 6, further comprising:
启动模块, 用于当所述终端设备的用户选择所述显示模块显示的应用提 示列表中的一个应用选项时, 启动所述应用。  And a startup module, configured to start the application when a user of the terminal device selects an application option in an application prompt list displayed by the display module.
9、 一种耳机应用程序调用装置, 其特征在于, 包括:  9. A headset application calling device, comprising:
检测模块, 用于检测终端设备是否有耳机接入;  a detecting module, configured to detect whether the terminal device has a headset access;
显示模块, 用于当所述检测模块检测到耳机接入时显示终端设备中所 有支持耳机的应用提示列表。  And a display module, configured to display, when the detecting module detects the earphone access, an application prompt list supporting all the headphones in the terminal device.
1 0、如权利要求 9所述耳机应用程序调用装置, 其特征在于,还包括: 存储模块, 用于存储配置文件;  The headset application calling device of claim 9, further comprising: a storage module, configured to store a configuration file;
解析模块, 用于解析所述配置文件, 以供显示模块显示。  A parsing module, configured to parse the configuration file for display by the display module.
1 1、如权利要求 9所述耳机应用程序调用装置, 其特征在于,还包括: 启动模块, 用于当所述终端设备的用户选择所述显示模块显示的应用 提示列表中的一个应用选项时, 启动所述应用。  The headset application calling device according to claim 9, further comprising: a startup module, configured to: when a user of the terminal device selects an application option in an application prompt list displayed by the display module , launch the application.
PCT/CN2008/073078 2008-01-22 2008-11-14 Method and apparatus for invoking earphone application program WO2009094878A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/356,372 US20090185675A1 (en) 2008-01-22 2009-01-20 Method and device for invoking earpiece application program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810004373.0 2008-01-22
CN200810004373.0A CN101242604B (en) 2008-01-22 2008-01-22 An automatic operation method and device for plugged earphone of terminal device

Publications (1)

Publication Number Publication Date
WO2009094878A1 true WO2009094878A1 (en) 2009-08-06

Family

ID=39933760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073078 WO2009094878A1 (en) 2008-01-22 2008-11-14 Method and apparatus for invoking earphone application program

Country Status (2)

Country Link
CN (1) CN101242604B (en)
WO (1) WO2009094878A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242604B (en) * 2008-01-22 2012-12-12 华为终端有限公司 An automatic operation method and device for plugged earphone of terminal device
CN101854432A (en) * 2010-05-18 2010-10-06 深圳桑菲消费通信有限公司 Mobile phone control method of popping up corresponding functional menu after earphone is plugged in
CN101895633A (en) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 Mobile terminal and unlocking method thereof
CN102739839A (en) * 2011-04-07 2012-10-17 深圳富泰宏精密工业有限公司 Mobile phone application program starting method and system
CN103631613A (en) * 2012-08-24 2014-03-12 上海斐讯数据通信技术有限公司 Terminal unlocking and program running triggering method
CN102868817A (en) * 2012-09-07 2013-01-09 广东欧珀移动通信有限公司 Method and system for automatic running of earphone inserted in mobile terminal
CN102932549A (en) * 2012-11-05 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal and method for accessing application programs rapidly through earphones
CN103095913B (en) * 2012-12-31 2014-11-19 东莞宇龙通信科技有限公司 Dialing method and electronic device
CN103209264A (en) * 2013-03-29 2013-07-17 苏州佳世达电通有限公司 Emergency calling method and system for mobile device
CN103488473B (en) * 2013-08-27 2017-11-14 上海斐讯数据通信技术有限公司 A kind of management system and management method to application program for mobile terminal
CN105511849A (en) * 2014-10-17 2016-04-20 中兴通讯股份有限公司 Method, device and system for application program display
CN105487763B (en) 2016-01-14 2019-12-06 深圳Tcl数字技术有限公司 application program display method and system
CN105955769A (en) * 2016-04-22 2016-09-21 青岛海信移动通信技术股份有限公司 Method and apparatus for starting multimedia application
CN106921878A (en) * 2017-03-01 2017-07-04 珠海迈科智能科技股份有限公司 The data processing method and device of Set Top Box
CN107241511B (en) * 2017-06-30 2020-04-10 Oppo广东移动通信有限公司 Music playing method, device, storage medium and terminal
CN111935801B (en) * 2020-07-16 2023-04-28 中国联合网络通信集团有限公司 Voice access method, system, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475872A (en) * 1993-01-14 1995-12-12 Sony Corporation Portable telephone with external transmitter-receiver connections
CN1224319A (en) * 1997-09-30 1999-07-28 日本电气株式会社 Mobile terminal provided with display controlling function by detecting insertion of earphone jack
CN1885983A (en) * 2005-06-24 2006-12-27 Lg电子株式会社 Apparatus and method for configuring an on-screen image in a mobile telecommunication handset upon connection of earphone
CN101242604A (en) * 2008-01-22 2008-08-13 深圳华为通信技术有限公司 An automatic operation method and device for plugged earphone of terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475872A (en) * 1993-01-14 1995-12-12 Sony Corporation Portable telephone with external transmitter-receiver connections
CN1224319A (en) * 1997-09-30 1999-07-28 日本电气株式会社 Mobile terminal provided with display controlling function by detecting insertion of earphone jack
CN1885983A (en) * 2005-06-24 2006-12-27 Lg电子株式会社 Apparatus and method for configuring an on-screen image in a mobile telecommunication handset upon connection of earphone
CN101242604A (en) * 2008-01-22 2008-08-13 深圳华为通信技术有限公司 An automatic operation method and device for plugged earphone of terminal device

Also Published As

Publication number Publication date
CN101242604A (en) 2008-08-13
CN101242604B (en) 2012-12-12

Similar Documents

Publication Publication Date Title
WO2009094878A1 (en) Method and apparatus for invoking earphone application program
EP2241094B1 (en) System and method for determining accessory type
US8290544B2 (en) Method and device for activating a media player based on type of coupled speaker
EP3961371A1 (en) Voice interaction method, apparatus, and system
US6845408B1 (en) Method for controlling software in an electronic system having an insertable peripheral device
US20080004052A1 (en) System and method for multimedia networking with mobile telephone and headset
WO2017166603A1 (en) Sound quality adjustment method, terminal, electronic device, and non-volatile computer storage medium
TW200847755A (en) A media transfer and control system
US8392525B2 (en) Mobile electronic device, content playback device, content acquisition method, content location notification method, content acquisition program, and content use system
TW200833074A (en) System and method for broadcasting an alert
US20080063156A1 (en) System and method for coordinating audiovisual content with contact list information
CN105959482B (en) A kind of control method and electronic equipment of scene audio
US7836218B2 (en) System and method for recognizing external device by portable terminal
WO2019144292A1 (en) Video answering communication method, and terminal
JP2008270901A (en) Telephone terminal and communicating system
WO2023011370A1 (en) Audio playing method and apparatus
WO2016179961A1 (en) Incoming call processing method and apparatus for mobile terminal, mobile terminal and storage medium
JP6031825B2 (en) Music data output system
WO2009076881A1 (en) Method for setting ring back service, method, system and device for implementing ring back service
CN113760219A (en) Information processing method and device
US20110053563A1 (en) Portable handsfree device with local voicemail service for use with a mobile terminal
US20050050249A1 (en) Communication device and a method for establishing communication connection
CN104811850A (en) WIFI based intelligent sound box
TW200807904A (en) Bluetooth device and control method
JP2001268181A (en) Mobile phone

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08871934

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08871934

Country of ref document: EP

Kind code of ref document: A1