CN206850942U - One kind realizes that service end data buffering type postpones retransmission unit - Google Patents

One kind realizes that service end data buffering type postpones retransmission unit Download PDF

Info

Publication number
CN206850942U
CN206850942U CN201720591869.7U CN201720591869U CN206850942U CN 206850942 U CN206850942 U CN 206850942U CN 201720591869 U CN201720591869 U CN 201720591869U CN 206850942 U CN206850942 U CN 206850942U
Authority
CN
China
Prior art keywords
module
data
data frame
forwarding
cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201720591869.7U
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.)
Mi Yu Technology (shenzhen) Co Ltd
Original Assignee
Mi Yu Technology (shenzhen) 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 Mi Yu Technology (shenzhen) Co Ltd filed Critical Mi Yu Technology (shenzhen) Co Ltd
Priority to CN201720591869.7U priority Critical patent/CN206850942U/en
Application granted granted Critical
Publication of CN206850942U publication Critical patent/CN206850942U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

It the utility model is related to one kind and realize that service end data buffering type postpones retransmission unit, the device includes:Data reception module, data package module, cache module, speed detection module, timer, time delay setting module and forwarding module, wherein, data reception module receives the audio stream data frame that live platform is sent;The audio stream data frame that data package module encapsulation of data receiving module is sent, and the audio stream data frame sequential after encapsulation is stored into cache module;Forwarding module electrical connection cache module, time delay setting module and timer, order forwarding audio stream data frame when the data that forwarding module stores in cache module reach maximal audio flow data frame capacity, the order forwarding audio stream data frame also when timer reaches predetermined time delay.By the technical solution of the utility model, can binding cache pond and timer realize and delay forwarding control carried out to live platform data stream, reduce receiving terminal data dithering.

Description

