WO2012139515A1 - 一种网络对讲的实现方法及系统 - Google Patents

一种网络对讲的实现方法及系统 Download PDF

Info

Publication number
WO2012139515A1
WO2012139515A1 PCT/CN2012/073941 CN2012073941W WO2012139515A1 WO 2012139515 A1 WO2012139515 A1 WO 2012139515A1 CN 2012073941 W CN2012073941 W CN 2012073941W WO 2012139515 A1 WO2012139515 A1 WO 2012139515A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
qchat
currently
call
determined
Prior art date
Application number
PCT/CN2012/073941
Other languages
English (en)
French (fr)
Inventor
赵文波
Original Assignee
青岛海信移动通信技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海信移动通信技术股份有限公司 filed Critical 青岛海信移动通信技术股份有限公司
Publication of WO2012139515A1 publication Critical patent/WO2012139515A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for implementing a network intercom. Background technique
  • Qchat is an intercom solution based on High Speed Packet Data (EVDO) network proposed by Qualcomm. It is a technology that can use the packet interaction network to quickly perform one-to-one or one-to-many calls in the whole network. . With the vigorous promotion of the Qchat business, there are more and more people using the Qchat business.
  • EVDO High Speed Packet Data
  • the Qchat intercom has a dedicated Push To Talk (PTT) button on the side.
  • PTT Push To Talk
  • This button can be used to preempt and release the voice. Press the button to preempt the voice. Release the button. Release the right to speak.
  • the Bluetooth headset as a wireless device, can be wirelessly transmitted within a few meters of the phone. Users can control the music player through buttons on the Bluetooth headset, such as playback and pause, without having to control it through the phone.
  • the current Bluetooth headset is only used as a wireless headset in the Qchat service. During the call, the headset, hands-free and Bluetooth headset can be switched back and forth, but if the user wants to gain the right to speak, he must exit the Qchat through the PTT button on the phone. The call can only be brought to the user's use by the hang up button on the phone or the hang up menu on the screen.
  • Embodiments of the present invention provide a method and system for implementing a network intercom, which is used to implement effective use of a Bluetooth headset, and at the same time improve the convenience of the Qchat service and facilitate user use.
  • a method for implementing a network intercom includes the following steps:
  • a network intercom implementation system including:
  • a Bluetooth module configured to receive a trigger event of pressing a Bluetooth button
  • An event processing module configured to: when the pressed bluetooth button is a play button, determine whether a Qchat call service is currently being performed; and when determining that the Qchat call service is currently in progress, mapping the pressed play button to a PTT Press the button to preempt the right to speak.
  • a terminal device includes a Qchat module for completing a Qchat call service, and an event processing module located in the Qchat module, where the event processing module is configured to perform preemption of a voice right and initiate a Qchat call.
  • the triggering event of pressing the Bluetooth button is received; when the pressed Bluetooth button is the play button, determining whether the Qchat call service is currently being performed; when determining that the Qchat call service is currently being performed, the pressed place is
  • the play button is mapped to the PTT button, and the voice right preemption is performed.
  • FIG. 1 is a flowchart of a main method for implementing a network intercom in an embodiment of the present invention
  • FIG. 2 is a flowchart of a detailed method for implementing a network intercom in an embodiment of the present invention
  • FIG. 3 is a flow chart of a detailed method for implementing network intercom when a pressed bluetooth button is a play button according to an embodiment of the present invention
  • FIG. 4 is a main structural diagram of a network intercom implementation system according to an embodiment of the present invention.
  • FIG. 5 is a main structural diagram of a network intercom implementation terminal according to an embodiment of the present invention. detailed description
  • the triggering event of pressing the Bluetooth button is received; when the pressed Bluetooth button is the play button, determining whether the Qchat call service is currently being performed; when determining that the Qchat call service is currently being performed, the pressed place is
  • the play button is mapped to the PTT button, and the voice right preemption is performed.
  • the function of the PTT button on the terminal is realized by the button on the Bluetooth headset, and the Qchat service can be completed through the Bluetooth headset, without the control of the button on the terminal, thereby realizing the effective use of the Bluetooth headset function, and also improving the Qchat. Convenience of the business, even if the terminal device is not at the user's side, as long as the terminal device and the Bluetooth headset are in communication range, the Bluetooth headset can be completed.
  • the Qchat business is convenient for users.
  • the main method of the network intercom in the embodiment of the present invention is as follows:
  • Step 101 Receive a trigger event when the Bluetooth button is pressed.
  • a Bluetooth button When a Bluetooth button is pressed, it is equivalent to a trigger event that causes the Bluetooth button to be pressed.
  • the main application in the embodiment of the present invention is a play button and a stop button on a Bluetooth headset.
  • the Bluetooth headset may be a Bluetooth headset for a call, and the play button is a call button on the Bluetooth headset, the stop button is a hang up button on the Bluetooth headset, or the Bluetooth headset may also be used for playing The Bluetooth headset of the music, the play button is a music play button on the Bluetooth headset, and the stop button is a music stop button on the Bluetooth headset.
  • Bluetooth Bluetooth
  • Bluetooth is a technology for solving short-distance wireless communication problems, and its effective communication distance is generally within 10 meters. According to the different application methods of Bluetooth, different configuration protocols are defined in the standard.
  • the audio/video remote control profile (AVRCP) protocol is designed to be controlled by Bluetooth when listening to stereo music or watching video media on a Bluetooth media output device.
  • the device conveniently implements a protocol for controlling the media being played.
  • the AVRCP protocol defines the common control commands in media playback, including: Play, Stop, pause, Next, and Back.
  • Step 102 When the pressed blue button is a play button, it is determined whether the Qchat call service is currently being performed. When the determination is YES, the process proceeds to step 103.
  • Step 103 When it is determined that the Qchat call service is currently in progress, the pressed play button is mapped to a PTT button, and the voice right preemption is performed. Modifying the received button value of the play button to the same button value as the PTT button, that is, mapping the received play button to the PTT button on the terminal device, thereby completing the same as the PTT button through the play button. Function, preemptive of the right to speak by retaining the button value of the play button. The play button can be released after preempting the utterance.
  • Step 201 Receive a trigger event of pressing a Bluetooth button.
  • Step 202 Determine whether the pressed Bluetooth button is a play button. When the determination is yes, step 203 is continued, otherwise step 204 is continued.
  • Step 203 When it is determined that the Qchat call service is currently in progress, the pressed play button is mapped to a PTT button for the voice right preemption.
  • the button value of the play button to be received is modified to the same button value as the PTT button for preemption of the voice right.
  • the Qchat call service is currently in progress, and therefore the determination process of determining whether the Qchat call service is currently being performed before step 203 is omitted.
  • Step 204 Determine whether the pressed bluetooth button is a stop button. When the result is YES, continue with the steps
  • Step 205 Determine whether the Qchat call service is currently in progress. When the determination is YES, proceed to step 206, otherwise the process ends. Step 206: Exit the current Qchat call service. When the button value of the PTT button is deleted, the current Qchat call service is exited.
  • the Qchat call service is currently being performed. If the Qchat call service is currently being performed, and the play button is pressed, the received play button is mapped to the PTT button for performing. If the Qchat call service is not currently performed, and the play button is pressed, it is determined whether the call is currently in the dialing application; if the pressed Bluetooth button is neither a play button nor a stop button, no operation is performed; If the Qchat call service is currently in progress, the pressed Bluetooth button is the stop button, then the Qchat call service is exited; if the Qchat call service is not currently performed, the pressed Bluetooth button is the stop button, and no operation is performed.
  • a detailed method for determining a network intercom when a pressed bluetooth button is a play button is as follows:
  • Step 301 Receive a trigger event of pressing the Bluetooth button.
  • the pressed bluetooth button is a play button, so the process of determining whether the pressed blue button is a play button after step 301 is omitted.
  • Step 302 Determine whether the Qchat call service is currently in progress. When the determination is yes, proceed to step 303, otherwise continue to step 304.
  • Step 303 Map the pressed play button to a PTT button to perform voice right preemption.
  • the received button value of the play button is modified to be the same button value as the PTT button, and the voice right preemption is performed by retaining the button value of the play button.
  • Step 304 Determine if it is currently in the dialpad application. When the determination is yes, step 308 is continued, otherwise step 305 is continued.
  • Step 305 Determine if it is currently in the contacts application. When the determination is yes, step 308 is continued, otherwise step 306 is continued.
  • Step 306 Determine if it is currently in the call record application. When the determination is yes, step 308 is continued, otherwise step 307 is continued.
  • Step 307 Determine if it is currently in the Qchat invitation interface application. When the result is YES, continue with the steps
  • step 304-step 307 may be performed in any order without prioritization, or may be performed simultaneously.
  • Step 308 Obtain the number information, and initiate a Qchat call according to the number information. For example, you can call the IQDK30C ALL StartCall ( ) function to initiate a Qchat call.
  • Step 309 Determine if there is currently an unprocessed Qchat call invitation. When the determination is YES, the process proceeds to step 310, otherwise the process ends.
  • Step 310 Obtain the number of the last Qchat call invitation, and initiate a Qchat call to the number.
  • the IQkat30CALL_StartCall() function for the call can be invoked to initiate a Qchat call to the number.
  • IQDK3 OC ALL StartCall () function is the Application Programming Interface (API) function.
  • buttons on the Bluetooth headset can be used to control the preemption of the voice right, the initiation of the call and the launch of the call in the Qchat call, so that the use of the Qchat service is more convenient.
  • the network intercom implementation system in the embodiment of the present invention includes a Bluetooth module 401 and an event processing module.
  • the Bluetooth module 401 is used to receive a trigger event of pressing a Bluetooth button.
  • the Bluetooth module 401 is located at the Bluetooth headset end.
  • the event processing module 402 is notified, wherein the Bluetooth module 401 can notify the event in the form of an event.
  • the processing module 402, the parameter of the event includes key information of the current user.
  • the event processing module 402 is located in the Qchat module of the terminal device, and the terminal device may be a mobile phone.
  • the Qchat module can be started automatically when the phone is turned on. If the mobile phone is turned on for the first time after joining the event processing module 402, the Bluetooth event can be registered with the system after the power is turned on.
  • the Ishell_RegisterNotify ( ) function for registration can be used to register the Bluetooth event with the system. After registration, when the Bluetooth button is pressed, That is, when the trigger event of pressing the Bluetooth button is received, the Bluetooth module 401 can notify the event processing module 402 to perform processing. When it is determined that the Bluetooth headset is not required to control the Qchat service, the system can be registered.
  • the Bluetooth module 401 includes only one Bluetooth button. Then, when the Bluetooth button is pressed, the event processing module 402 queries whether the button value of the PTT button exists. If it exists, the button value is deleted, indicating that the Bluetooth button is released, that is, the Bluetooth button pressed is the stop button, if not If yes, the button value of the pressed blue button is changed to the same button value as the PTT button, that is, the Bluetooth button that is pressed is the play button.
  • the terminal device in the embodiment of the present invention includes a Qchat module 501 and an event processing module 402.
  • the event processing module 402 is located in the Qchat module 501.
  • the terminal device may be a mobile phone.
  • the event processing module 402 is used to:
  • the pressed blue button is a play button, it is determined whether the network intercom scheme Qchat call service is currently being performed; and when it is determined that the Qchat call service is currently being performed, the pressed play button is mapped to a push-to-talk PTT Press the button to preempt the right to speak.
  • the embodiment of the invention receives the triggering event of pressing the bluetooth button; when the pressed bluetooth button is the playing button, determining whether the Qchat call service is currently being performed; when determining that the Qchat call service is currently being performed, the playing will be pressed
  • the button is mapped to the PTT button, and the voice right preemption is performed.
  • the function of the PTT button on the terminal is realized by the button on the Bluetooth headset, and the Qchat service can be completed through the Bluetooth headset, that is, the button on the Bluetooth headset can be used to control the preemption of the voice right in the Qchat call, the initiation of the call, and the exit of the call.
  • the process without the need to control through the buttons on the terminal device, realizes the effective use of the Bluetooth headset function, and also improves the convenience of the Qchat service, even if the terminal device is not at the user's side, as long as the terminal device and the Bluetooth headset are Within the communication range, the Qchat service can be completed through the Bluetooth headset, which is convenient for the user.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention is applicable to the form of a computer program product embodied on one or more computer usable storage modules (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied. Style.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

