CN107979507A - Data transmission method, device, equipment and storage medium - Google Patents
Data transmission method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN107979507A CN107979507A CN201711164400.6A CN201711164400A CN107979507A CN 107979507 A CN107979507 A CN 107979507A CN 201711164400 A CN201711164400 A CN 201711164400A CN 107979507 A CN107979507 A CN 107979507A
- Authority
- CN
- China
- Prior art keywords
- data
- packet loss
- voice
- voice data
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 241001269238 Data Species 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 238000000151 deposition Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/28—Flow control; Congestion control in relation to timing considerations
- H04L47/283—Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a data transmission method, a data transmission device, data transmission equipment and a storage medium. The method comprises the following steps: detecting the round trip delay of audio data sent to data receiving equipment; if the round-trip delay is larger than a first threshold value, counting the current packet loss rate of the audio data sent to the data receiving equipment; if the current packet loss rate is greater than a second threshold value, sending two pieces of audio data to the data receiving equipment.
Description
Technical field
The present invention relates to a kind of intelligent terminal technology, more particularly to a kind of data transmission method, device, equipment and storage to be situated between
Matter.
Background technology
Ensure that voice quality is to improve the necessary means of teleconference experience in teleconference.Current teleconference on the market
In scheme, improve voice quality and mainly start with terms of speech processes, such as (Acoustic Echo Canceller, are returned AEC
Sound eliminate), AGC (Automatic Gain Control, automatic growth control), ANS (Automatic Noise
Suppression, noise suppressed).In terms of network transmission, at present generally using RTP/RTCP schemes.
The shortcomings that above scheme, is, if VoP is lost in transmitting procedure, while network transmission RTT is larger,
It is larger to inevitably result in voice delay, it is second-rate, reduce user experience.
The content of the invention
The embodiment of the present invention provides a kind of data transmission method, device, equipment and storage medium, can lift voice communication
Quality.
In a first aspect, an embodiment of the present invention provides a kind of data transmission method, including:
Detection voice data is sent to the round-trip delay of data receiver;
If the round-trip delay is more than first threshold, statistics voice data, which is sent to the current of the data receiver, to be lost
Bag rate;
If the present packet loss is more than second threshold, two parts of audio numbers are sent to the data receiver
According to.
Further, if the present packet loss is more than second threshold, two parts of institutes are sent to the data receiver
After stating voice data, further include:
The voice data that data transmitting equipment is sent is obtained, wherein, the voice data includes:Data sequence number;
If the data sequence number repeats, a copy of it voice data is abandoned.
Further, voice data is from data sending in the preset time period before the present packet loss is current time
Equipment is sent to the packet loss of data receiver.
Further, the data transmitting equipment is at least one, and the data receiver is at least one.
Second aspect, the embodiment of the present invention additionally provide a kind of data transmission device, which includes:
Round-trip delay detection module, sends to the round-trip delay of data receiver for detecting voice data;
Statistical module, if being more than first threshold for the round-trip delay, statistics voice data, which is sent to the data, to be connect
The present packet loss of receiving unit;
Sending module, if being more than second threshold for the present packet loss, two are sent to the data receiver
Part voice data.
Further, further include:
Acquisition module, for obtaining the voice data of data transmitting equipment transmission, wherein, the voice data includes:Number
According to sequence number;
Data discard module, if being repeated for the data sequence number, abandons a copy of it voice data.
Further, voice data is from data sending in the preset time period before the present packet loss is current time
Equipment is sent to the packet loss of data receiver.
Further, the data transmitting equipment is at least one, and the data receiver is at least one.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in
On memory and the computer program that can run on a processor, the processor are realized when performing described program as the present invention is real
Apply any data transmission method in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, realizes the data transmission method as described in any in the embodiment of the present invention when which is executed by processor.
The embodiment of the present invention is sent to the round-trip delay of data receiver by detecting voice data;If when described round-trip
Prolong and be more than first threshold, statistics voice data is sent to the present packet loss of the data receiver;If the current packet loss
Rate is more than second threshold, then sends two parts of voice datas to the data receiver, can lift the matter of voice communication
Amount.
Brief description of the drawings
Fig. 1 is a kind of flow chart of data transmission method in the embodiment of the present invention one;
Fig. 2A is a kind of flow chart of data transmission method in the embodiment of the present invention two;
Fig. 2 B are the audio mixing server architecture schematic diagrames in the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of data transmission device in the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of computer equipment in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart of data transmission method in the embodiment of the present invention one, and the present embodiment is applicable to data
The situation of transmission, this method can be performed by the data transmission device in the embodiment of the present invention, the device can use software and/
Or the mode of hardware is realized, as shown in Figure 1, this method specifically comprises the following steps:
S110, detection voice data are sent to the round-trip delay of data receiver.
Wherein, the voice data can be voice data of the client transmissions to audio mixing server, or pass through
The mixed client transmissions of audio mixing server to audio mixing server voice data.
Wherein, data receiver is the equipment for receiving voice data, such as can be audio mixing server or at least one
A client.
Wherein, round-trip delay is an important performance indicator in a computer network, represents to send data from transmitting terminal
Start, receive the confirmation (receiving terminal soon sends confirmation after receiving data) from receiving terminal to transmitting terminal, undergo altogether
Time delay.Round trip delay time is determined by three parts:I.e. the propagation time of link, the processing time of end system and router is slow
Queuing and processing time in depositing.Wherein, the value of two parts is relatively fixed as a TCP connection before, and router delays
Queuing and processing time in depositing can change with the change of whole network Congestion Level SPCC.So the change of round-trip delay is one
Determine to reflect the change of network congestion degree in degree.
Specifically, detection since data transmitting equipment sends voice data, is received from number to data transmitting equipment
The time delay undergone altogether according to the confirmation of receiving device.Such as can be, if data transmitting equipment is client, data receiver
For audio mixing server, then detection is received from audio mixing server really since client sends voice data to client
Recognize the time delay undergone altogether.If data transmitting equipment is audio mixing server, data receiver is client, then detects from audio mixing
Server sends voice data and starts, and the time delay that the confirmation from client undergoes altogether is received to audio mixing server.
S120, if the round-trip delay is more than first threshold, statistics voice data is sent to the data receiver
Present packet loss.
Wherein, first threshold is the empirical value obtained according to experience, if specifically, the round-trip delay is less than or equal to
First threshold, illustrates that current network is smooth, and data transmitting equipment can normally send voice data, if the round-trip delay is more than
First threshold, then illustrate current network congestion.
Wherein, packet loss refers to that lost data packet number in test accounts for the ratio of transmitted data group, packet loss and number
It is related according to packet length and bag transmission frequency.
Optionally, voice data is set from data sending in the preset time period before the present packet loss is current time
Preparation is sent to the packet loss of data receiver.
Wherein, the preset time period can be the period of user's setting, or be obtained according to multiple measurement
Empirical value, the embodiment of the present invention are not limited this.
If specifically, the round-trip delay is more than first threshold, illustrate current network congestion, statistics voice data is sent
To the present packet loss of data receiver, such as can be that, if data transmitting equipment is client, data receiver is mixed
Sound server, since client sends voice data, receives the confirmation from audio mixing server to client and undergoes altogether
Time delay be more than 50ms, then count current time before preset time period in voice data sent from data transmitting equipment to number
According to the packet loss of receiving device.
S130, if the present packet loss is more than second threshold, two parts of sounds are sent to the data receiver
Frequency evidence.
Wherein, two parts of voice datas are the identical two multi-voice frequencies data of content, i.e. the number of two multi-voice frequency data
It is identical according to sequence number.
Wherein, the second threshold be according to experience obtain empirical value, if specifically, the present packet loss be less than or
Person is equal to second threshold, illustrate dropped audio data bulk account for transmitted voice data ratio it is smaller, data transmitting equipment can
Normally to send voice data, if present packet loss is more than second threshold, illustrate that dropped audio data bulk accounts for transmitted sound
The ratio of frequency evidence is larger, then sends two parts of voice datas to data receiver.
Optionally, the data transmitting equipment is at least one, and the data receiver is at least one.
In a specific example, if data transmitting equipment is client 1 and client 2, data receiver is mixed
Sound server, then detection receive the confirmation from audio mixing server since client 1 sends voice data to client 1
The time delay A undergone altogether, and since client 2 sends voice data, received to client 2 from audio mixing server
Confirm the time delay B undergone altogether.If A is less than first threshold, client 1 normally sends voice data, if B is more than the first threshold
Value, then count client 2 and send voice data to the present packet loss C of audio mixing server, when C is more than second threshold, then visitor
Family end 2 sends two parts of voice datas to audio mixing server.
In another specific example, if data transmitting equipment is audio mixing server, data receiver is client 1
With client 2, then detection is received from client 1 since audio mixing server sends voice data to audio mixing server
Confirm the time delay Q undergone altogether, and since audio mixing server sends voice data, received to audio mixing server from visitor
The time delay W that the confirmation at family end 2 is undergone altogether.If Q is less than first threshold, audio mixing server normally sends audio to client 1
Data, if W is more than first threshold, statistics audio mixing server sends voice data to the present packet loss C of client 2, works as C
More than second threshold, then audio mixing server sends two parts of voice datas to client 2.
The technical solution of the present embodiment, is sent to the round-trip delay of data receiver by detecting voice data;If institute
State round-trip delay and be more than first threshold, statistics voice data is sent to the present packet loss of the data receiver;It is if described
Present packet loss is more than second threshold, then sends two parts of voice datas to the data receiver, can lift voice
The quality of communication.
Embodiment two
Fig. 2A is a kind of flow chart of data transmission method in the embodiment of the present invention two, and the present embodiment is with above-described embodiment
Optimize based on one, in the present embodiment, if the present packet loss is more than second threshold, set to the data receiver
After preparation send two parts of voice datas, further include:The voice data that data transmitting equipment is sent is obtained, wherein, the sound
Frequency evidence includes:Data sequence number;If the data sequence number repeats, a copy of it voice data is abandoned.
As shown in Figure 2 A, the method for the present embodiment specifically comprises the following steps:
S210, detection voice data are sent to the round-trip delay of data receiver.
S220, if round-trip delay is more than first threshold, statistics voice data is sent to the current packet loss of data receiver
Rate.
S230, if present packet loss is more than second threshold, two parts of voice datas are sent to data receiver.
Optionally, the second threshold can be 5% or 3%.
S240, obtains the voice data that data transmitting equipment is sent, wherein, voice data includes:Data sequence number.
Wherein, the data sequence number is the numbering of each voice data, if voice data is identical, the number of voice data
It is identical according to sequence number.
S250, if data sequence number repeats, abandons a copy of it voice data.
Wherein, data sequence number is repeated as two identical voice datas of data sequence number.
Specifically, since data transmitting equipment sends two voice datas, then data receiver may receive two
The identical voice data of part, since voice data is identical, then can give up portion therein, retain a.
Specifically, if the data sequence number for the voice data that data receiver receives repeats, a copy of it is abandoned
Voice data.
In a specific example, as shown in Figure 2 B, scheme optimization is carried out on the architecture basics, this programme realizes step
It is rapid as follows:Step 1:Client terminal start-up, client detection from client to audio mixing server RTT (Round-Trip Time,
Round-trip delay), if RTT is less than a certain threshold alpha, client normally sends voice data;Step 2:If RTT is more than a certain
Threshold alpha, client statistics present packet loss, if packet loss is more than a certain threshold value Ω, client is sent out for every part of voice data
Send two parts.Step 3:Audio mixing server receives the voice data that client sends over, if data sequence number repeats,
Abandon a copy of it data.Step 4:Audio mixing server is directed to the client audio data received and carries out Mixed Audio Algorithm processing;
Step 5:Audio mixing server detects the RTT from audio mixing server to client, if RTT is less than a certain threshold alpha, audio mixing service
Device normally sends the data after audio mixing;Step 6:If RTT is more than a certain threshold alpha, audio mixing server statistics active client
Packet loss, if packet loss is more than a certain threshold value Ω, audio mixing server gives two parts of data sending after audio mixing to client.Step
Seven:Client and audio mixing server perform above-mentioned steps at a certain time interval.The technical solution of the present embodiment is for every
A client carrys out dynamic regulation, that is, it is different that whether each client, which sends redundant data,.
The technical solution of the present embodiment, is sent to the round-trip delay of data receiver by detecting voice data;If institute
State round-trip delay and be more than first threshold, statistics voice data is sent to the present packet loss of the data receiver;It is if described
Present packet loss is more than second threshold, then sends two parts of voice datas to the data receiver, can lift voice
The quality of communication.
Embodiment three
Fig. 3 is a kind of structure diagram of data transmission device in the embodiment of the present invention three.The present embodiment is applicable to
The situation of data transfer, the device can realize that the device can be integrated in any offer data by the way of software and/or hardware
In the equipment of transfer function, as shown in figure 3, the data transmission device specifically includes:Round-trip delay detection module 310, statistics
Module 320 and sending module 330.
Wherein, round-trip delay detection module 310, for detect voice data send to data receiver it is round-trip when
Prolong;
Statistical module 320, if being more than first threshold for the round-trip delay, statistics voice data is sent to the data
The present packet loss of receiving device;
Sending module 330, if being more than second threshold for the present packet loss, sends to the data receiver
Two parts of voice datas.
Optionally, further include:
Acquisition module, for obtaining the voice data of data transmitting equipment transmission, wherein, the voice data includes:Number
According to sequence number;
Data discard module, if being repeated for the data sequence number, abandons a copy of it voice data.
Optionally, voice data is set from data sending in the preset time period before the present packet loss is current time
Preparation is sent to the packet loss of data receiver.
Optionally, the data transmitting equipment is at least one, and the data receiver is at least one.
The technical solution of the present embodiment, is sent to the round-trip delay of data receiver by detecting voice data;If institute
State round-trip delay and be more than first threshold, statistics voice data is sent to the present packet loss of the data receiver;It is if described
Present packet loss is more than second threshold, then sends two parts of voice datas to the data receiver, can lift voice
The quality of communication.
Example IV
Fig. 4 is a kind of structure diagram of computer equipment in the embodiment of the present invention four.Fig. 4 shows real suitable for being used for
The block diagram of the exemplary computer device 12 of existing embodiment of the present invention.The computer equipment 12 that Fig. 4 is shown is only one and shows
Example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 4, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to:One or more processor or processing unit 16, system storage 28, connects different system component
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile medium, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not
Movably, non-volatile magnetic media (Fig. 4 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 4, can with
The disc driver being used for moving non-volatile magnetic disk (such as " floppy disk ") read-write is provided, and to removable non-volatile
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
Module and routine data, may include the realization of network environment in each or certain combination in these examples.Program mould
Block 42 usually performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making
Obtain any equipment that the computer equipment 12 can communicate with one or more of the other computing device (such as network interface card, modulatedemodulate
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.In addition, the calculating in the present embodiment
Machine equipment 12, display 24 exist not as independent individual, but in embedded minute surface, it is not aobvious in the display surface of display 24
When showing, the display surface of display 24 visually combines together with minute surface.Also, computer equipment 12 can also be fitted by network
Orchestration 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet)
Communication.As shown in the figure, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It should be understood that to the greatest extent
Not shown in pipe figure, computer equipment 12 can be combined and use other hardware and/or software module, included but not limited to:Micro- generation
Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited
Storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, thus perform various functions application and
Data processing, such as realize the data transmission method that the embodiment of the present invention is provided:Detection voice data is sent to data receiver
The round-trip delay of equipment;If the round-trip delay is more than first threshold, statistics voice data is sent to the data receiver
Present packet loss;If the present packet loss is more than second threshold, two parts of sounds are sent to the data receiver
Frequency evidence.
Embodiment five
The embodiment of the present invention five provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey
The data transmission method provided such as all inventive embodiments of the application is provided when sequence is executed by processor:Voice data is detected to send
To the round-trip delay of data receiver;If the round-trip delay is more than first threshold, statistics voice data is sent to the number
According to the present packet loss of receiving device;If the present packet loss is more than second threshold, sent to the data receiver
Two parts of voice datas.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated
Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate
The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more conducting wires, just
Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium beyond computer-readable recording medium, which can send, propagate or
Transmission be used for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion
Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service
Pass through Internet connection for business).
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. data transmission method, it is characterised in that including:Detection voice data is sent to the round-trip delay of data receiver;If the round-trip delay is more than first threshold, statistics voice data is sent to the current packet loss of the data receiver Rate;If the present packet loss is more than second threshold, two parts of voice datas are sent to the data receiver.
- 2. if according to the method described in claim 1, it is characterized in that, the present packet loss is more than second threshold, to institute After stating data receiver two parts of voice datas of transmission, further include:The voice data that data transmitting equipment is sent is obtained, wherein, the voice data includes:Data sequence number;If the data sequence number repeats, a copy of it voice data is abandoned.
- 3. according to the method described in claim 1, it is characterized in that, the present packet loss be current time before it is default when Between in section voice data sent from data transmitting equipment to the packet loss of data receiver.
- 4. according to the method described in claim 1, it is characterized in that, the data transmitting equipment is at least one, the data Receiving device is at least one.
- A kind of 5. data transmission device, it is characterised in that including:Round-trip delay detection module, sends to the round-trip delay of data receiver for detecting voice data;Statistical module, if being more than first threshold for the round-trip delay, statistics voice data, which is sent to the data receiver, to be set Standby present packet loss;Sending module, if being more than second threshold for the present packet loss, two parts of institutes are sent to the data receiver State voice data.
- 6. device according to claim 5, it is characterised in that further include:Acquisition module, for obtaining the voice data of data transmitting equipment transmission, wherein, the voice data includes:Data sequence Row number;Data discard module, if being repeated for the data sequence number, abandons a copy of it voice data.
- 7. device according to claim 5, it is characterised in that the present packet loss be current time before it is default when Between in section voice data sent from data transmitting equipment to the packet loss of data receiver.
- 8. device according to claim 5, it is characterised in that the data transmitting equipment is at least one, the data Receiving device is at least one.
- 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes the side as described in any in claim 1-4 when performing described program Method.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-4 is realized during execution.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164400.6A CN107979507A (en) | 2017-11-21 | 2017-11-21 | Data transmission method, device, equipment and storage medium |
PCT/CN2017/116784 WO2019100475A1 (en) | 2017-11-21 | 2017-12-17 | Data transmission method, apparatus and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164400.6A CN107979507A (en) | 2017-11-21 | 2017-11-21 | Data transmission method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107979507A true CN107979507A (en) | 2018-05-01 |
Family
ID=62010693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711164400.6A Pending CN107979507A (en) | 2017-11-21 | 2017-11-21 | Data transmission method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107979507A (en) |
WO (1) | WO2019100475A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355996A (en) * | 2018-12-20 | 2020-06-30 | 海信视像科技股份有限公司 | Audio playing method and computing device |
CN111585776A (en) * | 2020-05-26 | 2020-08-25 | 腾讯科技(深圳)有限公司 | Data transmission method, device, equipment and computer readable storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11082892B2 (en) * | 2018-10-30 | 2021-08-03 | Apple Inc. | Methods for transmitting and receiving data in 5G NR device based on data/service tagging from application processor |
CN115150373A (en) * | 2022-05-31 | 2022-10-04 | 深圳市东微智能科技股份有限公司 | Audio transmission method, terminal device and computer-readable storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483883A (en) * | 2008-12-17 | 2009-07-15 | 上海华为技术有限公司 | Data processing method, apparatus and communication system |
CN101834879A (en) * | 2010-02-09 | 2010-09-15 | 北京中科大洋科技发展股份有限公司 | Intelligent efficient video/audio data transmission method adapted to different network environments |
CN102412982A (en) * | 2011-10-11 | 2012-04-11 | 浙江大学 | Communication method of packet transport network |
CN102790666A (en) * | 2011-05-17 | 2012-11-21 | 华为终端有限公司 | Error control method, receiving end, transmitting end and system |
CN102801606A (en) * | 2012-02-24 | 2012-11-28 | 华北电力大学 | Automatic switching method for SCTP (stream control transmission protocol) main path |
CN103718532A (en) * | 2013-03-26 | 2014-04-09 | 华为技术有限公司 | Data transmission method, apparatus and terminal device |
CN103763073A (en) * | 2014-01-09 | 2014-04-30 | 深圳市迪威视讯股份有限公司 | Method for retransmission of lost data packet and terminal |
CN103985234A (en) * | 2014-04-23 | 2014-08-13 | 杭州微纳科技有限公司 | Remote control method based on bluetooth broadcast packet |
WO2015001392A1 (en) * | 2013-07-05 | 2015-01-08 | Pismo Labs Technology Limited | Methods and systems for sending and receiving information data |
CN104661111A (en) * | 2013-11-25 | 2015-05-27 | 上海益尚信息科技有限公司 | Method and device for transmitting I-frame analysis method uplink multicast data |
CN104717257A (en) * | 2013-12-13 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Method and device for transmitting data messages |
CN105871514A (en) * | 2016-05-19 | 2016-08-17 | 乐视控股(北京)有限公司 | Data transmission method and data transmission device |
CN106341739A (en) * | 2016-09-30 | 2017-01-18 | 邦彦技术股份有限公司 | A kind of control device based on packet loss and method |
-
2017
- 2017-11-21 CN CN201711164400.6A patent/CN107979507A/en active Pending
- 2017-12-17 WO PCT/CN2017/116784 patent/WO2019100475A1/en active Application Filing
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483883A (en) * | 2008-12-17 | 2009-07-15 | 上海华为技术有限公司 | Data processing method, apparatus and communication system |
CN101834879A (en) * | 2010-02-09 | 2010-09-15 | 北京中科大洋科技发展股份有限公司 | Intelligent efficient video/audio data transmission method adapted to different network environments |
CN102790666A (en) * | 2011-05-17 | 2012-11-21 | 华为终端有限公司 | Error control method, receiving end, transmitting end and system |
CN102412982A (en) * | 2011-10-11 | 2012-04-11 | 浙江大学 | Communication method of packet transport network |
CN102801606A (en) * | 2012-02-24 | 2012-11-28 | 华北电力大学 | Automatic switching method for SCTP (stream control transmission protocol) main path |
CN103718532A (en) * | 2013-03-26 | 2014-04-09 | 华为技术有限公司 | Data transmission method, apparatus and terminal device |
WO2015001392A1 (en) * | 2013-07-05 | 2015-01-08 | Pismo Labs Technology Limited | Methods and systems for sending and receiving information data |
CN104661111A (en) * | 2013-11-25 | 2015-05-27 | 上海益尚信息科技有限公司 | Method and device for transmitting I-frame analysis method uplink multicast data |
CN104717257A (en) * | 2013-12-13 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Method and device for transmitting data messages |
CN103763073A (en) * | 2014-01-09 | 2014-04-30 | 深圳市迪威视讯股份有限公司 | Method for retransmission of lost data packet and terminal |
CN103985234A (en) * | 2014-04-23 | 2014-08-13 | 杭州微纳科技有限公司 | Remote control method based on bluetooth broadcast packet |
CN105871514A (en) * | 2016-05-19 | 2016-08-17 | 乐视控股(北京)有限公司 | Data transmission method and data transmission device |
CN106341739A (en) * | 2016-09-30 | 2017-01-18 | 邦彦技术股份有限公司 | A kind of control device based on packet loss and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355996A (en) * | 2018-12-20 | 2020-06-30 | 海信视像科技股份有限公司 | Audio playing method and computing device |
CN111585776A (en) * | 2020-05-26 | 2020-08-25 | 腾讯科技(深圳)有限公司 | Data transmission method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019100475A1 (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9916840B1 (en) | Delay estimation for acoustic echo cancellation | |
CN107979507A (en) | Data transmission method, device, equipment and storage medium | |
US10522164B2 (en) | Method and device for improving audio processing performance | |
US7769186B2 (en) | System and method facilitating acoustic echo cancellation convergence detection | |
US8842851B2 (en) | Audio source localization system and method | |
CN109218762B (en) | Multimedia resource playback method, device, computer equipment and storage medium | |
EP3155795B1 (en) | In-service monitoring of voice quality in teleconferencing | |
EP3796629B1 (en) | Double talk detection method, double talk detection device and echo cancellation system | |
US20050021827A1 (en) | Data processing device, data processing system, data processing method, data processing program and recording medium storing the program | |
CN110351595A (en) | A kind of buffered method, apparatus, equipment and computer storage medium | |
CN109981225A (en) | Code rate estimation method, device, equipment and storage medium | |
CN107580155B (en) | Network telephone quality determination method, network telephone quality determination device, computer equipment and storage medium | |
US20190132452A1 (en) | Acoustic echo cancellation based sub band domain active speaker detection for audio and video conferencing applications | |
CN110992923B (en) | Echo cancellation method, electronic device, and storage device | |
CN102571147A (en) | Sound processing apparatus, method, and program | |
US8213580B2 (en) | Automated message conversion based on availability of bandwidth | |
US20130208873A1 (en) | System and method to detect noisy connections on a telephonic conference bridge | |
CN110148421A (en) | A kind of residual echo detection method, terminal and device | |
CN103354588A (en) | Determination method, apparatus and system for recording and playing sampling rate | |
CN109743386B (en) | Session request sending method and device, electronic equipment and storage medium | |
US20120009892A1 (en) | Wireless communication system and method for adjusting used depth of buffer unit in wireless communication system | |
WO2013142705A1 (en) | Voice communication method and apparatus and method and apparatus for operating jitter buffer | |
CN115801639A (en) | Bandwidth detection method and device, electronic equipment and storage medium | |
WO2022105706A1 (en) | Voice call quality determination method and apparatus | |
CN108833825A (en) | Method, device, equipment and storage medium for determining speaker terminal in video conference |
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: 20180501 |