CN112423246B - Intercommunication-based communication processing method, terminal device and storage medium - Google Patents

Intercommunication-based communication processing method, terminal device and storage medium Download PDF

Info

Publication number
CN112423246B
CN112423246B CN201910782373.1A CN201910782373A CN112423246B CN 112423246 B CN112423246 B CN 112423246B CN 201910782373 A CN201910782373 A CN 201910782373A CN 112423246 B CN112423246 B CN 112423246B
Authority
CN
China
Prior art keywords
terminal device
voice packet
bluetooth
terminal
terminal equipment
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
CN201910782373.1A
Other languages
Chinese (zh)
Other versions
CN112423246A (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
First Research Institute of Ministry of Public Security
Original Assignee
Chengdu TD Tech Ltd
First Research Institute of Ministry of Public Security
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, First Research Institute of Ministry of Public Security filed Critical Chengdu TD Tech Ltd
Priority to CN201910782373.1A priority Critical patent/CN112423246B/en
Publication of CN112423246A publication Critical patent/CN112423246A/en
Application granted granted Critical
Publication of CN112423246B publication Critical patent/CN112423246B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The application provides a communication processing method based on talkback, a terminal device and a storage medium, wherein the method comprises the following steps: receiving a notification message, wherein the notification message characterizes closing the talk-over-audio path; and detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a PTT (push-to-talk) button of the Bluetooth handheld device, and discarding the voice packet. When a user releases a PTT key of the Bluetooth handheld microphone device, the PTT key generates mechanical sound, the terminal device detects that an audio channel based on talkback needs to be closed, and detects a voice packet of the mechanical sound; the terminal device then discards the voice packet. Therefore, the voice packet of the mechanical sound cannot be transmitted to other terminal equipment; and the voice packet of the mechanical sound can not be played by the terminal equipment. Therefore, interference can not be caused to the user, noise can not be generated, and the user experience based on talkback is improved.

Description

Intercommunication-based communication processing method, terminal device and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminal equipment, in particular to a communication processing method based on talkback, the terminal equipment and a storage medium.
Background
The Bluetooth hand microphone device can be connected with the terminal device, and then the user can use the blue hand microphone device to complete communication. The terminal device may be an interphone or a mobile terminal device. The Bluetooth hand microphone device can be in Bluetooth connection with the terminal device, and then the Bluetooth hand microphone device can communicate with the terminal device through Bluetooth; a user inputs voice into the Bluetooth hand microphone device, then the Bluetooth hand microphone device sends the voice to the terminal device, and the terminal device sends the voice to other terminal devices; and then the talkback is completed through the above process.
In the prior art, a user needs to press a Push To Talk (PTT) button of a bluetooth mobile phone, and then the user inputs a voice to the bluetooth mobile phone, and the bluetooth mobile phone can send the voice to other terminal devices through the terminal devices in real time; the user then releases the PTT button and no further speech is input to the bluetooth handset.
However, in the prior art, when the user releases the PTT button of the bluetooth microphone device, the PTT button may generate mechanical sound, and at this time, the bluetooth microphone device and the terminal device are still in bluetooth communication, and communication between the terminal device and other terminal devices is still in establishment, so that the mechanical sound may be transmitted to the terminal device by the bluetooth microphone device, and then the terminal device transmits the mechanical sound to other terminal devices, thereby causing interference to the user.
Disclosure of Invention
The embodiment of the application provides a communication processing method based on talkback, a terminal device and a storage medium, which are used for solving the problem that in the prior art, when a user loosens a PTT key of a Bluetooth hand microphone device, mechanical sound is transmitted to the terminal device by the Bluetooth hand microphone device, and then the terminal device sends the mechanical sound to other terminal devices, so that interference is caused to the user.
A first aspect of the present application provides a communication processing method based on intercom, which is applied to a terminal device, and the method includes:
receiving a notification message, wherein the notification message characterizes closing a talk-over-audio path;
and detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a push-to-talk (PTT) button of the Bluetooth mobile phone, and discarding the voice packet.
Further, the receiving the notification message includes:
and receiving a notification message broadcasted by the Bluetooth mobile phone and microphone equipment, wherein the notification message is a first key event, and the first key event represents that a PTT key of the Bluetooth mobile phone and microphone equipment is not pressed any more.
Further, detecting a voice packet according to the notification message includes:
and receiving the voice packet sent by the Bluetooth handheld device, wherein the voice packet is to be sent to other terminal devices.
Further, the receiving the notification message includes:
and receiving notification messages sent by other terminal equipment, wherein the notification messages are sent after the other terminal equipment receives second key events broadcasted by other Bluetooth handheld devices connected with the other terminal equipment, and the second key events represent that PTT keys of the other Bluetooth handheld devices are not pressed any more.
Further, detecting a voice packet according to the notification message includes:
and receiving the voice packet sent by the other terminal equipment.
Further, after discarding the voice packet, the method further includes:
and closing the audio channel between the terminal equipment and other terminal equipment.
Further, closing an audio path between the terminal device and the other terminal device includes:
and closing the audio communication function of the terminal equipment, and sending a closing instruction to the other terminal equipment so that the other terminal equipment closes the audio communication function of the other terminal equipment according to the closing instruction to close the audio channel.
A second aspect of the present application provides a terminal device, including:
a receiving unit, configured to receive a notification message, where the notification message characterizes closing of a talk-over-audio channel;
the detection unit is used for detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a push-to-talk (PTT) button of the Bluetooth mobile phone;
and the discarding unit is used for discarding the voice packet.
Further, the receiving unit is specifically configured to:
and receiving a notification message broadcasted by the Bluetooth mobile phone and microphone equipment, wherein the notification message is a first key event, and the first key event represents that a PTT key of the Bluetooth mobile phone and microphone equipment is not pressed any more.
Further, the detection unit is specifically configured to:
and receiving the voice packet sent by the Bluetooth handheld device, wherein the voice packet is to be sent to other terminal devices.
Further, the receiving unit is specifically configured to:
and receiving notification messages sent by other terminal equipment, wherein the notification messages are sent after the other terminal equipment receives second key events broadcasted by other Bluetooth handheld devices connected with the other terminal equipment, and the second key events represent that PTT keys of the other Bluetooth handheld devices are not pressed any more.
Further, the detection unit is specifically configured to:
and receiving the voice packet sent by the other terminal equipment.
Further, the terminal device further includes:
a closing unit, configured to close the audio path between the terminal device and another terminal device after the voice packet is discarded by the discarding unit.
Further, the closing unit includes:
the closing module is used for closing the audio communication function of the terminal equipment;
and the sending module is used for sending a closing instruction to the other terminal equipment so that the other terminal equipment closes the audio communication function of the other terminal equipment according to the closing instruction so as to close the audio channel.
A third aspect of the present application provides a terminal device, comprising: a transmitter, a receiver, a memory, and a processor;
the memory is to store computer instructions; the processor is configured to execute the computer instructions stored by the memory to implement the method of any implementation of the first aspect.
A fourth aspect of the present application provides a storage medium comprising: a readable storage medium and computer instructions stored in the readable storage medium; the computer instructions are for implementing the method of any implementation of the first aspect.
According to the communication processing method based on the talkback, the terminal device and the storage medium, the notification message is received, wherein the notification message represents to close an audio channel based on the talkback; and detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a PTT (push-to-talk) button of the Bluetooth handheld device, and discarding the voice packet. When a user releases a PTT key of the Bluetooth handheld microphone device, the PTT key generates mechanical sound, the terminal device detects that an audio channel based on talkback needs to be closed, and detects a voice packet of the mechanical sound; the terminal device then discards the voice packet. Therefore, the voice packet of the mechanical sound cannot be transmitted to other terminal equipment; and the voice packet of the mechanical sound can not be played by the terminal equipment. Therefore, interference can not be caused to the user, noise can not be generated, and the user experience based on talkback is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in the present application;
fig. 2 is a flowchart of a method for processing intercom-based communication according to an embodiment of the present application;
fig. 3 is a flowchart of another intercom-based communication processing method according to an embodiment of the present application;
fig. 4 is a flowchart of another intercom-based communication processing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another terminal device provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of another terminal device provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic view of an application scenario provided by the present application, and as shown in fig. 1, a bluetooth mobile phone 01 may be connected to a terminal device 02, so that a user may use the blue mobile phone 01 to complete communication. The terminal device 02 may be an intercom or a mobile terminal device. The Bluetooth hand microphone device 01 can be in Bluetooth connection with the terminal device 02, and then the Bluetooth hand microphone device 01 can communicate with the terminal device 02 through Bluetooth; the user inputs voice into the bluetooth mobile phone 01, and then the bluetooth mobile phone 01 sends the voice to the terminal device 02, and the terminal device 02 sends the voice to the other terminal device 03.
In the above-mentioned intercom process, during the voice transmission process, the user needs to press the PTT button of the bluetooth mobile phone all the time. Specifically, a user needs to press a PTT key of the Bluetooth mobile phone device, then the user inputs voice to the Bluetooth mobile phone device, and the Bluetooth mobile phone device can send the voice to other terminal devices through the terminal devices in real time; the user then releases the PTT button and no further speech is input to the bluetooth handset.
However, in the above manner, the user needs to press the PTT button of the bluetooth headset at all times during the course of the talk-back. When the user does not need to talk back, the user releases the PTT key of the Bluetooth mobile phone and microphone device, and for the Bluetooth mobile phone and microphone device, the time for the user to send the PTT key is short, for example, within about one hundred milliseconds; however, at this time, the audio channel of the intercom is still in the establishment state, that is, the bluetooth communication is still between the bluetooth microphone device and the terminal device, and the communication between the terminal device and other terminal devices is still in the establishment state, at this time, the PTT button can generate mechanical sound, so that the mechanical sound can be transmitted to the terminal device through the microphone of the bluetooth microphone device, then the terminal device sends the mechanical sound to other terminal devices, and then other terminal devices can play the noise of the mechanical sound, thereby affecting the user experience.
In view of the above problems, the talkback-based communication processing method, the terminal device and the storage medium provided by the present application, a voice packet of a mechanical sound is not transmitted to other terminal devices; and the voice packet of the mechanical sound can not be played by the terminal equipment. Therefore, interference can not be caused to the user, noise can not be generated, and the user experience based on talkback is improved.
Fig. 2 is a flowchart of a method for processing intercom-based communication according to an embodiment of the present application, where as shown in fig. 2, the method includes:
s101, receiving a notification message, wherein the notification message represents that an audio channel based on the talkback is closed.
In this step, the method provided by this embodiment is applied to the terminal device.
The terminal equipment can be connected with the Bluetooth hand microphone equipment in a Bluetooth mode, and therefore Bluetooth communication is conducted between the terminal equipment and the Bluetooth hand microphone equipment; the user can press a PTT key of the Bluetooth mobile phone device, then the user inputs voice to the Bluetooth mobile phone device, and the Bluetooth mobile phone device can send the voice to other terminal devices through the terminal devices in real time; the user then releases the PTT button and no further speech is input to the bluetooth handset. The above process is a talk-back process.
When the terminal device and other terminal devices do not perform talkback any more, the terminal device may receive a notification message, where the notification message indicates that the audio channel based on the talkback needs to be closed, that is, the notification message indicates that the audio channel between the terminal device and other terminal devices needs to be closed.
For example, the bluetooth mobile phone device performs bluetooth communication with the terminal device, and the terminal device is connected with other terminal devices; the user releases the PTT key of the Bluetooth mobile phone and then the user does not press the PTT key of the Bluetooth mobile phone, and the Bluetooth mobile phone sends a notification message to the terminal device so as to notify the terminal device to close the talkback audio channel.
For another example, the bluetooth hand microphone device performs bluetooth communication with the terminal device, and the terminal device is connected with other terminal devices; other terminal equipment can also carry out Bluetooth communication with other Bluetooth handheld devices; when the user releases the PTT key of other Bluetooth hand microphone devices, the user does not press the PTT key of other Bluetooth hand microphone devices, other Bluetooth hand microphone devices inform other terminal devices that the audio channel can be closed, and then other terminal devices send notification messages to the terminal devices to inform the terminal devices to close the audio channel of talkback.
S102, detecting a voice packet according to the notification message, wherein the voice packet comprises mechanical sound of a PTT (push-to-talk) button of the Bluetooth handheld device, and discarding the voice packet.
In the step, when the terminal equipment receives the notification message, the Bluetooth hand microphone equipment detects the voice packet sent to the terminal equipment by the Bluetooth communication mode in real time; because the user is when unclamping the PTT button of bluetooth hand miaow equipment, the PTT button can produce mechanical sound, and then bluetooth hand miaow equipment can send mechanical sound for terminal equipment through bluetooth communication mode to mechanical sound has constituted above-mentioned pronunciation package.
Or, when the user loosens the PTT key of the Bluetooth mobile phone device, the PTT key generates mechanical sound, and then the Bluetooth mobile phone device sends the mechanical sound and the notification message to the terminal device in a Bluetooth communication mode, wherein the mechanical sound forms a voice packet; further, the terminal device receives the voice packet.
Before the process, in the process of talkback, a user can press a PTT key of the Bluetooth hand microphone device, then the user inputs voice to the Bluetooth hand microphone device, and the Bluetooth hand microphone device can send the voice to other terminal devices through the terminal devices in real time; thus, the normal voice uttered by the user is transmitted to the other terminal device before the user releases the PTT button, and thus the normal voice uttered by the user is not in the voice packet of step S102.
Then, after detecting the voice packet, the terminal device may directly discard the voice packet, so that the voice packet of the mechanical sound is not transmitted to other terminal devices; and the voice packet of the mechanical sound can not be played by the terminal equipment.
The embodiment, by receiving a notification message, wherein the notification message characterizes closing the talk-over based audio path; and detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a PTT (push-to-talk) button of the Bluetooth handheld device, and discarding the voice packet. When a user releases a PTT key of the Bluetooth handheld microphone device, the PTT key generates mechanical sound, the terminal device detects that an audio channel based on talkback needs to be closed, and detects a voice packet of the mechanical sound; the terminal device then discards the voice packet. Therefore, the voice packet of the mechanical sound cannot be transmitted to other terminal equipment; and the voice packet of the mechanical sound can not be played by the terminal equipment. Therefore, interference can not be caused to the user, noise can not be generated, and the user experience based on talkback is improved.
Fig. 3 is a flowchart of another intercom-based communication processing method according to an embodiment of the present application, and as shown in fig. 3, the method includes:
s201, receiving a notification message broadcasted by the Bluetooth mobile phone and microphone device, wherein the notification message is a first key event, the first key event represents that a PTT key of the Bluetooth mobile phone and microphone device is not pressed any more, and the notification message represents that an audio channel based on talkback is closed.
In this step, the method provided by this embodiment is applied to the terminal device.
The terminal equipment can carry out the bluetooth with the bluetooth between the hand miaow equipment and be connected, and then carries out bluetooth communication between terminal equipment and the bluetooth hand miaow equipment. And the terminal equipment is in communication connection with other terminal equipment.
In the process of talkback, a user can press a PTT key of the Bluetooth hand microphone device, then the user inputs voice to the Bluetooth hand microphone device, and the Bluetooth hand microphone device can send the voice to other terminal devices through the terminal devices in real time.
Then, the user releases the PTT key of the Bluetooth mobile phone device, namely, the user does not press the PTT key of the Bluetooth mobile phone device; furthermore, the bluetooth mobile phone generates a key event, and for the convenience of distinguishing the key event from the subsequent key event, the key event is referred to as a first key event, and the first key event indicates that the PTT key of the bluetooth mobile phone is no longer pressed.
Then, the Bluetooth hand microphone device broadcasts a first key event; further, the terminal device receives a notification message composed of a first key event broadcast by the Bluetooth handset.
Then, the terminal device determines that the audio path between the terminal device and the other terminal device needs to be closed.
S202, receiving a voice packet sent by the Bluetooth hand microphone device, wherein the voice packet is to be sent to other terminal devices and comprises mechanical sound of a PTT (push-to-talk) button of the Bluetooth hand microphone device connected with the terminal devices.
In this step, in step S201, when the user releases the PTT button of the bluetooth mobile phone, the PTT button generates a mechanical sound; therefore, when the Bluetooth hand microphone device broadcasts the first key event, the Bluetooth hand microphone device can generate mechanical sound with the PTT key and transmit the mechanical sound to the terminal device in a Bluetooth communication mode.
Thus, the terminal device detects the voice packet formed by the mechanical sound while receiving the first key event.
Before the process, in the process of talkback, a user can press a PTT key of the Bluetooth hand microphone device, then the user inputs voice to the Bluetooth hand microphone device, and the Bluetooth hand microphone device can send the voice to other terminal devices through the terminal devices in real time; thus, the normal voice uttered by the user is transmitted to the other terminal device before the user releases the PTT button, and thus the normal voice uttered by the user is not in the voice packet of step S202.
And S203, discarding the voice packet.
In this step, after the terminal device detects the voice packet sent by the bluetooth microphone device connected to the terminal device, the terminal device may directly discard the voice packet, so that the terminal device may not send the voice packet composed of mechanical sound to other terminal devices. The other terminal devices do not receive the voice packet made of the mechanical sound.
And S204, closing an audio channel between the terminal equipment and other terminal equipment.
In one example, step S203 specifically includes: and closing the audio communication function of the terminal equipment and sending a closing instruction to other terminal equipment so that the other terminal equipment closes the audio communication function of the other terminal equipment according to the closing instruction to close the audio channel.
In this step, the terminal device also needs to close the audio channel based on the talk-back, that is, the audio channel between the terminal device and other terminal devices needs to be closed.
In one example, the terminal device closes its own audio communication function, and then the terminal device does not send audio to other terminal devices, and does not receive audio sent by other terminal devices; meanwhile, the terminal equipment sends a closing instruction to other terminal equipment. Then, other terminal devices close their own audio communication functions, and further other terminal devices do not send audio to the terminal device any more, and do not receive the audio sent by the terminal device. Thus, based on the above process, the terminal device and the other terminal device close the audio path therebetween.
In this embodiment, a notification message broadcasted by the bluetooth mobile phone and microphone device is received, where the notification message is a first key event, the first key event indicates that the PTT key of the bluetooth mobile phone and microphone device is no longer pressed, and the notification message indicates that the audio channel based on the talk-back is closed; receiving a voice packet sent by the Bluetooth hand microphone equipment, wherein the voice packet comprises mechanical sound of a PTT (push-to-talk) key of the Bluetooth hand microphone equipment connected with the terminal equipment; the voice packet is discarded. When a user releases a PTT key of the Bluetooth hand microphone device, the PTT key generates mechanical sound; the Bluetooth mobile phone device broadcasts a first key event, the terminal device determines that an audio channel needs to be closed, and the terminal device detects a voice packet which is transmitted by the Bluetooth mobile phone and is formed by mechanical sound; the terminal equipment directly discards the voice packet, and the terminal equipment cannot send the voice packet formed by the mechanical sound to other terminal equipment. The voice packet of mechanical sound can not be transmitted to other terminal equipment, can not cause the interference for the user, can not produce the noise, has promoted user experience based on talkbacking. And, the terminal device may close the talk-over audio path.
Fig. 4 is a flowchart of another intercom-based communication processing method according to an embodiment of the present application, and as shown in fig. 4, the method includes:
s301, receiving notification messages sent by other terminal devices, wherein the notification messages are sent after the other terminal devices receive second key events broadcasted by other Bluetooth handheld devices connected with the other terminal devices, the second key events represent that PTT keys of the other Bluetooth handheld devices are not pressed down any more, and the notification messages represent that an audio channel based on talkback is closed.
In this step, the method provided by this embodiment is applied to the terminal device.
The terminal equipment can carry out the bluetooth with the bluetooth between the hand miaow equipment and be connected, and then carries out bluetooth communication between terminal equipment and the bluetooth hand miaow equipment. And the terminal equipment is in communication connection with other terminal equipment. Other terminal equipment can carry out the bluetooth with between other bluetooth hand miaow equipment and be connected, and then carry out bluetooth communication between other terminal equipment and other bluetooth hand miaow equipment.
In the process of talkback, a user can press the PTT key of other Bluetooth hand microphone devices, then the user inputs voice to the other Bluetooth hand microphone devices, and the other Bluetooth hand microphone devices can send the voice to the terminal device through the other terminal devices in real time.
Then, the user releases the PTT keys of other Bluetooth mobile phone devices, namely, the user does not press the PTT keys of other Bluetooth mobile phone devices; furthermore, the other bluetooth handset generates a key event, and for the sake of convenience of distinguishing from the previous key event, the key event is referred to as a second key event, and the second key event indicates that the PTT key of the other bluetooth handset is no longer pressed.
Then, other Bluetooth hand microphone devices broadcast a second key event; and the other terminal equipment receives the second key event broadcast by the other Bluetooth mobile phone equipment.
Then, the other terminal device determines that the audio path between the other terminal device and the terminal device needs to be closed, that is, the audio path based on the talk-back needs to be closed. And the other terminal device sends a notification message to the terminal device, the notification message characterizing closing the talk-over-audio path.
S302, voice packets sent by other terminal devices are received, wherein the voice packets comprise mechanical sounds of PTT keys of other Bluetooth handheld devices connected with the other terminal devices.
In this step, in step S301, when the user releases the PTT button of another bluetooth mobile phone, the PTT button will generate mechanical sound; therefore, when other Bluetooth hand microphone devices broadcast the second key event, other Bluetooth hand microphone devices can generate mechanical sound with the PTT key and transmit the mechanical sound to other terminal devices in a Bluetooth communication mode. Therefore, the other terminal equipment can detect the voice packet formed by the mechanical sound while receiving the second key event.
Then, the other terminal device transmits the notification message of step S301 to the terminal device, and at the same time, transmits a voice packet made of a mechanical sound to the terminal device. Therefore, the terminal equipment can receive mechanical sound generated by the PTT key of other Bluetooth handheld devices connected with other terminal equipment.
Before the process, in the process of talkback, a user can press a PTT key of other Bluetooth mobile phone devices, then the user inputs voice to the other Bluetooth mobile phone devices, and the other Bluetooth mobile phone devices can send the voice to the terminal device through the other terminal devices in real time; thus, the normal voice uttered by the user is transmitted to the terminal device before the user releases the PTT key, so that the normal voice uttered by the user is not in the voice packet of step S302.
And S303, discarding the voice packet.
In this step, after the terminal device receives the voice packet sent by the other terminal device, the terminal device discards the voice packet, and then the terminal device does not play the mechanical sound in the voice packet.
S304, closing an audio channel between the terminal equipment and other terminal equipment.
In one example, step S304 specifically includes: and closing the audio communication function of the terminal equipment and sending a closing instruction to other terminal equipment so that the other terminal equipment closes the audio communication function of the other terminal equipment according to the closing instruction to close the audio channel.
In this step, the terminal device also needs to close the audio channel based on the talk-back, that is, the audio channel between the terminal device and other terminal devices needs to be closed.
In one example, the terminal device closes its own audio communication function, and then the terminal device does not send audio to other terminal devices, and does not receive audio sent by other terminal devices; meanwhile, the terminal equipment sends a closing instruction to other terminal equipment. Then, other terminal devices close their own audio communication functions, and further other terminal devices do not send audio to the terminal device any more, and do not receive the audio sent by the terminal device. Thus, based on the above process, the terminal device and the other terminal device close the audio path therebetween.
In this embodiment, a notification message sent by other terminal devices is received, where the notification message is sent by the other terminal devices after the other terminal devices receive a second key event broadcasted by other bluetooth handheld devices connected to the other terminal devices, the second key event indicates that PTT keys of the other bluetooth handheld devices are no longer pressed, and the notification message indicates that an audio channel based on talkback is closed; receiving voice packets sent by other terminal equipment, wherein the voice packets comprise mechanical sounds of PTT keys of other Bluetooth handheld devices connected with the other terminal equipment; the voice packet is discarded. When a user releases the PTT key of other Bluetooth hand microphone equipment, the PTT key generates mechanical sound; other Bluetooth hand microphone equipment broadcasts a second key event, and then other terminal equipment determines that an audio channel needs to be closed, and the other terminal equipment detects a voice packet which is transmitted by other Bluetooth hand microphone equipment and is formed by mechanical sound; other terminal equipment sends the voice packet to the terminal equipment; terminal equipment directly abandons the pronunciation package after detecting the pronunciation package, and the terminal equipment broadcast is by the pronunciation package that the machinery sound constitutes to can not cause the interference for the user, can not produce the noise, promoted the user experience based on talkbacking. And, the terminal device may close the talk-over audio path.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 5, the terminal device includes:
a receiving unit 31 for receiving a notification message, wherein the notification message characterizes closing the talk-over-audio path.
And the detection unit 32 is used for detecting a voice packet according to the notification message, wherein the voice packet comprises the mechanical sound of the PTT key of the Bluetooth handheld device.
A dropping unit 33 for dropping the voice packet.
The terminal device provided in this embodiment is the same as the technical solution for implementing the intercom-based communication processing method provided in any of the foregoing embodiments, and the implementation principle and technical effect thereof are similar and are not described again.
Fig. 6 is a schematic structural diagram of another terminal device provided in an embodiment of the present application, and based on the embodiment shown in fig. 5, as shown in fig. 6, in the terminal device, the receiving unit 31 is specifically configured to: and receiving a notification message broadcast by the Bluetooth handheld microphone device, wherein the notification message is a first key event, and the first key event represents that a PTT key of the Bluetooth handheld microphone device is not pressed any more.
The detection unit 32 is specifically configured to: and receiving a voice packet sent by the Bluetooth handheld device, wherein the voice packet is to be sent to other terminal devices.
Alternatively, the receiving unit 31 is specifically configured to: and receiving notification messages sent by other terminal equipment, wherein the notification messages are sent after the other terminal equipment receives second key events broadcasted by other Bluetooth handheld devices connected with the other terminal equipment, and the second key events represent that PTT keys of the other Bluetooth handheld devices are not pressed any more.
The detection unit 32 is specifically configured to: and receiving voice packets sent by other terminal equipment.
The terminal device provided in this embodiment further includes:
a closing unit 41, configured to close the audio path between the terminal device and the other terminal device after the voice packet is discarded by the discarding unit 33.
The closing unit 41 includes:
and a closing module 411, configured to close an audio communication function of the terminal device.
The sending module 412 is configured to send a closing instruction to the other terminal device, so that the other terminal device closes the audio communication function of the other terminal device according to the closing instruction, so as to close the audio channel.
The terminal device provided in this embodiment is the same as the technical solution for implementing the intercom-based communication processing method provided in any of the foregoing embodiments, and the implementation principle and technical effect thereof are similar and are not described again.
Fig. 7 is a schematic structural diagram of another terminal device provided in an embodiment of the present application, and as shown in fig. 7, the terminal device includes: a transmitter 71, a receiver 72, a memory 73 and a processor 74.
The memory 73 is used to store computer instructions; the processor 74 is configured to execute the computer instructions stored in the memory 73 to implement the technical solution of the talkback-based communication processing method provided by any implementation manner in the foregoing embodiments.
The present application also provides a storage medium comprising: readable storage media and computer instructions, the computer instructions stored in the readable storage media; the computer instructions are used for implementing the technical scheme of the talkback-based communication processing method of any implementation mode provided by the foregoing example.
In the above Specific implementation of the terminal device, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (16)

1. A communication processing method based on talkback is characterized in that the method is applied to terminal equipment and comprises the following steps:
receiving a notification message, wherein the notification message characterizes closing a talk-over-audio path;
and detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a push-to-talk (PTT) button of the Bluetooth mobile phone, and discarding the voice packet.
2. The method of claim 1, wherein the receiving the notification message comprises:
and receiving a notification message broadcasted by the Bluetooth mobile phone and microphone equipment, wherein the notification message is a first key event, and the first key event represents that a PTT key of the Bluetooth mobile phone and microphone equipment is not pressed any more.
3. The method of claim 2, wherein detecting voice packets according to the notification message comprises:
and receiving the voice packet sent by the Bluetooth handheld device, wherein the voice packet is to be sent to other terminal devices.
4. The method of claim 1, wherein the receiving the notification message comprises:
and receiving notification messages sent by other terminal equipment, wherein the notification messages are sent after the other terminal equipment receives second key events broadcasted by other Bluetooth handheld devices connected with the other terminal equipment, and the second key events represent that PTT keys of the other Bluetooth handheld devices are not pressed any more.
5. The method of claim 4, wherein detecting voice packets according to the notification message comprises:
and receiving the voice packet sent by the other terminal equipment.
6. The method according to any of claims 1-5, further comprising, after dropping the voice packet:
and closing the audio channel between the terminal equipment and other terminal equipment.
7. The method of claim 6, wherein closing an audio path between the terminal device and the other terminal device comprises:
and closing the audio communication function of the terminal equipment, and sending a closing instruction to the other terminal equipment so that the other terminal equipment closes the audio communication function of the other terminal equipment according to the closing instruction to close the audio channel.
8. A terminal device, characterized in that the terminal device comprises:
a receiving unit, configured to receive a notification message, where the notification message characterizes closing of a talk-over-audio channel;
the detection unit is used for detecting a voice packet according to the notification message, wherein the voice packet comprises a mechanical sound of a push-to-talk (PTT) button of the Bluetooth mobile phone;
and the discarding unit is used for discarding the voice packet.
9. The terminal device according to claim 8, wherein the receiving unit is specifically configured to:
and receiving a notification message broadcasted by the Bluetooth mobile phone and microphone equipment, wherein the notification message is a first key event, and the first key event represents that a PTT key of the Bluetooth mobile phone and microphone equipment is not pressed any more.
10. The terminal device according to claim 9, wherein the detecting unit is specifically configured to:
and receiving the voice packet sent by the Bluetooth handheld device, wherein the voice packet is to be sent to other terminal devices.
11. The terminal device according to claim 8, wherein the receiving unit is specifically configured to:
and receiving notification messages sent by other terminal equipment, wherein the notification messages are sent after the other terminal equipment receives second key events broadcasted by other Bluetooth handheld devices connected with the other terminal equipment, and the second key events represent that PTT keys of the other Bluetooth handheld devices are not pressed any more.
12. The terminal device according to claim 11, wherein the detecting unit is specifically configured to:
and receiving the voice packet sent by the other terminal equipment.
13. The terminal device according to any of claims 8-12, wherein the terminal device further comprises:
a closing unit, configured to close the audio path between the terminal device and another terminal device after the voice packet is discarded by the discarding unit.
14. The terminal device according to claim 13, wherein the shutdown unit includes:
the closing module is used for closing the audio communication function of the terminal equipment;
and the sending module is used for sending a closing instruction to the other terminal equipment so that the other terminal equipment closes the audio communication function of the other terminal equipment according to the closing instruction so as to close the audio channel.
15. A terminal device, comprising: a transmitter, a receiver, a memory, and a processor;
the memory is to store computer instructions; the processor is configured to execute the computer instructions stored by the memory to implement the method of any of claims 1-7.
16. A storage medium, comprising: a readable storage medium and computer instructions stored in the readable storage medium; the computer instructions are for implementing the method of any one of claims 1-7.
CN201910782373.1A 2019-08-23 2019-08-23 Intercommunication-based communication processing method, terminal device and storage medium Active CN112423246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910782373.1A CN112423246B (en) 2019-08-23 2019-08-23 Intercommunication-based communication processing method, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910782373.1A CN112423246B (en) 2019-08-23 2019-08-23 Intercommunication-based communication processing method, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN112423246A CN112423246A (en) 2021-02-26
CN112423246B true CN112423246B (en) 2021-11-30

Family

ID=74779828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910782373.1A Active CN112423246B (en) 2019-08-23 2019-08-23 Intercommunication-based communication processing method, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN112423246B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533189A (en) * 2003-03-18 2004-09-29 康奈科技股份有限公司 Radio walkie-talkie capable of producing vibrative prompt
KR20130031104A (en) * 2011-09-20 2013-03-28 주식회사 세나테크놀로지 Portable type bluetooth repeater
CN203722766U (en) * 2014-02-18 2014-07-16 捷思锐科技(北京)有限公司 Terminal intercommunication system
CN106331901A (en) * 2015-07-03 2017-01-11 石家庄市善理通益科技有限公司 Bluetooth hand microphone, smart terminal, and digital trunked intercom system
CN107392200A (en) * 2017-08-23 2017-11-24 深圳市乐智教育科技有限公司 It is a kind of to put the method read and talking pen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150223110A1 (en) * 2014-02-05 2015-08-06 Qualcomm Incorporated Robust voice-activated floor control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533189A (en) * 2003-03-18 2004-09-29 康奈科技股份有限公司 Radio walkie-talkie capable of producing vibrative prompt
KR20130031104A (en) * 2011-09-20 2013-03-28 주식회사 세나테크놀로지 Portable type bluetooth repeater
CN203722766U (en) * 2014-02-18 2014-07-16 捷思锐科技(北京)有限公司 Terminal intercommunication system
CN106331901A (en) * 2015-07-03 2017-01-11 石家庄市善理通益科技有限公司 Bluetooth hand microphone, smart terminal, and digital trunked intercom system
CN107392200A (en) * 2017-08-23 2017-11-24 深圳市乐智教育科技有限公司 It is a kind of to put the method read and talking pen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
An Evaluation of Push to Talk Service over IMS and LTE for Public Safety Systems;Alhad Kuwadekar;《 2014 International Conference on Computational Intelligence and Communication Networks》;20150326;全文 *
基于STM32的超短波电台模拟训练系统设计;张磊;《微型机与应用》;20170531;全文 *

Also Published As

Publication number Publication date
CN112423246A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
EP3132551B1 (en) Jitter buffer control based on monitoring of delay jitter and conversational dynamics
KR101658908B1 (en) Apparatus and method for improving a call voice quality in portable terminal
KR100652645B1 (en) Floor management apparatus and method for push to talk type mobile station using sound detection and recognition
EP3217638B1 (en) Transferring information from a sender to a recipient during a telephone call under noisy environment
KR101191263B1 (en) A Method Informing If Speaker-Phone Function is Used
JP5973289B2 (en) Portable terminal, voice control program, and voice control method
US20150249736A1 (en) Notification of Muting During Voice Activity for Multiple Muters
CN112423246B (en) Intercommunication-based communication processing method, terminal device and storage medium
KR101820369B1 (en) Bluetooth Communication Method Of Smartphone To A Headset
CN114125616A (en) Low power consumption method and device of wireless earphone, wireless earphone and readable storage medium
WO2018058875A1 (en) Call switching method and system for terminal, terminal, and computer storage medium
US20140222437A1 (en) Out-of-Band Notification of Muting During Voice Activity
JP2013172297A (en) Electronic equipment, output control program, and output control method
CN101496424A (en) Use of media timestamp to indicate delays in push-to-talk over cellular group calls
CN113660572B (en) Earphone call control method and device, earphone equipment and storage medium
KR100691373B1 (en) A method for outputting the character message of wireless headset
JP2011030120A (en) Interphone system
WO2023103446A1 (en) Communication method and apparatus between earphones, and electronic device and storage medium
KR100736569B1 (en) Mobile communication terminal and control method thereof
JP4731457B2 (en) Communication device
JP5140319B2 (en) Communication device, slave unit and control program
KR100605832B1 (en) Method for notifing reception state in the push to talk portable terminal
JP2021184552A (en) Radio device and radio communication system
JP4079921B2 (en) Wireless IP telephone, wireless IP telephone system, and voice communication method thereof
CN101529850B (en) Method and device for providing session initiation protocol for squelch break signaling device

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