One kind realizes that service end data buffering type postpones retransmission unit
Technical field
It the utility model is related to and be related to data forwarding technical field, and in particular to one kind realizes that service end data buffering type prolongs Slow retransmission unit.
Background technology
With the increasingly fire of domestic live application, all kinds of audiovisual applications are more and more, and in audiovisual applications, often The problem of seeing is exactly Lag synchronization control.During server forwards audio/video flow, usually there is the demand of delay, such as require sound Frequency flows how long forwarding afterwards in video flowing, and this requires to realize that one kind postpones retransmission unit in server end.The device can Caching streaming data, and at the appointed time start to forward afterwards.Audio/video flow data have a feature, and each data frame is that have one Fixed time interval, such as typical audio stream data frame period 2.5ms, 5ms, 10ms, 20ms, 40ms, 60ms.If audio Forwarding rate and original speed mismatch, it is more likely that cause receiving terminal to shake, so as to influence tonequality.Therefore a phase is needed The forwarding rate matched somebody with somebody, processing are relative complex.
In the prior art, audio stream forwarding controls simply by timer and cache pool, is such as scanned by timer slow Area is deposited, is sent according to the time.
Because audio forwarding rate needs the time interval with the audio stream data frame of audio-source to match, not so can cause Receiving terminal data dithering, final effect is influenceed, scan the scheme of buffer area by timer in the prior art, realize effect not It is good, and multichannel it is live need processing when, performance is bad, and efficiency is low.
Utility model content
In view of this, the purpose of this utility model is overcome the deficiencies in the prior art, there is provided one kind realizes service end number Postpone retransmission unit according to buffer-type, binding cache pond and timer, which are realized, carries out delay forwarding control to live platform data stream.
To realize object above, the utility model adopts the following technical scheme that:
One kind realizes that service end data buffering type postpones retransmission unit, including:
Data reception module, data package module, cache module, speed detection module, timer, time delay setting mould Block and forwarding module, wherein,
The data reception module is used to receive the audio stream data frame that live platform is sent;The data package module is used Institute is arrived in the audio stream data frame for encapsulating the data reception module transmission, and by the audio stream data frame sequential storage after encapsulation State in cache module;
The speed detection module is used to detect the audio stream data frame time interval that the data reception module receives, And the audio stream data frame time interval is sent to the time delay setting module, so that the time delay sets mould Block calculates the maximal audio flow data frame capacity that the cache module can store;
The forwarding module electrically connects cache module, time delay setting module and the timer, the forwarding module Order forwards the audio when data for being stored in the cache module reach the maximal audio flow data frame capacity Flow data frame, it is additionally operable to be not up to the maximal audio flow data frame capacity in the cache module but timer reaches default and prolonged Order forwards the audio stream data frame during the slow time.
Preferably, the data package module is electrically connected by universal serial bus with the data reception module.
Preferably, the cache module is multiple the data for being respectively used to the different live platforms of storage.
Preferably, the cache module is electrically connected by parallel bus with the data package module.
Preferably, the forwarding module is multiple to be respectively used to forward the live platform stored in different cache modules Data.
Preferably, multiple forwarding modules are corresponded with multiple cache modules and set.
Preferably, the cache module is 3.
Preferably, the forwarding module is 3.
Preferably, it is described to realize that service end data buffering type postpones retransmission unit, in addition to shell, the data reception Block, data package module, cache module, speed detection module, timer, time delay setting module and forwarding module are all set In the shell.
Preferably, the shell is made up of water proof and dust proof material.
The utility model uses above technical scheme, at least possesses following beneficial effect:
As shown from the above technical solution, it is provided by the utility model it is this realize service end data buffering type delay forwarding dress To put, speed detection module can detect the audio stream data frame time interval that data reception module receives, and by audio fluxion Time delay setting module is sent to according to frame time interval, so that time delay setting module calculates cache module and can stored Maximal audio flow data frame capacity;Forwarding module electrical connection cache module, time delay setting module and timer, forward mould Order forwards the audio stream data when data that block stores in the cache module reach maximal audio flow data frame capacity Frame, or order forwards when cache module is not up to maximal audio flow data frame capacity but timer reaches predetermined time delay The audio stream data frame.Compared with prior art, it is provided by the utility model it is this realize service end data buffering type delay turn Transmitting apparatus, can binding cache pond and timer realize delay forwarding control carried out to live platform data stream, reduce receiving terminal Data dithering.
Brief description of the drawings
, below will be to embodiment in order to illustrate more clearly of the utility model embodiment or technical scheme of the prior art Or the required accompanying drawing used is briefly described in description of the prior art, it should be apparent that, drawings in the following description are only It is some embodiments of the utility model, for those of ordinary skill in the art, is not paying the premise of creative work Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is that a kind of of the embodiment of the utility model one offer realizes that service end data buffering type postpones showing for retransmission unit Meaning block diagram.
Embodiment
, below will be to technology of the present utility model to make the purpose of this utility model, technical scheme and advantage clearer Scheme is described in detail.Obviously, described embodiment is only the utility model part of the embodiment, rather than all Embodiment.Based on the embodiment in the utility model, those of ordinary skill in the art are not before creative work is made Resulting all other embodiment is put, belongs to the scope that the utility model is protected.
Below by drawings and examples, the technical solution of the utility model is described in further detail.
Embodiment one,
Referring to Fig. 1, one kind that the embodiment of the utility model one provides realizes that service end data buffering type postpones retransmission unit, Including:
Data reception module 1, data package module 2, cache module 3, speed detection module 4, timer 5, time delay Setting module 6 and forwarding module 7, wherein,
The data reception module 1 is used to receive the audio stream data frame that live platform is sent;The data package module 2 The audio stream data frame sent for encapsulating the data reception module 1, and the audio stream data frame sequential after encapsulation is stored Into the cache module 3;
The speed detection module 4 is used to detect between the audio stream data frame time that the data reception module 1 receives Every, and the audio stream data frame time interval is sent to the time delay setting module 6, so that the time delay sets Cover half block 6 calculates the maximal audio flow data frame capacity that the cache module can store;
The forwarding module 7 electrically connects the cache module 3, time delay setting module 6 and timer 5, the forwarding Order forwarding institute when the data that module 7 is used to store in the cache module 3 reach the maximal audio flow data frame capacity Audio stream data frame is stated, is additionally operable to be not up to the maximal audio flow data frame capacity in the cache module 3 but timer 5 reaches The audio stream data frame is forwarded to order during predetermined time delay.
It should be noted that it is provided by the utility model it is this realize service end data buffering type postpone retransmission unit, institute It is related to the time delay that user sets to state maximal audio flow data frame capacity, such as delay 100 seconds, it is assumed that each audio stream data Frame period is 20ms, then has within one second 50 audio stream data frames, and length is 5000.
Not up to maximal audio flow data frame capacity when, data package module directly by after encapsulation data frame insert caching Module afterbody, otherwise extrude a data frame from the head of cache module and send.Abnormal conditions processing:If transmitting terminal is not sent It is full just to stop sending, the predetermined time delay for reaching user's setting is detected whether by timer, if so, forwarding module directly enters Row data forwarding.
As shown from the above technical solution, it is provided by the utility model it is this realize service end data buffering type delay forwarding dress To put, speed detection module can detect the audio stream data frame time interval that data reception module receives, and by audio fluxion Time delay setting module is sent to according to frame time interval, so that time delay setting module calculates cache module and can stored Maximal audio flow data frame capacity;Forwarding module electrical connection cache module, time delay setting module and timer, forward mould Order forwards the audio stream data when data that block stores in the cache module reach maximal audio flow data frame capacity Frame, or order forwards when cache module is not up to maximal audio flow data frame capacity but timer reaches predetermined time delay The audio stream data frame.Compared with prior art, it is provided by the utility model it is this realize service end data buffering type delay turn Transmitting apparatus, can binding cache pond and timer realize delay forwarding control carried out to live platform data stream, reduce receiving terminal Data dithering.
Embodiment two,
One kind that the embodiment of the utility model one provides realizes that service end data buffering type postpones retransmission unit, including:
Data reception module 1, data package module 2, cache module 3, speed detection module 4, timer 5, time delay Setting module 6 and forwarding module 7, wherein,
The data reception module 1 is used to receive the audio stream data frame that live platform is sent;The data package module 2 The audio stream data frame sent for encapsulating the data reception module 1, and the audio stream data frame sequential after encapsulation is stored Into the cache module 3;
The speed detection module 4 is used to detect between the audio stream data frame time that the data reception module 1 receives Every, and the audio stream data frame time interval is sent to the time delay setting module 6, so that the time delay sets Cover half block 6 calculates the maximal audio flow data frame capacity that the cache module can store;
The forwarding module 7 electrically connects the cache module 3, time delay setting module 6 and timer 5, the forwarding Order forwarding institute when the data that module 7 is used to store in the cache module 3 reach the maximal audio flow data frame capacity Audio stream data frame is stated, is additionally operable to be not up to the maximal audio flow data frame capacity in the cache module 3 but timer 5 reaches The audio stream data frame is forwarded to order during predetermined time delay.
Preferably, the data package module 2 is electrically connected by universal serial bus with the data reception module 1.
Preferably, the cache module 3 is multiple the data for being respectively used to the different live platforms of storage.
Preferably, the cache module 3 is electrically connected by parallel bus with the data package module 2.
Preferably, the forwarding module 7 is multiple to be respectively used to forward the live platform stored in different cache modules 3 Data.
Preferably, multiple forwarding modules 7 are corresponded with multiple cache modules 3 and set.
Embodiment three,
One kind that the embodiment of the utility model one provides realizes that service end data buffering type postpones retransmission unit, including:
Data reception module 1, data package module 2, cache module 3, speed detection module 4, timer 5, time delay Setting module 6 and forwarding module 7, wherein,
The data reception module 1 is used to receive the audio stream data frame that live platform is sent;The data package module 2 The audio stream data frame sent for encapsulating the data reception module 1, and the audio stream data frame sequential after encapsulation is stored Into the cache module 3;
The speed detection module 4 is used to detect between the audio stream data frame time that the data reception module 1 receives Every, and the audio stream data frame time interval is sent to the time delay setting module 6, so that the time delay sets Cover half block 6 calculates the maximal audio flow data frame capacity that the cache module can store;
The forwarding module 7 electrically connects the cache module 3, time delay setting module 6 and timer 5, the forwarding Order forwarding institute when the data that module 7 is used to store in the cache module 3 reach the maximal audio flow data frame capacity Audio stream data frame is stated, is additionally operable to be not up to the maximal audio flow data frame capacity in the cache module 3 but timer 5 reaches The audio stream data frame is forwarded to order during predetermined time delay.
Preferably, the data package module 2 is electrically connected by universal serial bus with the data reception module 1.
Preferably, the cache module 3 is multiple the data for being respectively used to the different live platforms of storage.
Preferably, the cache module 3 is electrically connected by parallel bus with the data package module 2.
Preferably, the forwarding module 7 is multiple to be respectively used to forward the live platform stored in different cache modules 3 Data.
Preferably, multiple forwarding modules 7 are corresponded with multiple cache modules 3 and set.
Preferably, the cache module is 3.
Preferably, the forwarding module is 3.
Preferably, it is described to realize that service end data buffering type postpones retransmission unit, in addition to shell, the data reception Block, data package module, cache module, speed detection module, timer, time delay setting module and forwarding module are all set In the shell.
Preferably, the shell is made up of water proof and dust proof material.
It is understood that it is provided by the utility model it is this realize service end data buffering type postpone retransmission unit, institute It is related to the time delay that user sets to state maximal audio flow data frame capacity, such as delay 100 seconds, it is assumed that each audio stream data Frame period is 20ms, then has within one second 50 audio stream data frames, and length is 5000.
Not up to maximal audio flow data frame capacity when, data package module directly by after encapsulation data frame insert caching Module afterbody, otherwise extrude a data frame from the head of cache module and send.Abnormal conditions processing:If transmitting terminal is not sent It is full just to stop sending, the predetermined time delay for reaching user's setting is detected whether by timer, if so, forwarding module directly enters Row data forwarding.
It is described above, only specific embodiment of the present utility model, but the scope of protection of the utility model is not limited to In this, any one skilled in the art can readily occur in change in the technical scope that the utility model discloses Or replace, it should all cover within the scope of protection of the utility model.Therefore, the scope of protection of the utility model should be with the power The protection domain that profit requires is defined.Term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint phase To importance.Term " multiple " refers to two or more, is limited unless otherwise clear and definite.

