CN110113682A - Audio communication method, device, computer equipment and storage medium - Google Patents

Audio communication method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110113682A
CN110113682A CN201910447964.3A CN201910447964A CN110113682A CN 110113682 A CN110113682 A CN 110113682A CN 201910447964 A CN201910447964 A CN 201910447964A CN 110113682 A CN110113682 A CN 110113682A
Authority
CN
China
Prior art keywords
communication apparatus
communication
audio interface
audio
sent
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.)
Pending
Application number
CN201910447964.3A
Other languages
Chinese (zh)
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.)
Shenzhen Water World Co Ltd
Original Assignee
Shenzhen Water World Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201910447964.3A priority Critical patent/CN110113682A/en
Publication of CN110113682A publication Critical patent/CN110113682A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q5/00Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
    • H04Q5/24Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of audio communication method, device, computer equipment and storage mediums, and applied to the first communication apparatus of compatible Android system and DMR intercom system, method includes: the communication network type obtained between the first communication apparatus and the second communication apparatus;Wherein communication network type includes the common network supported by Android system or the dedicated network supported by DMR intercom system, and the first communication apparatus and the second communication apparatus communicate to connect;The first voice data that the second communication apparatus is sent is obtained by the corresponding audio interface of communication network type;Wherein audio interface includes the second audio interface in the first audio interface or DMR intercom system in Android system;The first voice data is sent to Bluetooth audio equipment by the third audio interface in Android system.So that public network and dedicated first communication apparatus is supported to support the voice calling service and speech talkback business of Bluetooth audio equipment simultaneously.

Description

