CN110312159A - A kind of signal receiving device, stream media transmission system and flow-medium transmission method - Google Patents
A kind of signal receiving device, stream media transmission system and flow-medium transmission method Download PDFInfo
- Publication number
- CN110312159A CN110312159A CN201910439788.9A CN201910439788A CN110312159A CN 110312159 A CN110312159 A CN 110312159A CN 201910439788 A CN201910439788 A CN 201910439788A CN 110312159 A CN110312159 A CN 110312159A
- Authority
- CN
- China
- Prior art keywords
- played
- cache unit
- data
- audio
- video
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004891 communication Methods 0.000 claims abstract description 70
- 230000008054 signal transmission Effects 0.000 claims description 7
- 239000000243 solution Substances 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43632—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
- H04N21/43635—HDMI
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of signal receiving device, stream media transmission system and flow-medium transmission methods, and wherein signal receiving device includes the first communications module, the first buffer, the first HDMI interface and first processor;The first processor includes the first analysis module, the first removing module and the first output module;First buffer is used for audio buffer to be played a to cache unit, and by video cache to be played to the second cache unit;The amount of storage that first analysis module is used to detect the first cache unit audio to be played whether is greater than first threshold or whether the amount of storage of the second cache unit video to be played is greater than second threshold;If so, the first removing module empties first cache unit and second cache unit;If it is not, then sending video to be played to the playback equipment being electrically connected with the first HDMI interface of signal receiving device.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of signal receiving devices, stream media transmission system and stream matchmaker
Body transmission method.
Background technique
Streaming media transmission technique will in the content transmission to another playback equipment on a signal source equipment display and
It plays, such as: being played on the video and audio transmission to television set played on computer screen, mobile phone screen transmission is shown to
On television screen etc..
At present in meeting, education sector has the local application of content share demand wider, due to streaming media transmission technique by
The influence of the time loss of real network and data processing, data transmission can generate transmission delay, and this delay is shown as in number
Slightly it is slower than data sending terminal playback progress according to the playback progress of receiving end.If network is influenced to cause data by other factors such as signals
Stuck, the reception progress of data receiver can be well below the transmission progress of data sending terminal, after signal restores normal, data
The buffer area of receiving end has accumulated a large amount of audio, video datas to be played, causes receiving end different from the audio, video data of transmitting terminal
Step causes audio frequency and video to play asynchronous, reduces user experience effect.
Summary of the invention
The main purpose of the present invention is to provide a kind of signal receiving device, stream media transmission system and streaming media sides
Method, it is intended to solve existing receiving end and play the nonsynchronous technical problem of end data.
To achieve the above object, the present invention provides a kind of signal receiving device, and the stream media transmission system further includes letter
Number emitter, the signal receiving device and playback equipment are communicated to connect by transmission line, the sender unit with believe
Source device is communicated to connect by transmission line, and the signal receiving device includes: the first communications module, the first buffer, first
HDMI interface and first processor;
Wherein, the first processor includes the first analysis module, the first removing module and the first output module;
First buffer obtains received from sender unit transmission by first communications module
Stream medium data, the stream medium data include audio data and video data;
First buffer is also used to using at least one data packet of the audio data as audio buffer to be played
To the first cache unit of the first buffer, and using at least one data packet of the video data as video cache to be played
To the second cache unit of the first buffer;
Whether the amount of storage that first analysis module is used to detect the first cache unit audio to be played is greater than the
Whether one threshold value or the amount of storage of the second cache unit video to be played are greater than second threshold;If the first cache unit waits broadcasting
The amount of storage of playback frequency is greater than first threshold or the amount of storage of the second cache unit video to be played is greater than second threshold, then
The first removing module empties first cache unit and second cache unit;
If the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and second cache unit
The amount of storage of video to be played is less than or equal to second threshold, then first output module control the first cache unit send to
Playing audio-fequency data and the second cache unit of control send video data to be played to the first HDMI with signal receiving device
The playback equipment of interface electrical connection.
Preferably, first communications module is radio communication mold group;The wireless communication frequency of first communications module
For 2.4GHz, 5.15~5.825GHz or 60GHz.
Preferably, first output module includes delay adjustment unit and output control unit;The delay adjustment is single
Member controls first cache unit and is sending audio to be played at the first time to output control unit, and it is slow to control described second
Memory cell sends audio to be played to output control unit in the second time, and the first time is greater than second time;Institute
Output control unit is stated to set the broadcasting that the audio to be played and video to be played output give signal receiving device electrical connection
It is standby.
Preferably, the signal receiving device is additionally provided with infrared remote receiver, and the infrared remote receiver is for receiving remote control
The infrared remote-controlled signal is simultaneously converted into electric signal by the infrared remote-controlled signal of device transmitting;The first processor is by the telecommunications
Number it is transferred to the first communications module, the electric signal is sent to sender unit by the first communications module.
To achieve the above object, the present invention also provides a kind of stream media transmission system, the stream media transmission system includes
Sender unit and signal receiving device, the signal receiving device and playback equipment are communicated to connect by transmission line, described
Sender unit and source device are communicated to connect by transmission line;The signal receiving device includes: the first communications module,
One buffer, the first HDMI interface and first processor;
Wherein, the first processor includes the first analysis module, the first removing module and the first output module;
First buffer obtains received from sender unit transmission by first communications module
Stream medium data, the stream medium data include audio data and video data;
First buffer is also used to using at least one data packet of the audio data as audio buffer to be played
To the first cache unit of the first buffer, and using at least one data packet of the video data as video cache to be played
To the second cache unit of the first buffer;
Whether the amount of storage that first analysis module is used to detect the first cache unit audio to be played is greater than the
Whether one threshold value or the amount of storage of the second cache unit video to be played are greater than second threshold;If the first cache unit waits broadcasting
The amount of storage of playback frequency is greater than first threshold or the amount of storage of the second cache unit video to be played is greater than second threshold, then
The first removing module empties first cache unit and second cache unit;
If the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and second cache unit
The amount of storage of video to be played is less than or equal to second threshold, then first output module control the first cache unit send to
Playing audio-fequency data and the second cache unit of control send video data to be played and broadcast to what is be electrically connected with signal receiving device
Put equipment.
Preferably, the signal receiving device is additionally provided with infrared remote receiver, for receiving the infrared remote control of remote control device
Signal, and infrared remote-controlled signal is converted into electric signal;The first processor is by the electric signal transmission to the first communication mould
Group, the electric signal is sent to sender unit by the first communications module;The sender unit includes second
Communications module, second processor and infrared transmitter;Second communications module is received through the transmission of the first communications module
Electric signal;The electric signal is reduced into infrared remote-controlled signal by the second processor;The infrared transmitter will be described infrared distant
Control signal is transmitted to the sender unit, exports corresponding stream medium data to control the sender unit.
Preferably, the sender unit further includes the second buffer;Second processor includes the second analysis module, the
Two remove module and the second output module;Second buffer is used to obtain the stream medium data exported from source device, described
Stream medium data includes audio data and video data;Second buffer is also used to make at least one data packet of audio data
For the third cache unit of audio buffer to be played to the second buffer, and at least one data packet of the video data is made
For the 4th cache unit of video cache to be played to the second buffer;Second analysis module is slow for detecting the third
Whether the amount of storage of memory cell audio to be played is greater than the amount of storage of third threshold value or the 4th cache unit video to be played
Whether the 4th threshold value is greater than;If the amount of storage of third cache unit audio to be played is greater than third threshold value or the 4th caching is single
The amount of storage of member video to be played is greater than the 4th threshold value, then the second removing module empties the third cache unit and described
4th cache unit;
If the amount of storage of third cache unit audio to be played is less than or equal to third threshold value and the 4th cache unit
The amount of storage of video to be played is less than or equal to the 4th threshold value, then second output module controls second buffer for institute
It states stream medium data and the signal receiving device is sent to by second communications module.
Preferably, the sender unit further includes coding module, and the coding module is used for the second buffer is defeated
Video data out is encoded, and it is encoded after video data the signal be sent to by second communications module connect
Receiving apparatus;
The signal receiving device further includes decoder module, and the decoder module is used to export second cache unit
Video data to be played be decoded, and export to the playback equipment.
To achieve the above object, the present invention also provides a kind of flow-medium transmission methods, are applied to signal receiving device, described
Signal receiving device and sender unit communicate to connect, which comprises obtain the first communications module and send out from the signal
The stream medium data that injection device is sent, the stream medium data includes audio data and video data;The audio number that will be received
According at least one data packet as audio buffer to be played to the first cache unit, and by the video data at least one
Second cache unit of the data packet as video cache to be played extremely;Detect the storage of the first cache unit audio to be played
Whether amount is greater than first threshold or whether the amount of storage of the second cache unit video to be played is greater than second threshold;If first
The amount of storage of cache unit audio to be played is greater than first threshold or the amount of storage of the second cache unit video to be played is big
In second threshold, then first cache unit and second cache unit are emptied;If the first cache unit audio to be played
Amount of storage be less than or equal to the amount of storage of first threshold and the second cache unit video to be played and be less than or equal to second
Threshold value then sends audio to be played and video to be played to the playback equipment being electrically connected with signal receiving device.
Preferably, the audio to be played is being sent to the playback equipment at the first time, corresponding with audio to be played
Be sent to the playback equipment in the second time to unicast packets, the first time is greater than second time.
Compared with existing design, a kind of signal receiving device, stream media transmission system and Streaming Media provided by the invention are passed
Transmission method.The signal transmission system in the present invention includes sender unit and the letter with sender unit communication connection
Number reception device, the sender unit are connect with source device, the transmission of flow media data for exporting source device to
Signal receiving device, the stream medium data include video data and audio data.The audio number that signal receiving device will receive
It is respectively stored in the first cache unit and the second cache unit according to video data, and passes through the first cache unit and the second caching
Unit exports audio data and video data to playback equipment, to carry out stream medium data broadcasting in playback equipment respectively.
When the audio data in the first cache unit is more than more than the video data in first threshold or the second cache unit
When second threshold, the synchronous video data by the audio data and the second cache unit in the first cache unit is reset, with
Ensure the synchronism of audio data and video data, with effective address signal reception device because transmission of flow media data delay causes
There is Caton when carrying out stream medium data broadcasting in playback equipment.Simultaneously as audio data and video data are carried out respectively
Caching, and the caching time delay of audio data and video data is detected respectively, in audio data or video data, any one is slow
Capacity is deposited more than threshold value, then synchronizes and carries out the video data in the audio data and the second cache unit in the first cache unit
It resets, the synchronism of the video data output in the audio data and the second cache unit to ensure the output of the first cache unit,
To solve the problems, such as the delay Caton of streaming media.
Further, the time of the audio data of the first cache unit of control output is later than the video counts of the corresponding audio data
According to time, so as to avoid audio data and video data due to decoding time disunity caused by audio, video data broadcasting
Put the nonsynchronous problem of equipment end.
Detailed description of the invention
Fig. 1 is a kind of stream media transmission system frame construction drawing provided by first embodiment of the invention;
Fig. 2 is the signal receiving device that the present invention is stream media transmission system and the module frame figure that playback equipment is adapted to;
Fig. 3 is the unit framework figure of the first buffer of signal receiving device;
Fig. 4 is the unit framework figure of the first output module of first processor;
Fig. 5 is the sender unit that the present invention is stream media transmission system and the module frame figure that source device is adapted to;
Fig. 6 is the step flow chart of flow-medium transmission method provided by second embodiment of the invention;
Fig. 7 is the structural block diagram of signal receiving device provided by third embodiment of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the amount of storage of indicated technical characteristic.It defines as a result,
The feature of " first ", " second " can explicitly or implicitly include at least one of the features.In addition, between each embodiment
Technical solution can be combined with each other, but must based on can be realized by those of ordinary skill in the art, work as technical solution
Combination there is conflicting or cannot achieve when and will be understood that the combination of this technical solution is not present, also do not wanted in the present invention
Within the protection scope asked.
The present invention provides a kind of signal receiving device, stream media transmission system and flow-medium transmission method.In the present invention
The signal transmission system includes sender unit and the signal receiving device with sender unit communication connection, the signal
Emitter is connect with source device, and the transmission of flow media data for exporting source device is to signal receiving device, the stream
Media data includes video data and audio data.Signal receiving device deposits the audio data received and video data respectively
Storage exports audio number in the first cache unit and the second cache unit, and by the first cache unit and the second cache unit respectively
According to video data to playback equipment, to carry out stream medium data broadcasting in playback equipment.
When the audio data in the first cache unit is more than more than the video data in first threshold or the second cache unit
When second threshold, the synchronous video data by the audio data and the second cache unit in the first cache unit is reset, with
Ensure the synchronism of audio data and video data, with effective address signal reception device because transmission of flow media data delay causes
There is Caton when carrying out stream medium data broadcasting in playback equipment.Simultaneously as audio data and video data are carried out respectively
Caching, and the caching time delay of audio data and video data is detected respectively, in audio data or video data, any one is slow
Capacity is deposited more than threshold value, then synchronizes and carries out the video data in the audio data and the second cache unit in the first cache unit
It resets, the synchronism of the video data output in the audio data and the second cache unit to ensure the output of the first cache unit,
To solve the problems, such as the delay Caton of streaming media.
Further, the time of the audio data of the first cache unit of control output is later than the video counts of the corresponding audio data
According to time, so as to avoid audio data and video data due to decoding time disunity caused by audio, video data broadcasting
Put the nonsynchronous problem of equipment end.
Referring to Fig. 1, Fig. 1 is a kind of stream media transmission system 100 that one embodiment of the invention provides, the streaming media
System 100 includes signal receiving device 10 and sender unit 20.Wherein, signal receiving device 10 and playback equipment 50 are logical
Transmission line communication connection is crossed, to realize the transmission of signal between signal receiving device 10 and playback equipment 50.Sender unit
20 by transmission line and source device 30 communicate to connect the stream medium data for receiving the output of source device 30 and by stream matchmaker
Volume data is transferred to signal receiving device 10 by wireless communication so that signal receiving device 10 by the stream medium data export to
Playback equipment 50 plays out.Wherein, which includes video data and audio data, the audio data and video counts
According in transmission, transmit in the form of data packet, wherein the data package size of audio data and the data packet of video data are big
It is small to can be set as needed.Preferably, the data packet of audio data is less than or equal to audio to be played, the number of video data
It is less than or equal to video to be played according to packet.
Preferably, video data is HD video data, i.e. the resolution ratio of the video data is at least 480p, and frame per second is at least
For 24fps.
Fig. 2-4 is please referred to, specifically, signal receiving device 10 includes the first HDMI interface 102, the first buffer 106, the
One communications module 103 and first processor 104.First processor 104 and the first HDMI interface 102, the first buffer 106 with
And first communications module 103 be electrically connected so that the first HDMI interface 102, the first buffer 106 and the first communications module 103
It cooperates.
Wherein, the first HDMI interface 102 is connected by transmission line and is connect with playback equipment 50, so that signal receives dress
Set 10 and playback equipment 50 communicate to connect, signal receiving device 10 is received into vision signal and is exported to playback equipment 50, from
And realize vision signal in the broadcasting of playback equipment 50.
First communications module 103 be preferably radio communication mold group, for 20 company of carrying out wireless communication of sender unit
It connects, it is preferable that the wireless communication frequency of the first communications module is 2.4GHz, 5.15~5.825GHz or 60GHz.
First processor 104 includes that the first analysis module 1043, first removes module 1044 and the first output module
1045。
Wherein, the first buffer 106 is for obtaining the Streaming Media that the first communications module 103 is sent from sender unit 20
Data.
Specifically, the first buffer 106 includes the first cache unit 1061 and the second cache unit 1063, first caching
Device 106 is used for the using at least one data packet of the audio data received as audio buffer to be played to the first buffer
One cache unit 1061, and using at least one data packet of the video data as video cache to be played to the first buffer
106 the second cache unit 1063.
Whether the amount of storage that the first analysis module 1043 is used to detect the audio to be played of the first cache unit 1061 is greater than the
Whether one threshold value or the amount of storage of the video to be played of second cache unit 1063 are greater than second threshold.
If the amount of storage of the audio to be played of the first cache unit 1061 is greater than first threshold or second cache unit
The amount of storage of 1063 videos to be played is greater than second threshold, then the first removing module 1044 empties first cache unit 1061
With second cache unit 1063, the data of any one are avoided in the first cache unit 1061 or the second cache unit 1063
Accumulation, avoids the output of the audio data and video data of signal receiving device 10 asynchronous.
If the amount of storage of the audio to be played of the first cache unit 1061 is less than or equal to first threshold and second caching
The amount of storage of the video to be played of unit 1063 is less than or equal to second threshold, then the first caching of the first output module 1045 control is single
Member 1061 sends audio to be played and the second cache unit 1063 of control send video to be played to signal receiving device 10
The playback equipment 50 of electrical connection, so that playback equipment 50 plays corresponding band playback data and data packet.
Wherein, the first output module 1045 includes delay adjustment unit 10451 and output control unit 10453.Delay is adjusted
Whole unit 10451 controls the first cache unit 1061 and sends audio to be played to output control unit 10453 in first time t1,
And control second cache unit 1063 and send audio to be played to output control unit 10453 in the second time t2, first
Time t1 is greater than the second time t2.
Audio to be played and video to be played output are given signal receiving device 10 and are electrically connected by output control unit 10453
Playback equipment 50, which is electrically connected by HDMI interface 102 with signal receiving device 10.
It is later than the video data of the corresponding audio data by the time of the audio data of control the first cache unit output
Time, so as to avoid audio data and video data due to decoding time disunity caused by data at playback equipment end
Nonsynchronous problem.
Referring to Fig. 5, sender unit 20 connects including the second communications module 201, second processor 202, the 2nd HDMI
Mouth 203 and the second buffer 205.Second processor 202 is electrically connected with the second communications module 201 and the second HDMI interface 203
It connects, is cooperated with controlling the second communications module 201 and the second HDMI interface 203.
Wherein, the second communications module 201 is preferably radio communication mold group, for carrying out channel radio with signal receiving device 10
Letter connection, so that the signal that source device 30 exports can be sent to by wireless transmission and be transferred to signal receiving device
10, to effectively solve the problems, such as the limitations of traditional source device and playback equipment wire transmission mode.
Second HDMI interface 203 is connected by transmission line and is connect with source device 30, so that source device 30 and letter
Number emitter 20 communicates to connect and the vision signal that can export is to sender unit 20.Sender unit 20 will receive
To screen signal be transmitted to signal receiving device 10 so that signal receiving device 10 exports the vision signal to playback equipment
50, to realize the broadcasting to the vision signal.
Second buffer 205 is used to receive the stream medium data of the transmission of source device 30, and stream medium data is passed through the
Two communications modules 201 are sent to signal receiving device 10, so that stream medium data is exported and set to broadcasting by signal receiving device 10
Standby 50.
Referring again to Fig. 2 and Fig. 5, in some embodiments, signal receiving device 10 further includes infrared remote receiver 105,
The infrared remote receiver 105 is used to receive the infrared remote-controlled signal for the remote control device transmitting being adapted to source device 30, and this is red
Outer remote signal is converted into electric signal, which is preferably pulse electrical signal.Meanwhile first processor 104 controls that this is infrared
Receiver 105 can give the electric signal transmission being converted by infrared remote-controlled signal to the first communications module 103, with logical by first
Believe that electric signal is sent to sender unit 20 by mould group 103 so that sender unit 20 electric signal is reduced into it is infrared distant
Control signal is simultaneously sent to source device 30, so that source device 30 exports corresponding stream medium data according to infrared remote-controlled signal.
Sender unit 20 further includes the infrared transmitter 204 being electrically connected with second processor 202.Infrared transmitter
204 electric signal for the infrared remote-controlled signal for receiving remote control device sending to be converted into is reduced into infrared remote-controlled signal, and
Emit the infrared remote-controlled signal to source device 30, exports corresponding stream matchmaker to control source device 30 according to infrared remote-controlled signal
Volume data, to realize remotely to the output signal switching control of the source device 30.
In some embodiments, stream medium data includes video data and audio data, which includes multiple numbers
According to packet, data include multiple data packets, and the second buffer 205 includes third cache unit and the 4th cache unit.Second caching
Device 205 is incited somebody to action using at least one data packet of the audio data received as audio buffer to be played to third cache unit
At least one data packet of the video data is as video cache to be played to the 4th cache unit.
Second processor 202 further includes that the second analysis module 2021, second removes module 2022 and the second output module
2023.Wherein, whether the amount of storage that the second analysis module 2021 is used to detect the third cache unit audio to be played is greater than
Whether third threshold value or the amount of storage of the 4th cache unit video to be played are greater than the 4th threshold value.
If the amount of storage of third cache unit audio to be played is greater than third threshold value or the 4th cache unit is to be played
The amount of storage of video is greater than the 4th threshold value, then the second removing module 2022 empties third cache unit and the 4th cache unit
Interior cached data, i.e. synchronization are clear by the video data in the audio data and the 4th cache unit in third cache unit
Zero, to ensure the synchronism of audio data and video data, with the transmission of flow media data of effective address signal emitter 20
Delay, it is ensured that stream medium data is synchronized and is sent to signal receiving device 10, plays end audio and video frequency signal difference to reduce
The phenomenon that step.
If the amount of storage of third cache unit audio to be played is less than or equal to third threshold value and the 4th cache unit
The amount of storage of video to be played is less than or equal to the 4th threshold value, then the second output module 2023 controls the second buffer 205 and will delay
The stream medium data deposited is sent to the signal receiving device 10 by the second communications module 201.
It is clear by the caching for being respectively provided with audio data and video data in sender unit 20 and signal receiving device 10
Except mechanism, to more preferably ensure the synchronism of the stream media transmission system audio-video.
In some embodiments, sender unit 10 further includes coding module, which is used for the second caching
Device 205 export stream medium data in video data and/or audio data encoded, and it is encoded after audio, video
Data are sent to the signal receiving device 10 by the second communications module 201.Wherein, the coding standard of video data can be
H.261, H.263 or H.264.
Signal receiving device 10 further includes decoder module, and decoder module is used for the first caching of the first buffer 106 is single
The audio data of 1061 output of member is decoded and/or the video data to be played of the second cache unit output is decoded, and
Exporting the decoded audio and/or video data to the playback equipment.
Referring to Fig. 6, Fig. 6 is a kind of flow-medium transmission method that one embodiment of the invention provides, the streaming media side
Method is applied to the signal receiving device 10 of stream media transmission system 100, which further includes signal transmitting dress
20 are set, sender unit 20 is communicated to connect with corresponding playback equipment 50 by transmission line, sender unit 20 and information source
Equipment 30 is communicated to connect by transmission line, which is provided with the first communications module 103, flow-medium transmission method
Including step S101-S105:
Step S101: it obtains through the received Streaming Media sent from the sender unit of first communications module
Data, the stream medium data include audio data and video data.
Sender unit 20 and source device 30 communicate to connect, and source device 30 exports stream medium data and emits to signal
Stream medium data is sent to signal receiving device 10 by the second communications module 201 by device 20, sender unit 20.Signal
Reception device 10 receives the stream medium data that the second communications module 201 is sent, the stream medium data by the first communications module 103
Including video data and audio data.
First communications module 103 and the second communications module 201 are preferably radio communication mold group.
Step S102: delay at least one data packet of the audio data received as audio buffer to be played to first
Memory cell, and using at least one data packet of the video data as video cache to be played to the second cache unit.
Data include multiple data packets, and video data includes multiple data packets, and signal receiving device 10 connects what is received
First cache unit of at least one data packet of the audio data received as audio buffer to be played to the first buffer, and
Using at least one data packet of the video data as the second cache unit of video cache to be played to the first buffer
Step S103: whether the amount of storage of detection the first cache unit audio to be played is greater than first threshold or described
Whether the amount of storage of the second cache unit video to be played is greater than second threshold.
Step S104: if the amount of storage of the first cache unit audio to be played is greater than first threshold or second caching is single
The amount of storage of member video to be played is greater than second threshold, then empties first cache unit and second cache unit.
Step S105: if the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and described second
The amount of storage of cache unit video to be played is less than or equal to second threshold, then sends audio to be played and video to be played extremely
The playback equipment being electrically connected with signal receiving device.
Preferably, audio to be played is being sent to the playback equipment by the control of signal receiving device 10 at the first time,
And control and corresponding with audio to be played will be sent to the playback equipment in the second time to unicast packets, it is big at the first time
In second time.
Referring to Fig. 7, in some embodiments, the present invention also provides a kind of signal receiving devices 10 comprising first is logical
Believe mould group 103, the first HDMI interface 102, first memory 105, first processor 104 and the first bus 106.First communication
Mould group 103, the first HDMI interface 102, first memory 105 are connect by the first bus 106 with first processor 104.
First memory 105 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory,
Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..This first is deposited
Reservoir 105, for storing computer-readable flow-medium transmission method program.
First processor 104 can be central processing unit (Central Processing Unit, CPU), controller, micro-
Controller, microprocessor or other data processing chips, first processor 104 can call the journey stored in first memory 105
Sequence code or processing data, to perform the steps of
It obtains through the received stream medium data sent from the sender unit of first communications module, it is described
Stream medium data includes audio data and video data;
Using at least one data packet of the audio data received as audio buffer to be played to the first cache unit, and
Using at least one data packet of the video data as video cache to be played to the second cache unit;
Whether the amount of storage for detecting the first cache unit audio to be played is greater than first threshold or second caching
Whether the amount of storage of unit video to be played is greater than second threshold;
If the amount of storage of the first cache unit audio to be played is greater than first threshold or second cache unit is to be played
The amount of storage of video is greater than second threshold, then empties first cache unit and second cache unit.
If the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and second cache unit
The amount of storage of video to be played is less than or equal to second threshold, then sends audio to be played and video to be played extremely connects with signal
The playback equipment of receiving apparatus electrical connection.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of signal receiving device is applied to stream media transmission system, which is characterized in that the stream media transmission system also wraps
It includes sender unit, the signal receiving device and playback equipment to communicate to connect by transmission line, the sender unit
It is communicated to connect with source device by transmission line, the signal receiving device includes the first communications module, the first buffer, first
HDMI interface and first processor;
Wherein, the first processor includes the first analysis module, the first removing module and the first output module;
First buffer is obtained through the received stream matchmaker sent from the sender unit of first communications module
Volume data, the stream medium data include audio data and video data;
First buffer is also used to using at least one data packet of the audio data as audio buffer to be played to
First cache unit of one buffer, and using at least one data packet of the video data as video cache to be played to
Second cache unit of one buffer;
Whether the amount of storage that first analysis module is used to detect the first cache unit audio to be played is greater than the first threshold
Whether value or the amount of storage of the second cache unit video to be played are greater than second threshold;
If the amount of storage of the first cache unit audio to be played is greater than first threshold or the second cache unit video to be played
Amount of storage be greater than second threshold, then the first removing module empties first cache unit and second caching is single
Member;
If the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and second cache unit waits broadcasting
The amount of storage for putting video is less than or equal to second threshold, then it is to be played to control the transmission of the first cache unit for first output module
Audio data and the second cache unit of control send video data to be played to the first HDMI interface with signal receiving device
The playback equipment of electrical connection.
2. signal receiving device as described in claim 1, it is characterised in that: first communications module is radio communication mold
Group;
The wireless communication frequency of first communications module is 2.4GHz, 5.15~5.825GHz or 60GHz.
3. signal receiving device as described in claim 1, it is characterised in that: first output module includes that delay adjustment is single
Member and output control unit;
The delay adjustment unit controls first cache unit and is sending audio to be played at the first time to output control list
Member, and control second cache unit and send audio to be played to output control unit, the first time in the second time
Greater than second time;
The audio data to be played and video data to be played output are given signal receiving device by the output control unit
The playback equipment of electrical connection.
4. signal receiving device as described in claim 1, it is characterised in that: the signal receiving device is additionally provided with infrared connect
Device is received, the infrared remote receiver is used to receive the infrared remote-controlled signal of remote control device transmitting and is converted into the infrared remote-controlled signal
Electric signal;
The first processor gives the electric signal transmission to the first communications module, to pass through the first communications module for the telecommunications
Number it is sent to sender unit.
5. a kind of stream media transmission system, which is characterized in that the stream media transmission system includes sender unit and signal
Reception device, the signal receiving device and playback equipment are communicated to connect by transmission line, the sender unit and information source
Equipment is communicated to connect by transmission line;
The signal receiving device includes: the first communications module, the first buffer, the first HDMI interface and first processor;
Wherein, the first processor includes the first analysis module, the first removing module and the first output module;
First buffer be used for obtains by first communications module it is received from the sender unit transmission
Stream medium data, the stream medium data include audio data and video data;
First buffer is also used to using at least one data packet of the audio data as audio buffer to be played to
First cache unit of one buffer, and using at least one data packet of the video data as video cache to be played to
Second cache unit of one buffer;
Whether the amount of storage that first analysis module is used to detect the first cache unit audio to be played is greater than the first threshold
Whether value or the amount of storage of the second cache unit video to be played are greater than second threshold;If the first cache unit sound to be played
The amount of storage of frequency is greater than first threshold or the amount of storage of the second cache unit video to be played is greater than second threshold, then described
First removing module empties first cache unit and second cache unit;
If the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and second cache unit waits broadcasting
The amount of storage for putting video is less than or equal to second threshold, then it is to be played to control the transmission of the first cache unit for first output module
Audio data and the second cache unit of control send video data to be played to the broadcasting being electrically connected with signal receiving device and set
It is standby.
6. stream media transmission system as claimed in claim 5, it is characterised in that:
The signal receiving device is additionally provided with infrared remote receiver, for receiving the infrared remote-controlled signal of remote control device, and will be red
Outer remote signal is converted into electric signal;
The first processor gives the electric signal transmission to the first communications module, to pass through the first communications module for the telecommunications
Number it is sent to sender unit;
The sender unit includes the second communications module, second processor and infrared transmitter;
Second communications module receives the electric signal sent by the first communications module;
The electric signal is reduced into infrared remote-controlled signal by the second processor;
The infrared remote-controlled signal is transmitted to the sender unit by the infrared transmitter, to control the signal transmitting
Device exports corresponding stream medium data.
7. stream media transmission system as claimed in claim 5, it is characterised in that: the sender unit further includes second slow
Storage;
Second processor includes the second analysis module, the second removing module and the second output module;
Second buffer is used to obtain the stream medium data exported from source device, the stream medium data include audio data with
Video data;
Second buffer is also used to using at least one data packet of audio data as audio buffer to be played to the second buffer
Third cache unit, and using at least one data packet of the video data as video cache to be played to the second buffer
The 4th cache unit;
Whether the amount of storage that second analysis module is used to detect the third cache unit audio to be played is greater than third threshold
Whether value or the amount of storage of the 4th cache unit video to be played are greater than the 4th threshold value;If third cache unit sound to be played
The amount of storage of frequency is greater than third threshold value or the amount of storage of the 4th cache unit video to be played is greater than the 4th threshold value, then described
Second removing module empties the third cache unit and the 4th cache unit;
If the amount of storage of third cache unit audio to be played is less than or equal to third threshold value and the 4th cache unit waits broadcasting
The amount of storage for putting video is less than or equal to the 4th threshold value, then second output module controls second buffer for the stream
Media data is sent to the signal receiving device by second communications module.
8. signal receiving device as claimed in claim 7, it is characterised in that: the sender unit further includes coding mould
Block, the coding module for the video data that the second buffer export to be encoded, and it is encoded after video data lead to
It crosses second communications module and is sent to the signal receiving device;
The signal receiving device further includes decoder module, the decoder module be used for by second cache unit export to
Playing video data is decoded, and is exported to the playback equipment.
9. a kind of flow-medium transmission method, is applied to signal receiving device, the signal receiving device and sender unit are logical
Letter connection, which is characterized in that the described method includes:
It obtains through the received stream medium data sent from the sender unit of first communications module, the stream matchmaker
Volume data includes audio data and video data;
Using at least one data packet of the audio data received as audio buffer to be played to the first cache unit, and by institute
State second cache unit of at least one data packet of video data as video cache to be played extremely;
Whether the amount of storage for detecting the first cache unit audio to be played is greater than first threshold or second cache unit
Whether the amount of storage of video to be played is greater than second threshold;
If the amount of storage of the first cache unit audio to be played is greater than first threshold or the second cache unit video to be played
Amount of storage be greater than second threshold, then empty first cache unit and second cache unit;
If the amount of storage of the first cache unit audio to be played is less than or equal to first threshold and second cache unit waits broadcasting
The amount of storage for putting video is less than or equal to second threshold, then send audio data to be played and video data to be played to letter
The playback equipment of number reception device electrical connection.
10. flow-medium transmission method as claimed in claim 9, which is characterized in that the audio to be played is in first time quilt
Be sent to the playback equipment, it is corresponding with audio to be played to unicast packets the second time be sent to it is described broadcasting set
Standby, the first time is greater than second time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910439788.9A CN110312159B (en) | 2019-05-24 | 2019-05-24 | Signal receiving device, streaming media transmission system and streaming media transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910439788.9A CN110312159B (en) | 2019-05-24 | 2019-05-24 | Signal receiving device, streaming media transmission system and streaming media transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110312159A true CN110312159A (en) | 2019-10-08 |
CN110312159B CN110312159B (en) | 2022-03-11 |
Family
ID=68074968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910439788.9A Active CN110312159B (en) | 2019-05-24 | 2019-05-24 | Signal receiving device, streaming media transmission system and streaming media transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110312159B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100165083A1 (en) * | 2008-12-29 | 2010-07-01 | Taiji Sasaki | Recording medium, playback device, and integrated circuit |
US8843990B1 (en) * | 2002-04-25 | 2014-09-23 | Visible World, Inc. | System and method for optimized channel switching in digital television broadcasting |
CN104113777A (en) * | 2014-08-01 | 2014-10-22 | 广州金山网络科技有限公司 | Audio stream decoding method and device |
CN104780422A (en) * | 2014-01-13 | 2015-07-15 | 北京兆维电子(集团)有限责任公司 | Streaming media playing method and streaming media player |
CN104869461A (en) * | 2015-05-22 | 2015-08-26 | 南京创维信息技术研究院有限公司 | Video data processing system and method |
CN105611309A (en) * | 2015-12-22 | 2016-05-25 | 北京奇虎科技有限公司 | Video transmission method and device |
CN105744334A (en) * | 2016-02-18 | 2016-07-06 | 海信集团有限公司 | Method and equipment for audio and video synchronization and synchronous playing |
CN106792073A (en) * | 2016-12-29 | 2017-05-31 | 北京奇艺世纪科技有限公司 | Method, playback equipment and system that the audio, video data of striding equipment is synchronously played |
CN107483976A (en) * | 2017-09-26 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Live management-control method, device and electronic equipment |
CN107517400A (en) * | 2016-06-15 | 2017-12-26 | 成都鼎桥通信技术有限公司 | Flow media playing method and DST PLAYER |
CN107770597A (en) * | 2017-09-28 | 2018-03-06 | 北京小鸟科技股份有限公司 | Audio and video synchronization method and device |
CN108012177A (en) * | 2017-12-01 | 2018-05-08 | 晨星半导体股份有限公司 | The playback method of audio-video frequency playing system and the voice data being applied thereon |
CN109587551A (en) * | 2017-09-29 | 2019-04-05 | 北京金山云网络技术有限公司 | A kind of judgment method, device, equipment and the storage medium of live streaming media Caton |
-
2019
- 2019-05-24 CN CN201910439788.9A patent/CN110312159B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8843990B1 (en) * | 2002-04-25 | 2014-09-23 | Visible World, Inc. | System and method for optimized channel switching in digital television broadcasting |
US20100165083A1 (en) * | 2008-12-29 | 2010-07-01 | Taiji Sasaki | Recording medium, playback device, and integrated circuit |
CN104780422A (en) * | 2014-01-13 | 2015-07-15 | 北京兆维电子(集团)有限责任公司 | Streaming media playing method and streaming media player |
CN104113777A (en) * | 2014-08-01 | 2014-10-22 | 广州金山网络科技有限公司 | Audio stream decoding method and device |
CN104869461A (en) * | 2015-05-22 | 2015-08-26 | 南京创维信息技术研究院有限公司 | Video data processing system and method |
CN105611309A (en) * | 2015-12-22 | 2016-05-25 | 北京奇虎科技有限公司 | Video transmission method and device |
CN105744334A (en) * | 2016-02-18 | 2016-07-06 | 海信集团有限公司 | Method and equipment for audio and video synchronization and synchronous playing |
CN107517400A (en) * | 2016-06-15 | 2017-12-26 | 成都鼎桥通信技术有限公司 | Flow media playing method and DST PLAYER |
CN106792073A (en) * | 2016-12-29 | 2017-05-31 | 北京奇艺世纪科技有限公司 | Method, playback equipment and system that the audio, video data of striding equipment is synchronously played |
CN107483976A (en) * | 2017-09-26 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Live management-control method, device and electronic equipment |
CN107770597A (en) * | 2017-09-28 | 2018-03-06 | 北京小鸟科技股份有限公司 | Audio and video synchronization method and device |
CN109587551A (en) * | 2017-09-29 | 2019-04-05 | 北京金山云网络技术有限公司 | A kind of judgment method, device, equipment and the storage medium of live streaming media Caton |
CN108012177A (en) * | 2017-12-01 | 2018-05-08 | 晨星半导体股份有限公司 | The playback method of audio-video frequency playing system and the voice data being applied thereon |
Also Published As
Publication number | Publication date |
---|---|
CN110312159B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102946570B (en) | Transmission system and method for multi-stream streaming media of self-adaption network bandwidth | |
CN109327728A (en) | One kind is one-to-many to shield together methods, devices and systems, with screen equipment and storage medium | |
CN106792055A (en) | Screen method, equipment and system are thrown in real time | |
CN105472477A (en) | Data transmission method, device and equipment | |
CN103414894A (en) | Wireless real-time screen transfer equipment and method | |
CN201491138U (en) | Wireless high-definition transceiver and television with wireless receiving function | |
CN101855900A (en) | Bi-directional digital interface for video and audio (diiva) | |
CN1653817A (en) | Control of an AV content source component by an av content sink component | |
CN101883097A (en) | Method and device for realizing that server equipment shares screen of client equipment | |
US20080024663A1 (en) | Content receiver terminal device with zapping response improved in viewing multi-channel video content | |
US6731347B1 (en) | Method for switching signal input based on device capability | |
CN102348117A (en) | System of transmitting digital high definition signal with low bandwidth, method thereof and network multimedia television | |
CN103313095A (en) | Video transmission method, play method, terminal and server | |
JP5428734B2 (en) | Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system | |
WO2000062499A1 (en) | Method and apparatus for determining signal path | |
CN202663483U (en) | Television set and control system of television set | |
CN1258167A (en) | Digital broadcast receiving system, data transmitting method and digital broadcast receiving apparatus | |
CN102769737A (en) | Video image switching method and system | |
CN110312159A (en) | A kind of signal receiving device, stream media transmission system and flow-medium transmission method | |
CN110213646A (en) | A kind of display control unit, display control program and display control method | |
CN110189511A (en) | A kind of signal receiving device, wireless transmitting system and signal switching method | |
CN201123043Y (en) | Household wireless multimedia game system | |
CN201156782Y (en) | Television set | |
CN104244050A (en) | Streaming media player and playing method of vehicle navigation system | |
CN110798688A (en) | High-definition video compression coding system based on real-time transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |