CN101964893A - Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof - Google Patents

Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof Download PDF

Info

Publication number
CN101964893A
CN101964893A CN 201010200999 CN201010200999A CN101964893A CN 101964893 A CN101964893 A CN 101964893A CN 201010200999 CN201010200999 CN 201010200999 CN 201010200999 A CN201010200999 A CN 201010200999A CN 101964893 A CN101964893 A CN 101964893A
Authority
CN
China
Prior art keywords
dsp
decoding
expansion board
intelligent
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010200999
Other languages
Chinese (zh)
Other versions
CN101964893B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN 201010200999 priority Critical patent/CN101964893B/en
Publication of CN101964893A publication Critical patent/CN101964893A/en
Application granted granted Critical
Publication of CN101964893B publication Critical patent/CN101964893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method capable of simultaneously expanding multichannel decoding and multichannel intelligent video processing functions and a device thereof. Under the condition that hardware resource design of the original digital video recorder is not changed or less changed, a sub board provide with a plurality of DSP chips can be expanded by virtue of a PCI interface, so as to carry out multichannel decoding and multichannel intelligent video analysis.Maximum utilization factor of DSP on the expansion board is achieved by adopting the way that decoding function and intelligent analysis function of the expansion board are mutually switched, so that all the DSPs of the expansion board are used for one function in different operation states, thus increasing the number of channels supported by decoding and intelligent analysis. Hardware design implementation of the embodiment of the invention is simple, and an expanded common digital video recorder can simultaneously furthest support multichannel high resolution decoding function and multichannel video analysis processing function without adding other equipment.

Description

