CN106792116B - Code stream recording and playing device, system and method - Google Patents

Code stream recording and playing device, system and method Download PDF

Info

Publication number
CN106792116B
CN106792116B CN201611165284.5A CN201611165284A CN106792116B CN 106792116 B CN106792116 B CN 106792116B CN 201611165284 A CN201611165284 A CN 201611165284A CN 106792116 B CN106792116 B CN 106792116B
Authority
CN
China
Prior art keywords
frequency signal
signal
module
modulation
code stream
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
CN201611165284.5A
Other languages
Chinese (zh)
Other versions
CN106792116A (en
Inventor
古伟锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201611165284.5A priority Critical patent/CN106792116B/en
Publication of CN106792116A publication Critical patent/CN106792116A/en
Application granted granted Critical
Publication of CN106792116B publication Critical patent/CN106792116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The invention discloses a code stream recording and playing device, a system and a method, wherein the code stream recording and playing device comprises a tuning module, a modulation/demodulation module and a micro control module; the micro control module judges the working mode of the code stream recording and playing device; while operating in the recording mode: the tuning module converts the input high-frequency signal into an intermediate-frequency signal and outputs the intermediate-frequency signal to the modulation/demodulation module; the modulation/demodulation module converts the intermediate frequency signal to output a stream media signal; the micro control module converts the streaming media signal and outputs a coded signal to a terminal; when the device is operating in the play mode: the micro control module also decodes the coded signal sent by the terminal and outputs a stream media signal to the modulation/demodulation module; the modulation/demodulation module is also used for modulating the streaming media signal and outputting an intermediate frequency signal to the tuning module; the tuning module also converts the intermediate frequency signal output by the modulation/demodulation module into a high frequency signal and outputs the high frequency signal. The technical scheme of the invention can record and play the code stream simultaneously, and is convenient to use.

Description

Code stream recording and playing device, system and method
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a device, a system, and a method for recording and playing a code stream.
Background
The code stream (i.e., Data Rate) is the Data flow Rate used by the video file in a unit time, also called code Rate, and is the most important part in controlling the picture quality in video coding. The recording and playing of the code stream have important significance in the product development process, firstly, real-time signals can be recorded, and the code stream can be played after being stored, so that the carrying of code stream information and the simple requirement of cross-ground transmission are facilitated; and secondly, the development end is convenient to understand, analyze and discriminate code stream information of an actual field, and research and development of targeted test for code streams and verification of convenience problems are facilitated.
In the prior art, a code stream recording instrument for outsourcing is often needed to record code stream information of an actual site, the code stream recording instrument cannot be used as a playing instrument, the function is single, and a coding modulator is required to be additionally arranged at a playing terminal, so that the cost is increased, and the use is very inconvenient.
Disclosure of Invention
The invention mainly aims to provide a code stream recording and playing device, and aims to provide a device capable of recording and playing code streams simultaneously, which is convenient to use.
In order to achieve the above object, the present invention provides a code stream recording and playing device, which includes a tuning module, a modulation/demodulation module, and a micro control module; the micro control module is used for judging the working mode of the code stream recording and playing device;
when the code stream recording and playing device works in a recording mode:
the tuning module is used for converting an input high-frequency signal into an intermediate-frequency signal and outputting the intermediate-frequency signal to the modulation/demodulation module;
the modulation/demodulation module is used for converting the input intermediate frequency signal and then outputting a stream media signal;
the micro control module is used for converting the streaming media signal and outputting a coding signal to an external terminal;
when the code stream recording and playing device works in a playing mode:
the micro control module is also used for converting the coding signal sent by the external terminal and outputting the streaming media signal to the modulation/demodulation module,
the modulation/demodulation module is also used for converting the streaming media signal and outputting an intermediate frequency signal to the tuning module,
the tuning module is further configured to convert the intermediate frequency signal output by the modulation/demodulation module into a high frequency signal and output the high frequency signal.
Preferably, the modulation/demodulation module comprises an analog/digital conversion unit, a processing unit, and a transport stream unit;
when the code stream recording and playing device works in a recording mode:
the analog/digital conversion unit is used for converting an input analog intermediate frequency signal into a digital intermediate frequency signal;
the processing unit is used for demodulating and decoding the digital intermediate frequency signal and then outputting a stream media signal;
the transmission flow unit is used for sending a flow media signal to the micro control module;
when the code stream recording and playing device works in a playing mode:
the transmission flow unit is also used for receiving the flow media signal sent by the micro control module;
the processing unit is also used for encoding and modulating the streaming media signal and then outputting a digital intermediate frequency signal;
the analog/digital conversion unit is also used for converting the input digital intermediate frequency signal into an analog intermediate frequency signal.
Preferably, the modulation/demodulation module further comprises an automatic gain unit for adjusting the strength of the intermediate frequency signal output or received by the tuning module.
Preferably, the micro control module comprises a general programmable unit, a USB conversion unit and a CPU unit; wherein the content of the first and second substances,
the CPU is used for judging the working mode of the code stream recording and playing device;
when the code stream recording and playing device works in a recording mode:
the general programmable unit is used for receiving the streaming media signal output by the modulation/demodulation module and sending the streaming media signal to the USB conversion unit;
the USB conversion unit is used for encoding the streaming media signal and outputting a USB signal to a terminal;
when the code stream recording and playing device works in a playing mode:
the USB conversion unit is also used for decoding the USB signal output by the terminal and outputting a streaming media signal to the general programmable unit;
the general programmable unit is further configured to send the streaming media signal output by the USB conversion unit to the modulation/demodulation module.
The invention also provides a code stream recording and playing system, which comprises the code stream recording and playing device and the terminal;
the terminal outputs a mode signal;
and the micro control module is used for judging the working mode of the code stream recording and playing device according to the mode signal.
The invention also provides a code stream recording and playing method, which comprises the following steps:
receiving a terminal output mode signal through a micro control module, and judging the working mode of the code stream recording and playing device according to the mode signal;
when the code stream recording and playing device works in a recording mode:
the tuning module converts the input high-frequency signal and outputs an intermediate-frequency signal to the modulation/demodulation module;
the modulation/demodulation module converts the input intermediate frequency signal and then outputs a stream media signal;
the micro control module converts the streaming media signal and outputs a coded signal to an external terminal;
when the code stream recording and playing device works in a playing mode:
the micro control module converts a coding signal sent by an external terminal and then outputs a streaming media signal to the modulation/demodulation module;
the modulation/demodulation module converts the streaming media signal and outputs an intermediate frequency signal to the tuning module;
and the tuning module converts the intermediate frequency signal output by the modulation/demodulation module into a high frequency signal and outputs the high frequency signal.
Preferably, the step "the tuning module converts the input high frequency signal into an intermediate frequency signal and outputs the intermediate frequency signal to the modulation/demodulation module" includes the steps of:
the analog/digital conversion unit converts an input analog intermediate frequency signal into a digital intermediate frequency signal;
the processing unit demodulates and decodes the digital intermediate frequency signal and then outputs a stream media signal;
and the transmission flow unit sends a flow media signal to the micro control module.
Preferably, the step of "the modulation/demodulation module modulates the streaming media signal and outputs an intermediate frequency signal to the tuning module" includes:
the transmission flow unit receives the flow media signal sent by the micro control module;
the processing unit encodes and modulates the streaming media signal and outputs a digital intermediate frequency signal;
the analog/digital conversion unit converts an input digital intermediate frequency signal into an analog intermediate frequency signal.
Preferably, the step of decoding the input intermediate frequency signal by the modulation/demodulation module and outputting the streaming media signal comprises:
the general programmable unit receives the streaming media signal output by the modulation/demodulation module and sends the streaming media signal to the USB conversion unit;
and the USB conversion unit encodes the streaming media signal and outputs a USB signal to the terminal.
Preferably, the step of decoding, by the micro control module, the encoded signal sent by the external terminal and outputting the streaming media signal to the modulation/demodulation module includes:
the USB conversion unit decodes the USB signal output by the terminal and outputs a stream media signal to the general programmable unit;
and the universal programmable unit is used for sending the streaming media signal output by the USB conversion unit to the modulation/demodulation module.
The technical scheme of the invention forms a code stream recording and playing device by adopting a tuning module, a modulation/demodulation module and a micro-control module. The microcontroller receives the state signal sent by the terminal and judges the working mode of the code stream recording and playing device. When the recording module works in a recording mode, a high-frequency signal is input into the tuning module and converted into an intermediate-frequency signal, and the intermediate-frequency signal is converted by the modulation/demodulation module and the micro-control module and then outputs a coded signal to a terminal; when the digital television works in a play mode, the microcontroller receives a coded signal output by the terminal, decodes the coded signal into a streaming media signal, converts the streaming media signal into an intermediate frequency signal through the modulation/demodulation module, and converts the intermediate frequency signal into a high frequency signal through the tuning module for output. Therefore, the code stream recording and playing device can process code stream data in two directions, realizes the recording and playing of the code stream, and compared with the traditional single recording or playing device, the technical scheme of the invention effectively reduces the cost and is convenient to use.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the flows shown in the drawings without creative efforts.
Fig. 1 is a functional block diagram of an embodiment of a code stream recording and playing apparatus according to the present invention;
FIG. 2 is a functional block diagram of an embodiment of a system for recording and playing code streams according to the present invention;
fig. 3 is a schematic flow chart of a code stream recording and playing method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a further embodiment of the code stream recording and playing method of the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
100 Tuning module 300 Micro control unit
110 First tuning module 310 CPU unit
120 Second tuning module 320 Universal programmable cell
200 Modulation/demodulation module 330 USB conversion unit
210 Analog/digital conversion unit 340 Bus controller
220 Processing unit 400 Terminal device
230 Stream transfer unit 410 Recording unit
240 Automatic gain unit 420 Play unit
250 HOST bus 430 Bottom drive unit
260 Bus interface 500 USB interface
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a code stream recording and playing device.
Referring to fig. 1, in the embodiment of the present invention, the code stream recording and playing apparatus includes a tuning module 100, a modulation/demodulation module 200, and a micro control module 300; the micro control module 300 is configured to receive a status signal sent by the terminal 400, and the micro control module 300 is configured to determine a working mode of the code stream recording and playing apparatus according to the status signal, where it is easy to understand that the code stream recording and playing apparatus has a recording mode and a playing mode. The play mode is that the encoded data is received from the terminal 400, and the high-frequency signal is output after the encoded data is processed by the code stream recording and playing device; the recording mode is to receive the high frequency signal, output the coded signal to the terminal 400 after being processed by the code stream recording and playing device, and store in the terminal 400.
When the code stream recording and playing device works in a recording mode:
the tuning module 100 is configured to convert an input high-frequency signal into an intermediate-frequency signal and output the intermediate-frequency signal to the modulation/demodulation module 200; the modulation/demodulation module 200 is configured to convert an input intermediate frequency signal and output a streaming media signal; the micro control module 300 is configured to convert the streaming media signal and output a coded signal to an external terminal 400.
When the code stream recording and playing device works in a playing mode:
the micro control module 300 is further configured to convert a coded signal sent by an external terminal 400 and output a streaming media signal to the modulation/demodulation module 200; the modulation/demodulation module 200 is further configured to convert the streaming media signal and output an intermediate frequency signal to the tuning module 100; the tuning module 100 is further configured to convert the intermediate frequency signal output by the modulation/demodulation module 200 into a high frequency signal and output the high frequency signal.
It should be noted that the high-frequency signal is a radio-frequency signal, in this embodiment, the tuning module 100, i.e., Tuner module, includes a first tuning module 110 and a second tuning module 120, and both the first tuning module 110 and the second tuning module 120 are connected to the modulation/demodulation module 200. The first tuning module 110 is used for converting a high-frequency signal or an intermediate-frequency signal of DVB-T/T2, DVB-C, ATSC and ISDB-T standards; the second tuning module 120 is used for converting a high frequency signal or an intermediate frequency signal of a DVB-S/S2 standard. DVB and ISDB are terrestrial digital video broadcasting transmission standards. DVB-T/T2, DVB-C, ATSC, ISDB-T, and DVB-S/S2 are digital video broadcasting transmission systems commonly used in different countries and regions. By converting high-frequency signals or intermediate-frequency signals of different systems, the code stream recording and playing device can record or play code stream signals of the existing common system, and the universality is improved.
The modulation/demodulation module 200, i.e., the Demodulator module, may be implemented by using a modulation/demodulation chip. The micro control module 300, i.e. a Microcontroller module, is further provided with a common USB interface 500 connected to the terminal 400, and the USB interface 500 may also be implemented by other ports, such as VGA, DVI ports, and the like.
The technical scheme of the invention forms a code stream recording and playing device by adopting the tuning module 100, the modulation/demodulation module 200 and the micro-control module 300. The microcontroller receives the status signal sent by the terminal 400 and judges the working mode of the code stream recording and playing device. When the recording device works in the recording mode, a high-frequency signal is input to the tuning module 100 and converted into an intermediate-frequency signal, and the intermediate-frequency signal is converted by the modulation/demodulation module 200 and the micro-control module 300 and then an encoded signal is output to the terminal 400; when the micro control module 300 works in the play mode, the micro control module 300 receives the encoded signal output by the terminal 400, decodes the encoded signal into a streaming media signal, converts the streaming media signal into an intermediate frequency signal through the modulation/demodulation module 200, and converts the intermediate frequency signal into a high frequency signal through the tuning module 100 for output. Therefore, the code stream recording and playing device can process code stream data in two directions, realizes the recording and playing of the code stream, and compared with the traditional single recording or playing device, the technical scheme of the invention effectively reduces the use cost and is convenient to use.
Specifically, the modulation/demodulation module 200 includes an analog/digital conversion unit 210, a processing unit 220, and a transport stream unit 230;
when the code stream recording and playing device works in a recording mode:
the analog/digital conversion unit 210 is configured to convert an input analog intermediate frequency signal into a digital intermediate frequency signal; the processing unit 220 is configured to demodulate and decode the digital intermediate frequency signal and output a stream media signal; the transmission stream unit 230 is configured to send a streaming media signal to the micro control module 300.
When the code stream recording and playing device works in a playing mode:
the transmission stream unit 230 is further configured to receive a streaming media signal sent by the micro control module 300; the processing unit 220 is further configured to encode and modulate the streaming media signal and output a digital intermediate frequency signal; the analog/digital conversion unit 210 is further configured to convert the input digital intermediate frequency signal into an analog intermediate frequency signal and output the analog intermediate frequency signal.
It should be noted that the analog/digital conversion unit 210, i.e. the ADC unit, needs to be converted into a digital signal when being processed by the modulation/demodulation module 200, because the external high-frequency signal is a radio frequency analog signal.
A processing unit 220, namely a Demodulator and Decoder unit, configured to demodulate an input intermediate frequency signal, and encode the demodulated intermediate frequency signal to obtain a TS stream signal; or decoding the input TS stream signal, modulating and outputting an intermediate frequency signal.
The transport stream unit 230 is used for transmitting or receiving TS stream signals.
Further, the modulation/demodulation module 200 further includes an automatic gain unit 240, and the automatic gain unit 240 is configured to adjust the magnitude of the intermediate frequency signal strength output or received by the tuning module 100. For example, when the strength of the high frequency signal input to the tuning module 100 exceeds the upper threshold, the automatic gain unit 240 adjusts the strength of the high frequency signal down, i.e., limits the amplitude of the high frequency signal, so that the strength of the output intermediate frequency signal is within a suitable range. Conversely, when the strength of the high frequency signal input to the tuning module 100 is lower than the lower threshold, the automatic gain unit 240 increases the amplitude of the high frequency signal so that the strength of the output intermediate frequency signal is within a suitable range.
Specifically, the micro control module 300 includes a general programmable unit 310, a USB conversion unit 320, and a CPU unit 310; wherein, the CPU unit 310 in this embodiment is implemented by an 8051 single chip microcomputer, where the CPU unit 310 receives a status signal sent by the terminal 400, determines a working mode of the code stream recording and playing apparatus,
when the code stream recording and playing device works in a recording mode:
the general programmable unit 310 is configured to receive the streaming media signal output by the modulation/demodulation module 200 and send the streaming media signal to the USB conversion unit 320; the USB conversion unit 320 is configured to encode the streaming media signal and output the encoded streaming media signal to the terminal 400.
When the code stream recording and playing device works in a playing mode:
the USB conversion unit 320 is further configured to decode the USB signal output by the terminal 400, output a streaming media signal, and output the streaming media signal to the general programmable unit 310; the general programmable unit 310 is further configured to send the streaming media signal output by the USB conversion unit 320 to the modulation/demodulation module 200.
It should be noted that, in the embodiment, the interface of the micro control module 300 output to the terminal 400 is a USB interface, and therefore, the TS stream signal needs to be converted into a USB signal.
A General Programmable unit 310, i.e., a General Programmable I/F unit; and a USB conversion unit 320, namely a Smart USB Engine unit. The micro controller unit further includes a bus controller 340, the modulation/demodulation module 200 includes a HOST bus 250 and a bus interface 260, the bus controller 340 is connected to the HOST bus 250, the HOST bus 250 is connected to the Demodulator & Decoder unit and the bus interface 260, and the bus interface 260 is connected to the first tuner module 110 and the second tuner module 120. After the CPU unit 310 receives the mode signal and the related instruction sent by the terminal 400, the bus controller 340 is controlled to transmit the mode signal and the related instruction to the modulation/demodulation module 200 and the tuning module 100 through the bus, so as to set the working mode and control the whole code stream recording and playing apparatus to operate according to the predetermined timing sequence.
Based on the above code stream recording and playing device, referring to fig. 2, the invention further provides a code stream recording and playing system, which includes a tuning module 100, a modulation/demodulation module 200, a micro control module 300, and a terminal 400. In this embodiment, the terminal 400 is a mobile terminal 400, which may be an intelligent device such as a notebook computer. The terminal 400 is installed with an APP for controlling a code stream recording and playing device, and the mode signal (recording mode or playing mode) is sent by the user through the APP and is output to the CPU unit 310.
The terminal 400 outputs a mode signal;
the micro control module 300 judges the working mode of the code stream recording and playing device according to the mode signal;
when the code stream recording and playing device works in a recording mode:
the tuner module 100 converts an input high frequency signal into an intermediate frequency signal and outputs the intermediate frequency signal to the modulation/demodulation module 200;
the modulation/demodulation module 200 converts the input intermediate frequency signal and outputs a stream media signal; the micro control module 300 converts the streaming media signal and outputs a coded signal to an external terminal 400.
When the code stream recording and playing device works in a playing mode:
the micro control module 300 converts the coded signal sent by the external terminal 400 and outputs the streaming media signal to the modulation/demodulation module 200, and the modulation/demodulation module 200 converts the streaming media signal and outputs the intermediate frequency signal to the tuning module 100; the tuning module 100 converts the intermediate frequency signal output by the modulation/demodulation module 200 into a high frequency signal and outputs the high frequency signal.
The terminal 400 comprises a recording unit 410, a playing unit 420 and a bottom layer driving unit 430, wherein a user generates a recording mode signal through the recording unit 410, outputs the mode signal through the bottom layer driving unit 430, controls a code stream recording and playing device to record a code stream, and the bottom layer driving unit stores the code stream input by the micro control module 300 at a designated position; the user also outputs a play mode signal through the play unit 420, and outputs a mode signal through the bottom layer driving unit 430, controls the code stream recording and playing device to play the code stream, and outputs the code stream to the micro control module 300 from a designated position.
Based on the code stream recording and playing system, referring to fig. 3, the invention also provides a code stream recording and playing method, which comprises the following steps:
s10, the micro control module 300 receives the mode signal output by the terminal 400, and judges the working mode of the code stream recording and playing device according to the mode signal;
when the code stream recording and playing device works in a recording mode:
s20, the tuning module 100 converts the input high frequency signal and outputs an intermediate frequency signal to the modulation/demodulation module 200; s30, the modulation/demodulation module 200 converts the input intermediate frequency signal and outputs a streaming media signal; s40, the micro control module 300 converts the streaming media signal and outputs the encoded signal to the external terminal 400.
When the code stream recording and playing device works in a playing mode:
s50, the micro control module 300 converts the coded signal sent by the external terminal 400 and outputs the streaming media signal to the modulation/demodulation module 200; s60, the modulation/demodulation module 200 converts the streaming media signal and outputs an intermediate frequency signal to the tuning module 100; s70, the tuning module 100 converts the intermediate frequency signal output by the modulation/demodulation module 200 into a high frequency signal and outputs the high frequency signal.
Further, referring to fig. 4, the modulation/demodulation module 200 includes an analog/digital conversion unit 210, a processing unit 220, and a transport stream unit 230, and the step "the tuning module 100 converts an input high frequency signal into an intermediate frequency signal and outputs the intermediate frequency signal to the modulation/demodulation module 200" includes the steps of:
s31, the analog/digital conversion unit 210, converting the input analog if signal into a digital if signal;
s32, the processing unit 220 demodulates and decodes the digital intermediate frequency signal to output a streaming media signal;
s33, the transmission stream unit 230 sends a stream media signal to the micro control module 300.
Specifically, the step "the modulation/demodulation module 200 modulates the streaming media signal and outputs the intermediate frequency signal to the tuning module 100" includes:
s61, the transmission stream unit 230 receives the streaming media signal sent by the micro control module 300;
s62, the processing unit 220 encodes and modulates the streaming media signal and outputs a digital intermediate frequency signal;
s63, the analog/digital conversion unit 210 converts the input digital intermediate frequency signal into an analog intermediate frequency signal.
Further, the micro control module 300 includes a general programmable unit 310 and a USB conversion unit 320; the step of decoding the input intermediate frequency signal by the modulation/demodulation module 200 to output the streaming media signal includes:
s41, the general programmable unit 310 receives the streaming media signal output by the modulation/demodulation module 200 and sends the streaming media signal to the USB conversion unit 320;
s42, the USB conversion unit 320 encodes the streaming media signal and outputs the encoded streaming media signal to the terminal 400.
Further, the step of "the micro control module 300 decodes the coded signal sent by the external terminal 400 and outputs the streaming media signal to the modulation/demodulation module 200" includes:
s51, the USB conversion unit 320 decodes the USB signal output by the terminal 400, and outputs an output streaming media signal, and outputs the decoded output streaming media signal to the general programmable unit 310;
s52, the general programmable unit 310 sends the streaming media signal output by the USB conversion unit 320 to the modulation/demodulation module 200.
Now, with reference to fig. 1 to fig. 4, the method for recording and playing code stream will be further described:
step 1: the tuner module 100 receives a high frequency Radio Frequency (RF) signal from an external antenna, and the RF signal is tuned to an Intermediate Frequency (IF) signal through the tuner module 100 and sent to the modem module 200, and the operation is performed by the automatic gain unit 240 of the modem module and the bus (I)2C) And (5) controlling signals.
Step 2: the modulation/demodulation module 200 receives an Intermediate Frequency (IF) signal from the tuner module 100, performs analog-to-digital conversion (ADC), and then sends the IF signal to the processing unit 220 (i.e., Demodulator & Decoder unit) for demodulation and decoding. The working process is controlled by the bus signal of the micro control module 300, and the tuning module 100 is also controlled by the bus signal and the automatic gain unit 240;
and step 3: the processing unit 220 in the modulation/demodulation module 200 outputs a TS stream, which is transmitted to the micro control module 300 through the stream transmission unit, and the working process is controlled by the bus signal of the micro control module 300.
And 4, step 4: the General Programmable unit 310 (i.e., General Programmable I/F) of the micro control module 300 receives the TS stream signal from the micro control module 300. The working process is controlled by bus signals.
And 5: the general programmable unit 310 of the micro control module 300 sends the received TS stream signal to the USB conversion unit 320 (i.e. Smart USB Engine unit), and the TS stream signal is packetized with the bus signal in the USB conversion unit 320 and then converted into a USB signal encoded in the USB format. The operation of which is controlled by the CPU unit 310.
Step 6: the packed USB signal is sent to the USB interface 500 by the USB conversion unit 320. The operation is controlled by the CPU and the modulation/demodulation module 200 is controlled by a bus signal.
And 7: the USB signal is transmitted to the bottom driver unit of the application program of the terminal 400 through the USB interface 500. And the bottom application program receives and analyzes the USB signal and records and archives the data.
And 8: the analyzed data information is controlled by a user to be recorded and filed.
The playing mode of the embodiment of the invention comprises the following steps:
step 1: in the application program, the system and the code stream information to be played are selected, the playing is selected, and the corresponding code stream information is transmitted into the bottom layer driving unit 430 of the application program.
Step 2: the code stream information is transmitted to the bottom layer driving unit and converted into a transmittable USB signal stream, and the transmittable USB signal stream is processed by the bottom layer driving unit and then transmitted to the USB interface 500.
And step 3: the USB interface 500 sends the packed USB signal to the USB conversion unit 320 of the micro control module 300. The operation of which is controlled by the CPU unit 310.
And 4, step 4: the USB conversion unit 320 of the micro control module 300 is controlled by the CPU unit 310, decodes the received signal, converts the signal into a data signal and a control signal, sends the control signal to the I2C control module, and converts the data signal into a TS stream signal to send to the general programmable unit 310. The operation of which is controlled by the CPU unit 310.
And 5: the bus signal is sent to the modem module 200 through the general programmable unit 310, and the bus signal is also sent to the modem module.
Step 6: the modulation/demodulation module 200 receives the TS stream from the micro control module 300, and transmits the TS stream to the processing unit 220 through the stream transfer unit. The working process is controlled by the bus signal of the microcontroller module.
And 7: the processing unit 220 of the modem module receives the TS stream signal, encodes and modulates the TS stream signal, and outputs an Intermediate Frequency (IF) signal to the tuner module 100 after the output signal is converted (ADC) by the digital-to-analog conversion unit, where the working process is controlled by the bus signal of the micro control module 300, and the tuner module 100 is also controlled by the bus signal and the automatic gain unit 240.
And 8: the tuner module 100 receives an Intermediate Frequency (IF) signal from the modulator/demodulator module 200, converts the IF signal into a high frequency Radio Frequency (RF) signal through the tuner module 100, and transmits the RF signal to an external antenna, and the operation process is controlled by the automatic gain unit 240 of the modulator/demodulator module 200 and a bus signal.
Therefore, the system realizes the recording and playing of the code stream in the same system, and simultaneously can process the common broadcast television signals of DVB-T/T2, DVB-C, ATSC and ISDB-T, DVB-S/S2 modes, and has comprehensive functions.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent flow changes made by using the contents of the present specification and the drawings or directly/indirectly applied to other related technical fields under the inventive concept of the present invention are included in the scope of the present invention.

Claims (10)

1. A code stream recording and playing device is characterized by comprising a tuning module, a modulation/demodulation module and a micro control module; the tuning module comprises a first tuning module and a second tuning module; wherein the content of the first and second substances,
the micro control module receives a mode signal sent by the terminal and judges the working mode of the code stream recording and playing device;
when the code stream recording and playing device works in a recording mode:
the tuning module is used for converting an input high-frequency signal into an intermediate-frequency signal and outputting the intermediate-frequency signal to the modulation/demodulation module; the first tuning module is used for converting the input high-frequency signal into an intermediate-frequency signal by using the first tuning module when the input high-frequency signal is in a first preset signal system and outputting the intermediate-frequency signal to the modulation/demodulation module; the first tuning module is used for converting the input high-frequency signal into an intermediate-frequency signal by using the second tuning module when the input high-frequency signal is in a second preset signal system and outputting the intermediate-frequency signal to the modulation/demodulation module;
the modulation/demodulation module is used for converting the input intermediate frequency signal and then outputting a stream media signal;
the micro control module is used for converting the streaming media signal and outputting a coding signal to an external terminal;
when the code stream recording and playing device works in a playing mode:
the micro control module is also used for converting a coding signal sent by an external terminal and outputting a streaming media signal to the modulation/demodulation module;
the modulation/demodulation module is further configured to convert the streaming media signal and output an intermediate frequency signal to the tuning module;
the tuning module is further configured to convert the intermediate frequency signal output by the modulation/demodulation module into a high frequency signal and output the high frequency signal; the first tuning module is further used for converting the input intermediate frequency signal into a high-frequency signal by using the first tuning module when the input intermediate frequency signal is in a first preset signal system and outputting the high-frequency signal; and the first tuning module is used for converting the input intermediate frequency signal into a high-frequency signal by using the second tuning module when the input intermediate frequency signal is in a second preset signal system and outputting the high-frequency signal.
2. The stream recording and playing device according to claim 1, wherein the modulation/demodulation module includes an analog/digital conversion unit, a processing unit and a stream transmission unit;
when the code stream recording and playing device works in a recording mode:
the analog/digital conversion unit is used for converting an input analog intermediate frequency signal into a digital intermediate frequency signal;
the processing unit is used for demodulating and decoding the digital intermediate frequency signal and then outputting a stream media signal;
the transmission flow unit is used for sending a flow media signal to the micro control module;
when the code stream recording and playing device works in a playing mode:
the transmission flow unit is also used for receiving the flow media signal sent by the micro control module;
the processing unit is also used for encoding and modulating the streaming media signal and then outputting a digital intermediate frequency signal;
the analog/digital conversion unit is also used for converting the input digital intermediate frequency signal into an analog intermediate frequency signal.
3. The stream recording and playing apparatus of claim 2, wherein the modulation/demodulation module further comprises an automatic gain unit, and the automatic gain unit is configured to adjust an intensity of the intermediate frequency signal output or received by the tuning module.
4. The stream recording and playing device according to claim 1, wherein the micro control module includes a general programmable unit, a USB conversion unit and a CPU unit; wherein the content of the first and second substances,
the CPU unit is used for judging the working mode of the code stream recording and playing device,
when the code stream recording and playing device works in a recording mode:
the general programmable unit is used for receiving the streaming media signal output by the modulation/demodulation module and sending the streaming media signal to the USB conversion unit;
the USB conversion unit is used for encoding the streaming media signal and outputting a USB signal to a terminal;
when the code stream recording and playing device works in a playing mode:
the USB conversion unit is also used for decoding the USB signal output by the terminal and outputting a streaming media signal to the general programmable unit;
the general programmable unit is further configured to send the streaming media signal output by the USB conversion unit to the modulation/demodulation module.
5. A code stream recording and playing system, characterized in that the code stream recording and playing system comprises the code stream recording and playing device and the terminal according to any one of claims 1-4; wherein the content of the first and second substances,
the terminal outputs a mode signal;
and the micro control module is used for judging the working mode of the code stream recording and playing device according to the mode signal.
6. A code stream recording and playing method, which is used for the code stream recording and playing device according to any one of claims 1-4, and is characterized in that the method comprises the following steps:
the micro control module receives a mode signal sent by the terminal and judges the working mode of the code stream recording and playing device;
when the code stream recording and playing device works in a recording mode:
the tuning module converts the input high-frequency signal and outputs an intermediate-frequency signal to the modulation/demodulation module; the first tuning module is used for converting the input high-frequency signal into an intermediate-frequency signal by using the first tuning module when the input high-frequency signal is in a first preset signal system and outputting the intermediate-frequency signal to the modulation/demodulation module; the first tuning module is used for converting the input high-frequency signal into an intermediate-frequency signal by using the second tuning module when the input high-frequency signal is in a second preset signal system and outputting the intermediate-frequency signal to the modulation/demodulation module;
the modulation/demodulation module converts the input intermediate frequency signal and then outputs a stream media signal;
the micro control module converts the streaming media signal and outputs a coded signal to an external terminal;
when the code stream recording and playing device works in a playing mode:
the micro control module converts a coding signal sent by an external terminal and then outputs a streaming media signal to the modulation/demodulation module;
the modulation/demodulation module converts the streaming media signal and outputs an intermediate frequency signal to the tuning module;
the tuning module converts the intermediate frequency signal output by the modulation/demodulation module into a high frequency signal and outputs the high frequency signal; the first tuning module is further used for converting the input intermediate frequency signal into a high-frequency signal by using the first tuning module when the input intermediate frequency signal is in a first preset signal system and outputting the high-frequency signal; and the first tuning module is used for converting the input intermediate frequency signal into a high-frequency signal by using the second tuning module when the input intermediate frequency signal is in a second preset signal system and outputting the high-frequency signal.
7. The code stream recording and playing method according to claim 6, wherein the modulation/demodulation module includes an analog/digital conversion unit, a processing unit and a transmission stream unit; the step of converting the input high frequency signal into an intermediate frequency signal by the tuning module and outputting the intermediate frequency signal to the modulation/demodulation module comprises the following steps:
the analog/digital conversion unit converts an input analog intermediate frequency signal into a digital intermediate frequency signal;
the processing unit demodulates and decodes the digital intermediate frequency signal and then outputs a stream media signal;
and the transmission flow unit sends a flow media signal to the micro control module.
8. The code stream recording and playing method according to claim 7, wherein the modulation/demodulation module further includes an automatic gain unit; the step of modulating the streaming media signal by the modulation/demodulation module and outputting an intermediate frequency signal to the tuning module includes:
the transmission flow unit receives the flow media signal sent by the micro control module;
the processing unit encodes and modulates the streaming media signal and outputs a digital intermediate frequency signal;
the analog/digital conversion unit converts an input digital intermediate frequency signal into an analog intermediate frequency signal.
9. The code stream recording and playing method according to claim 6, wherein the micro control module includes a general programmable unit, a USB conversion unit and a CPU unit; the step of decoding the input intermediate frequency signal by the modulation/demodulation module to output the streaming media signal comprises:
the general programmable unit receives the streaming media signal output by the modulation/demodulation module and sends the streaming media signal to the USB conversion unit;
and the USB conversion unit encodes the streaming media signal and outputs a USB signal to the terminal.
10. The method for recording and playing code stream according to claim 9, wherein said step of said micro control module decoding the coded signal sent from the external terminal and outputting the stream media signal to the modulation/demodulation module includes:
the USB conversion unit decodes the USB signal output by the terminal and outputs a stream media signal to the general programmable unit;
and the universal programmable unit is used for sending the streaming media signal output by the USB conversion unit to the modulation/demodulation module.
CN201611165284.5A 2016-12-15 2016-12-15 Code stream recording and playing device, system and method Active CN106792116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611165284.5A CN106792116B (en) 2016-12-15 2016-12-15 Code stream recording and playing device, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611165284.5A CN106792116B (en) 2016-12-15 2016-12-15 Code stream recording and playing device, system and method

Publications (2)

Publication Number Publication Date
CN106792116A CN106792116A (en) 2017-05-31
CN106792116B true CN106792116B (en) 2020-07-31

Family

ID=58892897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611165284.5A Active CN106792116B (en) 2016-12-15 2016-12-15 Code stream recording and playing device, system and method

Country Status (1)

Country Link
CN (1) CN106792116B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1339884A (en) * 2000-08-16 2002-03-13 索尼公司 Broadcast item recording and broadcasting device and terminal for recording and broadcasting items
CN101141551A (en) * 2006-09-08 2008-03-12 深圳市同洲电子股份有限公司 Digital bidirectional set up box
CN201087955Y (en) * 2007-09-30 2008-07-16 南靖万利达科技有限公司 Digital analog television signal commutation projector
CN101257584A (en) * 2007-12-27 2008-09-03 深圳创维-Rgb电子有限公司 Channel searching system of movable digital television
CN101742204A (en) * 2008-11-10 2010-06-16 康佳集团股份有限公司 Device for recording digital TV signal, method and TV thereof
CN105847719A (en) * 2016-03-22 2016-08-10 乐视致新电子科技(天津)有限公司 Television analog signal demodulation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7039941B1 (en) * 1998-10-30 2006-05-02 General Instrument Corporation Low distortion passthrough circuit arrangement for cable television set top converter terminals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1339884A (en) * 2000-08-16 2002-03-13 索尼公司 Broadcast item recording and broadcasting device and terminal for recording and broadcasting items
CN101141551A (en) * 2006-09-08 2008-03-12 深圳市同洲电子股份有限公司 Digital bidirectional set up box
CN201087955Y (en) * 2007-09-30 2008-07-16 南靖万利达科技有限公司 Digital analog television signal commutation projector
CN101257584A (en) * 2007-12-27 2008-09-03 深圳创维-Rgb电子有限公司 Channel searching system of movable digital television
CN101742204A (en) * 2008-11-10 2010-06-16 康佳集团股份有限公司 Device for recording digital TV signal, method and TV thereof
CN105847719A (en) * 2016-03-22 2016-08-10 乐视致新电子科技(天津)有限公司 Television analog signal demodulation method and device

Also Published As

Publication number Publication date
CN106792116A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
JP5043379B2 (en) Broadcast receiving / transmitting device, wireless A / V system, and control method of wireless A / V system
US20140003794A1 (en) Image processing apparatus
CN101729757B (en) Wireless terminal and method for realizing audio-video signal retransmission
EP3200447A1 (en) Mobile satellite television reception system and reception method
WO2014006938A1 (en) Image processing apparatus
WO2015078416A1 (en) Television signal receiving module and receiving method
CN101505364A (en) Set-top box based on wireless broadcast network and wireless access network
CN106792116B (en) Code stream recording and playing device, system and method
CN204334857U (en) The digital TV set-top box of a kind of compatible with DVB-C, DTMB-TH transmission medium
CN100373930C (en) Analogue TV differential rotating machine possessing digital TV program differential rotating function
CN202143181U (en) Novel network television set top box
JP2008252661A (en) Program recording apparatus, and program recording method
KR100743538B1 (en) Method for upgrading firmware of digital television and peripheral device
KR200416538Y1 (en) The portable DMB reception device that USB port is composed.
JP2000236523A (en) Re-transmitter for catv system
WO2020118992A1 (en) System and method for satellite television receiving and switching satellite signal
US20070097270A1 (en) Multiple TV signal processor
KR100727271B1 (en) Multiplex output broadcasting receive system using single set-top box having the plural tuner
CN112702609B (en) Ship closed circuit television video decoding method, system and storage medium
KR100723058B1 (en) Method for receiving broadcasting signal of digital tv
CN219420875U (en) Set top box supporting ATV signal output
CN107317981B (en) Channel receiving switching control device and method based on DVB-C and DTMB
KR200426954Y1 (en) Mobile receiver for digital multimedia broadcasting having remote controller
KR100707665B1 (en) Method for dynamically selecting h/v value of lnb using diseqc in a stb
TWI289406B (en) Television signal-receiving module

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