CN113132922B - Method and device for playing group call prompt tone - Google Patents

Method and device for playing group call prompt tone Download PDF

Info

Publication number
CN113132922B
CN113132922B CN202010040555.4A CN202010040555A CN113132922B CN 113132922 B CN113132922 B CN 113132922B CN 202010040555 A CN202010040555 A CN 202010040555A CN 113132922 B CN113132922 B CN 113132922B
Authority
CN
China
Prior art keywords
call
prompt tone
calling
interface
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010040555.4A
Other languages
Chinese (zh)
Other versions
CN113132922A (en
Inventor
黄晋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech 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 Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010040555.4A priority Critical patent/CN113132922B/en
Publication of CN113132922A publication Critical patent/CN113132922A/en
Application granted granted Critical
Publication of CN113132922B publication Critical patent/CN113132922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • G08B3/1008Personal calling arrangements or devices, i.e. paging systems
    • G08B3/1016Personal calling arrangements or devices, i.e. paging systems using wireless transmission
    • G08B3/1025Paging receivers with audible signalling details
    • G08B3/1033Paging receivers with audible signalling details with voice message alert
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • G08B3/1008Personal calling arrangements or devices, i.e. paging systems
    • G08B3/1016Personal calling arrangements or devices, i.e. paging systems using wireless transmission
    • G08B3/1091Group calling

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method and a device for playing a group call prompt tone, comprising the following steps: after initiating group calling or speech right preemption to a server, if a corresponding speech right granting message is received from the server, a corresponding call prompt tone is played by using a high fidelity HIFI audio playing module through calling a hardware abstraction layer HAL interface in an application layer. By applying the technical scheme disclosed by the application, the call waiting time after the user initiates group calling or right scrambling can be effectively shortened.

Description

Method and device for playing group call prompt tone
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for playing a group call alert tone.
Background
In the current 3GPP trunking application layer standard (session Critical Push To Talk over LTE, MCPTT) mode, after a user sends a group call or preemption request To a server by pressing a group call (Push To Talk, PTT) key of a terminal, the server processes the request and grants a Talk right To the terminal when the request is granted. After receiving the speaking right, the terminal calls an Android platform soundport interface to play a conversation prompt tone so as to prompt the user to speak. After the prompt tone is played, the terminal can open the recorder to record, and then sends the record to the server.
The inventor discovers that the group call processing scheme exists in the process of realizing the invention: the problem of long waiting time before the user can speak. Through earnest studies on the existing solutions, the inventors found that specific causes of the problem are as follows:
the soundport interface of the Android platform is an API interface provided by the Android to the whole platform and used for playing short audio. The soundport interface needs to manage the calling of a plurality of applications, so that the calling processing process of the interface is complex, and the time delay for calling the soundport interface after the terminal receives the speaking right is long. Thus, the time interval from when the user presses the PTT key to when the talk alert tone is played back allows the user to speak is long, typically about several tens to one hundred milliseconds.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a group call method and apparatus, which can effectively shorten the call waiting time after a user initiates a group call or preemption.
In order to achieve the above purpose, the embodiment of the present invention provides a technical solution: .
A playing method of group call conversation prompt tone includes:
after initiating group calling or speech right preemption to a server, if a corresponding speech right granting message is received from the server, a corresponding call prompt tone is played by using a high fidelity HIFI audio playing module through calling a hardware abstraction layer HAL interface in an application layer.
Preferably, the terminal, at the application layer, by calling the HAL interface, playing the corresponding call alert tone by using the HIFI audio playing module includes:
after receiving the talk right granting message, a group call application APP in the terminal calls a FrameWork interface to play the talk prompt tone;
calling the HAL interface to play the call prompt tone according to the calling of the group call application by the FrameWork interface;
and the HAL interface triggers the HIFI audio playing module to play the call prompt tone according to the call of the FrameWork interface.
The utility model provides a play device of group call conversation prompt tone, sets up in the terminal, includes: a processor to:
after the terminal initiates group calling or speaking right preemption to the server, if a corresponding speaking right granting message is received from the server, a corresponding conversation prompt tone is played by utilizing a high fidelity (HIFI) audio playing module by calling a Hardware Abstraction Layer (HAL) interface at an application layer.
Preferably, the processor is specifically configured to:
the method comprises the following steps of calling HAL interface in an application layer, playing corresponding call prompt tone by using a HIFI audio playing module, and comprising the following steps:
after receiving the talk right granting message, the group calling application APP in the terminal calls a FrameWork interface to play the call prompt tone;
the FrameWork interface calls the HAL interface to play the call prompt tone according to the call of the group call application;
and the HAL interface triggers the HIFI audio playing module to play the call prompt tone according to the call of the FrameWork interface.
The present application also discloses a non-volatile computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps of the group call alert tone playing method as described above.
The present application also discloses an electronic device comprising the non-volatile computer-readable storage medium as described above, and the processor having access to the non-volatile computer-readable storage medium.
According to the technical scheme, the group call application directly calls the hardware abstraction layer interface through layer breaking, the high-fidelity audio playing module is used for playing the corresponding call prompt tone, a play mechanism of short audio of soundport of an Android platform is not used, and call waiting time delay of a user after the terminal initiates group call or call right to the server and is seized can be effectively shortened.
Drawings
Fig. 1 is a schematic diagram illustrating a principle of a method for playing a group call alert tone according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The core idea of the invention is that the play mechanism of short audio of soundport of Android platform is not used, but the application layer is broken through to directly call high-fidelity audio play hardware to play the corresponding call prompt tone, so as to avoid the long call waiting time delay generated by the processing of soundport, thereby effectively shortening the call waiting time delay of the user after the terminal initiates group call or the right to speak seize to the server.
The method for playing the group call prompt tone realized by the embodiment of the invention mainly comprises the following steps:
after initiating group calling or speech right preemption to a server, if a corresponding speech right granting message is received from the server, a corresponding call prompt tone is played by using a high fidelity HIFI audio playing module through calling a hardware abstraction layer HAL interface in an application layer.
Here, after the terminal is granted the speaking right, the HAL interface is called through the broken layer, and the corresponding conversation prompt tone is played by using the high-fidelity HIFI audio playing module, so that the conversation waiting time delay after the user presses the PTT key can be effectively reduced, and the user experience is further improved.
Preferably, in order to effectively shorten the call waiting time of the user, the following method may be specifically adopted in this step to play the corresponding call alert tone by using the HIFI audio playing module by calling the HAL interface at the application layer:
step a1, after receiving the right-to-speak granting message, the group calling Application (APP) in the terminal calls a frameword interface to play the talking prompt tone.
The group call application is an application in the terminal responsible for group call initiation and processing.
Step a2, the FrameWork interface calls the HAL interface to play the call prompt tone according to the call of the group call application.
In this step, after the FrameWork interface is called by the group call application in step a1, the HAL interface is called to play the call alert tone.
Step a3, the HAL interface triggers the HIFI audio playing module to play the call prompt tone according to the call of the FrameWork interface.
In this step, after the HAL interface is called by the FrameWork interface in step a2, the HAL interface triggers audio hardware (i.e., a HIFI audio playing module) in the terminal to play the call prompt tone.
Corresponding to the method, the embodiment of the invention also provides a device for playing the group call prompt tone, which is arranged in the terminal and comprises the following steps: a processor to:
after the terminal initiates group calling or speaking right preemption to the server, if a corresponding speaking right granting message is received from the server, a corresponding conversation prompt tone is played by utilizing a high fidelity (HIFI) audio playing module by calling a Hardware Abstraction Layer (HAL) interface at an application layer.
Preferably, the processor is specifically configured to:
the method comprises the following steps of calling HAL interface at an application layer, and playing corresponding call prompt tone by using a HIFI audio playing module, wherein the method comprises the following steps:
after receiving the talk right granting message, a group call application APP in the terminal calls a FrameWork interface to play the talk prompt tone;
the FrameWork interface calls the HAL interface to play the call prompt tone according to the call of the group call application;
and the HAL interface triggers the HIFI audio playing module to play the call prompt tone according to the call of the FrameWork interface.
In addition, the present application also provides a non-volatile computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to execute the steps of the group call alert tone playing method as described above.
Further, the present application provides an electronic device comprising the non-volatile computer-readable storage medium as described above, and the processor having access to the non-volatile computer-readable storage medium.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (6)

1. A playing method of group call conversation prompt tone is characterized in that the playing method comprises the following steps:
after a terminal initiates group calling or speaking right preemption to a server, if a corresponding speaking right granting message is received from the server, a group calling application APP in the terminal plays a corresponding calling prompt tone by utilizing a high-fidelity HIFI audio playing module in the terminal by calling a hardware abstraction layer HAL interface; the group call application is an application in the terminal responsible for group call initiation and processing.
2. The method of claim 1, wherein: the step of playing the corresponding call prompt tone by using the HIFI audio playing module by calling the HAL interface comprises the following steps:
after receiving the speaking right granting message, the group calling application calls a FrameWork interface to play the call prompt tone;
the FrameWork interface calls the HAL interface to play the call prompt tone according to the call of the group call application;
and the HAL interface triggers the HIFI audio playing module to play the call prompt tone according to the call of the FrameWork interface.
3. The utility model provides a play device of group call conversation prompt tone, sets up in the terminal which characterized in that includes: a processor to:
after the terminal initiates group calling or speaking right preemption to a server, if a corresponding speaking right granting message is received from the server, a group calling application APP in the terminal plays a corresponding calling prompt tone by utilizing a high-fidelity HIFI audio playing module in the terminal by calling a hardware abstraction layer HAL interface; the group call application is an application in the terminal responsible for group call initiation and processing.
4. The apparatus of claim 3, wherein: the processor is specifically configured to:
through calling HAL interface, utilize HIFI audio playback module to broadcast corresponding conversation prompt tone, include:
after receiving the speaking right granting message, the group calling application calls a FrameWork interface to play the call prompt tone;
the FrameWork interface calls the HAL interface to play the call prompt tone according to the call of the group call application;
and the HAL interface triggers the HIFI audio playing module to play the call prompt tone according to the call of the FrameWork interface.
5. A non-transitory computer readable storage medium storing instructions which, when executed by a processor, cause the processor to perform the steps of the method of playing a group call alert tone according to any one of claims 1 to 2.
6. An electronic device comprising the non-volatile computer-readable storage medium of claim 5, and the processor having access to the non-volatile computer-readable storage medium.
CN202010040555.4A 2020-01-15 2020-01-15 Method and device for playing group call prompt tone Active CN113132922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010040555.4A CN113132922B (en) 2020-01-15 2020-01-15 Method and device for playing group call prompt tone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010040555.4A CN113132922B (en) 2020-01-15 2020-01-15 Method and device for playing group call prompt tone

Publications (2)

Publication Number Publication Date
CN113132922A CN113132922A (en) 2021-07-16
CN113132922B true CN113132922B (en) 2022-09-09

Family

ID=76771265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010040555.4A Active CN113132922B (en) 2020-01-15 2020-01-15 Method and device for playing group call prompt tone

Country Status (1)

Country Link
CN (1) CN113132922B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848980A (en) * 2005-12-09 2006-10-18 华为技术有限公司 Method for determining voice right distributing mode and group communication system
JP2009301125A (en) * 2008-06-10 2009-12-24 Hitachi Ltd Conference voice recording system
CN102612003A (en) * 2012-03-05 2012-07-25 电信科学技术研究院 Speaking right information notification method and equipment
CN103106117A (en) * 2012-12-25 2013-05-15 青岛海信电器股份有限公司 Resource allocation method and electronic equipment
CN103546874A (en) * 2012-07-17 2014-01-29 中兴通讯股份有限公司 Method and system for managing call
CN103729243A (en) * 2013-12-04 2014-04-16 上海斐讯数据通信技术有限公司 Universal hardware abstract port implementing method and calling method for voice access equipment
CN104936152A (en) * 2014-03-17 2015-09-23 成都鼎桥通信技术有限公司 Terminal in cluster system, and authorization method for terminal
CN105897687A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Data transmission method and device
CN106961421A (en) * 2017-02-17 2017-07-18 浙江大学 A kind of android system service end, remote desktop audio redirection method and system
CN107040660A (en) * 2017-04-18 2017-08-11 广东欧珀移动通信有限公司 Control method, device and the mobile terminal of mobile terminal playing volume

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848980A (en) * 2005-12-09 2006-10-18 华为技术有限公司 Method for determining voice right distributing mode and group communication system
JP2009301125A (en) * 2008-06-10 2009-12-24 Hitachi Ltd Conference voice recording system
CN102612003A (en) * 2012-03-05 2012-07-25 电信科学技术研究院 Speaking right information notification method and equipment
CN103546874A (en) * 2012-07-17 2014-01-29 中兴通讯股份有限公司 Method and system for managing call
CN103106117A (en) * 2012-12-25 2013-05-15 青岛海信电器股份有限公司 Resource allocation method and electronic equipment
CN103729243A (en) * 2013-12-04 2014-04-16 上海斐讯数据通信技术有限公司 Universal hardware abstract port implementing method and calling method for voice access equipment
CN104936152A (en) * 2014-03-17 2015-09-23 成都鼎桥通信技术有限公司 Terminal in cluster system, and authorization method for terminal
CN105897687A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Data transmission method and device
CN106961421A (en) * 2017-02-17 2017-07-18 浙江大学 A kind of android system service end, remote desktop audio redirection method and system
CN107040660A (en) * 2017-04-18 2017-08-11 广东欧珀移动通信有限公司 Control method, device and the mobile terminal of mobile terminal playing volume

Also Published As

Publication number Publication date
CN113132922A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US9894112B2 (en) Video media playing methods, apparatuses and systems, and computer storage medium
US20150223110A1 (en) Robust voice-activated floor control
US20100048235A1 (en) Method and Device for Data Capture for Push Over Cellular
EP2571298A1 (en) Method, server and system for processing emergency call in push to talk over cellular (poc) service
US9357065B2 (en) System, method and apparatus for transmitting audio signals over a voice channel
JP2012522438A (en) Method and apparatus for handling call contention in a communication network
MX2010003700A (en) Wireless in-band signaling with in-vehicle systems.
CN106921613A (en) The method and system of signalling
GB2560441B (en) Automatically delaying playback of a voice message at a captioning device
CN101188840B (en) Voice switching system and method based on dual-mode/multi-mode system
KR101524496B1 (en) System and method for providing voice and video ringback tone services during volte voice call
CN113132922B (en) Method and device for playing group call prompt tone
CN106358156B (en) Call processing method and device in a kind of multi-party call
CN104936152B (en) Terminal and its authorization method in a kind of group system
CN116193031A (en) Method, device, electronic equipment and storage medium for notifying incoming call intention to called party
CN112738732B (en) Audio playing method and device
CN110830923B (en) Voice connection method in MCPTT system and related equipment
CN101111035A (en) Apparatus and method for implementing voice buffering in PTT terminal
CN114466324A (en) Calling method and related device
CN102665178A (en) Method, device and system for balance reminding and application server
CN110502207B (en) Background sound silencing method, system, equipment and storage medium
CN109246626B (en) Voice talkback method, system and terminal
CN108337244B (en) SIP protocol-based intercom communication method, server, medium and equipment
CN108632772B (en) Method and device for realizing multi-channel call and communication terminal
CN111031168A (en) Voice call recording method, device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant