Single chip DSP network video processing system
Technical field
The present invention relates to the Digital Video Processing field, specifically, relate to a kind of single chip DSP network video processing system.
Background technology
The develop rapidly of security protection industry is had higher requirement to the compression of digital video treatment technology, the user expects that cost is lower, function more comprehensively, the more stable product of product occurs.At present, the video compression more widely of application is handled core two kinds of ASIC (application-specific integrated circuit (ASIC)) and dsp processors.Because there is upgrading inconvenience in the ASIC scheme, can't realize shortcoming such as multi-channel video coding, industry developer turns to the DSP platform gradually by several years ago ASIC scheme.
Carrying out the video product exploitation on the DSP platform has the advantage of following several respects: the first, and user's development space is bigger, supports multiple personalize development; Second, the DSP disposal ability is strong, can on a DSP, realize the compression processing of multichannel audio-video frequency signal simultaneously, simultaneously in order in time to satisfy the needs used, also to provide a lot of special functions, show output, osd function etc. such as high-resolution, even all become the major function of Video DSP as network interface, ide interface, switching value input/output interface, make the cost that further reduces product significantly become possibility like this; The 3rd, the construction cycle is short, realizes that rapid technology upgrades and product renewal; The 4th, chip power-consumption is low, provides reliable guarantee to the stability that improves product.
Aspect the function expansion, also there is certain shortcoming in DSP single-chip technology, can't realize multiple customization requirement, but under the present market demand, DSP single-chip technology has irreplaceable high performance-price ratio advantage again.
Chinese patent application CN200610063477.X provides a kind of system for network video transmission, it is characterized in that: comprise that administration interface module, managing web web server, video server cluster, code generate server and network; The administration interface module is used to generate and control the administration interface that the user operates, and is provided with video file in it and uploads, is provided with video file information, video distribution selection, the video playback parameter is set and pastes code function; Managing web web server is used for the administration interface module and generates communicating by letter between the server with video server cluster and code; Comprise: the video file that the user is uploaded by the set need of administration interface is sent to the video server cluster, the user is sent to database server by the set video file information of administration interface, the user will be issued video and the video playback parameter is sent to code server by administration interface is selected; The video server cluster, cluster comprises master server and from server, each server is used to obtain the local video file, is the form that is applicable to network with format conversion, and the video file behind the format transformation transmitted and store, and send to master server and back up; Database server, be used to obtain and store video files information, and the fileinfo of the need issue video that transmits according to managing web web server, the video file information that inquires coupling is submitted to managing web web server, and the user need to select the video of issue again; Code generates server, is used for the video playback parameter that transmits according to managing web web server, selects corresponding Code Template, and with video playback parameter assignment in Code Template, generating code, and feed back to managing web web server; Managing web web server is reflected at code on the administration interface, the user pastes code on the webpage that needs the issue video, this webpage generates the link of this code, the beholder opens this link of webpage click, then the video server cluster can be located nearest server, video file is sent to client realizes watching; If do not have this video file on the nearest video server, then the master server in cluster is asked for.It only is a transfer function of having realized Internet video, to the processing capacity of Internet video a little less than.
Chinese patent ZL01144709.5 provides a kind of method of the multi viewing angle video frequency programme network relaying method based on multi-process, it is characterized in that comprising step: computer receives by being arranged on the video information that program is on-the-spot and camera head that be attached thereto is gathered; The video information that receives is compressed processing; The information that compression is handled is carried out synchronous Combined Processing, described synchronous Combined Processing comprises: synchronization video information: the field data that each video camera is gathered sends to computer, after compressing with a kind of video-frequency compression method, the temporal information of in corresponding each video flowing, annotating, temporal information according to each video flowing, by same video synchronization method all video flowings are carried out synchronously, divided video object: dynamic image distribution is carried out cutting apart of object video to corresponding dividing processing module, comprise different foreground object and background object, horizontal video information compression: at first manually determine leading role's degree video flowing, according to synchronizing information, corresponding video object in other video flowings and leading role's degree video flowing are compared, the compression redundant information, set up scene description: according to the effect of wanting at last to present, foundation comprises the scene of different angles video information, compound multi-channel video information: multi-path video stream and scene description data corresponding that will be after overcompression is handled be information combined in a video flowing; Composite signal is decomposed with the method for multi-process by client after the Network Transmission, display the play according to the multi-angle video mode.But it can not be handled multi-channel video.
Summary of the invention
The purpose of this invention is to provide a kind of single chip DSP network video processing system, to carry out operations such as video, audio compression processing and Network Transmission simultaneously, finish basic functions in the video monitoring, reduced video monitoring cost, improved the stability of product and the convenience of function upgrading.
Technical problem solved by the invention can realize by the following technical solutions:
A kind of single chip DSP network video processing system is characterized in that, comprising:
One dsp processor, and be connected with dsp processor and be used to deposit DSP program and memory of data;
The Data Input Interface circuit that is connected with dsp processor, described Data Input Interface circuit comprises multi-channel video input interface and multichannel voice frequency input interface;
The network output interface that is connected with dsp processor;
And the power management module that is connected with dsp processor;
Single chip DSP network video processing system of the present invention is work like this: dsp processor receives the video and the voice data of multi-channel video input interface and the input of multichannel voice frequency input interface, by the program and the data that store in the memory video and the voice data of importing compressed the processing operation, export by the network output interface again.
Among the present invention, described Data Input Interface circuit also comprises audio frequency intercommunication input interface, with occasions such as suitable videoconferences.
Described video input interface, audio input interface and audio frequency intercommunication input interface are parallel to be inserted on the dsp processor.
Also be provided with general input on the described dsp processor, with control and the state information that is used for the transport communication both sides.
Break down for fear of program, the present invention also is provided with the watchdog module that is connected with dsp processor.
Described DSP processing module connects synchronous memory interface, FLASH, serial port RS485, serial port RS232, clock chip and IDE hard-disk interface by system bus.
Usually adopt the double-core framework of DSP and another piece general processor in the existing video monitoring scheme, wherein DSP is mainly used in the encoding process on video and the message, general processor then is used for handling from various interface next control and computing demand, these interfaces comprise the hard disk bus interface, interfaces such as Ethernet and switching value input and output, and single chip DSP network video processing system of the present invention can be by a DSP while processing audio, video coding, Network Transmission, OSD processing etc., solved the processing procedure that traditional DSP adds general processor platform of high complexity, improve the utilance of chip, reduced the cost of product.
Description of drawings
Fig. 1 is a schematic diagram of the present invention.
Fig. 2 is a function diagram of the present invention.
Fig. 3 is one embodiment of the present invention.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect is easy to understand, below in conjunction with concrete diagram, further set forth the present invention.
As shown in Figure 1, a kind of single chip DSP network video processing system, comprise video input interface 110, audio input interface 120, audio frequency intercommunication interface 130,10/100M network interface 140, general input (GPIO) port one 50, watchdog module 160, power management module 170, synchronous memory interface (SDRAM) 210, FLASH220, serial port RS485/230, serial port RS232/240 that dsp processor 100 is connected with dsp processor, clock chip RTC/250, ide interface 260.
In the present embodiment, 4 road video input interfaces 110,4 road audio input interfaces 120,1 pair of speech talkback interface 130 (i.e. 4 road videos input, the input of 5 road audio frequency, the output of 1 road audio frequency) the parallel dsp processor 100 that inserts, the data of DSP receiver, video and audio frequency are also carried out encoding process, can support the real-time video compression of four road CIF or 1 road D1 at most, also can add simultaneously character overlap-add procedure and video-encryption in video coding process handles, data after character stack and the encryption are embedded in the video flowing, and video flowing can be transferred to by 10/100M network interface 140 and carry out picture decoding in PC decoder or the network decoder.
Dsp processor 100 is looked the audio frequency except that handling, and the interface that some Network Video Surveillance are often used is connected on the dsp processor 100 by external memory interface, and synchronous memory interface (SDRAM) 210 is used for the data of caching process DSP; FLASH 220 is used to deposit program and the data of DSP; Serial port RS485/230, serial port RS232/240 are used for transmitting transparent serial data; Clock chip RTC/250 is a clock module, and it can be powered when the chip remainder cuts off the power supply; Ide interface is a memory interface, is used to connect the preservation that External memory equipment carries out video image.
In addition, also be connected to general input (GPIO) 150 on the dsp processor, be used for transport communication both sides control and state information; Watchdog module 160 is used in program and breaks down, and realizes the software reset; Power management module 170 is used to provide the power supply of whole system.
The major function of the multi-channel video treatment system of this list dsp chip framework as shown in Figure 2, system can realize major functions such as Video processing, Audio Processing, serial communication, GPIO control, local storage, character stack, Network Transmission, online upgrading.
The present invention can be applicable to occasions such as Network Video Surveillance, videoconference, below specifies the application of system by Network Video Surveillance, as shown in Figure 3.System front end connects the CCD camera and carries out video acquisition; Audio collection has dual mode, and a kind of is to import as the sound accompaniment of video, and a kind of is that double-directional speech intercommunication input adds intercommunication output, can realize the speech talkback with rear end Surveillance center; Serial communication has the multiple interfaces mode, and as RS232, RS485 is used to control front end platform equipment, carries out transparent data transmission etc.; Can insert warning input-output equipment by the GPIO control interface; If desired video file is kept at front equipment end, can inserts local memory device, as hard disk, CF card etc.Video/audio signal after dsp processor will be handled, serial data etc. by Network Transmission to Surveillance center, Surveillance center's end can connect the PC monitoring host computer, carry out video preview, video recording preservation, playing back videos, Long-distance Control etc. by operation monitoring software, if desired digital video signal is transferred to analog signal in addition and carry out preview, can insert the hard disk decoder, be linked into video wall by the hard disk decoder.
More than show and described basic principle of the present invention and principal character and advantage of the present invention.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; that describes in the foregoing description and the specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.