本申请公开了一种网络对讲的实现方法,用于实现对蓝牙耳机的有效利用,同时提高Qchat业务的便捷性,方便用户使用。所述方法包括:接收按下蓝牙按键的触发事件;当所述按下的蓝牙按键为播放按键时,确定当前是否正在进行网络对讲方案Qchat通话业务;当确定当前正在进行Qchat通话业务时,将接收到的所述播放按键映射为即按即讲PTT按键,进行话语权抢占。本申请还公开了用于实现所述方法的系统。

Description

一种网络对讲的实现方法及系统 本申请要求在 2011年 04月 13 日提交中国专利局、 申请号为 201110092352.0、发明名 称为"一种网络对讲的实现方法及系统"的中国专利申请的优先权, 其全部内容通过引用结 合在本申请中。 技术领域
本发明涉及通信领域, 特别涉及一种网络对讲的实现方法及系统。 背景技术
Qchat是由高通公司提出的一种基于高速分组数据 ( EVDO )网络的对讲方案, 它是利 用分组交互网络,可以在全网络中快速进行"一对一 "或者 "一对多"通话的技术。 随着 Qchat 业务的大力推广, 使用 Qchat业务的人群也越来越多。
Qchat使用的是半双工的工作模式, 任一时刻只能有一个用户可以拥有话语权, 通话 过程中用户如果想获得话语权需要通过手机上的按键来进行话语权抢占。 因此 Qchat对讲 手机一般在侧面有一个专用的即按即讲( Push To Talk, PTT )按键, 使用该按键可以进行 话语权的抢占和释放, 按下该按键进行话语权的抢占, 释放该按键就释放掉话语权。 另外 使用该按键还可以发起 Qchat呼叫,如在待机界面输入号码,按下该按键就可以发起 Qchat 呼叫。 在 Qchat通话中如果要退出该次呼叫, 要使用手机上的挂断键或手机展幕上的挂断 菜单。 而使用 Qchat业务的用户在通话过程中, 大部分使用免提、 耳机、 或蓝牙耳机进行 对讲, 听筒使用的较少, 而 Qchat业务均需通过手机上的 PTT按键来控制, 操作不便。
蓝牙耳机, 作为一种无线设备, 可以和手机在相隔几米的范围内进行无线传输, 用户 可以通过蓝牙耳机上的按键进行音乐播放器的控制, 如播放和暂停等, 而无需通过手机来 控制。 但目前蓝牙耳机在 Qchat业务中仅当作一种无线耳机使用, 在通话过程中耳机、 免 提和蓝牙耳机可以来回切换, 但是用户如果想获得话语权则必须通过手机上的 PTT按键, 退出 Qchat通话也只能通过手机上的挂断键或屏幕上的挂断菜单, 给用户的使用带来一定 的不便。 发明内容
本发明实施例提供一种网络对讲的实现方法及系统, 用于实现对蓝牙耳机的有效利 用, 同时提高 Qchat业务的便捷性, 方便用户使用。
一种网络对讲的实现方法, 包括以下步骤:
接收按下蓝牙按键的触发事件; 当所述按下的蓝牙按键为播放按键时, 确定当前是否正在进行 Qchat通话业务; 当确定当前正在进行 Qchat通话业务时, 将按下的所述播放按键映射为 PTT按键, 进 行话语权抢占。
一种网络对讲的实现系统, 包括:
蓝牙模块, 用于接收按下蓝牙按键的触发事件;
事件处理模块, 用于当所述按下的蓝牙按键为播放按键时, 确定当前是否正在进行 Qchat通话业务; 及当确定当前正在进行 Qchat通话业务时, 将按下的所述播放按键映射 为 PTT按键, 进行话语权抢占。
一种终端设备, 包括用于完成 Qchat通话业务的 Qchat模块, 及位于所述 Qchat模块 中的事件处理模块, 所述事件处理模块用于进行话语权的抢占及发起 Qchat通话。
本发明实施例中, 接收按下蓝牙按键的触发事件; 当按下的蓝牙按键为播放按键时, 确定当前是否正在进行 Qchat通话业务; 当确定当前正在进行 Qchat通话业务时, 将按下 的所述播放按键映射为 PTT按键, 进行话语权抢占。 用蓝牙耳机上的按键实现了手机上 PTT按键的功能, 通过蓝牙耳机即可完成 Qchat业务, 而无需通过手机按键来控制, 实现 了对蓝牙耳机功能的有效利用, 同时也更加提高了 Qchat业务的便捷性, 即使手机不在用 户身边, 但只要手机与蓝牙耳机在可通信范围内, 即可通过蓝牙耳机完成 Qchat业务, 方 便了用户的使用。 附图说明
图 1为本发明实施例中网络对讲实现的主要方法流程图;
图 2为本发明实施例中网络对讲实现的详细方法流程图;
图 3为本发明实施例中确定按下的蓝牙按键为播放按键时网络对讲实现的详细方法流 程图;
图 4为本发明实施例中网络对讲实现系统的主要结构图;
图 5为本发明实施例中网络对讲实现终端的主要结构图。 具体实施方式
本发明实施例中, 接收按下蓝牙按键的触发事件; 当按下的蓝牙按键为播放按键时, 确定当前是否正在进行 Qchat通话业务; 当确定当前正在进行 Qchat通话业务时, 将按下 的所述播放按键映射为 PTT按键, 进行话语权抢占。 用蓝牙耳机上的按键实现了终端上 PTT按键的功能, 通过蓝牙耳机即可完成 Qchat业务, 而无需通过终端上的按键来控制, 实现了对蓝牙耳机功能的有效利用, 同时也更加提高了 Qchat业务的便捷性, 即使终端设 备不在用户身边, 但只要终端设备与蓝牙耳机在可通信范围内, 即可通过蓝牙耳机完成 Qchat业务, 方便了用户的使用。
参见图 1 , 本发明实施例中网络对讲的主要方法流程如下:
步骤 101 : 接收按下蓝牙按键的触发事件。 当有蓝牙按键被按下时, 即相当于产生了 按下蓝牙按键的触发事件。
本发明实施例中主要应用的是蓝牙耳机上的播放按键和停止按键。 所述蓝牙耳机可以 是用于通话的蓝牙耳机, 则所述播放按键为蓝牙耳机上的通话按键 , 所述停止按键为蓝牙 耳机上的挂断按键 , 或者所述蓝牙耳机也可以是用于播放音乐的蓝牙耳机, 则所述播放按 键为所述蓝牙耳机上的音乐播放按键, 所述停止按键为所述蓝牙耳机上的音乐停止按键。 蓝牙( BlueTooth )是一种用于解决短距离的无线通信问题的技术, 其有效通信距离一般在 10 米以内。 根据蓝牙的不同应用方式, 在标准中定义了不同的配置协议, 其中音频 /视频 远程控制配置文件(AVRCP )协议是为了在蓝牙媒体输出设备上收听立体声音乐或收看视 频媒体时, 能够通过蓝牙控制设备方便地实现对所播放媒体的控制的协议。 AVRCP协议定 义了媒体播放中常见的控制指令, 包括: 播放(Play ), 停止(Stop ), 暂停(pause ) ,下一 首 ( forward ),上一首 ( backward )。
步骤 102: 当按下的蓝牙按键为播放按键时, 确定当前是否正在进行 Qchat通话业务。 当确定结果为是时, 继续步骤 103。
步骤 103: 当确定当前正在进行 Qchat通话业务时,将按下的所述播放按键映射为 PTT 按键, 进行话语权抢占。 将接收到的所述播放按键的按键值修改为与 PTT按键相同的按键 值, 即相当于将接收到的播放按键映射为终端设备上的 PTT按键, 从而通过该播放按键完 成与 PTT按键相同的功能, 通过保留该播放按键的按键值进行话语权抢占。 当抢占到话语 权之后即可释放该播放按键。
参见图 2 , 本发明实施例中网络对讲的详细方法流程如下:
步骤 201 : 接收按下蓝牙按键的触发事件。
步骤 202: 确定按下的蓝牙按键是否为播放按键。 当确定结果为是时, 继续步骤 203 , 否则继续步骤 204。
步骤 203: 当确定当前正在进行 Qchat通话业务时,将按下的所述播放按键映射为 PTT 按键, 以进行话语权抢占。 即将接收到的所述播放按键的按键值修改为与 PTT按键相同的 按键值, 以进行话语权抢占。 本发明实施例中当前正在进行 Qchat通话业务, 因此省略了 步骤 203之前确定当前是否正在进行 Qchat通话业务的确定过程。
步骤 204: 确定所述按下的蓝牙按键是否为停止按键。 当确定结果为是时, 继续步骤
205 , 否则结束流程, 即不进行操作。
步骤 205:确定当前是否正在进行 Qchat通话业务。 当确定结果为是时,继续步骤 206, 否则结束流程。 步骤 206: 退出当前 Qchat通话业务。删除 PTT按键的按键值, 即退出了当前的 Qchat 通话业务。
其中, 也可以在步骤 201之后先确定当前是否正在进行 Qchat通话业务, 如果当前正 在进行 Qchat通话业务, 且按下的是播放按键, 则将接收到的所述播放按键映射为 PTT按 键, 以进行话语权抢占; 如果当前没有进行 Qchat通话业务, 且按下的是播放按键, 则继 续确定当前是否处于拨号应用中; 如果按下的蓝牙按键既不是播放按键也不是停止按键, 则不进行操作; 如果当前正在进行 Qchat通话业务, 按下的蓝牙按键是停止按键, 则退出 该次 Qchat通话业务; 如果当前没有进行 Qchat通话业务, 按下的蓝牙按键是停止按键, 则不进行操作。
参见图 3 , 本发明实施例中确定按下的蓝牙按键为播放按键时网络对讲的详细方法流 程如下:
步骤 301 : 接收按下蓝牙按键的触发事件。 本发明实施例中确定所述按下的蓝牙按键 为播放按键, 因此省略了步骤 301之后确定所述按下的蓝牙按键是否为播放按键的过程。
步骤 302:确定当前是否正在进行 Qchat通话业务。 当确定结果为是时,继续步骤 303 , 否则继续步骤 304。
步骤 303: 将按下的所述播放按键映射为 PTT按键, 以进行话语权抢占。 将接收到的 所述播放按键的按键值修改为与 PTT按键相同的按键值,通过保留所述播放按键的按键值 进行话语权抢占。
步骤 304: 确定当前是否处于拨号盘应用中。 当确定结果为是时, 继续步骤 308, 否 则继续步骤 305。
步骤 305: 确定当前是否处于通讯录应用中。 当确定结果为是时, 继续步骤 308, 否 则继续步骤 306。
步骤 306: 确定当前是否处于通话记录应用中。 当确定结果为是时, 继续步骤 308, 否则继续步骤 307。
步骤 307: 确定当前是否处于 Qchat邀请界面应用中。 当确定结果为是时, 继续步骤
308, 否则继续步骤 309。
其中, 步骤 304-步骤 307的确定过程可以没有先后顺序, 按任意顺序进行, 也可以同 时进行。
步骤 308 : 获得号码信息, 根据该号码信息发起 Qchat 呼叫。 例如, 可以调用 IQDK30C ALL StartCall ( ) 函数发起 Qchat呼叫。
步骤 309: 确定当前是否有未处理的 Qchat通话邀请。 当确定结果为是时, 继续步骤 310, 否则结束流程。
步骤 310: 获得最近一次 Qchat通话邀请的号码, 发起对该号码的 Qchat呼叫。 例如, 可以调用用于呼叫的 IQDK30CALL_StartCall ( )函数,发起对该号码的 Qchat呼叫。其中, IQDK3 OC ALL StartCall ( ) 函数为应用程序编程接口 ( Application Programming Interface, API ) 函数。
通过以上的方法流程,即可使用蓝牙耳机上的按键来控制 Qchat通话中话语权的抢占、 通话的发起及通话的推出等过程, 使 Qchat业务的使用更加便捷。
下面介绍网络对讲的实现系统。
参见图 4, 本发明实施例中网络对讲的实现系统包括蓝牙模块 401 及事件处理模块
402。
蓝牙模块 401用于接收按下蓝牙按键的触发事件。 蓝牙模块 401位于蓝牙耳机端, 当 蓝牙模块 401获知有蓝牙按键被按下时, 即接收到按下蓝牙按键的触发事件时, 通知事件 处理模块 402, 其中蓝牙模块 401可以以事件的形式通知事件处理模块 402, 该事件的参 数中包含当前用户的按键信息。
事件处理模块 402用于当所述按下的蓝牙按键为播放按键时, 确定当前是否正在进行 Qchat通话业务, 当确定当前正在进行 Qchat通话业务时, 将按下的所述播放按键映射为 PTT按键, 以进行话语权抢占。 事件处理模块 402根据蓝牙模块 401发送的事件判断及确 定当前按下的蓝牙按键是否为播放按键, 如果确定所述按下的蓝牙按键为播放按键, 继续 确定当前是否正在进行 Qchat通话业务, 当确定当前正在进行 Qchat通话业务时, 将按下 的所述播放按键的按键值修改为与 PTT按键相同的按键值,即将接收到的所述播放按键映 射为 PTT按键, 以通过保留所述播放按键的按键值进行话语权抢占; 当确定当前没有进行 Qchat通话业务时, 继续确定当前是否处于拨号应用中, 其中, 所述拨号应用可以包括拨 号盘应用、 或通讯录应用、 或通话记录应用、 或 Qchat邀请界面应用等, 如果确定结果为 当前处于拨号应用中, 即当前处于拨号盘应用中、 或通讯录应用中、 或通话记录应用中、 或 Qchat邀请界面应用中, 则获得号码, 向该号码发起 Qchat呼叫。 其中, 如果当前处于 拨号盘应用中, 则可以发起对拨号盘中号码的呼叫, 如果当前处于通讯录应用中, 则可以 发起对通讯录中指定号码的呼叫, 如果当前处于通话记录应用中, 则可以发起对通话记录 中指定记录的号码的呼叫, 如果当前处于 Qchat邀请界面应用中, 则发起对该邀请号码的 Qchat 呼叫; 如果确定结果为当前不处于拨号应用中, 则继续确定当前是否有未处理的 Qchat通话邀请, 当确定当前有未处理的 Qchat通话邀请时,则获得最近一次的 Qchat通话 邀请的号码, 向该号码发起 Qchat呼叫, 当确定当前没有未处理的 Qchat通话邀请时, 则 不进行操作。 如果确定当前按下的蓝牙按键不是播放按键, 继续确定当前按下的蓝牙按键 是否为停止按键, 如果确定当前按下的蓝牙按键不是停止按键, 则不进行操作, 如果确定 当前按下的蓝牙按键为停止按键, 则继续确定当前是否正在进行 Qchat通话业务, 如果确 定当前正在进行 Qchat通话业务, 则退出该次 Qchat通话业务, 删除 PTT按键的按键值 , 即退出了当前的 Qchat通话业务。 如果确定当前没有进行 Qchat通话业务, 则不进行操作。 其中, 事件处理模块 402位于终端设备的 Qchat模块中, 所述终端设备可以是手机。 手机 开机时, 可以自动启动 Qchat模块。 如果是加入事件处理模块 402后手机首次开机, 则可 以在开机后向系统注册蓝牙事件, 例如可以使用用于注册的 Ishell_RegisterNotify ( ) 函数 向系统注册蓝牙事件, 注册后, 当有蓝牙按键按下时, 即接收到按下蓝牙按键的触发事件 时, 蓝牙模块 401即可通知事件处理模块 402进行处理。 当确定无需使用蓝牙耳机来控制 Qchat业务时, 可以向系统去注册, 例如可以使用用于去注册的 IshellJJnRegisterNotify ( ) 函数向系统去注册蓝牙事件, 则当再有蓝牙按键被按下时, 即再接收到按下蓝牙按键的触 发事件时, 蓝牙模块 401不会再通知事件处理模块 402。 其中, Ishell_RegisterNotify ( )函 数及 IshellJJnRegisterNotify ( )可以是 API函数。
如果蓝牙模块 401只包括一个蓝牙按键。 则按下蓝牙按键时, 事件处理模块 402查询 是否已存在 PTT按键的按键值, 如果存在, 则删除该按键值, 表示释放该蓝牙按键, 即该 次按下的蓝牙按键为停止按键, 如果不存在, 则将按下的蓝牙按键的按键值修改为与 PTT 按键相同的按键值, 即表示该次按下的蓝牙按键为播放按键。
参见图 5 ,本发明实施例中的终端设备包括 Qchat模块 501及事件处理模块 402。其中, 事件处理模块 402位于 Qchat模块 501中。 具体的, 所述终端设备可以是手机。
Qchat模块 501用于完成 Qchat通话业务。
事件处理模块 402用于:
当按下的蓝牙按键为播放按键时, 确定当前是否正在进行网络对讲方案 Qchat通话业 务;及当确定当前正在进行 Qchat通话业务时,将按下的所述播放按键映射为即按即讲 PTT 按键, 进行话语权抢占。
本发明实施例接收按下蓝牙按键的触发事件; 当按下的蓝牙按键为播放按键时, 确定 当前是否正在进行 Qchat通话业务; 当确定当前正在进行 Qchat通话业务时, 将按下的所 述播放按键映射为 PTT按键, 进行话语权抢占。 用蓝牙耳机上的按键实现了终端上 PTT 按键的功能, 通过蓝牙耳机即可完成 Qchat 业务, 即可以通过蓝牙耳机上的按键来控制 Qchat通话中话语权的抢占、 通话的发起及通话的退出等过程, 而无需再通过终端设备上 的按键来控制, 实现了对蓝牙耳机功能的有效利用, 同时也更加提高了 Qchat业务的便捷 性, 即使终端设备不在用户身边, 但只要终端设备与蓝牙耳机在可通信范围内, 即可通过 蓝牙耳机完成 Qchat业务, 方便了用户的使用。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。 而且, 本发明可釆用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介盾 (包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形 式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产品的流程图 和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个 方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和 范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种网络对讲的实现方法, 其特征在于, 包括以下步骤:
接收按下蓝牙按键的触发事件;
当按下的蓝牙按键为播放按键时, 确定当前是否正在进行网络对讲方案 Qchat通话业 务;
当确定当前正在进行 Qchat通话业务时, 将按下的所述播放按键映射为即按即讲 PTT 按键, 进行话语权抢占。
2、 如权利要求 1 所述的方法, 其特征在于, 当按下的蓝牙按键不为播放按键时, 进 一步包括步骤:
确定按下的蓝牙按键是否为停止按键, 当确定按下的蓝牙按键不是停止按键时, 不进 行操作; 当确定按下的蓝牙按键为停止按键时, 确定当前是否正在进行 Qchat通话业务, 当确定当前正在进行 Qchat通话业务时, 退出该次 Qchat通话业务; 当确定当前没有进行 Qchat通话业务时, 不进行操作。
3、 如权利要求 1所述的方法, 其特征在于, 当确定当前没有进行 Qchat通话业务时, 进一步包括步骤:
确定当前是否处于拨号应用中, 当确定当前处于拨号应用中时, 获得号码信息, 根据 该号码信息发起 Qchat呼叫。
4、 如权利要求 3 所述的方法, 其特征在于, 当确定当前不处于拨号应用中时, 进一 步包括步骤:
确定当前是否有未处理的 Qchat通话邀请, 当确定当前有未处理的 Qchat通话邀请时, 获得最近一次 Qchat通话邀请的号码, 向该号码发起 Qchat呼叫; 当确定当前没有未处理 的 Qchat通话邀请时, 不进行操作。
5、 如权利要求 3或 4所述的方法, 其特征在于, 所述拨号应用包括拨号盘应用、 或 通讯录应用、 或通话记录应用、 或 Qchat邀请界面应用。
6、 如权利要求 1-4 中任一所述的方法, 其特征在于, 将按下的所述播放按键映射为
PTT按键, 进行话语权抢占的步骤包括: 将按下的所述播放按键的按键值修改为与 PTT按 键相同的按键值 , 通过保留所述播放按键的按键值进行话语权抢占。
7、 一种网络对讲的实现系统, 其特征在于, 包括:
蓝牙模块, 用于接收按下蓝牙按键的触发事件;
事件处理模块, 用于当按下的蓝牙按键为播放按键时, 确定当前是否正在进行网络对 讲方案 Qchat通话业务; 及当确定当前正在进行 Qchat通话业务时, 将按下的所述播放按 键映射为即按即讲 PTT按键, 进行话语权抢占。
8、 如权利要求 7所述的系统, 其特征在于, 所述事件处理模块还用于: 当按下的蓝牙按键不为播放按键时, 确定按下的蓝牙按键是否为停止按键, 当确定按 下的蓝牙按键不是停止按键时, 不进行操作; 当确定按下的蓝牙按键为停止按键时, 确定 当前是否正在进行 Qchat通话业务,当确定当前正在进行 Qchat通话业务时,退出该次 Qchat 通话业务; 当确定当前没有进行 Qchat通话业务时, 不进行操作。
9、 如权利要求 7所述的系统, 其特征在于, 所述事件处理模块还用于:
当确定当前没有进行 Qchat通话业务时, 确定当前是否处于拨号应用中, 当确定当前 处于拨号应用中时, 获得号码信息, 根据该号码信息发起 Qchat呼叫。
10、 如权利要求 9所述的系统, 其特征在于, 所述事件处理模块还用于:
当确定当前不处于拨号应用中, 确定当前是否有未处理的 Qchat通话邀请, 当确定当 前有未处理的 Qchat通话邀请时,获得最近一次 Qchat通话邀请的号码,向该号码发起 Qchat 呼叫; 当确定当前没有未处理的 Qchat通话邀请时, 不进行操作。
11、 如权利要求 9或 10所述的系统, 其特征在于, 所述拨号应用包括拨号盘应用、 或 通讯录应用、 或通话记录应用、 或 Qchat邀请界面应用。
12、 如权利要求 7-10中任一所述的系统, 其特征在于, 所述事件处理模块用于: 将按下的所述播放按键的按键值修改为与 PTT按键相同的按键值 ,通过保留所述播放 按键的按键值进行话语权抢占。
13、 一种终端设备, 其特征在于, 包括用于完成 Qchat通话业务的 Qchat模块, 及位 于所述 Qchat模块中的事件处理模块, 所述事件处理模块用于:
当按下的蓝牙按键为播放按键时, 确定当前是否正在进行网络对讲方案 Qchat通话业 务;及当确定当前正在进行 Qchat通话业务时,将按下的所述播放按键映射为即按即讲 PTT 按键, 进行话语权抢占。
PCT/CN2012/073941 2011-04-13 2012-04-12 一种网络对讲的实现方法及系统 WO2012139515A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110092352.0 2011-04-13
CN201110092352.0A CN102149051B (zh) 2011-04-13 2011-04-13 一种网络对讲的实现方法及系统

Publications (1)

Publication Number Publication Date
WO2012139515A1 true WO2012139515A1 (zh) 2012-10-18

Family

ID=44422995

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073941 WO2012139515A1 (zh) 2011-04-13 2012-04-12 一种网络对讲的实现方法及系统

Country Status (2)

Country Link
CN (1) CN102149051B (zh)
WO (1) WO2012139515A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10659586B2 (en) 2018-01-22 2020-05-19 Boe Technology Group Co., Ltd. Intelligent rearview mirror

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149051B (zh) * 2011-04-13 2014-12-10 青岛海信移动通信技术股份有限公司 一种网络对讲的实现方法及系统
CN102348168A (zh) * 2011-10-14 2012-02-08 华为终端有限公司 一种群组通话的方法、终端及应用服务器
CN104253697B (zh) * 2013-06-25 2018-05-25 腾讯科技(深圳)有限公司 一种分配话语权、请求话语权的方法、装置及系统
CN105630457A (zh) * 2015-10-16 2016-06-01 宇龙计算机通信科技(深圳)有限公司 基于耳机的控制方法及系统
CN106230460B (zh) * 2016-08-15 2019-03-15 广东远峰电子科技股份有限公司 无线遥控蓝牙耳机的通信方法、通信系统及头盔交互系统
CN106817488A (zh) * 2017-01-04 2017-06-09 青岛海信移动通信技术股份有限公司 对讲耳机按键事件的响应方法及装置
CN106686473A (zh) * 2017-01-19 2017-05-17 青岛海信移动通信技术股份有限公司 一种对讲的发起方法和装置
CN108494420B (zh) * 2018-03-28 2019-10-18 帝信科技股份有限公司 一种播放方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080125042A1 (en) * 2006-11-29 2008-05-29 Seecode Co., Ltd. Bluetooth remote PTT and handsfree communication system and method of providing the same
CN201160277Y (zh) * 2008-01-23 2008-12-03 许堪俊 用于对讲机的蓝牙设备
CN101765055A (zh) * 2009-12-23 2010-06-30 深圳市戴文科技有限公司 一种ptt通信的方法、系统和终端设备
CN102149051A (zh) * 2011-04-13 2011-08-10 青岛海信移动通信技术股份有限公司 一种网络对讲的实现方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651930A (zh) * 2009-08-26 2010-02-17 深圳市戴文科技有限公司 基于一键通业务的终端上线方法、通信系统及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080125042A1 (en) * 2006-11-29 2008-05-29 Seecode Co., Ltd. Bluetooth remote PTT and handsfree communication system and method of providing the same
CN201160277Y (zh) * 2008-01-23 2008-12-03 许堪俊 用于对讲机的蓝牙设备
CN101765055A (zh) * 2009-12-23 2010-06-30 深圳市戴文科技有限公司 一种ptt通信的方法、系统和终端设备
CN102149051A (zh) * 2011-04-13 2011-08-10 青岛海信移动通信技术股份有限公司 一种网络对讲的实现方法及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Mobile Terminal Requirement Specification of China Telecom-QCHAT Fascicule", TECHNICAL STANDARD OF CHINA TELECOM CORPORATION, VERSION 2010.V1.02, COMMUNICATION HOMELAND, 31 August 2010 (2010-08-31), Retrieved from the Internet <URL:http://www.txrjy.corn/viewthread.php?tid=440441&pid=6780404&page=1&extra=page%3Dl#pid6780404> [retrieved on 20120628] *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10659586B2 (en) 2018-01-22 2020-05-19 Boe Technology Group Co., Ltd. Intelligent rearview mirror

Also Published As

Publication number Publication date
CN102149051B (zh) 2014-12-10
CN102149051A (zh) 2011-08-10

Similar Documents

Publication Publication Date Title
WO2012139515A1 (zh) 一种网络对讲的实现方法及系统
US9674694B2 (en) Systems and methods for group communication using a mobile device with mode transition based on motion
RU2423006C2 (ru) Система и способ для организации мультимедийной сети с мобильным телефоном и головным телефоном
KR101457835B1 (ko) 무선 통신 디바이스들의 통신 그룹의 그룹 멤버들 간의 보이스 송신들의 레코딩을 허가하는 시스템 및 방법
US20130315108A1 (en) Systems and methods for group communication using a mobile device using motion and voice activate controls
WO2015188327A1 (zh) 快速启动应用服务的方法和终端
EP2852875A2 (en) Systems and methods for establishing a group communication based on motion of a mobile device and on voice command
WO2014075301A1 (zh) 一种蓝牙建立连接的方法、移动终端、蓝牙设备及系统
WO2013060109A1 (zh) 终端通话时的处理方法、终端以及处理系统
WO2008101407A1 (fr) Procédé et système d&#39;entrée/sortie de flux de données audio
WO2011017875A1 (zh) 一种终端控制蓝牙耳机有序连接的方法及系统
JP2017508413A (ja) 音声通話プロンプト方法、装置、プログラム及び記録媒体
WO2015131490A1 (zh) 语音数据传输处理的方法、终端和计算机存储介质
US10116782B2 (en) Telephone device and mobile-phone linking method
WO2018103483A1 (zh) 具有遥控器的智能头盔及其遥控方法
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置
JP6031825B2 (ja) 楽曲データ出力システム
TWI569617B (zh) 免持裝置接收通知訊息以及回覆的方法
WO2017000595A1 (zh) 集群通话处理方法、装置及终端
JP5914945B2 (ja) 電話装置、電話システム、及び制御方法
WO2019047157A1 (zh) 视频通话控制方法及装置
JP2013172297A (ja) 電子機器、出力制御プログラムおよび出力制御方法
EP2850819B1 (en) System and method for permitting recordation of voice transmissions among group members of a communication group of wireless communication devices
WO2022228046A1 (zh) 通话方法及电子设备
WO2017004780A1 (zh) 一种实现将移动终端作为ip话机的手柄的方法、装置和系统

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

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

Country of ref document: EP

Kind code of ref document: A1