CN101184216A - Intelligent domestic gateway presentation video control method and system thereof - Google Patents
Intelligent domestic gateway presentation video control method and system thereof Download PDFInfo
- Publication number
- CN101184216A CN101184216A CNA2007100322950A CN200710032295A CN101184216A CN 101184216 A CN101184216 A CN 101184216A CN A2007100322950 A CNA2007100322950 A CN A2007100322950A CN 200710032295 A CN200710032295 A CN 200710032295A CN 101184216 A CN101184216 A CN 101184216A
- Authority
- CN
- China
- Prior art keywords
- video
- data
- encoder
- signal
- video data
- 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
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a video control method and system based on smart home service gateway function; wherein, the control method comprises the steps that the video analog signal of PAL/NTSC type is acquired by the data acquisition unit; the video analog signal is transformed to digital signal by the data acquisition unit; the digital signal is encoded into the H.264 formed video data by the H.264 encoder and transferred to the video decoder by the network; the H.264 formed video data is received by the video decoder, decoded by the video decoder, and sent to the video encoder; the decoded video data is received by the video encoder, encoded by the video encoder, transferred to the compound video signal, and sent to the display screen of PC. The invention has the advantages of adopting the H.264 formed video data in the network transmission, high video data compression ratio, low data flow in the network transmission, and raising the transmission speed of the video data.
Description
Technical field
The present invention relates to a kind of home gateway and present technology, particularly a kind of intelligent domestic gateway presentation video control method and system thereof.
Background technology
The scheme that home gateway presents video control is a SoC platform scheme that is adapted at the transmission over networks video stream application, based on the single-chip IP Camera scheme of FIC8120, and the degree of integration height, the system design chip performance is stable.
Present home gateway presents video control system, generally be to use the video acquisition end, gather vision signal as IP Camera, after handling the vision signal that collects, data processing module is compressed into the video data of mpeg format, and described video data is carried out video by Network Transmission to PC show, but this processing scheme, the general mpeg format of data processing module processed video data, the video data compression rate of this mpeg format is lower, and speed will be slow when transmitting in network.
Summary of the invention
The invention provides a kind of intelligent domestic gateway presentation video control method and system thereof, its video data compression rate is than higher, and transmission speed is just than comparatively fast in network.
Technical scheme of the present invention is: a kind of intelligent domestic gateway presentation video control method comprises step:
Step 1, data acquisition end are gathered the video analog signal of PAL/NTSC standard, and described video analog signal is converted to digital signal;
Step 2, described digital signal are encoded by encoder H.264, become the H.264 video data of form, and by Network Transmission to Video Decoder;
Step 3, described Video Decoder receive the video data of described H.264 form, and described video data is carried out sending to video encoder after the decoding processing;
Step 4, described video encoder receive described decoded video data, it is carried out being converted to after the encoding process composite video signal deliver to PC and show.
Corresponding intelligent domestic gateway of the present invention presents video control system, comprising:
Video acquisition module, it is used to gather the video analog signal of PAL/NTSC standard, and changes described video analog signal into digital signal;
H.264 encoder, its analog signal that is used for collecting is encoded into the H.264 video data of form;
The video decode module, it is used to receive the H.264 video data of form, and it is carried out arriving video encoding module by Network Transmission after the decoding processing;
Video encoding module, it is used to receive described decoded video signal, it is carried out being converted to after the encoding process video analog signal deliver to PC output.
Intelligent domestic gateway presentation video control method of the present invention and system thereof, before carrying out the Network Transmission video data, carry out encoding process by encoder H.264 and be transformed to the H.264 video data of form, this video data compression rate is than higher, the data of then transmitting in network are just fewer, can improve the transmission speed of video data.
Description of drawings
Fig. 1 is the flow chart that intelligent domestic gateway of the present invention presents the method for video control;
Fig. 2 is the schematic diagram that intelligent domestic gateway of the present invention presents the system of video control.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is explained in detail.
The general structure that intelligent domestic gateway of the present invention presents video control system roughly can be divided into 3 parts: the decoding of collection of video signal and coding, transmission of video signals and vision signal and broadcast.Introduce control method of the present invention and control system below respectively.
As shown in Figure 1, be the schematic flow sheet of the embodiment of intelligent domestic gateway presentation video control method of the present invention, comprise step:
S101, data acquisition end gather the analog signal of PAL/NTSC standard, and are digital signal with described analog-signal transitions; Can adopt IP Camera to gather the analog signal of PAL/NTSC standard, also available OV7640 module is gathered.
S102, described encoding digital signals is become the H.264 video data of form, and is transferred to Video Decoder by encoder H.264; Described transmission course can be by adopting the transmitted data on network of udp protocol;
S103, described Video Decoder receive the video data of described H.264 form, and described video data is carried out sending to video encoder after the decoding processing.Described Video Decoder can be that the video data of YUV4:2:2 form sends to video encoder with described video data decoding.This Video Decoder is a kind of programmable logic chip.
S104, described video encoder receive described decoded vision signal, and are converted to video analog signal and deliver to PC output.What video encoder adopted is a kind of high performance PAL/NTSC encoder, its effect is to carry out the D/A conversion by the video data of the YUV4:2:2 form of Video Decoder input, video data signal is transformed into the video analog signal that meets NTSC or pal mode, and outputs to PC with CVBS composite video signal or S vision signal and show.
Wherein, the collection of data acquisition end signal data is finished by a video incoming timing interrupt function VI (Video In) control, is example with the pal mode, pal mode per second 25 frames (50), and corresponding the interruption is per second 50 times, gathers one at every turn.Utilize signal data that interrupt function VI collects by Y, U, V component are placed on respectively in 3 continuous region of memorys.Described Network Transmission adopts udp protocol to carry out transfer of data, and its data transmission bauds is than very fast; Can certainly adopt Transmission Control Protocol to carry out transfer of data, can guarantee the correctness of transfer of data.
Described Video Decoder is except carrying out basic decoding, before decoding, can also carry out error recovery and error concealing to data-signal, to avoid the run-time error of the decoding program that the Network Transmission mistake may cause, this Video Decoder with the error message of the data-signal that receives be converted to control command by network to the data acquisition end and H.264 encoder send, to realize to data collection terminal and the H.264 remote monitoring of encoder, can comprise control, as the adjustment of code check to coding parameter and data acquisition, the adjustment of image size, the frame per second control of video etc.
Described Video Decoder can also carry out the moving object detection of video image to decoded video data signal, when in detecting current monitor area, moving target being arranged, kinematic parameter to moving target, detect and estimate as the size of moving region, the speed of motion etc., difference according to kinematic parameter value scope generates some control commands, and by Network Transmission to encoder H.264, this encoder is according to the parameter of the instruction adjustment coding that receives.For example, when detecting moving target, can send the instruction that improves frame per second and output image quality to encoder, so that more clearly understand the motion details of target, and when not having moving target, can reduce the frame per second of coding side and the picture quality of output, with load and the total data volume of minimizing video data signal that reduces Network Transmission.
In order to improve processing speed and to save memory headroom, can also be with primary data cache to a region of memory before the coding, the data behind the coding are then deposited in another independent transmit queue.This region of memory is configured to one group of ring-like array chain, in order to prevent the internal storage access conflict between each array, a Status Flag is set for each array, represent the state that this array is current, and give H.264 that encoder is provided with a pointer, point to the array in this region of memory.This encoder ceaselessly detects the Status Flag of the array of pointed all the time, if Status Flag shows data-signal, represent that this buffering area has data-signal to be encoded, then data are read and encode, after coding finishes this array Status Flag is changed to OUT, the expression initial data is encoded, and can write new data-signal again, and the access pointer of this module is pointed to next array; If this Status Flag shows the free of data signal, represent that then this numerical value can write new data-signal, simultaneously with the next array of pointed.
As shown in Figure 2, intelligent domestic gateway of the present invention presents video control system and comprises video acquisition module, H.264 encoder, video decode module, video encoding module.
Described video acquisition module is gathered the analog signal of PAL or TSC-system formula, and be digital signal with described analog-signal transitions by A/D conversion, H.264 encoder becomes the H.264 video data of form to described encoding digital signals, and be transferred to the video decode module, the described video decode module H.264 video data of form that is used to decode, and the video data that is converted into the YUV4:2:2 form outputs to video encoding module, what described video encoding module adopted is a kind of high performance PAL/NTSC encoder, its effect is to carry out the D/A conversion by the video data of the YUV4:2:2 form of Video Decoder input, video signal conversion is become to meet the anolog TV signals of NTSC or pal mode, and output to PC with CVBS composite video signal or S vision signal.
Just lift a specific embodiment below the present invention is done detailed introduction.
Video acquisition module can adopt the OV7640 module to gather analog video signal, and the video decode module can comprise chip SAA7113, and video encoding module can comprise chip SAA7121.OV7640 is a kind of single chip CMOS transducer, data output format can be YUV 4:2:2 or RGB 4:2:2 or RGB initial data, the video analog signal that the OV7640 module collects becomes digital signal after changing through D/A, described digital signal is encoded through encoder H.264 and is output as the H.264 video data of form, carry out decoding processing by Network Transmission to the SAA7113 chip, undertaken outputing to PC to meet vision signal after the encoding process by the SAA7121 chip more afterwards.23,24 pins of its chips SAA7113 are connected the I2C bus data transmission communication mode that realizes respectively with 41,42 pins of chip SAA7121.By 8 parallel-by-bit data Y CbCr of Video Decoder SAA7113 output, at first deliver to the demodulation multiplexer in the SAA7121 chip, resolve into brightness data Y and chromatism data CbCr.Brightness data Y is process brightness processed unit earlier, and sends into the RGB encoder with the CbCr data, encoded back output primary colours data-signal RGB.The CbCr data are also delivered to the colourity processing unit simultaneously and are formed carrier chrominance signal C and the output of the luminance signal addition behind aberration trap composite video signal CVBS.
As known from the above, intelligent domestic gateway presentation video control method of the present invention and system thereof, before carrying out the Network Transmission video data, carry out encoding process by encoder H.264 and be transformed to the H.264 video data of form, this video data compression rate is than higher, the data of then transmitting in network are just fewer, can improve the transmission speed of video data.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.
Claims (8)
1. an intelligent domestic gateway presentation video control method is characterized in that, may further comprise the steps:
Step 1, data acquisition end are gathered the video analog signal of PAL/NTSC standard, and described video analog signal is converted to digital signal;
Step 2, described digital signal are encoded by encoder H.264, become the H.264 video data of form, and by Network Transmission to Video Decoder;
Step 3, described Video Decoder receive the video data of described H.264 form, and described video data is carried out sending to video encoder after the decoding processing;
Step 4, described video encoder receive described decoded video data, it is carried out being converted to after the encoding process composite video signal deliver to PC and show.
2. intelligent domestic gateway presentation video control method according to claim 1, it is characterized in that: in the step 1, the collection of described video analog signal is to be controlled by a video incoming timing interrupt function (VI), the described analog signal that collects is by Y, U, V component are placed on respectively in 3 continuous region of memorys.
3. intelligent domestic gateway presentation video control method according to claim 1, it is characterized in that: in the step 3, also comprised step before described video data is carried out decoding processing: described Video Decoder carries out mistake to the video data of the H.264 form that receives to be handled, and with this mistake process information convert to control command by Network Transmission to data acquisition end and encoder H.264.
4. intelligent domestic gateway presentation video control method according to claim 1, it is characterized in that: in the step 3, also comprise step after described video data is carried out decoding processing: described Video Decoder carries out moving object detection to described decoded video data, adjusts instruction according to the kinematic parameter generation of described moving target and arrives H.264 encoder by Network Transmission.
5. intelligent domestic gateway presentation video control method according to claim 1, it is characterized in that: in the step 1, after being become digital signal, analog signal conversion also comprises step: described digital signal is cached to a region of memory, this region of memory is the array chain of one group of annular, and a Status Flag is set for each array; Described H.264 encoder detects the Status Flag of array by pointer, and according to the Status Flag of described array the digital signal in the described array is handled accordingly.
6. intelligent domestic gateway presentation video control method according to claim 5 is characterized in that: described processing procedure is: when in detecting array digital signal being arranged, to the encoding digital signals in this array; Otherwise, in this array, write new digital signal, simultaneously the next array of pointed.
7. according to each described intelligent domestic gateway presentation video control method of claim 1 to 6, it is characterized in that: the described network transmission protocol adopts udp protocol.
8. an intelligent domestic gateway presents video control system, it is characterized in that, comprising:
Video acquisition module, it is used to gather the video analog signal of PAL/NTSC standard, and changes described video analog signal into digital signal;
H.264 encoder, its analog signal that is used for collecting is encoded into the H.264 video data of form;
The video decode module, it is used to receive the H.264 video data of form, and it is carried out arriving video encoding module by Network Transmission after the decoding processing;
Video encoding module, it is used to receive described decoded video signal and carries out being converted to after the encoding process composite video analog signal and deliver to PC and show.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710032295A CN100586179C (en) | 2007-12-07 | 2007-12-07 | Intelligent domestic gateway presentation video control method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710032295A CN100586179C (en) | 2007-12-07 | 2007-12-07 | Intelligent domestic gateway presentation video control method and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101184216A true CN101184216A (en) | 2008-05-21 |
CN100586179C CN100586179C (en) | 2010-01-27 |
Family
ID=39449267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710032295A Expired - Fee Related CN100586179C (en) | 2007-12-07 | 2007-12-07 | Intelligent domestic gateway presentation video control method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100586179C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104898450A (en) * | 2015-06-16 | 2015-09-09 | 重庆本原致创科技发展有限公司 | Smart home data transmission method in a power line communication and Ad-Hoc network radiofrequency system |
CN108156396A (en) * | 2016-12-06 | 2018-06-12 | 矽创电子股份有限公司 | Display system and its video signal data display methods |
CN110995758A (en) * | 2014-05-28 | 2020-04-10 | 三星电子株式会社 | Mobile device, display device and multimedia output method using the same |
CN113115037A (en) * | 2021-06-15 | 2021-07-13 | 深圳市中鹏教育科技股份有限公司 | Online education method, system, equipment and storage medium |
-
2007
- 2007-12-07 CN CN200710032295A patent/CN100586179C/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995758A (en) * | 2014-05-28 | 2020-04-10 | 三星电子株式会社 | Mobile device, display device and multimedia output method using the same |
CN104898450A (en) * | 2015-06-16 | 2015-09-09 | 重庆本原致创科技发展有限公司 | Smart home data transmission method in a power line communication and Ad-Hoc network radiofrequency system |
CN108156396A (en) * | 2016-12-06 | 2018-06-12 | 矽创电子股份有限公司 | Display system and its video signal data display methods |
CN113115037A (en) * | 2021-06-15 | 2021-07-13 | 深圳市中鹏教育科技股份有限公司 | Online education method, system, equipment and storage medium |
CN113115037B (en) * | 2021-06-15 | 2021-09-14 | 深圳市中鹏教育科技股份有限公司 | Online education method, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100586179C (en) | 2010-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017129090A1 (en) | Data transmission method and device for mobile terminal | |
CN104704810B (en) | Image capture accelerator and the method accelerated for image capture | |
CN101527826B (en) | Video monitoring front-end system | |
US7589779B2 (en) | Imaging module, interface, and method handling multiple simultaneous data types | |
CN100589169C (en) | Image output processing system used for mobile terminal and method thereof | |
CN109391839B (en) | Self-adaptive HDMI (high-definition multimedia interface) video transmission device | |
CN115460333B (en) | Image signal processing module, chip, electronic device and method | |
CN104683863A (en) | Method and equipment for multimedia data transmission | |
CN104702906A (en) | High-resolution monitoring video system and control method thereof | |
CN104219509A (en) | Vehicle-mounted intelligent terminal and data transmission method thereof | |
CN106454186A (en) | Multi-channel video recording and platform interaction method and device based on Android system | |
US7593580B2 (en) | Video encoding using parallel processors | |
CN100586179C (en) | Intelligent domestic gateway presentation video control method and system thereof | |
CN102088593B (en) | MPEG4 (Moving Pictures Experts Group 4) compressed video transmission communication system and method based on Bluetooth 3.0 specification | |
CN112383732B (en) | Resolution adaptive signal transmission system and method | |
CN106911907A (en) | A kind of accompanying flying opto-electric tracking and measurement gondola high definition compression and storage device | |
CN101094358A (en) | Video transmission system and method based on 1394 collection and HDMI / DVI | |
CN117812391A (en) | Video recorder, preview method and electronic equipment | |
EP2538670B1 (en) | Data processing unit | |
CN104767957A (en) | Video capture coding method, system and device based on embedded type dual-core processor | |
CN104883518A (en) | Low-cost small-sized thermal infrared imager | |
US20090079843A1 (en) | Image pickup device and encoded data transferring method | |
CN101098472B (en) | Encoded data transfer device and encoded data transferring method | |
CN111212285A (en) | Hardware video coding system and control method of hardware video coding system | |
CN201238361Y (en) | Video collection apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100127 Termination date: 20121207 |