Audio communication method, device, computer equipment and storage medium
Technical field
This application involves field of communication technology is arrived, especially relates to audio communication method, device, computer equipment and deposit Storage media.
Background technique
With the development of science and technology, mobile communication equipment is at electronic product indispensable for people's lives.Currently, big Partial mobile communication equipment realizes different functions according to heterogeneous networks and is divided into a variety of communication products.It such as supports with quotient's net The mobile phone of network (i.e. common network) can individually support the voice calling service of Bluetooth audio equipment (such as bluetooth headset), support area The intercom of domain intercommunication network (i.e. dedicated network) also can individually support the speech talkback business of bluetooth headset.With science and technology into Step starts occur supporting public network and dedicated mobile communication equipment simultaneously, but due to communication network difference, causes to support public Net and dedicated mobile communication equipment can not also support the voice calling service and speech talkback business of Bluetooth audio equipment simultaneously.
Summary of the invention
The application's is designed to provide a kind of audio communication method, device, computer equipment and storage medium, it is intended to solve Certainly support public network and dedicated mobile communication equipment that can not also support the voice calling service and voice of Bluetooth audio equipment simultaneously The problem of intercommunication business.
The application proposes a kind of audio communication method, the first communication applied to compatible Android system and DMR intercom system Equipment, method include:
Obtain the communication network type between the first communication apparatus and the second communication apparatus, wherein communication network type include by The common network or the dedicated network supported by DMR intercom system that Android system is supported, the first communication apparatus are set with the second communication Standby communication connection;
The first voice data that the second communication apparatus is sent is obtained by the corresponding audio interface of communication network type, wherein Audio interface includes the second audio interface in the first audio interface or DMR intercom system in Android system;
The first voice data is sent to Bluetooth audio equipment by the third audio interface in Android system, to pass through indigo plant Tooth audio frequency apparatus plays the corresponding voice content of the first voice data.
Further, communication network type is common network, obtains the by the corresponding audio interface of communication network type The step of the first voice data that two communication apparatus are sent, comprising:
The first voice data that the second communication apparatus is sent is received by the first audio interface.
Further, communication network type is dedicated network, obtains the by the corresponding audio interface of communication network type The step of the first voice data that two communication apparatus are sent, comprising:
The first voice data that the second communication apparatus is sent is received by the second audio interface.
Further, the first voice that the second communication apparatus is sent is received by the corresponding audio interface of communication network type Before the step of data, comprising:
It detects whether to receive the first default trigger signal, the first default trigger signal is what the second communication apparatus was sent DMR signaling;
If so, entering through the corresponding audio interface of communication network type receives the first language that the second communication apparatus is sent The step of sound data.
Further, after the step of obtaining the communication network type between the first communication apparatus and the second communication apparatus, also Include:
The second speech data that Bluetooth audio equipment is sent is obtained by the third audio interface in Android system;
Second speech data is sent to the second communication apparatus by communication network type corresponding audio interface.
Further, communication network type is common network, and second speech data is sent to second by audio interface The step of communication apparatus, comprising:
Second speech data is sent to the second communication apparatus by the first audio interface.
Further, communication network type is dedicated network, and second speech data is sent to second by audio interface The step of communication apparatus, comprising:
Second speech data is transmitted to the second audio interface by the first audio interface;
Second speech data is sent to the second communication apparatus by the second audio interface.
The application also proposes a kind of processing unit of call voice, the based on compatible Android system and DMR intercom system One communication apparatus, comprising:
First obtains module, for obtaining the communication network type between the first communication apparatus and the second communication apparatus, wherein Communication network type includes the common network supported by Android system or the dedicated network supported by DMR intercom system, and first is logical It interrogates equipment and the second communication apparatus communicates to connect;
Second obtains module, for obtaining what the second communication apparatus was sent by the corresponding audio interface of communication network type First voice data, wherein audio interface includes the second audio in the first audio interface or DMR intercom system in tall and erect system Interface;
First sending module, for the first voice data to be sent to bluetooth by the third audio interface in Android system Audio frequency apparatus, to play the corresponding voice content of the first voice data by Bluetooth audio equipment.
The application also proposes that a kind of computer equipment, including memory and processor, memory are stored with computer program, When processor executes computer program the step of above-mentioned audio communication method.
The application also proposes a kind of storage medium, is stored thereon with computer program, and computer program is executed by processor The step of Shi Shixian above-mentioned audio communication method.
The application passes through the communication network type for obtaining the first communication apparatus and the second communication apparatus, to make the first communication Equipment receives the voice data of the second communication apparatus by public network or the corresponding audio interface of private network, then by setting in the first communication Voice data is transmitted between standby Android system and DMR intercom system, realizes voice data in Android system and DMR pairs Say the transmission between system;According to the in the Android system of the 4th audio interface and the first communication apparatus in Bluetooth audio equipment Voice data is sent to Bluetooth audio equipment by the communication connection of two audio interface, realizes that Bluetooth audio equipment is set with the first communication The transmission of voice data between standby, so that public network and dedicated first communication apparatus is supported to support Bluetooth audio equipment simultaneously Voice calling service and speech talkback business.
Detailed description of the invention
Fig. 1 is the step schematic diagram of audio communication method in one embodiment of the application;
Fig. 2 is the connection relationship diagram of the first communication apparatus and Bluetooth audio equipment in one embodiment of the application;
Fig. 3 is the structural schematic diagram of voice communication device in one embodiment of the application;
Fig. 4 is the structural schematic diagram of the second acquisition module in voice communication device in one embodiment of the application;
Fig. 5 is the structural schematic diagram of the second acquisition module in voice communication device in another embodiment of the application;
Fig. 6 is the structural schematic diagram of voice communication device in another embodiment of the application;
Fig. 7 is the structural schematic diagram of voice communication device in the another embodiment of the application;
Fig. 8 is the structural schematic diagram of the second sending module in voice communication device in one embodiment of the application;
Fig. 9 is the structural schematic diagram of the second sending module in voice communication device in another embodiment of the application;
Figure 10 is the structural schematic diagram of voice communication device in the application another embodiment;
Figure 11 is the structural schematic diagram of computer equipment in one embodiment of the application;
Figure 12 is the structural schematic diagram of storage medium in one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that specific embodiment described herein is only used to explain the application, it is not used to limit the application.
Referring to Fig.1, the audio communication method in one embodiment of the application is applied to compatible Android system 3000 and DMR pairs Say the first communication apparatus of system 3006, comprising:
S1 obtains the communication network type between the first communication apparatus and the second communication apparatus, wherein communication network type packet The dedicated network for including the common network supported by Android system 3000 or being supported by DMR intercom system 3006, the first communication apparatus It is communicated to connect with the second communication apparatus;
S2 obtains the first voice data that the second communication apparatus is sent by the corresponding audio interface of communication network type, Wherein audio interface includes the first audio interface 3002 in Android system 3000 or the second audio in DMR intercom system 3006 Interface 3008;
First voice data is sent to Bluetooth audio frequency by the third audio interface 3004 in Android system 3000 and set by S3 Standby 3010, to play the corresponding voice content of the first voice data by Bluetooth audio equipment 3010.
Such as Fig. 2, in one embodiment, Android system 3000 and DMR (Digital built in above-mentioned first communication apparatus Mobile Radio, digital media receiver) intercom system.Android system 3000 include INT (integer function) interrupt/ GPIO (General-purpose input/output) interface, two audio interface (the first audio interface 3002 and third sounds Frequency interface 3004) and two UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receipts Send out transmitter) serial ports (the first UART serial ports 3003 and the 3rd UART serial ports 3005);DMR intercom system 3006 includes PTT (Push To Talk) keystroke interface, an audio interface (the second audio interface 3008) and UART serial ports (a 2nd UART serial ports 3009).Wherein, INT interruption/GPIO interface 3001 connects PPT keystroke interface, for receiving the interrupt signal of PTT key generation, Or simulation generates interrupt signal;First audio interface 3002, the second audio interface 3008 and third audio interface 3004 can be IIS/PCM audio interface;First audio interface 3002 is connect with the second audio interface 3008, for exchange Android system 3000 with Voice data between DMR intercom system 3006;First UART serial ports 3003 is connect with the 2nd UART serial ports 3009, is used for transmission The DMR signaling and control DMR intercom system 3006 of DMR intercom system 3006 send DMR signaling to outside.By Android system 3000 It is integrated in same equipment with DMR intercom system 3006, compares existing mobile phone and intercom, which can carry out signal in inside Interaction, without the voice between the manual transmitting cell-phone of user and intercom, is more in line with user demand;And Android system 3000 make its support common network, DMR intercom system 3006 make its support dedicated network, i.e., the equipment simultaneously support public network and specially Net.
Further, above-mentioned first communication apparatus and 3010 bluetooth connection of Bluetooth audio equipment, wherein above-mentioned Bluetooth audio frequency Equipment 3010 audio frequency apparatus of function of Bluetooth communication (such as bluetooth headset, Baffle Box of Bluetooth have) includes an audio interface (the Four audio interface 3011), a UART serial ports (the 4th serial ports) and microphone, wherein the 4th audio interface 3011 and third audio Interface 3004 communicates to connect, for exchanging the voice data between the first communication apparatus and Bluetooth audio equipment 3010;4th UART serial ports 3012 and the 3rd UART serial ports 3005 communicate to connect, and obtain for controlling the microphone on Bluetooth audio equipment 3010 First communication apparatus corresponds to the voice data of user.First communication apparatus receives the language of the second communication apparatus by public network or private network Sound data, then by being transmitted inside the first communication apparatus to voice data after, according in Bluetooth audio equipment 3010 The second audio interface 3008 communication connection in the Android system 3000 of 4th audio interface 3011 and the first communication apparatus, by language Sound data are sent to Bluetooth audio equipment 3010, realize the biography of voice data between Bluetooth audio equipment 3010 and the first communication apparatus It is defeated, so that public network and dedicated first communication apparatus is supported to support the voice calling service of Bluetooth audio equipment 3010 simultaneously With speech talkback business.
Such as above-mentioned steps S1 to S3, above-mentioned common network (hereinafter referred to as public network) is carrier network, and dedicated network is (following Abbreviation private network) it is local area network.In one embodiment, when communication network type is that public network, then the first communication apparatus and second are logical It can be regarded as the communication process of telephone booth between news equipment, then the second communication apparatus sends letter by the radio frequency unit in its equipment Number, signal is transmitted to core net through base station where the second communication apparatus, then through where core network to the first communication apparatus Base station, and the base station where the first communication apparatus transmits a signal to the first communication apparatus, by the Android system of the first communication apparatus Radio frequency unit in system 3000 receives signal, and receives the first voice data by the first audio interface 3002, logical through first After interrogating the data transmission inside the Android system 3000 of equipment, the first voice data is sent to Bluetooth audio equipment 3010, with User is set to answer the voice of the corresponding user of the second communication apparatus by Bluetooth audio equipment 3010.
In another embodiment, when communication network type is private network, then between the first communication apparatus and the second communication apparatus Can be regarded as the intercommunication process between intercom, then the second communication apparatus sends signal by the DMR intercom system 3006 of its equipment, By signal through local area network transmission to the first communication apparatus, signal is received by the DMR intercom system 3006 of the first communication apparatus, with And the first voice data is received by the second audio interface 3008, Android system 3000 and DMR intercommunication through the first communication apparatus After data transmission between system 3006, the first voice data is sent to Bluetooth audio equipment 3010, so that user passes through bluetooth Audio frequency apparatus 3010 answers the voice of the corresponding user of the second communication apparatus.So that supporting public network and dedicated first communication Equipment supports the voice calling service and speech talkback business of Bluetooth audio equipment 3010 simultaneously.
In one embodiment, above-mentioned communication network type is common network, above by the corresponding sound of communication network type The step S2 for the first voice data that the second communication apparatus of frequency interface is sent, comprising:
S21A receives the first voice data that the second communication apparatus is sent by the first audio interface 3002.
Such as above-mentioned steps S21A, above-mentioned communication network type is common network, the as Android system of the first communication apparatus 3000 supported communication network types then receive the second communication apparatus by the first audio interface 3002 in Android system 3000 The first voice data sent, and by the first voice data transmission to third audio interface 3004, to be used for third audio interface First voice data is sent to Bluetooth audio equipment 3010 by 3004.It realizes the first communication apparatus and supports bluetooth sound under public network The voice calling service of frequency equipment 3010.
In one embodiment, above-mentioned communication network type is dedicated network, above by the corresponding sound of communication network type Frequency interface obtains the step S2 for the first voice data that the second communication apparatus is sent, comprising:
S21B receives the first voice data that the second communication apparatus is sent by the second audio interface 3008.
Such as above-mentioned steps S21B, above-mentioned communication network type is dedicated network, the DMR intercommunication system of as the first communication apparatus It is logical then to receive second by the second audio interface 3008 in DMR intercom system 3006 for 3006 supported communication network types of system The first voice data that equipment is sent is interrogated, and passes through the interface channel of the first audio interface 3002 and the second audio interface 3008, By the first voice data transmission to the second audio interface 3008, then by the data transmission inside Android system 3000, by first Voice data transmission is to third audio interface 3004, first voice data is sent to bluetooth for third audio interface 3004 Audio frequency apparatus 3010.Realize the speech talkback business that the first communication apparatus supports Bluetooth audio equipment 3010 under private network.
In one embodiment, receive what the second communication apparatus was sent above by the corresponding audio interface of communication network type Before the step S2 of first voice data, comprising:
S201, detects whether to receive the first default trigger signal, and the first default trigger signal is the second communication apparatus hair The DMR signaling sent;
S202, if so, entering through the corresponding audio interface of communication network type receives what the second communication apparatus was sent The step of first voice data.
Such as above-mentioned steps S201 and S202, the first communication apparatus and the second communication apparatus are by private network connection communication, then and the It is half-duplex operation between one communication apparatus and the second communication apparatus, i.e., signal can only be sent by a wherein side simultaneously, specifically, the Two communication apparatus send DMR signaling to the first communication apparatus, and the DMR intercom system 3006 of the first communication apparatus receives DMR letter It enables, and is transmitted from the 2nd UART serial ports 3009 of DMR intercom system 3006 to the first UART serial ports 3003 of Android system 3000 The DMR signaling, after Android system 3000 gets the DMR signaling, the first audio interface 3002 of control passes through the second audio interface 3008 receive the first voice data that the second communication apparatus is sent.
In one embodiment, the step of communication network type between above-mentioned the first communication apparatus of acquisition and the second communication apparatus After S1, further includes:
S11, obtain that Bluetooth audio equipment 3010 sends by third audio interface 3004 in Android system 3000 the Two voice data;
Second speech data is sent to the second communication apparatus by the corresponding audio interface of communication network type by S12.
Such as above-mentioned steps S11 and S12, the second voice number of user is obtained by the microphone on Bluetooth audio equipment 3010 According to the user is the user using the first communication apparatus, then passes through the 4th audio interface 3011 on Bluetooth audio equipment 3010 Second speech data is sent to the first communication apparatus, and is connect by the third audio in the Android system of the first communication apparatus 3000 Mouth 3004 receives the second speech data.According to the communication network type between the first communication apparatus and the second communication apparatus, pass through Second speech data is sent to the second communication apparatus by the corresponding audio interface of communication network type, specifically, communication network class When type is public network, second speech data is sent to by the second communication apparatus, communication network type by the first audio interface 3002 When for private network, second speech data is sent to by the second communication apparatus by the second audio interface 3008.So that supporting public Net and dedicated first communication apparatus are supported simultaneously in the voice calling service and speech talkback business of Bluetooth audio equipment 3010 Voice transmission process.
In one embodiment, above-mentioned communication network type is common network, is sent out second speech data by audio interface It send to the step S12 of the second communication apparatus, comprising:
Second speech data is sent to the second communication apparatus by the first audio interface 3002 by S121A.
Such as above-mentioned steps S121A, above-mentioned communication network type is common network, the as Android system of the first communication apparatus 3000 supported communication network types, then will be second received by third audio interface 3004 by the first audio interface 3002 Voice data is sent to base station where the first communication apparatus, after core net is converted, is transmitted to base station where the second communication apparatus, Second speech data is sent to the second communication apparatus by base station where second communication apparatus.The first communication apparatus is realized in public network Voice transmission process in the lower voice calling service for supporting Bluetooth audio equipment 3010.
In one embodiment, above-mentioned communication network type is dedicated network, is sent out second speech data by audio interface It send to the step S12 of the second communication apparatus, comprising:
Second speech data is transmitted to the second audio interface 3008 by the first audio interface 3002 by S121B;
Second speech data is sent to the second communication apparatus by the second audio interface 3008 by S122B.
Such as above-mentioned steps S121B and S122B, above-mentioned communication network type is dedicated network, as the first communication apparatus The supported communication network type of DMR intercom system 3006, then the first audio interface 3002 is received third audio interface 3004 To second speech data be transmitted to the second audio interface 3008 of DMR intercom system 3006, according to the first communication apparatus and The dedicated Internet access communication of two communication equipment rooms, is sent to second for second speech data by the second audio interface 3008 and leads to Interrogate the DMR intercom system 3006 of equipment.Realize the voice that the first communication apparatus supports Bluetooth audio equipment 3010 under private network Voice transmission process in intercommunication business.
In one embodiment, the second language that Bluetooth audio equipment 3010 is sent is obtained above by third audio interface 3004 Before the step S11 of sound data, comprising:
S101, detects whether to get the second default trigger signal, and the second default trigger signal is on the first communication apparatus PTT key triggering interrupt signal or the first communication apparatus on GPIO interface simulation generate interrupt signal;
S102, if so, entering through third audio interface 3004 obtains the second language that Bluetooth audio equipment 3010 is sent The step of sound data.
Such as above-mentioned steps S101 and S102, in one embodiment, the PTT keystroke interface 3007 of DMR intercom system 3006 is right When the key answered is pressed, PTT keystroke interface 3007 triggers interrupt signal, and is transmitted to Android system 3000, by Android system 3000 INT interruption/GPIO interface 3001 receives the interrupt signal.In another embodiment, Bluetooth audio equipment 3010 is equipped with Push button signalling is transmitted to peace by the 4th UART serial ports 3012 after long keying, which is triggered, generates long-pressing signal by triggering key 3rd UART serial ports 3005 of tall and erect system 3000, and by the INT of Android system 3000 interruption/GPIO interface 3001 according to default mould Quasi- program, simulation generates interrupt signal, and after long keying is released, Android system 3000 receives the signal that long keying is released, And interrupt signal is generated by the way that after the customized protocol analysis signal, INT interruption/GPIO interface 3001 is no longer simulated.? In one embodiment, interrupt signal can also be generated by voice control INT interruption/simulation of GPIO interface 3001, wherein voice packet Starting is included to generate the keyword of interrupt signal or stop generating the keyword of interrupt signal.Further, interrupt signal is received Afterwards, the 3rd UART serial ports 3005 of Android system 3000 sends to the 4th UART serial ports 3012 of Bluetooth audio equipment 3010 and obtains The control command of second speech data, according to the control command, control microphone obtains the of user to Bluetooth audio equipment 3010 Second speech data is sent to the first communication by the 4th audio interface 3011 and set by two voice data, Bluetooth audio equipment 3010 Standby third audio interface 3004, and second speech data is transmitted to the second audio interface by the first audio interface 3002 3008, second speech data is finally sent to the second communication apparatus by the second audio interface 3008.
Referring to Fig. 3, in one embodiment of the application, voice communication device, based on compatible Android system 3000 and DMR intercommunication First communication apparatus of system 3006, device include:
First obtains module 1, for obtaining the communication network type between the first communication apparatus and the second communication apparatus, wherein Communication network type includes the common network supported by Android system 3000 or the private network supported by DMR intercom system 3006 Network, the first communication apparatus and the second communication apparatus communicate to connect;
Second obtains module 2, sends for obtaining the second communication apparatus by the corresponding audio interface of communication network type The first voice data, wherein audio interface includes the first audio interface 3002 or the DMR intercom system in Android system 3000 The second audio interface 3008 in 3006;
First sending module 3, for passing through the third audio interface 3004 in Android system 3000 for the first voice data It is sent to Bluetooth audio equipment 3010, to play the corresponding voice content of the first voice data by Bluetooth audio equipment 3010.
If above-mentioned first obtains the acquisition module 2 of module 1, second and the first sending module 3, above-mentioned common network is (following simple Public network) it is referred to as carrier network, dedicated network (hereinafter referred to as private network) is local area network.In one embodiment, work as communication network Type is public network, then can be regarded as the communication process of telephone booth between the first communication apparatus and the second communication apparatus, then second is logical It interrogates equipment and signal is sent by the radio frequency unit in its equipment, signal is transmitted to core through base station where the second communication apparatus Net, then through base station where core network to the first communication apparatus, and the base station where the first communication apparatus transmits a signal to First communication apparatus receives signal by the radio frequency unit in the Android system 3000 of the first communication apparatus, and passes through the first sound Frequency interface 3002 receives the first voice data, after the data Android system 3000 of the first communication apparatus inside are transmitted, by the One voice data is sent to Bluetooth audio equipment 3010, so that user answers the second communication apparatus by Bluetooth audio equipment 3010 The voice of corresponding user.
In another embodiment, when communication network type is private network, then between the first communication apparatus and the second communication apparatus Can be regarded as the intercommunication process between intercom, then the second communication apparatus sends signal by the DMR intercom system 3006 of its equipment, By signal through local area network transmission to the first communication apparatus, signal is received by the DMR intercom system 3006 of the first communication apparatus, with And the first voice data is received by the second audio interface 3008, Android system 3000 and DMR intercommunication through the first communication apparatus After data transmission between system 3006, the first voice data is sent to Bluetooth audio equipment 3010, so that user passes through bluetooth Audio frequency apparatus 3010 answers the voice of the corresponding user of the second communication apparatus.So that supporting public network and dedicated first communication Equipment supports the voice calling service and speech talkback business of Bluetooth audio equipment 3010 simultaneously.
Referring to Fig. 4, in one embodiment, above-mentioned communication network type is common network, and above-mentioned second obtains module 2, packet It includes:
First receiving unit 21A, for receiving the first language that the second communication apparatus is sent by the first audio interface 3002 Sound data.
Such as above-mentioned first receiving unit 21A, above-mentioned communication network type is common network, the as peace of the first communication apparatus It is logical then to receive second by the first audio interface 3002 in Android system 3000 for the supported communication network type of tall and erect system 3000 The first voice data that equipment is sent is interrogated, and by the first voice data transmission to third audio interface 3004, to be used for third sound First voice data is sent to Bluetooth audio equipment 3010 by frequency interface 3004.The first communication apparatus is realized to support under public network The voice calling service of Bluetooth audio equipment 3010.
Referring to Fig. 5, in one embodiment, above-mentioned communication network type is dedicated network, and above-mentioned second obtains module 2, packet It includes:
Second receiving unit 21B, for receiving the first language that the second communication apparatus is sent by the second audio interface 3008 Sound data.
Such as above-mentioned second receiving unit 21B, above-mentioned communication network type is dedicated network, as the first communication apparatus The supported communication network type of DMR intercom system 3006 is then connect by the second audio interface 3008 in DMR intercom system 3006 The first voice data of the second communication apparatus transmission is received, and passes through the company of the first audio interface 3002 and the second audio interface 3008 Road is connected, is transmitted by the first voice data transmission to the second audio interface 3008, then by the data inside Android system 3000, By the first voice data transmission to third audio interface 3004, first voice data to be sent for third audio interface 3004 To Bluetooth audio equipment 3010.Realize the speech talkback industry that the first communication apparatus supports Bluetooth audio equipment 3010 under private network Business.
Referring to Fig. 6, in one embodiment, above-mentioned apparatus, further includes:
First detection module 201, for detecting whether receiving the first default trigger signal, the first default trigger signal is The DMR signaling that second communication apparatus is sent;
First entering module 202, for if so, entering through the corresponding audio interface of communication network type receives second The step of the first voice data that communication apparatus is sent.
Such as above-mentioned steps first detection module 201 and first entering module 202, the first communication apparatus and the second communication apparatus It is then half-duplex operation between the first communication apparatus and the second communication apparatus by private network connection communication, i.e., it simultaneously can only be by wherein One side send signal, specifically, the second communication apparatus to the first communication apparatus send DMR signaling, DMR pairs of the first communication apparatus Say that system 3006 receives the DMR signaling, and from the 2nd UART serial ports 3009 of DMR intercom system 3006 to Android system 3000 First UART serial ports 3003 transmits the DMR signaling, after Android system 3000 gets the DMR signaling, controls the first audio interface 3002 receive the first voice data that the second communication apparatus is sent by the second audio interface 3008.
Referring to Fig. 7, in one embodiment, above-mentioned apparatus, further includes:
Third obtains module 11, sets for obtaining Bluetooth audio frequency by the third audio interface 3004 in Android system 3000 Standby 3010 second speech datas sent;
Second sending module 12, for being sent to second speech data by the corresponding audio interface of communication network type Second communication apparatus.
If above-mentioned steps third obtains module 11 and the second sending module 12, pass through the Mike on Bluetooth audio equipment 3010 Wind obtains the second speech data of user, which is the user using the first communication apparatus, then passes through Bluetooth audio equipment Second speech data is sent to the first communication apparatus by the 4th audio interface 3011 on 3010, and by the peace of the first communication apparatus Third audio interface 3004 in tall and erect system 3000 receives the second speech data.It is set according to the first communication apparatus and the second communication Communication network type between standby, is sent to the second communication for second speech data by the corresponding audio interface of communication network type Second speech data specifically when communication network type is public network, is sent to second by the first audio interface 3002 by equipment Second speech data is sent to second by the second audio interface 3008 and led to by communication apparatus when communication network type is private network Interrogate equipment.So that public network and dedicated first communication apparatus is supported to support the voice communication of Bluetooth audio equipment 3010 simultaneously Voice transmission process in business and speech talkback business.
Referring to Fig. 8, in one embodiment, above-mentioned communication network type is common network, above-mentioned second sending module 12, packet It includes:
First transmission unit 121A, for second speech data to be sent to the second communication by the first audio interface 3002 Equipment.
Such as above-mentioned first transmission unit 121A, above-mentioned communication network type is common network, as the first communication apparatus The supported communication network type of Android system 3000 is then received third audio interface 3004 by the first audio interface 3002 To second speech data be sent to base station where the first communication apparatus and be transmitted to the second communication apparatus after core net is converted Place base station, second speech data is sent to the second communication apparatus by base station where the second communication apparatus.Realize the first communication Equipment supports the voice transmission process in the voice calling service of Bluetooth audio equipment 3010 under public network.
Referring to Fig. 9, in one embodiment, above-mentioned communication network type is dedicated network, above-mentioned second sending module 12, packet It includes:
Transmission unit 121B, for second speech data to be transmitted to the second audio interface by the first audio interface 3002 3008;
Second transmission unit 122B, for second speech data to be sent to the second communication by the second audio interface 3008 Equipment.
Such as above-mentioned transmission unit 121B and the second transmission unit 122B, above-mentioned communication network type is dedicated network, as The supported communication network type of DMR intercom system 3006 of first communication apparatus, then the first audio interface 3002 is by third audio Second speech data received by interface 3004 is transmitted to the second audio interface 3008 of DMR intercom system 3006, according to Dedicated Internet access between one communication apparatus and the second communication apparatus communicates, by the second audio interface 3008 by the second voice number According to the DMR intercom system 3006 for being sent to the second communication apparatus.It realizes the first communication apparatus and supports Bluetooth audio frequency under private network Voice transmission process in the speech talkback business of equipment 3010.
Referring to Fig.1 0, in one embodiment, above-mentioned apparatus, further includes:
Second detection module 101, for detecting whether getting the second default trigger signal, the second default trigger signal is During the interrupt signal of PTT key triggering on first communication apparatus or the GPIO interface simulation on the first communication apparatus generate Break signal;
Second enters module 102, for if so, entering through third audio interface 3004 obtains Bluetooth audio equipment The step of second speech data of 3010 transmissions.
As above-mentioned second detection module 101 and second enters module 102, in one embodiment, DMR intercom system 3006 When the corresponding key of PTT keystroke interface 3007 is pressed, PTT keystroke interface 3007 triggers interrupt signal, and is transmitted to Android system System 3000 receives the interrupt signal by INT interruption/GPIO interface 3001 of Android system 3000.In another embodiment, bluetooth Audio frequency apparatus 3010 is equipped with triggering key, will by the 4th UART serial ports 3012 after long keying, which is triggered, generates long-pressing signal Push button signalling is transmitted to the 3rd UART serial ports 3005 of Android system 3000, and is connect by the INT of Android system 3000 interruption/GPIO For mouth 3001 according to predetermined analog program, simulation generates interrupt signal, and after long keying is released, Android system 3000 receives long-pressing The signal that key is released, and by the way that after the customized protocol analysis signal, INT interruption/GPIO interface 3001 no longer simulates production Raw interrupt signal.In one embodiment, interruption can also be generated by voice control INT interruption/simulation of GPIO interface 3001 Signal, wherein voice includes that starting generates the keyword of interrupt signal or stops generating the keyword of interrupt signal.Further, After receiving interrupt signal, the 3rd UART serial ports 3005 of Android system 3000 is gone here and there to the 4th UART of Bluetooth audio equipment 3010 Mouth 3012 sends the control command for obtaining second speech datas, and Bluetooth audio equipment 3010 according to the control command, controls Mike Wind obtains the second speech data of user, and Bluetooth audio equipment 3010 is sent out second speech data by the 4th audio interface 3011 It send to the third audio interface 3004 of the first communication apparatus, and second speech data is transmitted to by the first audio interface 3002 Second speech data is finally sent to the second communication apparatus by the second audio interface 3008 by two audio interface 3008.
Referring to Fig.1 1, in one embodiment of the application, computer equipment 1001 includes memory 1003 and processor 1002, is deposited Reservoir 1003 is stored with computer program 1004, and processor 1002 realizes the step of the above method when executing computer program 1004 Suddenly.
It will be understood by those skilled in the art that the computer equipment of the application is above-mentioned involved for executing in the application One or more equipment in method.These equipment can specially design and manufacture for required purpose, or can also be with Including the known device in general purpose computer.These equipment have the computer program being stored in it or application program, these Computer program is selectively activated or is reconstructed.Such computer program can be stored in equipment (for example, computer) can It reads in medium or is stored in and be suitable for storage e-command and be coupled in any kind of medium of bus respectively, computer can Reading medium includes but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read- Only Memory, read-only memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card Or light card.It is, readable medium includes the form storage or transmission information by equipment (for example, computer) can read Any medium.
Referring to Fig.1 2, storage medium 2001 in one embodiment of the application is stored thereon with computer program 1004, the meter The step of above method is realized when calculation machine program 1004 is executed by processor.
Present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that Computer executes method described in above embodiments.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present application.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of audio communication method, which is characterized in that the first communication applied to compatible Android system and DMR intercom system is set It is standby, which comprises
Obtain the communication network type between first communication apparatus and the second communication apparatus;The wherein communication network type packet Include the common network supported by the Android system or the dedicated network supported by the DMR intercom system, first communication Equipment and second communication apparatus communicate to connect;
The first voice data that second communication apparatus is sent is obtained by the corresponding audio interface of the communication network type; Wherein the audio interface includes the second audio in the first audio interface or the DMR intercom system in the Android system Interface;
First voice data is sent to Bluetooth audio equipment by the third audio interface in the Android system.
2. audio communication method according to claim 1, which is characterized in that when the communication network type is common network When, it is described that the first voice number that second communication apparatus is sent is obtained by the corresponding audio interface of the communication network type According to the step of, comprising:
The first voice data that second communication apparatus is sent is received by first audio interface.
3. audio communication method according to claim 1, which is characterized in that when the communication network type is dedicated network When, it is described that the first voice number that second communication apparatus is sent is obtained by the corresponding audio interface of the communication network type According to the step of, comprising:
The first voice data that second communication apparatus is sent is received by second audio interface.
4. audio communication method according to claim 3, which is characterized in that described corresponding by the communication network type Audio interface the step of receiving the first voice data that second communication apparatus is sent before, comprising:
It detects whether to receive the first default trigger signal, the first default trigger signal is second communication apparatus transmission DMR signaling;
If so, enter through that the corresponding audio interface of the communication network type receives that second communication apparatus sends the The step of one voice data.
5. audio communication method according to claim 1, which is characterized in that described to obtain first communication apparatus and institute After the step of stating the communication network type between the second communication apparatus, further includes:
The second speech data that the Bluetooth audio equipment is sent is obtained by the third audio interface in the Android system;
The second speech data second communication is sent to by the communication network type corresponding audio interface to set It is standby.
6. audio communication method according to claim 5, which is characterized in that when the communication network type is common network When, the described the step of second speech data is sent to by second communication apparatus by the audio interface, comprising:
The second speech data is sent to second communication apparatus by first audio interface.
7. audio communication method according to claim 5, which is characterized in that when the communication network type is dedicated network When, the described the step of second speech data is sent to by second communication apparatus by the audio interface, comprising:
The second speech data is transmitted to second audio interface by first audio interface;
The second speech data is sent to second communication apparatus by second audio interface.
8. a kind of processing unit of call voice, special based on the first communication apparatus of compatible Android system and DMR intercom system Sign is, comprising:
First obtains module, for obtaining the communication network type between first communication apparatus and second communication apparatus; Wherein the communication network type includes the common network supported by the Android system or is supported by the DMR intercom system Dedicated network, first communication apparatus and second communication apparatus communicate to connect;
Second obtains module, sends out for obtaining second communication apparatus by the corresponding audio interface of the communication network type The first voice data sent;Wherein the audio interface includes the first audio interface or the DMR intercommunication in the tall and erect system The second audio interface in system;
First sending module, for being sent to first voice data by the third audio interface in the Android system Bluetooth audio equipment, to play the corresponding voice content of first voice data by the Bluetooth audio equipment.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the processor realizes audio communication method described in any one of claims 1 to 7 when executing the computer program Step.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is held by processor The step of audio communication method described in any one of claims 1 to 7 is realized when row.
CN201910447964.3A 2019-05-27 2019-05-27 Audio communication method, device, computer equipment and storage medium Pending CN110113682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910447964.3A CN110113682A (en) 2019-05-27 2019-05-27 Audio communication method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910447964.3A CN110113682A (en) 2019-05-27 2019-05-27 Audio communication method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110113682A true CN110113682A (en) 2019-08-09

