CN109802949A - The ultrashort delay speech transmission device of one kind, method, electronic equipment and storage medium - Google Patents
The ultrashort delay speech transmission device of one kind, method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109802949A CN109802949A CN201811613366.0A CN201811613366A CN109802949A CN 109802949 A CN109802949 A CN 109802949A CN 201811613366 A CN201811613366 A CN 201811613366A CN 109802949 A CN109802949 A CN 109802949A
- Authority
- CN
- China
- Prior art keywords
- audio data
- receiving device
- end equipment
- caching
- transmitting end
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 claims abstract description 26
- 238000004590 computer program Methods 0.000 claims description 8
- 241000566146 Asio Species 0.000 claims description 7
- 230000009885 systemic effect Effects 0.000 claims description 5
- 238000004080 punching Methods 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims 1
- 238000012546 transfer Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
Abstract
The invention discloses a kind of ultrashort delay speech transmission devices, comprising: receiving device and transmitting end equipment, receiving device are built-in with network communication module;Receiving device is connect by the network communication module with transmitting end equipment;Transmitting end equipment is used to received audio data being sent to receiving device, so that receiving device is handled and played to received audio data.The present invention can greatly shorten the delay of voice transfer, and the real-time of voice transfer is also assured while quality of voice transmission.The invention also discloses a kind of ultrashort delay voice transmission method, electronic equipment and computer readable storage mediums.
Description
Technical field
The present invention relates to voice transfers, more particularly to a kind of ultrashort delay voice transmission method, electronic equipment and storage to be situated between
Matter.
Background technique
Currently, the existing commonly Real-Time Speech Transmission system based on communication network generally uses the backbone of common carrier
The relaying intermediate node that net or WIFI router are transmitted as audio data, such as audio conferencing or video conference etc..But by
It needs to store and forward in data relay procedure in communication equipment, adds somewhat to the delay of data packet transmission, and
And intermediate node also will increase network jitter end to end, the two factors directly affect and reduce the real-time of voice-frequency telephony
And experience property.And the problem of for solving network jitter, usually introduce caching in the transmitting terminal of terminal links up so that conversing,
But be buffered in and solve further to increase data transmission delay while jitter problem, reduce the real-time of voice transfer.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of ultrashort delay voice transfers to fill
The problem of setting, being able to solve the Real-Time Speech Transmission time delay duration in the prior art based on communication network.
The second object of the present invention is to provide a kind of ultrashort delay voice transmission method, be able to solve in the prior art
The Real-Time Speech Transmission time delay duration based on communication network the problem of.
The third object of the present invention is to provide a kind of electronic equipment, be able to solve in the prior art based on communication network
The problem of Real-Time Speech Transmission time delay duration of network.
The fourth object of the present invention is to provide a kind of computer readable storage medium, be able to solve in the prior art
The problem of Real-Time Speech Transmission time delay duration based on communication network.
An object of the present invention adopts the following technical scheme that realization:
A kind of ultrashort delay speech transmission device, comprising: receiving device and transmitting end equipment, receiving device are built-in with
Network communication module;Receiving device is connect by the network communication module with transmitting end equipment;Transmitting end equipment will be for that will connect
The audio data of receipts is sent to receiving device, so that receiving device is handled and played to received audio data.
Further, the transmitting end equipment is used to carry out received audio data coding generation packets of audio data and will
The packets of audio data is sent to receiving device, so that receiving device is decoded and plays to received packets of audio data.
Further, the receiving device is provided with caching;Receiving device is also used to when network is shaken, will
Received packets of audio data is stored in caching;Receiving device is also used to when caching punching is full, according to connecing for packets of audio data
Between time receiving and systemic presupposition rule abandons corresponding packets of audio data;
And/or the transmitting end equipment is provided with caching;Transmitting end equipment is also used to connect when network is shaken
The audio data of receipts carries out coding and generates packets of audio data and be stored in caching;Transmitting end equipment is also used to when caching punching is full
When, corresponding packets of audio data is abandoned according to the receiving time of audio data and systemic presupposition rule.
Further, ASIO sound card is equipped with inside the receiving device or have ASIO driver.
Further, the network communication module is WIFI network module or/and bluetooth module, wherein WIFI network module
For any one of WIFI hot spot, WIFI bearer network and WIFI Direct.
The second object of the present invention adopts the following technical scheme that realization:
A kind of ultrashort delay voice transmission method, comprising the following steps:
First by starting the communication network module built in receiving device, so that connecting end equipment passes through the communication network
Module is connect with transmitting end equipment;Then the audio data of transmitting end equipment transmission is received by receiving device and plays the sound
Frequency evidence.
Further, further comprising the steps of: on receiving device be arranged caching, and by received audio data according to
The sequencing of receiving time is stored in caching;
When caching is full, abandoned accordingly by receiving device according to the receiving time and preset rules of audio data
Audio data.
Further, further comprising the steps of: caching being set on transmitting end equipment, and received audio data is stored
In caching;
When caching is full, abandoned accordingly by transmitting end equipment according to the receiving time and preset rules of audio data
Audio data.
The third object of the present invention adopts the following technical scheme that realization:
A kind of electronic equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, realized when the processor executes described program the two of such as the object of the invention use a kind of ultrashort delay voice
The step of transmission method.
The fourth object of the present invention adopts the following technical scheme that realization:
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
When row realize as the object of the invention two use one kind ultrashort delay voice transmission method the step of.
Compared with prior art, the beneficial effects of the present invention are:
The present invention inside receiving device by being arranged communication network module, so that receiving device and transmitting end equipment
It can directly be connected, be solved due to needing to realize receiving device by third party's routing device by the communication network module
The problem of being transmitted with reflection end device data and voice data transmission caused to postpone.
Detailed description of the invention
Fig. 1 is the ultrashort delay speech transmission device module map of one kind provided by the invention;
Fig. 2 is the ultrashort delay voice transmission method flow chart of one kind provided by the invention.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
In order to solve the problems, such as that data transmission delay is long in existing voice-frequency telephony, the present invention provides a kind of ultrashort delays
Speech transmission device, as depicted in figs. 1 and 2, including sending ending equipment and receiving device.Transmitting end equipment is for acquiring audio
Data, such as smart phone, computer etc. have the transmitting equipment that audio collection is connected with WIFI network;Receiving device is for connecing
The audio data that transmitting terminal is sent is received, and plays audio after handling it.
The present invention by the way that corresponding network communication module is arranged on receiving device, by starting network communication module come
So that receiving device is directly connected to transmitting end equipment, and then can not be by other third party's routing devices as relay node
Mode so that receiving device and transmitting terminal setting connect, reduce as third party's routing device introduce and caused by number
The problem of according to transmission delay length and network jitter.
The network communication module can be WIFI network module, blueteeth network module, that is to say receiving device and transmitting
End equipment is in such a way that direct connection may be implemented in the network communication module.
For example by WIFI network module built-in on receiving device, pass through the WIFI network on starting receiving device
Module is attached so that receiving device directly passes through the WIFI network with sending ending equipment.Receiving device is such as
Computer, smart phone etc. have audio and play the equipment connected with WIFI network.It that is to say, WIFI network module can be WIFI
Bearer network, WIFI hot spot, WIIF Direct etc..Receiving device just deliberately by WIFI bearer network, WIFI hot spot or
WIFI Direct etc. realizes the WIFI direct connection with transmitting end equipment.Since receiving device itself has WIFI router function
Can, it can be directly attached by WIFI network and transmitting end equipment, without passing through other third party's routing device conducts
The mode of relay node is come so that receiving device is connect with transmitting end equipment.Through the invention, transmitting end equipment and receiving end
Equipment realizes the direct connection based on WIFI network, eliminates and is needed in traditional approach through the WIFI routing device conduct of other hardware
Relay node, before reducing as third party router introduce and caused by delay and network jitter.
Certainly, the present invention can also be by the way of bluetooth connection, so that between transmitting end equipment and receiving device
The problem of direct connection avoids passing through mode of third party's routing device as relay node, and the delay for causing data to be transmitted lengthens.
Illustrate concrete operating principle in the present invention WIFI network module to be arranged on receiving device:
Transmitting end equipment collects audio data and sends it to receiving device by WIFI network, so that receiving
End equipment handles audio data, and plays.
Wherein, transmitting end equipment is also encoded and is encapsulated to collected audio data when collecting audio data
At packets of audio data, packets of audio data is then sent to receiving device by WIFI network again.And packets of audio data is big
It is small that 5 milliseconds to 30 milliseconds or so of data packet can be used according to capacity of equipment and code encoding/decoding mode.
And after receiving device receives packets of audio data by the WIFI network carried, and can be direct after being decoded
It is played out by the sound card in receiving device or other speakers of connection.Due between receiving device and sending ending equipment
Directly by WIFI network direct connection, rather than the forwarding of other third party's routing devices is needed to carry out data transmission, can subtracted significantly
Lack the delay of data transmission, and then obtains the most short delay of data transmission.
In addition, in order to guarantee the continuity of audio broadcasting, the present invention is also while guaranteeing the most short delay of data transmission
By the way that caching is arranged on receiving device, to alleviate certain network jitter, the continuity that audio plays is ensured.For example it will delay
That deposits is dimensioned to 5 milliseconds to 40 milliseconds, and the size cached depends on the coding mode and equipment disposal ability of equipment.This
Buffer queue can be used also to store the packets of audio data received in invention.In addition, cache size is counted generally according to byte
It calculates, such as cache size=sampling rate/1000* caching millisecond number * each sampling data word joint number.Wherein, millisecond number is slow
The main index of deposit data size.
And the present invention also carries out following administrative mechanism to the packets of audio data in the buffer queue of receiving device setting: right
It is strictly limited in the length of buffer queue, for example when network jitter occurs, the buffer queue of receiving device can moment
It is full of, receiving device needs actively abandon the earliest packets of audio data received at this time, and then can guarantee and protected in caching
The packets of audio data deposited is newest packets of audio data.That is to say when buffer queue is full, according to packets of audio data reception when
Between sequencing abandon receiving time packets of audio data earlier.The present invention is guaranteed by abandoning a part of packets of audio data
The real-time of data transmission, and due to the characteristic of voice-frequency telephony, small loss of data not will cause audio broadcasting substantially
Continuity is greatly reduced, and only longer be delayed the just significant reduction real-time of meeting and speech quality, reduces user experience
Property.
In addition, the setting for caching, the present invention can also be cached by being arranged on transmitting end equipment, and Lai Shixian is avoided
Network jitter.Such as when there is network jitter, transmitting terminal by the audio data coding received at packets of audio data, and by its
It is pre-stored in the caching of transmitting end equipment, packets of audio data is then sent to receiving device by WIFI network again,
So that receiving device plays after being decoded received packets of audio data.When caching is full of, transmitting end equipment can also be with
It is realized according to systemic presupposition mechanism and the packets of audio data in caching is abandoned, guarantee the real-time of call.
It is of course also possible to which caching is arranged simultaneously in receiving end and transmitting terminal, guarantee call based on above-mentioned basic principle
Real-time.
In addition, the speech processing power of receiving device also will have a direct impact on the delay of data transmission.Such as due to general
Logical sound card its to data processing when time delay it is higher, cause data transmit delay lengthen.Therefore the present invention uses ASIO
Technology guarantees the speech processes of data, further shortens data transmission delay.That is to say has in receiving device setting
The sound card of ASIO technology or based on existing common sound card but install class ASIO function driver, be greatly improved data
The efficiency of transmission greatly shortens the delay of data transmission.
The present invention also provides a kind of ultrashort delay voice transmission methods comprising following steps:
First by starting the communication network module built in receiving device, so that connecting end equipment passes through the communication network
Module is connect with transmitting end equipment;Then the audio data of transmitting end equipment transmission is received by receiving device and plays the sound
Frequency evidence.
Further, further comprising the steps of: on receiving device be arranged caching, and by received audio data according to
The sequencing of receiving time is stored in caching;
When caching is full, abandoned accordingly by receiving device according to the receiving time and preset rules of audio data
Audio data.
Further, further comprising the steps of: caching being set on transmitting end equipment, and received audio data is stored
In caching;
When caching is full, abandoned accordingly by transmitting end equipment according to the receiving time and preset rules of audio data
Audio data.
The present invention can be while guaranteeing a degree of anti-network jitter function, and audio transmission delay drops to 100 millis
Second or so, basically reach microphone level.In the actual use process, for spokesman, can feel oneself to say
Voice and the voice that is played back from speaker be while, be not two separated sound, ensure that the real-time of voice.
The present invention also provides a kind of electronic equipment comprising memory, processor and storage are on a memory and can
The computer program run in processing, the processor realize a kind of ultrashort delay as described herein when executing described program
The step of voice transmission method.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, computer program
The step of a kind of ultrashort delay voice transmission method as described herein is realized when being executed by processor.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto,
The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed range.
Claims (10)
1. a kind of ultrashort delay speech transmission device characterized by comprising receiving device and transmitting end equipment, receiving end
Equipment is built-in with network communication module;Receiving device is connect by the network communication module with transmitting end equipment;Transmitting terminal is set
It is ready for use on and received audio data is sent to receiving device, so that receiving device handles received audio data
And it plays.
2. a kind of ultrashort delay speech transmission device according to claim 1, which is characterized in that the transmitting end equipment is used for
Received audio data is subjected to coding generation packets of audio data and the packets of audio data is sent to receiving device, so that connecing
The packets of audio data that receiving end equipment interconnection is received is decoded and plays.
3. a kind of ultrashort delay speech transmission device according to claim 2, which is characterized in that the receiving device setting
There is caching;Receiving device is also used to that received packets of audio data is stored in caching when network is shaken;Receiving end
Equipment is also used to abandon corresponding audio according to the receiving time of packets of audio data and systemic presupposition rule when caching punching is full
Data packet;
And/or the transmitting end equipment is provided with caching;Transmitting end equipment is also used to when network is shaken, will be received
Audio data carries out coding and generates packets of audio data and be stored in caching;Transmitting end equipment is also used to when caching punching is full, root
Corresponding packets of audio data is abandoned according to the receiving time and systemic presupposition rule of audio data.
4. a kind of ultrashort delay speech transmission device according to claim 1, which is characterized in that in the receiving device
Portion is equipped with ASIO sound card or has ASIO driver.
5. a kind of ultrashort delay speech transmission device according to claim 1, which is characterized in that the network communication module is
WIFI network module or/and bluetooth module, wherein WIFI network module is WIFI hot spot, WIFI bearer network and WIFI
Any one of Direct.
6. a kind of ultrashort delay voice transmission method, which comprises the following steps:
First by starting the communication network module built in receiving device, so that receiving device passes through the communication network module
It is connect with transmitting end equipment;Then the audio data of transmitting end equipment transmission is received by receiving device and plays the audio number
According to.
7. a kind of ultrashort delay voice transmission method according to claim 6, which is characterized in that further comprising the steps of:
Caching is set on receiving device, and received audio data is stored in caching according to the sequencing of receiving time;
When caching is full, corresponding audio is abandoned according to the receiving time and preset rules of audio data by receiving device
Data.
8. a kind of ultrashort delay voice transmission method described according to claim 6 or 7, which is characterized in that further comprising the steps of:
Caching is set on transmitting end equipment, and received audio data is stored in caching;
When caching is full, corresponding audio is abandoned according to the receiving time and preset rules of audio data by transmitting end equipment
Data.
9. a kind of electronic equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor is realized a kind of as described in any one of claim 6-8 when executing described program
The step of ultrashort delay voice transmission method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of a kind of ultrashort delay voice transmission method as described in any one of claim 6-8 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811613366.0A CN109802949A (en) | 2018-12-27 | 2018-12-27 | The ultrashort delay speech transmission device of one kind, method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811613366.0A CN109802949A (en) | 2018-12-27 | 2018-12-27 | The ultrashort delay speech transmission device of one kind, method, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109802949A true CN109802949A (en) | 2019-05-24 |
Family
ID=66557845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811613366.0A Pending CN109802949A (en) | 2018-12-27 | 2018-12-27 | The ultrashort delay speech transmission device of one kind, method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109802949A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113225838A (en) * | 2020-01-21 | 2021-08-06 | 青岛海信移动通信技术股份有限公司 | Microphone control method, audio receiving equipment and audio collecting equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175104A (en) * | 2006-10-31 | 2008-05-07 | 华为技术有限公司 | Dithering caching device and its management method |
CN106455128A (en) * | 2016-11-14 | 2017-02-22 | 上海龙旗科技股份有限公司 | A method and device for WIFI point-to-point data transmission |
WO2017070998A1 (en) * | 2015-10-27 | 2017-05-04 | 邦彦技术股份有限公司 | Portable desktop audio and video conference device and system |
CN108288994A (en) * | 2017-12-28 | 2018-07-17 | 江苏星宇芯联电子科技有限公司 | Compass multi-card communication positioning speech ciphering equipment with WIFI function |
-
2018
- 2018-12-27 CN CN201811613366.0A patent/CN109802949A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175104A (en) * | 2006-10-31 | 2008-05-07 | 华为技术有限公司 | Dithering caching device and its management method |
WO2017070998A1 (en) * | 2015-10-27 | 2017-05-04 | 邦彦技术股份有限公司 | Portable desktop audio and video conference device and system |
CN106455128A (en) * | 2016-11-14 | 2017-02-22 | 上海龙旗科技股份有限公司 | A method and device for WIFI point-to-point data transmission |
CN108288994A (en) * | 2017-12-28 | 2018-07-17 | 江苏星宇芯联电子科技有限公司 | Compass multi-card communication positioning speech ciphering equipment with WIFI function |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113225838A (en) * | 2020-01-21 | 2021-08-06 | 青岛海信移动通信技术股份有限公司 | Microphone control method, audio receiving equipment and audio collecting equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107864084B (en) | The transmission method and device of data packet | |
US6977942B2 (en) | Method and a device for timing the processing of data packets | |
US7379466B2 (en) | In band signal detection and presentation for IP phone | |
JP4842075B2 (en) | Audio transmission device | |
KR102062475B1 (en) | Link Determination Method and Determination Device | |
EP0921666A2 (en) | Speech reception via a packet transmission facility | |
CN1985502A (en) | Apparatus, system, and method for providing voicemail service using packet data messaging transmission system | |
CN101175104B (en) | Dithering caching device and its management method | |
JP2003101662A (en) | Communication method, communication apparatus and communication terminal | |
CN101931632A (en) | Method for ensuring service quality by real-time transmission protocol path | |
WO2014207978A1 (en) | Transmission device, receiving device, and relay device | |
CN109802949A (en) | The ultrashort delay speech transmission device of one kind, method, electronic equipment and storage medium | |
CN109150722B (en) | Service forwarding method and network equipment | |
US7742491B2 (en) | DSP voice buffersize negotiation between DSPs for voice packet end devices | |
KR100346008B1 (en) | Delay fluctuation absorbing device and method | |
CN109981482A (en) | Audio-frequency processing method and device | |
WO2013142705A1 (en) | Voice communication method and apparatus and method and apparatus for operating jitter buffer | |
JP2014160911A (en) | Packet processing device, method, and program | |
JP4546114B2 (en) | Voice packet transfer method and terminal used therefor | |
JPH022757A (en) | Packet transfer system | |
Scheets et al. | Voice over the internet: a tutorial discussing problems and solutions associated with alternative transport | |
US20160043931A1 (en) | Method for Switching a Communication Connection from a First Connection Path to a Second Connection Path | |
CN1555185B (en) | IP cell phone | |
US20130142192A1 (en) | Voice communication apparatus for intermittently discarding packets | |
CN104702807A (en) | VoIP communication system |
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 |
Application publication date: 20190524 |
|
RJ01 | Rejection of invention patent application after publication |