Summary of the invention
The embodiment of the invention provides a kind of video monitoring data acquisition methods, device and video monitoring system, in order to the data interchange of the video acquisition coding card of realizing different manufacturers.
The embodiment of the invention provides a kind of video monitoring data acquisition methods, comprising:
The transfer of data cre-atepipe of query aim video acquisition coding card;
With the entry address that third party's transfer of data function is revised as in the entry address of the described transfer of data cre-atepipe that inquires, described third party's transfer of data function is used for copying the video data of target video capturing and coding card and sending to third party software when carrying out.
The embodiment of the invention provides another kind of video monitoring data acquisition methods, comprising:
When the video data that gathers acquisition is transmitted, obtain the video data of the video data acquiring module collection of target video capturing and coding card;
The destination address of described video data is redirected to third party software, copies described video data and be sent to third party software.
The embodiment of the invention also provides a kind of video monitoring data deriving means, comprising:
Enquiry module is for the transfer of data cre-atepipe of query aim video acquisition coding card;
The function address modified module, for the entry address that third party's transfer of data function is revised as in the entry address of the described transfer of data cre-atepipe that will inquire, described third party's transfer of data function is used for copying the video data of target video capturing and coding card and sending to third party software when carrying out.
The embodiment of the invention also provides another kind of video monitoring data deriving means, comprising:
Data acquisition module when transmitting for the video data that will gather acquisition, obtains the video data of the video data acquiring module collection of target video capturing and coding card;
Data transmission module is used for the destination address of described video data is redirected to third party software, copies described video data and is sent to third party software.
The embodiment of the invention also provides a kind of video monitoring system, comprise more than one target video capturing and coding card, video monitoring data deriving means and third party software, described target video capturing and coding card is used for gathering video image and coding forms video data; Described video monitoring data deriving means is used for the transfer of data cre-atepipe of query aim video acquisition coding card, and the entry address of being revised as third party's transfer of data function, the entry address of the described transfer of data cre-atepipe that will inquire, described third party's transfer of data function is used for copying the video data of target video capturing and coding card and sending to third party software when carrying out; Described third party software is used for receiving described video data.
Video monitoring data acquisition methods, device and video monitoring system that the embodiment of the invention provides, transfer of data cre-atepipe by query aim video acquisition coding card (the video acquisition coding card that namely needs data therefrom), and the entry address of the entry address of transfer of data cre-atepipe being revised as third party's transfer of data function, so that the target video capturing and coding is stuck in when carrying out transfer of data, first data are sent to third party software, can realize third party software obtaining the video monitoring data of target video capturing and coding card.By above-mentioned execution mode, can realize that third party software obtains video monitoring data from the video acquisition coding card of different producers, thus the intercommunication between the video monitoring data of the video acquisition coding card of realization different manufacturers.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment 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 obtains under the creative work prerequisite.
For the data interchange between the video acquisition coding card that can not realize different manufacturers production in the prior art, the embodiment of the invention provides a kind of video monitoring data acquisition methods, Fig. 1 is the schematic flow sheet of video monitoring data acquisition methods embodiment of the present invention, as shown in Figure 1, comprise the steps:
The transfer of data cre-atepipe of step 101, query aim video acquisition coding card;
The entry address that third party's transfer of data function is revised as in the entry address of step 102, the above-mentioned transfer of data cre-atepipe that will inquire, above-mentioned third party's transfer of data function are used for copying the video data of target video capturing and coding card and sending to third party software when carrying out.
The above embodiment of the present invention is the transfer of data cre-atepipe by query aim video acquisition coding card (the video acquisition coding card that namely needs data therefrom), and the entry address of the entry address of transfer of data cre-atepipe being revised as third party's transfer of data function, so that the target video capturing and coding is stuck in when carrying out transfer of data, when namely wanting performing data transmission cre-atepipe transmitting video data, can at first carry out third party's transfer of data function, by this third party's transfer of data function copy data and be sent to third party software, realize third party software obtaining the video monitoring data of target video capturing and coding card.By above-mentioned execution mode, can realize that third party software obtains video monitoring data from the video acquisition coding card of different producers, thus the intercommunication between the video monitoring data of the video acquisition coding card of realization different manufacturers.
In the various embodiments of the present invention, it is the third party's data acquisition equipment that obtains video monitoring data from the Video coding capture card of other producers that third party software can be seen as, this third party's data acquisition equipment has been realized obtaining video monitoring data from the video acquisition coding card of other producers, above-mentioned third party software also can be regarded as an intermediary in addition, by third party's data acquisition equipment replicating video data from third party software.
The embodiment of the invention is on the basis of carrying out above-mentioned steps, can further include following steps: carry out described third party's transfer of data function, and the transfer of data cre-atepipe that jumps to described performance objective video acquisition coding card after executing described third party's transfer of data function is with the video data processing module of described video data transmitting to target video capturing and coding card.Namely carrying out third party's transfer of data function, after making third party software get access to the video monitoring data backup of a video acquisition coding card, continue to carry out the transfer of data cre-atepipe on the video acquisition coding card, to proceed the processing of video monitoring data at the target integrated circuit board, do not affect the normal operation of target video capturing and coding card.
In addition on the basis of above-described embodiment, can also comprise step from third party's transfer of data function to target video capturing and coding card that inject, this step is concrete can be the Ring3 level by the modes such as message hook, remote thread with third party's transfer of data function call injection in the memory headroom of the software that uses the video acquisition coding card.Above-mentioned Ring3 level is the Ring rank that the x86 processor of Intel conducts interviews and controls, and is divided into 4 layers, and from Ring0 to Ring3, the Ring3 level is used for depositing application data.
Transfer of data cre-atepipe in above-described embodiment can be specially the transfer of data cre-atepipe between the video data acquiring module and video data processing module on the target video capturing and coding card in addition.Being about to third party's transfer of data function is inserted on the target video capturing and coding card between the data acquisition function and data processing function, so that collect video data at target video capturing and coding card, and be sent to the upper strata and carry out midway (also with regard in the process by transfer of data cre-atepipe transmission video data) that data are processed, copy a video data by third party's transfer of data function, and send to third party software.
Inject third party's transfer of data function in the Ring3 level in the above embodiment of the present invention, this mainly is because in the Ring3 level, can only there be a software can take hardware port, for example the data acquisition software that provides of the manufacturer of video acquisition coding card obtains video data from the video acquisition coding card, take the mode of software pouring in the present embodiment, finish in data acquisition, in the way of data processing module transmitting video data, " steal " data.
The corresponding embodiment of the invention also provides a kind of video monitoring data deriving means, this device can be carried out the process step of above-mentioned video monitoring data acquisition methods embodiment, Fig. 2 is the structural representation of video monitoring data deriving means embodiment of the present invention, as shown in Figure 2, this video monitoring data deriving means comprises enquiry module 11 and function address modified module 12, and wherein enquiry module 11 is used for the transfer of data cre-atepipe of query aim video acquisition coding card; The entry address that function address modified module 12 is revised as third party's transfer of data function for the entry address of the described transfer of data cre-atepipe that will inquire, described third party's transfer of data function are used for copying the video data of target video capturing and coding card and sending to third party software when carrying out.
The video monitoring data deriving means that the above embodiment of the present invention provides, transfer of data cre-atepipe by query aim video acquisition coding card (the video acquisition coding card that namely needs data therefrom), and the entry address of the entry address of transfer of data cre-atepipe being revised as third party's transfer of data function, so that the target video capturing and coding is stuck in when carrying out transfer of data, first data are sent to third party software, can realize third party software obtaining the video monitoring data of target video capturing and coding card.By above-mentioned execution mode, can realize that third party software obtains video monitoring data from the video acquisition coding card of different producers, thus the intercommunication between the video monitoring data of the video acquisition coding card of realization different manufacturers.
On the basis of above-described embodiment, the video monitoring data deriving means can further include program redirect module, and this module is carried out the transfer of data cre-atepipe of described target video capturing and coding card for redirect after executing described third party's transfer of data function.This module can redirect be carried out the data transmission tunnel function of above-mentioned target video capturing and coding card after executing third party's transfer of data function, thereby can be at the data interchange of realizing under the prerequisite of the normal operation that does not affect former video acquisition coding card between the dissimilar video acquisition coding cards.
The embodiment of the invention also provides another kind of video monitoring data acquisition methods, the method mainly is for the specified functional method of third party's transfer of data function in above-described embodiment, namely comprise following step: at first, when the video data that will gather acquisition transmits, obtain the video data of the video data acquiring module collection of target video capturing and coding card; Secondly the destination address with described video data is redirected to third party software, copies described video data and is sent to third party software.
The present invention also provides the video monitoring data deriving means of the above-mentioned third party's transfer of data of a kind of correspondence function performance, this device comprises data acquisition module and data transmission module, when wherein data acquisition module transmits for the video data that will gather acquisition, obtain the video data of the video data acquiring module collection of target video capturing and coding card; Data transmission module is used for the destination address of described video data is redirected to third party software, copies described video data and is sent to third party software.Can further include the software pouring module at above-mentioned video monitoring data deriving means in addition, this software pouring module is used for injecting third party's transfer of data function to the memory headroom of the software that uses described target video capturing and coding card.This concrete software pouring module can be injected third party's transfer of data function for pass through message hook or the remote thread mode memory headroom to the software that uses described target video capturing and coding card in the Ring3 level.
The embodiment of the invention also provides a kind of video monitoring system, Fig. 3 is the device schematic diagram of video monitoring system embodiment of the present invention, as shown in Figure 3, this video monitoring system comprises more than one target video capturing and coding card 21, video monitoring data deriving means 22 and third party software 23, wherein above-mentioned target video capturing and coding card 21 can be the video acquisition coding card that different manufacturers is produced, be that above-mentioned target video capturing and coding card uses different agreements to carry out the processing of video data, according to the different data interchanges of realizing between the above-mentioned different video capturing and coding card of prior art.Target video capturing and coding card 21 is used for gathering video image and coding formation video data in embodiments of the present invention; Video monitoring data deriving means 22 is used for the transfer of data cre-atepipe of query aim video acquisition coding card, and the entry address that third party's transfer of data function is revised as in the entry address of described transfer of data cre-atepipe, described third party's transfer of data function is used for copying the video data of target video capturing and coding card and sending to third party software when carrying out; Third party software 23 is used for receiving described video data.
In above-mentioned video monitoring system embodiment, transfer of data cre-atepipe by query aim video acquisition coding card (the video acquisition coding card that namely needs data therefrom), and the entry address of the entry address of transfer of data cre-atepipe being revised as third party's transfer of data function, so that the target video capturing and coding is stuck in when carrying out transfer of data, first data are sent to third party software, can realize third party software obtaining the video monitoring data of target video capturing and coding card.By above-mentioned execution mode, can realize that third party software obtains video monitoring data from the video acquisition coding card of different producers, thus the intercommunication between the video monitoring data of the video acquisition coding card of realization different manufacturers.
Concrete, as shown in Figure 3, the transfer of data cre-atepipe of target video capturing and coding card can be the transfer of data cre-atepipe between video data acquiring module and the video data processing module on the target video capturing and coding card in above-described embodiment.In the present embodiment with third party's transfer of data function call injection in the memory headroom of the software that uses target video capturing and coding card.
Video monitoring data acquisition methods, device and video monitoring system that the above embodiment of the present invention provides, transfer of data cre-atepipe by query aim video acquisition coding card (the video acquisition coding card that namely needs data therefrom), and the entry address of the entry address of transfer of data cre-atepipe being revised as third party's transfer of data function, so that the target video capturing and coding is stuck in when carrying out transfer of data, first data are sent to third party software, can realize third party software obtaining the video monitoring data of target video capturing and coding card.By above-mentioned execution mode, can realize that third party software obtains video monitoring data from the video acquisition coding card of different producers, thus the intercommunication between the video monitoring data of the video acquisition coding card of realization different manufacturers.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.