Family

ID=67492538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910447964.3A Pending CN110113682A (en) 2019-05-27 2019-05-27 Audio communication method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110113682A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114295A (en) * 2021-04-02 2021-07-13 深圳市卡卓无线信息技术有限公司 Interphone communication method and interphone

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7551590B2 (en) * 2001-05-07 2009-06-23 Ixi Mobile (R&D), Ltd. Wireless device having a single processor in a short-range radio network
CN201266995Y (en) * 2008-06-26 2009-07-01 浙江家泰电器制造有限公司 Hand-held communication terminal
CN101616504A (en) * 2008-06-26 2009-12-30 浙江家泰电器制造有限公司 Hand-held communication terminal
CN103716459A (en) * 2013-12-13 2014-04-09 优能通信科技(杭州)有限公司 Audio system having mobile phone and intercom call functions
CN203722766U (en) * 2014-02-18 2014-07-16 捷思锐科技(北京)有限公司 Terminal intercommunication system
CN107769811A (en) * 2017-12-05 2018-03-06 洪泉益 A kind of logical intercom with DA compatibility one of the whole network
CN207573346U (en) * 2017-12-05 2018-07-03 洪泉益 A kind of the whole network leads to the intercom with DA compatibility one

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7551590B2 (en) * 2001-05-07 2009-06-23 Ixi Mobile (R&D), Ltd. Wireless device having a single processor in a short-range radio network
CN201266995Y (en) * 2008-06-26 2009-07-01 浙江家泰电器制造有限公司 Hand-held communication terminal
CN101616504A (en) * 2008-06-26 2009-12-30 浙江家泰电器制造有限公司 Hand-held communication terminal
CN103716459A (en) * 2013-12-13 2014-04-09 优能通信科技(杭州)有限公司 Audio system having mobile phone and intercom call functions
CN203722766U (en) * 2014-02-18 2014-07-16 捷思锐科技(北京)有限公司 Terminal intercommunication system
CN107769811A (en) * 2017-12-05 2018-03-06 洪泉益 A kind of logical intercom with DA compatibility one of the whole network
CN207573346U (en) * 2017-12-05 2018-07-03 洪泉益 A kind of the whole network leads to the intercom with DA compatibility one

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114295A (en) * 2021-04-02 2021-07-13 深圳市卡卓无线信息技术有限公司 Interphone communication method and interphone