Claims (10)

1. one kind realizes that service end data buffering type postpones retransmission unit, it is characterised in that including:
Data reception module, data package module, cache module, speed detection module, timer, time delay setting module and Forwarding module, wherein,
The data reception module is used to receive the audio stream data frame that live platform is sent;The data package module is used to seal The audio stream data frame that the data reception module is sent is filled, and the audio stream data frame sequential storage after encapsulation is delayed to described In storing module;
The speed detection module is used to detect the audio stream data frame time interval that the data reception module receives, and will The audio stream data frame time interval is sent to the time delay setting module, so that the time delay setting module meter Calculate the maximal audio flow data frame capacity that the cache module can store;
The forwarding module electrically connects cache module, time delay setting module and the timer, and the forwarding module is used for Order forwards the audio fluxion when data stored in the cache module reach the maximal audio flow data frame capacity According to frame, it is additionally operable to when the cache module is not up to the maximal audio flow data frame capacity but timer reaches pre-set delay Between when order forward the audio stream data frame.
2. according to claim 1 realize that service end data buffering type postpones retransmission unit, it is characterised in that the data Package module is electrically connected by universal serial bus with the data reception module.
3. according to claim 2 realize that service end data buffering type postpones retransmission unit, it is characterised in that the caching Module is multiple, is respectively used to the data of the different live platforms of storage.
4. according to claim 3 realize that service end data buffering type postpones retransmission unit, it is characterised in that the caching Module is electrically connected by parallel bus with the data package module.
5. according to claim 4 realize that service end data buffering type postpones retransmission unit, it is characterised in that the forwarding Module is multiple, is respectively used to forward the data of the live platform stored in different cache modules.
6. according to claim 5 realize that service end data buffering type postpones retransmission unit, it is characterised in that multiple described Forwarding module is corresponded with multiple cache modules and set.
7. according to claim 3 realize that service end data buffering type postpones retransmission unit, it is characterised in that the caching Module is 3.
8. according to claim 7 realize that service end data buffering type postpones retransmission unit, it is characterised in that the forwarding Module is 3.
9. service end data buffering type postpones retransmission unit to realizing according to any one of claim 1~8, its feature exists In, in addition to shell, the data reception module, data package module, cache module, speed detection module, timer, delay Time setting module and forwarding module are all arranged in the shell.
10. according to claim 9 realize that service end data buffering type postpones retransmission unit, it is characterised in that described outer Shell is made up of water proof and dust proof material.
CN201720591869.7U 2017-05-25 2017-05-25 One kind realizes that service end data buffering type postpones retransmission unit Active CN206850942U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720591869.7U CN206850942U (en) 2017-05-25 2017-05-25 One kind realizes that service end data buffering type postpones retransmission unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720591869.7U CN206850942U (en) 2017-05-25 2017-05-25 One kind realizes that service end data buffering type postpones retransmission unit