The method and apparatus of expansion multi-channel decoding and multi-channel intelligent video processing function
Technical field
The present invention relates to the monitoring technique field, the particularly a kind of method and apparatus that can expand multi-channel decoding and multi-channel intelligent video processing function simultaneously.
Background technology
Owing to be subjected to the restriction of hardware resources such as video frequency processing chip, traditional digital hard disc video recorder port number of the high-resolution video record of playback (as D1 resolution) simultaneously is extremely limited, at present, a lot of digital hard disc video recorder factory commercial cities have produced the multi-channel decoder product that only has independent decoding playback function but can decode playback multi-channel video passage simultaneously.Like this when the user needs the high-resolution local video of playback multichannel to record a video, not only need the digital hard disc video recorder equipment that uses local video to record, but also need purchase multi-channel decoder equipment in addition, this method is the cost height not only, wiring is installed complicated, and use inconvenience, the stability of a system is poor.
In addition, for the social security state that improves the city, strengthen the adaptability to changes to accident, each city, the whole nation has all made up video monitoring system at present, and this class video monitoring system is often very huge, integrated thousand tunnel the rig camera that surpasses.It is more and more outstanding that the limitation of the artificial monitor mode of tradition shows in the large-scale supervisory control system of this class.When the supervisor observed a plurality of monitor simultaneously, the monitoring precision can descend along with the rising of monitor video quantity, and the supervisor can't focus one's attention on for a long time for the things of dullness, and the cost of artificial monitoring is very expensive.Therefore, in traditional supervisory control system, the effect of video monitoring system is to collect evidence afterwards and investigate in the time of most, can't accomplish the strick precaution of anomalous event and response fast.An effective means that overcomes the above problems is the intelligent video treatment technology, it utilizes the video analysis algorithm that video data is become semantic class information, thereby between image and event description, set up a kind of mapping relations, can substitute artificial monitoring or assist artificial monitoring in some occasion.The advantage of intelligent video treatment technology is that it can one day 24 hours continually monitors video, can in time report to the police in case event occurs, the supervisor can be reacted anomalous event fast, with respect to artificial monitoring, the Intellectualized monitoring reliability is higher, and cost is cheaper.Most of in the market application to the intelligent video treatment technology, mainly contain 2 kinds of schemes: the one, application layer client process mode, by purchasing a PC home server, then by video monitoring equipment such as the web camera of network connection with the control point, the real-time digital video of network digital DVR etc. spreads delivers to local PC server, then in the intelligent video Treatment Analysis of the enterprising line correlation of PC server.This processing scheme needs the high power PC server of other acquisition price, in addition when the video monitoring equipment of getting involved the PC server is too much, because blocking up and unsteadiness of network, can cause the digital video frequency flow of video monitoring equipment can not deliver to the PC server in real time and carry out intelligent video analysis and handle, thereby cause alert and the false alarm failed to report of intelligence system.Another scheme is the embedded processing scheme, promptly utilize advanced high primary frequency Digital Signal Processing (DSP) chip this locality to carry out the intelligent video Treatment Analysis, relative application layer client process mode, this mode can be avoided the Network Transmission of multitude of video data, the local intellectual analysis that carries out frame of video in real time, reduce the complexity of whole intelligent monitor system, system reliability is strong, has good application prospects.But wanting increases this function on original digital hard disc video recorder, will inevitably take its original hardware resource, makes its part operational factor descend, and more cannot carry out multichannel intelligent video analysis.
Summary of the invention
The embodiment of the invention is to provide a kind of method and apparatus that can expand multi-channel decoding and multi-channel intelligent video processing function simultaneously, and the hardware resource by minimum is integrated into multichannel high-resolution decoded and multi-channel digital video intelligent analytic function on the digital hard disc video recorder simultaneously.
The embodiment of the invention provides a kind of method of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously, expansion comprises the expansion board of at least one Digital Signal Processing dsp chip on digital hard disc video recorder DVR, corresponding link of the DSP that is used to encode on every DSP on the described expansion board and the mainboard of DVR, described method also comprises:
After described expansion board powered on, the DSP on the described expansion board divided the memory source that is used in the intelligent video processing, and initialization is used for the analysis operational factor that intelligent video is handled;
Judging whether to carry out decoding processing, is then to carry out decoding task, otherwise carries out the intelligent video Processing tasks;
When carrying out the intelligent video Processing tasks, specifically comprise:
After DSP on the described expansion board detects and receives the effective video data, described effective video data are copied into the processing buffering area, video data to described processing buffering area carries out the intelligent video analysis processing, the main frame that Intelligent treatment object information portion is sent to DVR is with in the hard disk that is saved in described DVR, corresponding mainboard encoding D SP is given in another part passback, so that superpose described Intelligent treatment object information on raw video image;
When carrying out decoding task, specifically comprise:
DSP on the described expansion board stops the intellectual analysis function, discharges to be used for the memory source that intelligent video is handled, and the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up, carries out decode operation.
Wherein, when decode operation finished, described method also comprised:
DSP on the described expansion board discharges the memory source that is used to decode, and initialization is used for the analysis operational factor that intelligent video is handled, and divides to be used in the memory source that intelligent video is handled.
Wherein, when carrying out the intelligent video Processing tasks, described method also comprises:
DSP on the described expansion board detects when not receiving the effective video data, wait for a Preset Time after, carry out detecting operation again.
Wherein, the described decoding processing of whether carrying out is to decide according to order beginning decodes commands or the order of beginning intellectual analysis from the DVR main frame that receive.
Wherein, the DSP on the described expansion board detects the step receive the effective video data and comprises: the DSP on the described expansion board detects from shared buffer memory and receives on the DVR mainboard effective video data that corresponding codes DSP with it sends.
Wherein, described method also comprises: after the DSP on the described expansion board executes each operation, return the executing state whether expression runs succeeded to the DVR main frame.
The embodiment of the invention also provides a kind of device of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously, expansion comprises the expansion board of at least one Digital Signal Processing dsp chip on digital hard disc video recorder DVR, corresponding link of the DSP that is used to encode on every DSP on the described expansion board and the mainboard of DVR, described device comprises:
Initialization unit is used for after described expansion board powers on, and divides to be used in the memory source that intelligent video is handled, and initialization is used for the analysis operational factor that intelligent video is handled;
The action type judging unit is used to judge whether to carry out decoding processing, is then to notify decoding unit, otherwise notice intelligent video processing unit;
The intelligent video processing unit, be used for after the detection of the DSP on the described expansion board receives the effective video data, described effective video data are copied into the processing buffering area, video data to described processing buffering area carries out the intelligent video analysis processing, the main frame that Intelligent treatment object information portion is sent to DVR is with in the hard disk that is saved in described DVR, corresponding mainboard encoding D SP is given in another part passback, so that superpose described Intelligent treatment object information on raw video image;
Decoding unit is used to stop the intellectual analysis function, discharges to be used for the memory source that intelligent video is handled, and the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up, carries out decode operation.
Wherein, described decoding unit also is used for when decode operation finishes, and discharges the memory source that is used to decode, and initialization is used for the analysis operational factor that intelligent video is handled, and divides to be used in the memory source that intelligent video is handled.
Wherein, described intelligent video processing unit, the DSP that also is used on described expansion board detects when not receiving the effective video data, wait for a Preset Time after, carry out detecting operation again.
Use the embodiment of the invention, can utilize minimum hardware resource, reach maximum resource utilization.The embodiment of the invention makes need not changed or change under the less situation in the hardware resource design of former digital hard disc video recorder, carries out multipath decoding and multi-way intelligence video analysis by daughter board that has many dsp chips of pci interface expansion.In order to make the DSP on the expansion board reach peak use rate, the method that adopts expansion board decoding function and intellectual analysis function to switch mutually, make under the different modes of operation, all DSP of expansion board only are used for a kind of function, thereby have increased the overall channel number that expansion board is decoded and intellectual analysis can be supported.Generally speaking, the hardware designs of the embodiment of the invention realizes simple, ordinary numbers DVR through expansion is not increasing under any relevant miscellaneous equipment, just can support high-resolution decoding function of multichannel and multi-channel video analyzing and processing function simultaneously to greatest extent.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously according to the embodiment of the invention;
Fig. 2 is an entire system block diagram according to an embodiment of the invention;
Fig. 3 is the preview image that has intelligent information according to one of the embodiment of the invention;
Fig. 4 is the flowchart according to the expansion board of the embodiment of the invention;
Fig. 5 is the flow chart that switches mutually according to before the execution intelligent video processing capacity of the embodiment of the invention and the decoding function;
Fig. 6 is a kind of device logical schematic of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously according to the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Referring to Fig. 1, it is a kind of method flow diagram of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously according to the embodiment of the invention, in the present embodiment, go up the expansion board that expansion comprises at least one Digital Signal Processing dsp chip at digital hard disc video recorder (DVR), corresponding link of the DSP that is used to encode on every DSP on the described expansion board and the mainboard of DVR, described method is further comprising the steps of:
Step 101, after described expansion board powered on, the DSP on the described expansion board divided the memory source that is used in the intelligent video processing, and initialization is used for the analysis operational factor that intelligent video is handled;
Step 102 judges whether to carry out decoding processing, is execution in step 104 then, otherwise execution in step 103;
Concrete, still be that the order of beginning intellectual analysis decides according to the order beginning decodes commands that receives from the DVR main frame.
Step 103 is carried out the intelligent video Processing tasks, and it specifically comprises:
After DSP on the described expansion board detects and receives the effective video data, described effective video data are copied into the processing buffering area, video data to described processing buffering area carries out the intelligent video analysis processing, the main frame that Intelligent treatment object information portion is sent to DVR is with in the hard disk that is saved in described DVR, corresponding mainboard encoding D SP is given in another part passback, so that superpose described Intelligent treatment object information on raw video image;
Wherein, the DSP on the expansion board detects to receive on the DVR mainboard effective video data that corresponding codes DSP with it sends from shared buffer memory;
Here, shared buffering refers to the shared buffer memory between expansion board DSP and the mainboard encoding D SP; Handle the buffering area that buffering area refers to that expansion board DSP oneself distributes and uses separately;
Step 104 is carried out decoding task, and it specifically comprises:
DSP on the described expansion board stops the intellectual analysis function, discharges to be used for the memory source that intelligent video is handled, and the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up, carries out decode operation.
Need to prove that when decode operation finished, the described method of Fig. 1 can also comprise:
DSP on the described expansion board discharges the memory source that is used to decode, and initialization is used for the analysis operational factor that intelligent video is handled, and divides to be used in the memory source that intelligent video is handled.
Need to prove that when carrying out the intelligent video Processing tasks, the described method of Fig. 1 can also comprise:
DSP on the described expansion board detects when not receiving the effective video data, wait for a Preset Time after, carry out detecting operation again.
Need to prove, after the DSP on the described expansion board executes each operation, return the executing state whether expression runs succeeded to the DVR main frame.
Need to prove that above-mentioned DVR main frame is meant the ARM main frame of DVR system.
The embodiment of the invention utilizes daughter board that has at least one dsp chip of pci interface expansion to carry out multipath decoding and multi-way intelligence video analysis on original digital hard disc video recorder mainboard, and the motherboard hardware resource of original like this digital hard disc video recorder just need not changed or change less.
Expansion board can be supported multipath decoding function and multi-channel video intellectual analysis function to greatest extent, the embodiment of the invention is not DSP on the expansion board to be classified (only be used for decoding such as 2 DSP, 2 DSP only are used for intelligent video analysis) or expansion board is only supported independent multipath decoding or independent multi-way intelligence analytic function; In order to reach the DSP utilance of expansion board maximum, the method that has adopted expansion board decoding function and intellectual analysis function to switch mutually, make that all DSP of expansion board only are used for a kind of function under the different modes of operation, thereby increased the overall channel number that expansion board is decoded and intellectual analysis can be supported.
Below in conjunction with instantiation, the present invention is described in further details.
Referring to Fig. 2, it is an entire system block diagram according to an embodiment of the invention.In the present embodiment, supposing has 5 DSP on original digital hard disc video recorder mainboard, wherein, DSP0 is used for decoding and shows, DSP1-DSP4 is used for coding and maximum coding pass number is 4, in order not influence other functional performance, the present maximum of this system can only be separated 4 road D1 resolution video images simultaneously by DSP0, more can not carry out the intelligent video analysis function.
In order to expand multi-channel decoding and multi-channel intelligent video processing function simultaneously, present embodiment is an expansion board by daughter board that has 4 dsp chips of pci interface expansion, and 4 DSP (DSP5-DSP8) on this expansion board are corresponding one by one with 4 encoding D SP (DSP1-DSP4) on the mainboard.ARM (Advanced RISC Machines, it both can think the name of a company, also can think common name, can also think a kind of name of technology a class microprocessor) DSP on main frame and the expansion board can carry out the mutual of data by pci bus.Need to prove, each DSP on the expansion board at every turn can with corresponding link of different DSP on the mainboard, still, all be to connect one to one at every turn, do not exist one-to-many to connect, do not exist many-one to connect yet.
When carrying out the intelligent video Processing tasks, 4 the encoding D SP (DSP1-DSP4) on the mainboard respectively will be separately source a the sending among the corresponding expansion board DSP (DSP5-DSP8) of video flowing copy of video input channel carry out intelligent video analysis; After DSP on the expansion board carries out intelligent video analysis, the Intelligent treatment object information is uploaded to the ARM main frame to carry out the hard disk preservation and returns a to the mainboard encoding D SP of correspondence, mainboard encoding D SP makes the stack of Intelligent treatment object information and source video flowing and delivers to and shows that DSP shows, just can see the image that has the Intelligent treatment object information like this in preview screen.Just can carry out the Intelligent treatment analysis of 16 paths simultaneously through this DVR after such expansion by the DSP on the expansion board (DSP5-DSP8).
Referring to Fig. 3, it is the preview image that has intelligent information according to one of the embodiment of the invention.The part of being irised out by black solid line among Fig. 3 is the intelligent alarm zone, just might trigger operations such as warning when suspicious object occurring in this zone.
When carrying out the multipath decoding task, system has stopped the intelligent video analysis function of expansion board DSP, open decoding function, every DSP maximum can be separated the video image of 4 road D1 resolution on the expansion board, can decode the simultaneously video image of 20 tunnel D1 resolution of the decoding function of 4 road D1 resolution of the DSP0 of original in addition mainboard, the DVR after the expansion.
Referring to Fig. 4, it is according to the flowchart of the expansion board of the embodiment of the invention, specifically comprises:
Step 401, behind the device start, the expansion board electrification reset, the DSP default allocation on the expansion board is used for the memory source that intelligent video is handled, and initialization is used for the analysis operational factor that intelligent video is handled;
Step 402 judges whether to carry out decoding processing, is execution in step 411 then, carry out decode operation, otherwise execution in step 403 is carried out the intelligent video Processing tasks;
Step 403~405, in the shared buffer memory of the corresponding with it mainboard encoding D SP of the continuous detection of expansion board DSP whether video data is arranged, and whether this video data is effective, video data is exactly the source video flowing of the video input channel that writes of corresponding mainboard encoding D SP in this shared buffer memory, if the effective video data are arranged in the shared buffer memory, expansion board DSP then reads video data and analyzes in the buffer memory to it, otherwise detects after continuing to wait for time of presetting such as 10ms again.
Step 406~409, DSP on the expansion board carries out intelligent video analysis to current frame image to be handled, and the object information portion of Intelligent treatment is sent to the ARM main frame be saved in hard disk, corresponding codes DSP is given in another part passback, so that on raw video image, superpose Intelligent treatment object informations such as render target, rule, in preview, there is intelligent information to show.
Wherein, the process that stack shows is roughly: encoding D SP is added to Intelligent treatment information on the raw video image, video data after will superposeing is then delivered to preview demonstration among the DSP with decoding and Presentation Function, and DSP0 has decoding and Presentation Function among the embodiment.This process is a prior art, and this paper no longer describes in detail this.
Step 410 after this present frame disposed, is waited for the next frame data, skips to step 403;
Step 411~413, when there was decoding task in system, the DSP on the expansion board stopped the intellectual analysis function, discharged the memory source that is used for intellectual analysis, and then the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up;
Step 414 is carried out decode operation;
Step 415 judges whether decode operation finishes, if finish to skip to step 415, if do not finish to skip to step 414;
Step 416~417, after decoding finished, expansion board DSP stopped decoding function, discharged the memory source that is used to decode, and then initialization intellectual analysis functional parameter distributes the required memory source of intellectual analysis, skips to step 403.
As shown in Figure 4, it is the memory source space of distributing Intelligent treatment earlier that expansion board is given tacit consent to behind power-up initializing, i.e. after the expansion board initialization, just can normally carry out multi-way intelligence video analysis function.After having detected decoding task, promptly stop the intelligent video analysis function, then support decoding function comprehensively.The handover operation flow process of execution intelligent video processing capacity and decoding function as shown in Figure 5.
Referring to Fig. 5, it is the flow chart that switches mutually according to before the execution intelligent video processing capacity of the embodiment of the invention and the decoding function, specifically comprises:
Step 501~502, when decoding task was arranged, the ARM main frame need to judge whether expansion board DSP to carry out decoding task.If desired, then send the Host Command that finishes intellectual analysis, otherwise do not send this order to expansion board DSP to corresponding expansion board DSP.
Wherein, need judging whether expansion board DSP to carry out decoding task can decide with data volume to be decoded according to the real resource of main frame.With Fig. 2 embodiment is example, and 4 road D1 resolution videos because DSP0 can decode simultaneously are if Xie Ma way promptly will start expansion board and carry out decoding task greater than 4 simultaneously.In the present specification, concrete determination methods is not limited.
Step 503~504, expansion board DSP promptly begins to respond Host Command after receiving the end intellectual analysis order that main frame sends, and specifically comprises removing intelligent enabler flags, discharges the memory headroom that intelligence is used, and to the executing state of main frame return command.
Step 505, the ARM main frame is judged the executing state that goes up subcommand, if run succeeded, then execution in step 506; Otherwise execution in step 520;
Step 506, ARM main frame continue to send the order that begins to decode to this DSP;
Step 507~508, expansion board DSP promptly begins the initialization decoding parametric after receiving the beginning decodes commands that main frame sends, and distributes the decode memory space, wakes the decoding process up, and to the executing state of main frame return command;
Step 509, the ARM main frame is judged the executing state that goes up subcommand, if run succeeded, then execution in step 510, otherwise execution in step 520;
Step 510, the ARM main frame is read the video data on the hard disk to the shared buffer memory of ARM and DSP;
Step 511, expansion board DSP reads data the playback of decoding to its decoding buffer memory on shared buffer memory;
Step 512, ARM main frame judge whether decode operation finishes, if finish then execution in step 513, otherwise execution in step 510;
Step 513, ARM main frame stop from the hard disk read data to shared buffer memory, and the DSP on expansion board sends the order that stops to decode;
Step 514~515, expansion board DSP receives that main frame sends stop decodes commands after, promptly begin to remove the decoding enabler flags, discharge the memory headroom that decoding is used, and to the executing state of main frame return command;
Step 516, the ARM main frame is judged the executing state that goes up subcommand, if run succeeded, then execution in step 517, otherwise execution in step 520;
Step 517, the ARM main frame continues to send to this DSP the order of beginning intellectual analysis;
Step 518~519, expansion board DSP promptly begins initialization intellectual analysis parameter after receiving the beginning intellectual analysis order that main frame sends, and distributes intellectual analysis required memory space, carries out the intelligent video analysis processing capacity;
Step 520, serial ports output display command is carried out and is made mistakes.
So far, having finished execution intelligent video processing capacity and decoding function switches before mutually.The DSP video intelligent analytic function on the expansion board and the switching of decoding function are mutual by with the ARM main frame, stop the function of last time, the memory source of subfunction in the release is applied for the memory source of this subfunction again, carry out this feature operation, realize between two kinds of functions switching mutually.
As seen, use the method for on digital hard disc video recorder, expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously that the embodiment of the invention provides, can utilize minimum hardware resource, reach maximum resource utilization.The embodiment of the invention makes need not changed or change under the less situation in the hardware resource design of former digital hard disc video recorder, carries out multipath decoding and multi-way intelligence video analysis by daughter board that has many dsp chips of pci interface expansion.In order to make the DSP on the expansion board reach peak use rate, the method that adopts expansion board decoding function and intellectual analysis function to switch mutually, make under the different modes of operation, all DSP of expansion board only are used for a kind of function, thereby have increased the overall channel number that expansion board is decoded and intellectual analysis can be supported.Generally speaking, the hardware designs of the embodiment of the invention realizes simple, ordinary numbers DVR through expansion is not increasing under any relevant miscellaneous equipment, just can support high-resolution decoding function of multichannel and multi-channel video analyzing and processing function simultaneously to greatest extent.
The embodiment of the invention also provides a kind of device of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously, referring to Fig. 6, expansion comprises the expansion board of at least one Digital Signal Processing dsp chip on digital hard disc video recorder DVR, corresponding link of the DSP that is used to encode on every DSP on the described expansion board and the mainboard of DVR, described device comprises:
Initialization unit 601 is used for after described expansion board powers on, and divides to be used in the memory source that intelligent video is handled, and initialization is used for the analysis operational factor that intelligent video is handled;
Action type judging unit 602 is used to judge whether to carry out decoding processing, is then to notify decoding unit, otherwise notice intelligent video processing unit;
Intelligent video processing unit 603, be used for after the detection of the DSP on the described expansion board receives the effective video data, described effective video data are copied into the processing buffering area, video data to described processing buffering area carries out the intelligent video analysis processing, the DVR main frame that Intelligent treatment object information portion is sent to DVR is with in the hard disk that is saved in described DVR, corresponding mainboard encoding D SP is given in another part passback, so that superpose described Intelligent treatment object information on raw video image;
Decoding unit 604 is used to stop the intellectual analysis function, discharges to be used for the memory source that intelligent video is handled, and the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up, carries out decode operation.
Above-mentioned decoding unit 604 also is used for when decode operation finishes, and discharges the memory source that is used to decode, and initialization is used for the analysis operational factor that intelligent video is handled, and divides to be used in the memory source that intelligent video is handled.
Above-mentioned intelligent video processing unit 603, the DSP that also is used on described expansion board detects when not receiving the effective video data, wait for a Preset Time after, carry out detecting operation again.
Use the device of on digital hard disc video recorder, expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously that the embodiment of the invention provides, can utilize minimum hardware resource, reach maximum resource utilization.The embodiment of the invention makes need not changed or change under the less situation in the hardware resource design of former digital hard disc video recorder, carries out multipath decoding and multi-way intelligence video analysis by daughter board that has many dsp chips of pci interface expansion.In order to make the DSP on the expansion board reach peak use rate, the method that adopts expansion board decoding function and intellectual analysis function to switch mutually, make under the different modes of operation, all DSP of expansion board only are used for a kind of function, thereby have increased the overall channel number that expansion board is decoded and intellectual analysis can be supported.Generally speaking, the hardware designs of the embodiment of the invention realizes simple, ordinary numbers DVR through expansion is not increasing under any relevant miscellaneous equipment, just can support high-resolution decoding function of multichannel and multi-channel video analyzing and processing function simultaneously to greatest extent.
For device embodiment, because it is substantially similar in appearance to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Need to prove, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method execution mode is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, here the alleged storage medium that gets, as: ROM/RAM, magnetic disc, CD etc.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (9)

1. method of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously, it is characterized in that, expansion comprises the expansion board of at least one Digital Signal Processing dsp chip on digital hard disc video recorder DVR, corresponding link of the DSP that is used to encode on every DSP on the described expansion board and the mainboard of DVR, described method also comprises:
After described expansion board powered on, the DSP on the described expansion board divided the memory source that is used in the intelligent video processing, and initialization is used for the analysis operational factor that intelligent video is handled;
Judging whether to carry out decoding processing, is then to carry out decoding task, otherwise carries out the intelligent video Processing tasks;
When carrying out the intelligent video Processing tasks, specifically comprise:
After DSP on the described expansion board detects and receives the effective video data, described effective video data are copied into the processing buffering area, video data to described processing buffering area carries out the intelligent video analysis processing, the main frame that Intelligent treatment object information portion is sent to DVR is with in the hard disk that is saved in described DVR, corresponding mainboard encoding D SP is given in another part passback, so that superpose described Intelligent treatment object information on raw video image;
When carrying out decoding task, specifically comprise:
DSP on the described expansion board stops the intellectual analysis function, discharges to be used for the memory source that intelligent video is handled, and the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up, carries out decode operation.
2. method according to claim 1 is characterized in that, when decode operation finished, described method also comprised:
DSP on the described expansion board discharges the memory source that is used to decode, and initialization is used for the analysis operational factor that intelligent video is handled, and divides to be used in the memory source that intelligent video is handled.
3. method according to claim 1 is characterized in that, when carrying out the intelligent video Processing tasks, described method also comprises:
DSP on the described expansion board detects when not receiving the effective video data, wait for a Preset Time after, carry out detecting operation again.
4. method according to claim 1 is characterized in that, the described decoding processing of whether carrying out is to decide according to order beginning decodes commands or the order of beginning intellectual analysis from the DVR main frame that receive.
5. method according to claim 1, it is characterized in that DSP on the described expansion board detects the step that receives the effective video data and comprises: the DSP on the described expansion board detects from shared buffer memory and receives on the DVR mainboard effective video data that corresponding codes DSP with it sends.
6. method according to claim 1 is characterized in that, described method also comprises: after the DSP on the described expansion board executes each operation, return the executing state whether expression runs succeeded to the DVR main frame.
7. device of expanding multi-channel decoding and multi-channel intelligent video processing function simultaneously, it is characterized in that, expansion comprises the expansion board of at least one Digital Signal Processing dsp chip on digital hard disc video recorder DVR, corresponding link of the DSP that is used to encode on every DSP on the described expansion board and the mainboard of DVR, described device comprises:
Initialization unit is used for after described expansion board powers on, and divides to be used in the memory source that intelligent video is handled, and initialization is used for the analysis operational factor that intelligent video is handled;
The action type judging unit is used to judge whether to carry out decoding processing, is then to notify decoding unit, otherwise notice intelligent video processing unit;
The intelligent video processing unit, be used for after the detection of the DSP on the described expansion board receives the effective video data, described effective video data are copied into the processing buffering area, video data to described processing buffering area carries out the intelligent video analysis processing, the main frame that Intelligent treatment object information portion is sent to DVR is with in the hard disk that is saved in described DVR, corresponding mainboard encoding D SP is given in another part passback, so that superpose described Intelligent treatment object information on raw video image;
Decoding unit is used to stop the intellectual analysis function, discharges to be used for the memory source that intelligent video is handled, and the initialization decoding parametric distributes the required memory source of decoding, wakes the decoding thread up, carries out decode operation.
8. device according to claim 7 is characterized in that,
Described decoding unit also is used for when decode operation finishes, and discharges the memory source that is used to decode, and initialization is used for the analysis operational factor that intelligent video is handled, and divides to be used in the memory source that intelligent video is handled.
9. device according to claim 7 is characterized in that,
Described intelligent video processing unit, the DSP that also is used on described expansion board detects when not receiving the effective video data, wait for a Preset Time after, carry out detecting operation again.
CN 201010200999 2010-06-09 2010-06-09 Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof Active CN101964893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010200999 CN101964893B (en) 2010-06-09 2010-06-09 Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010200999 CN101964893B (en) 2010-06-09 2010-06-09 Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof

Publications (2)

Publication Number Publication Date
CN101964893A true CN101964893A (en) 2011-02-02
CN101964893B CN101964893B (en) 2012-09-05

Family

ID=43517598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010200999 Active CN101964893B (en) 2010-06-09 2010-06-09 Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof

Country Status (1)

Country Link
CN (1) CN101964893B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313020A (en) * 2013-06-27 2013-09-18 武汉烽火众智数字技术有限责任公司 Video cascading device for multi-way high-definition network video recorder and method thereof
CN104780294A (en) * 2015-04-21 2015-07-15 东方网力科技股份有限公司 FPGA Soc parallel processing-based distributed large-data volume video processing system and method
CN105578116A (en) * 2015-12-30 2016-05-11 邦彦技术股份有限公司 Multichannel video stream control system and multichannel video stream control method based on DSP
CN107341078A (en) * 2017-06-30 2017-11-10 中国航空工业集团公司雷华电子技术研究所 A kind of self-adapting detecting method of the more DSP arrays of C6678
CN109922366A (en) * 2019-03-28 2019-06-21 深圳创维数字技术有限公司 A kind of device parameter method of adjustment, device, equipment and medium
CN112860426A (en) * 2019-11-28 2021-05-28 杭州海康消防科技有限公司 Intelligent analysis method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272501A (en) * 2008-05-07 2008-09-24 北京数码视讯科技股份有限公司 Video/audio encoding and decoding method and device
CN101360245A (en) * 2008-09-19 2009-02-04 中国人民解放军国防科学技术大学 Large capacity image data real-time compressing apparatus and method based on multi-DSP parallel processing
CN101365115A (en) * 2008-09-03 2009-02-11 华中科技大学 Embedded real-time network video monitoring system
CN101577816A (en) * 2009-06-09 2009-11-11 深圳中兴力维技术有限公司 Device and method supporting multichannel high definition video decoding
CN201444683U (en) * 2009-06-19 2010-04-28 济南中维世纪科技有限公司 Multi-channel real-time video transmission device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272501A (en) * 2008-05-07 2008-09-24 北京数码视讯科技股份有限公司 Video/audio encoding and decoding method and device
CN101365115A (en) * 2008-09-03 2009-02-11 华中科技大学 Embedded real-time network video monitoring system
CN101360245A (en) * 2008-09-19 2009-02-04 中国人民解放军国防科学技术大学 Large capacity image data real-time compressing apparatus and method based on multi-DSP parallel processing
CN101577816A (en) * 2009-06-09 2009-11-11 深圳中兴力维技术有限公司 Device and method supporting multichannel high definition video decoding
CN201444683U (en) * 2009-06-19 2010-04-28 济南中维世纪科技有限公司 Multi-channel real-time video transmission device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313020A (en) * 2013-06-27 2013-09-18 武汉烽火众智数字技术有限责任公司 Video cascading device for multi-way high-definition network video recorder and method thereof
CN104780294A (en) * 2015-04-21 2015-07-15 东方网力科技股份有限公司 FPGA Soc parallel processing-based distributed large-data volume video processing system and method
CN105578116A (en) * 2015-12-30 2016-05-11 邦彦技术股份有限公司 Multichannel video stream control system and multichannel video stream control method based on DSP
CN107341078A (en) * 2017-06-30 2017-11-10 中国航空工业集团公司雷华电子技术研究所 A kind of self-adapting detecting method of the more DSP arrays of C6678
CN109922366A (en) * 2019-03-28 2019-06-21 深圳创维数字技术有限公司 A kind of device parameter method of adjustment, device, equipment and medium
CN112860426A (en) * 2019-11-28 2021-05-28 杭州海康消防科技有限公司 Intelligent analysis method and device, electronic equipment and readable storage medium
CN112860426B (en) * 2019-11-28 2024-03-01 杭州海康消防科技有限公司 Intelligent analysis method, intelligent analysis device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN101964893B (en) 2012-09-05