Similar Documents

Publication Publication Date Title
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN103414500A (en) Interactive method between Bluetooth earphone and instant messaging software of terminal and Bluetooth earphone
CN104683566B (en) For testing in the system and corresponding method for remaking the effect of the wireless interaction between the system of audio signal and mobile phone
CN102932516B (en) Apparatus for communication between a vehicle based computing system and a remote application
CN105812550A (en) Voice call anti-interference method, voice call anti-interference device and terminal
CN1937663A (en) Method, system and device for realizing variable voice telephone business
CN107360332A (en) Talking state display methods, device, mobile terminal and storage medium
CN108449723A (en) Talk back equipment sharing method, talk back equipment and computer-readable medium
EP2733913A2 (en) Method and apparatus for communication between a vehicle based computing system and a remote application
CN101547264A (en) Full automatic voice communication system
CN104811560A (en) Message reminding method and message reminding device
CN110113682A (en) Audio communication method, device, computer equipment and storage medium
CN108476386B (en) Broadcast communication method of mobile device and communication method of wireless cloud end system
CN1997022A (en) Remotely controllable soft keys
CN101572570B (en) Message processing method and system of wireless network card through mobile termination
CN108234781A (en) Communication means and device
CN102694923A (en) Method and terminal for transmitting prompting information with mobile phone in mute way
CN102651855A (en) Method and system for prompting user about business occurrence
CN101873548A (en) System and method for indicating instant messaging on-line state of user by using ring tone
CN108141496A (en) A kind of call-waiting processing method
CN201278537Y (en) Household gateway
CN103167432A (en) System and method for achieving near-field information sending based on bluetooth transmission protocol
CN110213452B (en) Intelligent helmet system and operation method
CN1984353B (en) Method and device for mixing sound
CN1878218B (en) Method for changing mobile device ring mode by intercepting signal and its application 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809