Publications (1)

Publication Number Publication Date
CN206850942U true CN206850942U (en) 2018-01-05

Family

ID=60797939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720591869.7U Active CN206850942U (en) 2017-05-25 2017-05-25 One kind realizes that service end data buffering type postpones retransmission unit

Country Status (1)

Country Link
CN (1) CN206850942U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784999A (en) * 2020-07-17 2020-10-16 广州道源信息科技有限公司 Electric quantity use condition recording and detecting system for 5G network networking synchronous information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784999A (en) * 2020-07-17 2020-10-16 广州道源信息科技有限公司 Electric quantity use condition recording and detecting system for 5G network networking synchronous information

Similar Documents

Publication Publication Date Title
CN106998484A (en) One kind realizes service end data buffering type delay retransmission unit and method
US9319738B2 (en) Multiplexing, synchronizing, and assembling multiple audio/video (A/V) streams in a media gateway
EP4270894A3 (en) Systems and methods for adaptive switching between multiple content delivery networks during adaptive bitrate streaming
CN103078831A (en) Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media
CN206850942U (en) One kind realizes that service end data buffering type postpones retransmission unit
CN104254007A (en) Method and device for processing audio
CN105471958A (en) Data processing system and method of internet of things
CN101521813A (en) Method and device for processing media stream
CN103036808B (en) Method and system for removing network jitter
CN102521159A (en) Method for dynamically scheduling packet data of on-chip and off-chip memories according to traffic
CN204046750U (en) A kind of video playback box
CN106303563A (en) The online playing method and device of Streaming Media
CN206061023U (en) A kind of of the OTT set-top box with 4G networks and router feature
CN104219470B (en) Digital television receiving apparatus and DTV play method
CN104199799A (en) Baud rate self-adaptation method and device based on CPLD
US20210392391A1 (en) Data transmission method and apparatus
CN106790576A (en) A kind of interactive desktop synchronization
CN105357568A (en) Broadcasting source switching control method and device
CN104349128A (en) Video and audio coding equipment and system and storage extraction method thereof
CN102131116B (en) Digital television electronic program guide (EPG) data receiving and resolution method
CN208402018U (en) Real-time remote monitoring stream media system
CN103167081A (en) Message browsing and editing device and message browsing and editing method and mobile terminal
CN102724232A (en) UDP-based network subtitle generator method and network subtitle generator system
CN201708889U (en) Multi-path network video decoder
CN101123720A (en) Video image transformer and its control method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant