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 pipeline function 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 pipeline function that inquires, described third party's transfer of data function is used for duplicating 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 of gathering 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, duplicates 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 used for the transfer of data pipeline function of query aim video acquisition coding card;
The function address modified module, be used 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 pipeline function that will inquire, described third party's transfer of data function is used for duplicating 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 the video data that is used for gather obtaining transmits, obtains the video data that the video data acquiring module of target video capturing and coding card is gathered;
Data transmission module is used for the destination address of described video data is redirected to third party software, duplicates 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 to gather video image and coding forms video data; Described video monitoring data deriving means is used for the transfer of data pipeline function 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 pipeline function that will inquire, described third party's transfer of data function is used for duplicating 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 to receive described video data.
Video monitoring data acquisition methods, device and video monitoring system that the embodiment of the invention provides, transfer of data pipeline function by query aim video acquisition coding card (the video acquisition coding card that promptly needs data therefrom), and the entry address that third party's transfer of data function is revised as in the entry address of transfer of data pipeline function, make the target video capturing and coding be stuck in when carrying out transfer of data, earlier 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 is obtained under the creative work prerequisite.
At 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 pipeline function 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 pipeline function that will inquire, above-mentioned third party's transfer of data function are used for duplicating 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 pipeline function by query aim video acquisition coding card (the video acquisition coding card that promptly needs data therefrom), and the entry address that third party's transfer of data function is revised as in the entry address of transfer of data pipeline function, make the target video capturing and coding be stuck in when carrying out transfer of data, in the time of just will carrying out transfer of data pipeline function 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 to 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 in addition third party software also can be regarded as an intermediary, 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 pipeline function that jumps to described execution target video capturing and coding card after executing described third party's transfer of data function is to give described video Data Transmission the video data processing module of target video capturing and coding card.Promptly 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 pipeline function on the video acquisition coding card, on the target integrated circuit board, to proceed the processing of video monitoring data, do not influence the normal operation of target video capturing and coding card.
In addition on the basis of the foregoing description, can also comprise step from third party's transfer of data function to target video capturing and coding card that inject, what this step was concrete can be by modes such as message hook, remote threads third party's transfer of data function to be injected in the memory headroom of the software that uses the video acquisition coding card in the Ring3 level.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 to deposit application data.
Transfer of data pipeline function in the foregoing description can be specially the transfer of data pipeline function 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, make and collect video data at target video capturing and coding card, and be sent to the upper strata and carry out (also just passing through in the process of transfer of data pipeline function passes video data) of data processing midway, duplicate a video data by third party's transfer of data function, and send to third party software.
On the Ring3 level, inject third party's transfer of data function 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, the mode of taking software to inject 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 pipeline function of query aim video acquisition coding card; Function address modified module 12 is used 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 pipeline function that will inquire, and described third party's transfer of data function is used for duplicating 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 pipeline function by query aim video acquisition coding card (the video acquisition coding card that promptly needs data therefrom), and the entry address that third party's transfer of data function is revised as in the entry address of transfer of data pipeline function, make the target video capturing and coding be stuck in when carrying out transfer of data, earlier 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 the foregoing description, the video monitoring data deriving means can further include program redirect module, and this module is used for the transfer of data pipeline function that described target video capturing and coding card is carried out in after executing described third party's transfer of data function redirect.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 influence 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, this method mainly is at the specified functional method of third party's transfer of data function in the foregoing description, promptly 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, duplicates 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 the data acquisition module video data that is used for gather obtaining transmits, obtain the video data that the video data acquiring module of target video capturing and coding card is gathered; Data transmission module is used for the destination address of described video data is redirected to third party software, duplicates described video data and is sent to third party software.Can further include the software injection module at above-mentioned video monitoring data deriving means in addition, this software injection 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 injection module can be used for injecting third party transfer of data function by message hook or remote thread mode to the memory headroom of 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 to gather 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 pipeline function 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 pipeline function, described third party's transfer of data function is used for duplicating 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 to receive described video data.
In above-mentioned video monitoring system embodiment, transfer of data pipeline function by query aim video acquisition coding card (the video acquisition coding card that promptly needs data therefrom), and the entry address that third party's transfer of data function is revised as in the entry address of transfer of data pipeline function, make the target video capturing and coding be stuck in when carrying out transfer of data, earlier 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 pipeline function of target video capturing and coding card can be the transfer of data pipeline function between video data acquiring module and the video data processing module on the target video capturing and coding card in the foregoing description.Third party's transfer of data function is injected in the memory headroom of the software that uses target video capturing and coding card in the present embodiment.
Video monitoring data acquisition methods, device and video monitoring system that the above embodiment of the present invention provides, transfer of data pipeline function by query aim video acquisition coding card (the video acquisition coding card that promptly needs data therefrom), and the entry address that third party's transfer of data function is revised as in the entry address of transfer of data pipeline function, make the target video capturing and coding be stuck in when carrying out transfer of data, earlier 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: 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 put 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.