Similar Documents

Publication Publication Date Title
CN101964893B (en) Method for expanding multichannel decoding and multichannel intelligent video processing functions and device thereof
CN1609811A (en) Providing secure input to a system with a high-security execution environment
CN103327021B (en) Method, devices and system of multi-device interaction
CN102073375A (en) Portable terminal and display output method thereof
CN105556598A (en) Selective watermarking of channels of multichannel audio
CN101706657A (en) Optimized central control method, device and system
CN105007082A (en) Data compression method and device, and terminal
US11496671B2 (en) Surveillance video streams with embedded object data
CN110971855A (en) DVR system and method based on USB Type-C interface
US20120047286A1 (en) Data Processing Device for Multiple Hardware Systems, Switching Method and Computer Program Product
CN101521782A (en) Method for fast-forward and fast-backward browsing video, system and multimedia equipment
CN101202875A (en) Method and apparatus for generating and playing playback file capable of easily changing player
CN101364400B (en) Information processing apparatus and output switching control method
CN103634388A (en) Method for processing restarting of controllers in storage server, related equipment and communication system
CN101325676A (en) Device for decoding audio and video
CN101872604A (en) System and method for monitoring television wall
CN111475435A (en) Storage medium sharing method and device, electronic equipment and storage medium
CN101848352A (en) Image supply device, image feed system and image supply method
CN113316022B (en) Video playing method, device, equipment, system and storage medium
CN105828313A (en) Data transmission method, data transmission apparatus and traveling recorder
US11509832B2 (en) Low light surveillance system with dual video streams
CN115209220A (en) Video file processing method and device, storage medium and electronic equipment
KR20110052277A (en) Combo type video surveillance system and method thereof
CN103310815B (en) Transcriber and the control method of transcriber
CN103034147B (en) The play handling method of media file, multicomputer system and equipment

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