CN106657797A - Camera calling method, camera calling device and camera calling system - Google Patents

Camera calling method, camera calling device and camera calling system Download PDF

Info

Publication number
CN106657797A
CN106657797A CN201710108012.XA CN201710108012A CN106657797A CN 106657797 A CN106657797 A CN 106657797A CN 201710108012 A CN201710108012 A CN 201710108012A CN 106657797 A CN106657797 A CN 106657797A
Authority
CN
China
Prior art keywords
manufacturer
video camera
camera
configuration information
interface
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.)
Pending
Application number
CN201710108012.XA
Other languages
Chinese (zh)
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.)
Jinan Inspur Hi Tech Investment and Development Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development 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 Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN201710108012.XA priority Critical patent/CN106657797A/en
Publication of CN106657797A publication Critical patent/CN106657797A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/617Upgrading or updating of programs or applications for camera control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a camera calling method, a camera calling device and a camera calling system. The calling method includes: establishing a Java archived file Jar package including at least two different manufacturer camera support libraries; receiving a calling request sent by an external front-end Java application program; determining configuration information of at least one manufacturer according to the calling request; forming a corresponding camera interface according to the configuration information of each manufacturer and the corresponding support libraries in the Jar package; calling a corresponding external camera through each camera interface. The device comprises an establishment unit, a receiving unit, a processing unit and a calling unit. The system comprises the front-end Java application program, at least two cameras and calling devices of the cameras. By the camera calling method, the camera calling device and the camera calling system, complexity in camera calling operation can be reduced.

Description

A kind of call method of video camera, apparatus and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of call method of video camera, apparatus and system.
Background technology
Video camera is a kind of common electronic equipment of safety-security area, is mainly used in video capture, is widely used in school, public affairs The security fields such as department, bank, traffic, safe city.Monitoring personnel calls video camera by front-end application, realizes online pre- The function such as look at, capture, recording a video, playing back, preferably to be monitored to monitor area.
At present, when video camera is called by front-end application, in front-end application configuration video camera with confidence Breath, front-end application is called by corresponding interface according to the configuration information of video camera to video camera.
The call method at present to video camera is directed to, because the video camera that different vendor is produced has different connecing Mouthful, it is impossible to the video camera that different vendor produced is called by same front-end application, thus is calling institute of different vendor During the video camera of production, need to switch different front-end applications, cause to call the operation of video camera complex.
The content of the invention
A kind of call method of video camera, apparatus and system are embodiments provided, can reduce calling video camera The complexity of operation.
In a first aspect, embodiments providing a kind of call method of video camera, establishment includes at least two not With the Java archive file Jar bags of manufacturer's video camera Support Library, also include:
The call request that front end java application outside receiving sends;
At least one manufacturer's configuration information is determined according to the call request;
According to the Support Library corresponding in each described manufacturer's configuration information and the Jar bags, formed corresponding Camera interface;
By camera interface each described, outside corresponding video camera is called.
Preferably, it is described to create the Jar bags for including at least two different vendor's video camera Support Libraries, including:
Create Java projects;
Applet Applet main classes is created under the Java projects, to define public method;
Under the Java projects, according to the parameter information that at least two video camera manufacturer difference in functionality interfaces are transmitted, Create common interface;
For video camera manufacturer each described, corresponding catalogue of realizing is created, and realize being created under catalogue described Common interface realizes class;
The Support Library of at least two video cameras manufacturer is introduced by Java local IP access JNA;
The Java projects are exported as into the Jar bags.
Preferably, the common interface includes:Common portion interface and difference section interface.
It is preferably, described according to the Support Library corresponding in each described manufacturer's configuration information and the Jar bags, Corresponding camera interface is formed, including:
Respectively by the incoming Jar bags of each described manufacturer's configuration information;
The Support Library of same video camera manufacturer corresponding with manufacturer's configuration information is called, is matched somebody with somebody according to the manufacturer Confidence breath realizes that class is instantiated to described, forms the camera interface corresponding with manufacturer's configuration information.
Preferably, it is described that outside corresponding video camera is called, including:
The video camera corresponding with manufacturer's configuration information is called to carry out video preview, picture catching, video recording and video It is any one or more in playback.
Second aspect, the embodiment of the present invention additionally provides a kind of calling device of video camera, including:Creating unit, reception Unit, processing unit and call unit;
The creating unit, for creating the Java archive file for including at least two different vendor's video camera Support Libraries Jar bags;
The receiving unit, the call request that the front end java application for receiving outside sends;
The processing unit, the call request for being received according to the receiving unit determines at least one manufacturer Configuration information, and according to corresponding in each manufacturer's configuration information and the Jar bags of creating unit establishment The Support Library, forms corresponding camera interface;
The call unit, for each the described camera interface formed according to the processing unit, to outside phase Corresponding video camera is called.
Preferably,
The creating unit, for creating Java projects, creates applet Applet master under the Java projects Class, to define public method;And under the Java projects, passed according at least two video camera manufacturer difference in functionality interfaces The parameter information passed, creates common interface;For video camera manufacturer each described, corresponding catalogue of realizing is created, and It is described to realize that common interface is created under catalogue realizes class;At least two video camera is introduced by Java local IP access JNA The Support Library of manufacturer;The Java projects are exported as into the Jar bags.
Preferably,
The processing unit, for respectively by the incoming Jar bags of each described manufacturer's configuration information;And call The Support Library of same video camera manufacturer corresponding with manufacturer's configuration information, according to manufacturer's configuration information to described Realize that class is instantiated, form the camera interface corresponding with manufacturer's configuration information.
Preferably,
The call unit, for calling the video camera corresponding with manufacturer's configuration information to carry out video preview, figure It is any one or more in as seizure, video recording and video playback.
The third aspect, the embodiment of the present invention additionally provides a kind of calling system of video camera, including:Front end Java application journeys The calling device of any one video camera that sequence, at least two video cameras and above-described embodiment are provided;
The front end java application, for sending call request to the calling device of the video camera;
Each described video camera, the calling device for receiving the video camera is called.
The call method of video camera provided in an embodiment of the present invention, apparatus and system, establishment includes different cameras factory The Jar bags of business's Support Library, after the call request that front end java application sends is received, determine at least according to hydrogen is called One manufacturer's configuration information, and then corresponding Support Library during manufacturer's configuration information and Jar include according to determined by, form and factory The corresponding camera interface of business's configuration information, passes through formed camera interface and video camera is called.As can be seen here, Support Library due to including at least two manufacturer's video cameras in Jar bags, props up according to different manufacturer's configuration informations with corresponding Holding storehouse can form camera interface corresponding to different vendor, can be to not so as to pass through same front end java application It is called with the video camera of manufacturer, without the need for switching front end java application, reduces the complexity for calling camera operation.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of call method flow chart of video camera that one embodiment of the invention is provided;
Fig. 2 is a kind of schematic diagram of the calling device place equipment of video camera that one embodiment of the invention is provided;
Fig. 3 is a kind of calling device schematic diagram of video camera that one embodiment of the invention is provided;
Fig. 4 is a kind of calling system schematic diagram of video camera that one embodiment of the invention is provided;
Fig. 5 is a kind of call method flow chart of video camera that another embodiment of the present invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of call method of video camera, the method can include following step Suddenly:
Step 101:Establishment includes the Java archive file Jar bags of at least two different vendor's video camera Support Libraries;
Step 102:The call request that front end java application outside receiving sends;
Step 103:At least one manufacturer's configuration information is determined according to the call request;
Step 104:According to the Support Library corresponding in each described manufacturer's configuration information and the Jar bags, shape Into corresponding camera interface;
Step 105:By camera interface each described, outside corresponding video camera is called.
A kind of call method of video camera is embodiments provided, establishment includes different cameras manufacturer Support Library Jar bags, after the call request that front end java application sends is received, according to hydrogen is called at least one manufacturer is determined Configuration information, and then corresponding Support Library during manufacturer's configuration information and Jar include according to determined by, form and match somebody with somebody confidence with manufacturer The corresponding camera interface of manner of breathing, passes through formed camera interface and video camera is called.As can be seen here, due to Jar The Support Library of at least two manufacturer's video cameras is included in bag, can be with according to different manufacturer's configuration informations and corresponding Support Library The camera interface corresponding to different vendor is formed, can be to different vendor so as to pass through same front end java application Video camera is called, and without the need for switching front end java application, reduces the complexity for calling camera operation.
In an embodiment of the invention, when creating Jar bags in step 101, a Java project is created first, at this Applet Applet main classes is created under Java projects, to define public method, wherein public method includes initialization, pre- The public method of various video cameras such as look at, take pictures, recording a video, playing back.Secondly, under the Java projects for being created, according at least two The parameter information that individual video camera manufacturer difference in functionality interface is transmitted, creates common interface;Each video camera manufacturer is directed to, Create it is corresponding realize catalogue, and create common interface in the case where catalogue is realized realize class;Thirdly, introduce each by JNA The Support Library of individual video camera manufacturer;Finally, the Java projects for completing the above three are exported as into Jar bags.
Specifically, because the video camera that different vendor is produced can include part identical method, such as initialization, pre- Look at, take pictures, record a video, play back, the public method of different cameras is created under Java projects, forming corresponding camera interface Afterwards, front end java application by the public method can call the video camera of each manufacturer carry out preview, take pictures, record a video, Playback etc..By creating public method, it is possible to reduce the included data volume of Jar bags, shooting is formed by Jar bags so as to improve The speed of machine interface, it is ensured that the efficiency that video camera is called.
The parameter information transmitted according to needed for different vendor's video camera each functional interface, combing goes out common interface;According to The difference of video camera manufacturer is respectively created that each video camera manufacturer is corresponding to realize catalogue, and creates public in the case where catalogue is realized Interface realizes class.After Jar bags receive manufacturer's configuration information, according to corresponding Support Library, the realization to common interface Class is instantiated, and the camera interface corresponding with manufacturer configuration information is formed, so as to ensure that Jar bags can be according to different Manufacturer's configuration information, forms the camera interface of correspondence different vendor, it is ensured that the feasibility of the video camera call method.
In an embodiment of the invention, Jar bags include common interface formed in step 101, the common interface bag Include common portion interface and difference section interface.Common portion interface is the part that each manufacturer's camera interface is shared;Difference Different part of interface is corresponding with each manufacturer, the different difference section interface of different manufacturer's camera interface correspondences.According to factory The difference of business's configuration information, in the camera interface that Jar bags are formed, includes common portion in each camera interface Interface, and difference section interface is according to the different and different of manufacturer's configuration information.Include common portion and difference by creating The common interface of different part, when instantiating to common interface, because common portion need not be instantiated, can save Time needed for common interface instantiation, so as to improve the efficiency to form camera interface, further increase and video camera is entered The efficiency that row is called.
In an embodiment of the invention, it is every by what is determined according to call request when forming camera interface in step 104 In the Jar bags created in the incoming step 101 of manufacturer's configuration information of, call in Jar bags and match somebody with somebody confidence with incoming manufacturer of institute The Support Library corresponding to same video camera manufacturer is ceased, according to the Support Library for being called, according to incoming manufacturer's configuration information Class is instantiated realizing in Jar bags, forms the camera interface corresponding with manufacturer configuration information.
Specifically, different video camera manufacturers is to having different manufacturer's configuration informations, Support Library and camera interface, factory After the incoming Jar bags of business's configuration information, determine from least two included Support Libraries of Jar bags and the incoming manufacturer's configuration information of institute Corresponding to the Support Library of same video camera manufacturer, according to the Support Library determined, according to the incoming manufacturer's configuration information of institute to Jar Common interface realizes that class is instantiated in bag, and same video camera is corresponded to institute incoming manufacturer's configuration information so as to be formed The camera interface of manufacturer.So, Jar bags can according to incoming manufacturer's configuration information difference, formed correspondence different vendor Camera interface, the video camera of different vendor is called such that it is able to pass through a front end java application, with side Just the video camera for being produced to different vendor is called.
In an embodiment of the invention, the camera interface formed in step 104 is passed through in step 105 to video camera It is called, the functions such as video preview, picture catching, video recording and video playback is completed by video camera.By Jar bags institute shape Into camera interface, the front end java application various behaviour such as video camera can be called to complete preview, take pictures, record a video, playing back Make, therefore the video camera call method that the embodiment of the present invention is provided has stronger applicability, can meet user to shooting The various operations that machine is carried out.
As shown in Figure 2 and Figure 3, a kind of calling device of video camera is embodiments provided.Device embodiment can lead to Cross software realization, it is also possible to realize by way of hardware or software and hardware combining.From for hardware view, as shown in Fig. 2 being A kind of hardware structure diagram of the calling device place equipment of video camera provided in an embodiment of the present invention, except the process shown in Fig. 2 Outside device, internal memory, network interface and nonvolatile memory, the equipment that device is located in embodiment generally can also include Other hardware, are such as responsible for processing the forwarding chip of message.As a example by implemented in software, as shown in figure 3, as a logic meaning Device in justice, is to be read corresponding computer program instructions in nonvolatile memory by the CPU of its place equipment Operation in internal memory is formed.The calling device of the video camera that the present embodiment is provided, including:Creating unit 201, receiving unit 202, Processing unit 203 and call unit 204;
The creating unit 201, for creating the Java archive for including at least two different vendor's video camera Support Libraries File Jar bags;
The receiving unit 202, the call request that the front end java application for receiving outside sends;
The processing unit 203, the call request for being received according to the receiving unit 202 determines at least one Individual manufacturer's configuration information, and according in each described manufacturer's configuration information and the Jar bags of the establishment of the creating unit 201 The corresponding Support Library, forms corresponding camera interface;
The call unit 204, it is right for each the described camera interface formed according to the processing unit 203 Outside corresponding video camera is called.
In an embodiment of the invention, creating unit 201 is used to create ava projects, creates under the Java projects Applet Applet main classes, to define public method;And under the Java projects, according at least two video camera factories The parameter information that business's difference in functionality interface is transmitted, creates common interface;For video camera manufacturer each described, create relative That what is answered realizes catalogue, and it is described realize creating under catalogue common interface realize class;Institute is introduced by Java local IP access JNA State the Support Library of at least two video camera manufacturers;The Java projects are exported as into the Jar bags.
In an embodiment of the invention, processing unit 203 is used for respectively that each described manufacturer's configuration information is incoming In the Jar bags;And the Support Library of same video camera manufacturer corresponding with manufacturer's configuration information is called, according to institute State manufacturer's configuration information and realize that class is instantiated to described, form the video camera corresponding with manufacturer's configuration information and connect Mouthful.
In an embodiment of the invention, call unit 204 is used to call take the photograph corresponding with manufacturer's configuration information Camera carries out any one or more in video preview, picture catching, video recording and video playback.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
As shown in figure 4, one embodiment of the invention provides a kind of calling system of video camera, including:Front end Java should With the calling device 402 of program 401, at least two video cameras 403 and any one video camera provided in an embodiment of the present invention;
The front end java application 401, for sending call request to the calling device 402 of the video camera;
Each described video camera 403, the calling device 402 for receiving the video camera is called.
With reference to the video camera shown in Fig. 3 calling device and Fig. 4 shown in video camera calling system, to the present invention The call method of the video camera that embodiment is provided is described in further detail, as shown in figure 5, the method can include following step Suddenly:
Step 501:Create Jar bags.
In an embodiment of the invention, before realizing being called different vendor's video camera, first have to create and use In the Jar bags for forming different vendor's camera interface, creating the process of Jar bags can include following sub-step:
S1:Create Java projects.It is directed to and includes the scene that different vendor's video camera needs to call, needs by same When individual front end java application to the video camera of each manufacturer to be called, need to create a Jar bag for being formed not With the interface of manufacturer's video camera, the first step for creating Jar bags is exactly to create a Java project.
S2:Applet (Java Applet) main classes is created under the Java projects for being created, public method is defined, than Such as initialization, preview, take pictures, record a video, playing back.
S3:Common interface class is created under the Java projects for being created, according to different cameras manufacturer difference in functionality interface The parameter information of transmission is needed, combing goes out common portion and difference section, and creates common interface method;
S4:Different manufacturers are created for different cameras manufacturer and realize catalogue, and create in the case where each manufacturer realizes catalogue That builds common interface realizes class;
S5:The support of different cameras manufacturer is introduced by JNA (Java Native Access, Java local IP access) Storehouse, realizes the functional interface of each manufacturer's video camera in class is realized;
S6:Java projects Jing after step S2 to S5 process are exported as into Jar bags.
Step 502:The call request that receiving front-end java application sends.
In an embodiment of the invention, after Jar bag establishments are completed, can be sent with receiving front-end java application Call request.Specifically, user calls demand according to video camera, sends on the java application of front end to one or many The call request that individual video camera is called.
For example, 500 video cameras are included in a monitoring scene, respectively video camera 1 is to video camera 500.500 Video camera is from three different video camera manufacturers, respectively video camera vendor A, video camera manufacturer B and video camera manufacturer C.With Family is now needed to video camera 1 (video camera vendor A is produced), video camera 2 (video camera manufacturer B is produced) and (shooting of video camera 3 Machine manufacturer C is produced) it is called, in particular it is required that the video gathered to video camera 1 carries out preview, entered by video camera 2 Row is taken pictures, and is recorded a video by video camera 3.After user is operated accordingly on the java application of front end, front end Java Application program forms call request X being called to video camera 3 to video camera 1, and call request X for being formed is sent to The calling device of video camera as shown in Figure 4.
Step 503:At least one manufacturer's configuration information is determined according to call request.
In an embodiment of the invention, after the call request that front end java application sends is received, to calling Request is parsed, determine at least one manufacturer's configuration information, wherein, determined by manufacturer's configuration information and user to be called Video camera is corresponding, includes the information such as manufacturer, model, the purposes of video camera to be called.
For example, after call request X that front end java application sends is received, call request X is parsed, really Make 3 manufacturer's configuration informations, respectively manufacturer's configuration information 1, manufacturer's configuration information 2 and manufacturer's configuration information 3.Wherein, factory Business's configuration information 1 is corresponding with video camera 1, that is, include the information of video camera vendor A;Manufacturer's configuration information 2 and the phase of video camera 2 Correspondence, that is, include the information of video camera manufacturer B;Manufacturer's configuration information 3 is corresponding with video camera 3, and includes video camera factory The information of business C.
Step 504:According to each manufacturer's configuration information, a corresponding camera interface is formed.
In an embodiment of the invention, each the manufacturer's configuration information parsed from call request is directed to, will During the Jar that the incoming step 501 of manufacturer's configuration information is created includes, call from Jar bags and the incoming manufacturer's configuration information pair of institute Should be in the Support Library of same video camera manufacturer, according to the Support Library for being called, according to the incoming manufacturer's configuration information of institute to Jar bags In realize that class is instantiated, formed with incoming manufacturer's configuration information correspond to same video camera manufacturer video camera connect Mouthful.
For example, by the Support Library for after in the incoming Jar bags of manufacturer's configuration information 1, calling Jar to include middle video camera vendor A, according to According to the Support Library, according to manufacturer's configuration information 1 to Jar bags in realize that class is instantiated, formed corresponding to video camera vendor A Camera interface 1.Similar, the camera interface 2 corresponding to video camera manufacturer B is formed for manufacturer's configuration information 2, for Manufacturer's configuration information 3 forms the camera interface 3 corresponding to video camera manufacturer C.
Step 505:According to each camera interface for being formed, each video camera is called.
In an embodiment of the invention, after the camera interface corresponding with each manufacturer's configuration information is formed, lead to Cross formed camera interface and call each video camera, and according to call request, each video camera is operated accordingly.
For example, video camera 1 is called by camera interface 1, and the video gathered to video camera 1 carries out preview;Pass through Camera interface 2 calls video camera 2, and is taken pictures by video camera 2, obtains the image information of monitor area;By shooting Machine interface 3 calls video camera 3, is recorded a video by video camera 3, obtains the video information of monitor area.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, including execute instruction, when the processor of storage control is held During the row execute instruction, the storage control performs the call method of the video camera that above-mentioned each embodiment is provided.
The embodiment of the present invention additionally provides a kind of storage control, including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when When the storage control runs, the execute instruction of memory storage described in the computing device, so that the storage Controller performs the call method of the video camera that above-mentioned each embodiment is provided.
The call method of video camera provided in an embodiment of the present invention, apparatus and system, at least have the advantages that:
1st, in video camera provided in an embodiment of the present invention in call method, apparatus and system, establishment includes difference and takes the photograph The Jar bags of camera manufacturer Support Library, after the call request that front end java application sends is received, according to calling hydrogen true Fixed at least one manufacturer's configuration information, and then corresponding Support Library, shape during manufacturer's configuration information and Jar include according to determined by Into the camera interface corresponding with manufacturer configuration information, pass through formed camera interface and video camera is called.By This is visible, the Support Library due to including at least two manufacturer's video cameras in Jar bags, according to different manufacturer's configuration information and phase The Support Library answered can form the camera interface corresponding to different vendor, can so as to pass through same front end java application It is called with the video camera to different vendor, without the need for switching front end java application, reduces and call camera operation Complexity.
2nd, in video camera provided in an embodiment of the present invention in call method, apparatus and system, what excessively Jar bags were formed takes the photograph Camera interface, the various operations such as video camera can be called to complete preview, take pictures, record a video, playing back of front end java application, therefore The video camera call method that the embodiment of the present invention is provided has stronger applicability, can meet what user was carried out to video camera Various operations.
3rd, in video camera provided in an embodiment of the present invention in call method, apparatus and system, when Jar bags are created, by The video camera produced in different vendor can include part identical method, such as initialization, preview, take pictures, record a video, playing back Deng, the public method of different cameras is created under Java projects, after corresponding camera interface is formed, front end Java application journeys Sequence can call the video camera of each manufacturer to carry out preview, take pictures, record a video, playing back by the public method.It is public by creating Common method, it is possible to reduce the included data volume of Jar bags, so as to improve the speed that camera interface is formed by Jar bags, it is ensured that The efficiency that video camera is called.
4th, in video camera provided in an embodiment of the present invention in call method, apparatus and system, in Jar bags manufacturer is received After configuration information, according to corresponding Support Library, class is instantiated to be realized to common interface, formed and manufacturer's configuration information Corresponding camera interface, so as to ensure that Jar bags can form correspondence different vendor according to different manufacturer's configuration informations Camera interface, it is ensured that the feasibility of the video camera call method.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply presence between these entities or operation Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non- Exclusiveness is included, so that a series of process, method, article or equipment including key elements not only includes those key elements, But also including other key elements being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including Also there is other identical factor in the process of the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in the storage medium of embodied on computer readable the related hardware of programmed instruction, the program Upon execution, the step of including said method embodiment is performed;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of call method of video camera, it is characterised in that establishment includes at least two different vendor's video camera Support Libraries Java archive file Jar bags, also include:
The call request that front end java application outside receiving sends;
At least one manufacturer's configuration information is determined according to the call request;
According to the Support Library corresponding in each described manufacturer's configuration information and the Jar bags, corresponding shooting is formed Machine interface;
By camera interface each described, outside corresponding video camera is called.
2. method according to claim 1, it is characterised in that
It is described to create the Jar bags for including at least two different vendor's video camera Support Libraries, including:
Create Java projects;
Applet Applet main classes is created under the Java projects, to define public method;
Under the Java projects, according to the parameter information that at least two video camera manufacturer difference in functionality interfaces are transmitted, create Common interface;
For video camera manufacturer each described, create it is corresponding realize catalogue, and realize creating public under catalogue described Interface realizes class;
The Support Library of at least two video cameras manufacturer is introduced by Java local IP access JNA;
The Java projects are exported as into the Jar bags.
3. method according to claim 2, it is characterised in that
The common interface includes:Common portion interface and difference section interface.
4. method according to claim 2, it is characterised in that
It is described according to the Support Library corresponding in each described manufacturer's configuration information and the Jar bags, formed corresponding Camera interface, including:
Respectively by the incoming Jar bags of each described manufacturer's configuration information;
The Support Library of same video camera manufacturer corresponding with manufacturer's configuration information is called, confidence is matched somebody with somebody according to the manufacturer Breath realizes that class is instantiated to described, forms the camera interface corresponding with manufacturer's configuration information.
5. according to arbitrary described method in Claims 1-4, it is characterised in that
It is described that outside corresponding video camera is called, including:
The video camera corresponding with manufacturer's configuration information is called to carry out video preview, picture catching, video recording and video playback In it is any one or more.
6. a kind of calling device of video camera, it is characterised in that include:Creating unit, receiving unit, processing unit and call list Unit;
The creating unit, for creating the Java archive file Jar for including at least two different vendor's video camera Support Libraries Bag;
The receiving unit, the call request that the front end java application for receiving outside sends;
The processing unit, the call request for being received according to the receiving unit determines that at least one manufacturer configures Information, and according to corresponding in the Jar bags that each manufacturer's configuration information and the creating unit are created Support Library, forms corresponding camera interface;
The call unit, it is corresponding to outside for each the described camera interface formed according to the processing unit Video camera be called.
7. device according to claim 6, it is characterised in that
The creating unit, for creating Java projects, creates applet Applet main classes under the Java projects, with Define public method;And under the Java projects, transmitted according at least two video camera manufacturer difference in functionality interfaces Parameter information, creates common interface;For video camera manufacturer each described, create it is corresponding realize catalogue, and described Realize that common interface is created under catalogue realizes class;At least two video cameras manufacturer is introduced by Java local IP access JNA Support Library;The Java projects are exported as into the Jar bags.
8. device according to claim 7, it is characterised in that
The processing unit, for respectively by the incoming Jar bags of each described manufacturer's configuration information;And call and institute The Support Library of the same video camera manufacturer of manufacturer's configuration information correspondence is stated, according to manufacturer's configuration information to the realization Class is instantiated, and forms the camera interface corresponding with manufacturer's configuration information.
9. device according to claim 7, it is characterised in that
The call unit, catches for calling the video camera corresponding with manufacturer's configuration information to carry out video preview, image Catch, record a video and video playback in it is any one or more.
10. a kind of calling system of video camera, it is characterised in that include:Front end java application, at least two video cameras and The calling device of arbitrary described video camera in claim 6 to 9;
The front end java application, for sending call request to the calling device of the video camera;
Each described video camera, the calling device for receiving the video camera is called.
CN201710108012.XA 2017-02-27 2017-02-27 Camera calling method, camera calling device and camera calling system Pending CN106657797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710108012.XA CN106657797A (en) 2017-02-27 2017-02-27 Camera calling method, camera calling device and camera calling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710108012.XA CN106657797A (en) 2017-02-27 2017-02-27 Camera calling method, camera calling device and camera calling system

Publications (1)

Publication Number Publication Date
CN106657797A true CN106657797A (en) 2017-05-10

Family

ID=58847766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710108012.XA Pending CN106657797A (en) 2017-02-27 2017-02-27 Camera calling method, camera calling device and camera calling system

Country Status (1)

Country Link
CN (1) CN106657797A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741866A (en) * 2017-09-29 2018-02-27 山东浪潮通软信息科技有限公司 A kind of implementation method for realizing multi-vendor video camera front end loading
CN113919692A (en) * 2021-10-11 2022-01-11 北京京东乾石科技有限公司 Equipment inspection method and device, electronic equipment and computer readable medium
CN116206300A (en) * 2023-05-05 2023-06-02 浪潮数字粮储科技有限公司 Multi-manufacturer identification camera integration compatible method, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110951A (en) * 2007-08-08 2008-01-23 南京联创网络科技有限公司 Method for dynamically loading communication plug-in unit in video monitoring system
CN202565408U (en) * 2012-05-23 2012-11-28 成都三零凯天通信实业有限公司 Video monitoring platform supporting access of various different manufacturer equipments and providing unified external communication interface
CN105721831A (en) * 2016-01-28 2016-06-29 安徽四创电子股份有限公司 Method for designing video monitoring client side based on multi-process architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110951A (en) * 2007-08-08 2008-01-23 南京联创网络科技有限公司 Method for dynamically loading communication plug-in unit in video monitoring system
CN202565408U (en) * 2012-05-23 2012-11-28 成都三零凯天通信实业有限公司 Video monitoring platform supporting access of various different manufacturer equipments and providing unified external communication interface
CN105721831A (en) * 2016-01-28 2016-06-29 安徽四创电子股份有限公司 Method for designing video monitoring client side based on multi-process architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹少坤 等: "一种嵌入式网络摄像机的设计", 《微计算机应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741866A (en) * 2017-09-29 2018-02-27 山东浪潮通软信息科技有限公司 A kind of implementation method for realizing multi-vendor video camera front end loading
CN113919692A (en) * 2021-10-11 2022-01-11 北京京东乾石科技有限公司 Equipment inspection method and device, electronic equipment and computer readable medium
CN116206300A (en) * 2023-05-05 2023-06-02 浪潮数字粮储科技有限公司 Multi-manufacturer identification camera integration compatible method, equipment and storage medium
CN116206300B (en) * 2023-05-05 2024-02-27 浪潮数字粮储科技有限公司 Multi-manufacturer identification camera integration compatible method, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105556482B (en) Monitor mobile application performance
CN104796610B (en) Camera sharing method, device, system and the mobile terminal of a kind of mobile terminal
US20230055623A1 (en) Video shooting method and electronic device
CN109669782A (en) Hardware abstraction layer multiplexing method, device, operating system and equipment
CN107315580A (en) Component processing method, device and the equipment of user interface, computer-readable recording medium
CN106657797A (en) Camera calling method, camera calling device and camera calling system
KR20140033494A (en) Method and system for implementing function extension of open platform
CA3153390C (en) Multi-camera synchronization method and distributed system
CN105979363A (en) Identity identification method and device
CN115689963B (en) Image processing method and electronic equipment
CN108495043A (en) Image processing method and relevant apparatus
WO2024055797A9 (en) Method for capturing images in video, and electronic device
WO2024183345A1 (en) Multi-camera picture preview method and apparatus, and electronic device and storage medium
CN111294556A (en) Video front-end processing method based on GB/T28181
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN107800999A (en) A kind of method and system for mixing access video camera and video platform
CN106020729A (en) Clearing method and device for multi-media data of mobile terminal
CN114449171B (en) Method for controlling camera, terminal device, storage medium and program product
CN115062340A (en) Device access method, interface processing method and device
CN107404627A (en) A kind of computer based conference system
CN111752699B (en) Page switching method, device and computer readable storage medium
CN118076975A (en) Data processing method, data processing system, electronic device and storage medium
CN115248800A (en) File processing method, computer and readable storage medium
CN106020730A (en) Clearing method and device for multi-media data of mobile device
CN111831749B (en) Data processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510