CN107800999A - A kind of method and system for mixing access video camera and video platform - Google Patents
A kind of method and system for mixing access video camera and video platform Download PDFInfo
- Publication number
- CN107800999A CN107800999A CN201710931355.6A CN201710931355A CN107800999A CN 107800999 A CN107800999 A CN 107800999A CN 201710931355 A CN201710931355 A CN 201710931355A CN 107800999 A CN107800999 A CN 107800999A
- Authority
- CN
- China
- Prior art keywords
- video camera
- target video
- access instruction
- platform
- target
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/183—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the present invention provides a kind of method and system for mixing access video camera and video platform, obtains the access instruction of external system access target video camera;Judge whether target video camera is video camera in video platform according to access instruction;If so, the interface protocol of target video camera place video platform is then determined according to access instruction, and the interface protocol of video platform sends access instruction to the video platform where target video camera according to where target video camera.Otherwise the interface protocol of target video camera is determined according to access instruction, and is sent access instruction to target video camera according to the interface protocol of target video camera.By being prejudged to the access instruction of external system, access instruction is sent to video camera or video platform according to judged result and pre-configured interface protocol, so as to realize that the mixing of video camera and video platform accesses, both reduce the software and hardware resources input by constructing system, and also improve the stability and maintainability of system.
Description
Technical field
The present embodiments relate to coding and decoding video, software algorithm, software application technology field, more particularly to a kind of mixing
Access the method and system of video camera and video platform.
Background technology
Video camera access technology, it is to realize the function of being interacted with video camera by using interface protocol.It is currently used
Interface protocol has opening Internet video Interface Forum (Open Network Video Interface Forum, abbreviation
ONVIF) the privately owned SDK of agreement, national standard agreement (GB28181 agreements) and video camera manufacturer
(Software Development Kit, abbreviation SDK) agreement.Video platform access technology, realized using interface protocol
The function of being interacted with video platform, currently used interface protocol have the privately owned SDK of GB28181 agreements and video platform producer
Agreement.Due to video camera access and the access use of video platform interface protocol and differ, if desired to video camera and regard
Frequency platform conducts interviews, then needs to put into substantial amounts of software and hardware resources and build access system corresponding to video camera and video platform respectively
System, cause the cost of input high.
The content of the invention
The embodiment of the present invention provides a kind of method and system for mixing access video camera and video platform, existing for solving
The problem of access system corresponding to building video camera and video platform respectively in technology causes cost high.
The embodiments of the invention provide a kind of method for mixing access video camera and video platform, including:
Obtain the access instruction of external system access target video camera;
Judge whether the target video camera is video camera in video platform according to the access instruction;
If so, the interface protocol of target video camera place video platform is then determined according to the access instruction, and
The interface protocol of video platform sends the access instruction to the target video camera institute according to where the target video camera
Video platform;
Otherwise the interface protocol of the target video camera is determined according to the access instruction, and is imaged according to the target
The interface protocol of machine sends the access instruction to the target video camera.
Alternatively, it is described to judge whether the target video camera is shooting in video platform according to the access instruction
Machine, including:
The access instruction is parsed according to predetermined protocol format;
The attribute information of the target video camera is extracted in access instruction after analytically;
Judge whether the target video camera is shooting in video platform according to the attribute information of the target video camera
Machine.
Alternatively, the interface of the video platform according to where the access instruction determines the target video camera is assisted
View, including:
First list is inquired about according to the attribute information of the target video camera, determines video where the target video camera
The interface protocol of platform, the attribute information of video camera and its corresponding video platform in video platform are saved in the first list
Interface protocol.
Alternatively, the interface protocol that the target video camera is determined according to the access instruction, including:
Second list is inquired about according to the attribute information of the target video camera, determines the interface association of the target video camera
Discuss, the attribute information and its corresponding interface protocol of video camera are saved in the second list.
Alternatively, the interface protocol of the video platform according to where the target video camera sends the access instruction
To the video platform where the target video camera, in addition to:
Obtain response message of the video platform where the target video camera to the access instruction;
The response message is sent to the external system;
The interface protocol according to the target video camera by the access instruction send to the target video camera it
Afterwards, in addition to:
Obtain response message of the target video camera to the access instruction;
The response message is sent to the external system.
Accordingly, the embodiments of the invention provide a kind of system for mixing access video camera and video platform, including:
Acquisition module, for obtaining the access instruction of external system access target video camera;
Processing module, for judging whether the target video camera is shooting in video platform according to the access instruction
Machine;If so, the interface protocol of target video camera place video platform is then determined according to the access instruction, and according to institute
The access instruction is sent regarding to where the target video camera by the interface protocol of video platform where stating target video camera
Frequency platform;Otherwise the interface protocol of the target video camera is determined according to the access instruction, and is imaged according to the target
The interface protocol of machine sends the access instruction to the target video camera.
Alternatively, the processing module is specifically used for:
The access instruction is parsed according to predetermined protocol format;
The attribute information of the target video camera is extracted in access instruction after analytically;
Judge whether the target video camera is shooting in video platform according to the attribute information of the target video camera
Machine.
Alternatively, the processing module is specifically used for:
First list is inquired about according to the attribute information of the target video camera, determines video where the target video camera
The interface protocol of platform, the attribute information of video camera and its corresponding video platform in video platform are saved in the first list
Interface protocol.
Alternatively, the processing module is specifically used for:
Second list is inquired about according to the attribute information of the target video camera, determines the interface association of the target video camera
Discuss, the attribute information and its corresponding interface protocol of video camera are saved in the second list.
Alternatively, the processing module is additionally operable to:
The interface protocol of video platform sends the access instruction to the target according to where the target video camera
After video platform where video camera, response of the video platform where the target video camera to the access instruction is obtained
Information;The response message is sent to the external system;
The access instruction is sent to the target video camera according to the interface protocol of the target video camera, obtained
Take response message of the target video camera to the access instruction;The response message is sent to the external system.
The embodiments of the invention provide a kind of computing device, including:
Memory, instructed for storage program;
Processor, for calling the programmed instruction stored in the memory, performed according to the program of acquisition any of the above-described
Method described in.
The embodiment of the present invention provides a kind of computer-readable storage medium, and the computer-readable recording medium storage has computer
Executable instruction, the computer executable instructions are used to make computer perform the method described in any of the above-described.
The embodiment of the present invention shows, the access instruction of external system access target video camera is obtained, then according to the visit
Ask that instruction judges whether the target video camera is video camera in video platform.If so, then determined according to the access instruction
The interface protocol of video platform where going out the target video camera, and according to the interface of target video camera place video platform
Agreement sends the access instruction to the video platform where the target video camera.Otherwise determined according to the access instruction
Go out the interface protocol of the target video camera, and according to the interface protocol of the target video camera by the access instruction send to
The target video camera.By being prejudged to the access instruction of external system, it is determined that access target video camera whether
For the video camera in video platform, then access instruction is sent to taking the photograph according to the result of judgement and pre-configured interface protocol
Camera or video platform, so as to realize that the mixing of video camera and video platform accesses, constructing system was so both reduced and had been thrown
The software and hardware resources entered, while improve the stability and maintainability of system.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 is a kind of system structure diagram for mixing access video camera and video platform provided in an embodiment of the present invention;
Fig. 2 is a kind of flow signal of method for mixing access video camera and video platform provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of schematic flow sheet of target video camera decision method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of the polymorphic processing method of interface protocol provided in an embodiment of the present invention;
Fig. 5 is a kind of flow signal of method for mixing access video camera and video platform provided in an embodiment of the present invention
Figure;
Fig. 6 is a kind of system structure diagram for mixing access video camera and video platform provided in an embodiment of the present invention.
Embodiment
In order that the purpose of the present invention, technical scheme and beneficial effect are more clearly understood, below in conjunction with accompanying drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only explaining this hair
It is bright, it is not intended to limit the present invention.
Fig. 1 illustrates a kind of system knot for mixing access video camera and video platform provided in an embodiment of the present invention
Structure schematic diagram, as shown in figure 1, the system includes:Input/output (Input/Output, abbreviation I/O) module 101, data processing
Module 102, camera processes module 103, video platform processing module 104, wherein, I/O modules 101 are used to receive ambient systems
Access the instruction of video camera or video platform, and response results and video by video camera or video platform to access instruction
Stream is sent to external system.Data processing module 102 is used for the access instruction for receiving the transmission of I/O modules 101, and by access instruction
The recognizable information of internal system other modules is converted into, whether the video camera for then judging to access belongs to video platform, if so,
Then access instruction is sent to video platform processing module 104, otherwise sent access instruction to camera processes module 103.
Data processing module 102 is additionally operable to the protocol format that the response results of access instruction are converted into external system and can identified, so
After be sent to I/O modules 101.Camera processes module 103 is used for the video camera that access is determined according to the access instruction after parsing
Corresponding interface protocol, and sent access instruction to the video camera of access according to interface protocol, then receive the visit of video camera
Ask response message.Regarded belonging to the video camera that video platform processing module 104 is used to determine to access according to the access instruction after parsing
Interface protocol corresponding to frequency platform, and sent access instruction to the affiliated video platform of video camera of access according to interface protocol,
Then the access response information of the affiliated video platform of video camera is received.As a result of I/O modules, data processing module, shooting
The hierarchy of machine processing module, platform processes module, each module are merely responsible for oneself related service, from systemic-function and module
Calling sequentially forms strong cohesion, the system of lower coupling.
Based on the system architecture in Fig. 1, the embodiments of the invention provide one kind to mix access video camera and video platform side
Method, as shown in Fig. 2 comprising the following steps:
Step S201, obtain the access instruction of external system access target video camera.
Step S202, judge whether target video camera is video camera in video platform according to access instruction.
Step S203, if so, the interface protocol of target video camera place video platform is then determined according to access instruction, and
The interface protocol of video platform sends access instruction to the video platform where target video camera according to where target video camera.
Step S204, the interface protocol of target video camera is otherwise determined according to access instruction, and according to target video camera
Interface protocol access instruction is sent to the target video camera.
Specifically, in step s 201, the finger of ambient systems access video camera or video platform is received by I/O modules
Order.In specific implementation, I/O completing ports (I/O Completion Port, abbreviation IOCP) can be used to realize the I/ of the system
O module.IOCP models are proposed by Microsoft, make full use of the scheduling of kernel objects, are only located using a small amount of several worker threads
The communication of reason and all clients, meaningless thread context switching is eliminated, improve the property of network service to greatest extent
Energy.IOCP connection theoretical values are 60000 or so, and normal service connection value 10000~20000, this numerical value can be complete
Meet the needs of the system and External system communication.Other IOCP encapsulates the informing mechanism of asynchronous message event, seals simultaneously
Part I/O operation is filled.The access instruction of external system access target video camera is obtained by using IOCP, adding to connect
The quantity of user, and greatly improve the parallel processing efficiency of access instruction.
In step S202, video platform can be video monitoring platform or video monitoring system.Video platform can manage
Manage a large amount of video cameras, network hard disk video recorder (Network Video Recorder, abbreviation NVR), DVR
Equipment such as (Digital Video Recorder, abbreviation DVR), and can be cascaded with other video platforms.In specific implementation, according to
Access instruction judges whether target video camera is that video camera in video platform specifically includes following steps, as shown in Figure 3:
Step S301, access instruction is parsed according to predetermined protocol format.
Step S302, analytically after access instruction in extract the attribute information of target video camera.
Step S302, judge whether target video camera is shooting in video platform according to the attribute information of target video camera
Machine.Specifically, in step s 302, the attribute information of target video camera includes:Camera number, order numbering, command type,
Command reception time, instruction send time, (agreement (Internet Protocol, the letter interconnected between network of instruction source address
Claim IP)+port), instruction destination address (IP+ ports), instruction response results sending destination location (IP+ port numbers) etc. information,
The type wherein ordered can be real-time broadcasting, pause, history video playback, cradle head control etc..Judging that target video camera is
During no video camera in video platform, can be judged according to the camera number in attribute information target video camera whether be regarding
Video camera in frequency platform, it can also judge that target video camera is according to the instruction destination address (IP+ ports) in attribute information
The no video camera in video platform, it can also be combined according to information of other in attribute information or multinomial information and judge mesh
Whether mark video camera is video camera in video platform.
In step S203 and step S204, the interface protocol of video platform includes GB28181 agreements and video platform
The privately owned SDK agreements of producer.The interface protocol of target video camera includes ONVIF agreements, GB28181 agreements, SDK) agreement.Pass through
The access instruction of external system is prejudged, it is determined that whether the target video camera accessed is shooting in video platform
Machine, then access instruction is sent to video camera or video platform according to the result of judgement and pre-configured interface protocol,
So as to realize that the mixing of video camera and video platform accesses, the software and hardware resources input by constructing system were so both reduced, together
When improve the stability and maintainability of system.
In specific implementation, according to target video camera whether be video camera in video platform judged result, it is corresponding to exist
Following two methods handled access instruction:
Method one,
When judging target video camera according to access instruction for the video camera in video platform, determine to regard where target video camera
The detailed process of the interface protocol of frequency platform is:First list is inquired about according to the attribute information of target video camera, determines target
The interface protocol of video platform where video camera, the attribute information of video camera and its right is saved in video platform in first list
Answer the interface protocol of video platform.Illustrated below with specific example, for example the camera number in attribute information is looked into
First list is ask, determines that camera number corresponds to video platform where target video camera and corresponding from first list
The interface protocol of video platform.The camera number inquiry first list such as in attribute information determines that target images again
The type of video platform and video platform where machine, then video platform connects according to corresponding to the type selecting of video platform
Mouth agreement.Such as national standard video platform selection national standard agreement, SDK video platforms selection the third Protocol etc..
Further, it is determined that after the interface protocol of video platform where target video camera, according to where target video camera
The interface protocol of video platform sends access instruction to the video platform where target video camera, then obtains target video camera
The video platform at place sends response message to external system to the response message of access instruction.For example set video platform
Video camera m1 in lower M is target video camera, external system access target video camera m1 access instruction is obtained, according to predetermined
Protocol format parses to access instruction.Instruction node X is established according to the access instruction after parsing, wherein instruction node X bags
The m1 of video camera containing target attribute information.Regarding according to belonging to target video camera m1 attribute information determines target video camera m1
Frequency platform is M, video platform M interface protocol is then selected by protocol adaptor, and send out according to video platform M interface protocol
Node X request message is sent to video platform M, while node X is added and has sent request list S.Video platform M is to node X
Request message carry out alignment processing after send instruction response results.Whether have in inquiry list S and matched with instruction response results
Node.If there is the node matched with instruction response results in list S, according to predetermined protocol format to instructing response results
Carry out responding coding and send to external system, while node X is deleted from list S.
Method two,
When to judge target video camera be not the video camera in video platform according to access instruction, target video camera is determined
The detailed process of interface protocol is:Second list is inquired about according to the attribute information of target video camera, determines target video camera
Interface protocol, the attribute information and its corresponding interface protocol of video camera are saved in second list.Below with specific example
Illustrate, such as the camera number inquiry second list in attribute information, video camera is determined from second list
The interface protocol of the corresponding target video camera of numbering.It can also be determined according to the camera number inquiry second list in attribute information
Go out the type of target video camera, then the interface protocol according to corresponding to the type selecting of target video camera.Such as target device choosing
Select national standard agreement, ONVIF equipment selection ONVIF agreements, SDK equipment selection the third Protocol etc..
Further, it is determined that after the interface protocol of target video camera, will be accessed according to the interface protocol of target video camera
Instruction is sent to target video camera, then obtains response message of the target video camera to access instruction, by response message send to
External system.For example video camera n1 is set as target video camera, external system access target video camera n1 access instruction is obtained,
Access instruction is parsed according to predetermined protocol format, instruction node Z, its middle finger are established according to the access instruction after parsing
Node Z is made to include target video camera n1 attribute information.Target video camera is determined according to target video camera n1 attribute information
N1 interface protocol, and node Z request message is sent to target video camera n1 according to target video camera n1 interface protocol, together
When by node Z add sent request list S.Target video camera n1 is sent after carrying out alignment processing to node Z request message
Instruct response results.Whether the node that with instruction response results matches is had in inquiry list S.Responded if having in list S with instruction
As a result the node matched, then instruction response results are carried out responding coding and sent to outside system according to predetermined protocol format
System, while node Z is deleted from list S.The attribute information of video camera in video platform is preserved by pre-setting first list
And its interface protocol of corresponding video platform, pre-set second list preserve video camera attribute information and its corresponding to connect
Mouth agreement, therefore after judging whether target video camera belongs to video platform according to access instruction, can be rapid true by tabling look-up
Interface protocol is made, so as to improve access speed.
, need to be by the interface protocol and video of video camera before first list and second list is established in above-described embodiment
The interface protocol of platform carries out polymorphic processing.Polymorphic processing is with object-oriented design method, by video camera and video platform
Diversified interface protocol carries out unified interface abstraction, that is, the common function of extracting all kinds of agreements forms interface, then
Gone to realize the interface respectively by all kinds of agreements, detailed process comprises the following steps, as shown in Figure 4:
Step S401, count total interface agreement.
Step S402, feature list is carried out to each interface protocol and write, extracts shared function set, and individually remember
Record the distinctive function set of each interface protocol.
Step S403, shared function set and distinctive function collection conjunction union are formed into protocol class interface.
Step S404, abstraction interface is formed according to protocol class interface, and by UML (Unified
Modeling Language, abbreviation UML) abstraction interface inherit class figure and reloading interface forms protocol class figure.
In specific implementation, the total interface agreement that may be used in the embodiment of the present invention has GB28181 agreements, ONVIF
Agreement, privately owned SDK agreements.The function of wherein GB28181 agreements includes:Registration/cancellation, real-time video and audio program request, cradle head control,
Video recording control, it is long-range start, alarm is deployed troops on garrison duty/withdrawn a garrison, ann reset, alert event notice and distribution, facility inventory inquiry, equipment
Information inquiry, device status inquiries, status information are reported and submitted, the document retrieval of equipment video and audio, history video and audio file playback, history
When video and audio file download, device network time protocol (Network Time Protocol, abbreviation NTP) school, event subscription and
Notice, catalogue are subscribed to and notice.The function of ONVIF agreements includes:Login, facility information inquiry, device status inquiries, equipment shape
State is reported and submitted, real-time video and audio program request, cradle head control, it is long-range start, device events processing.The function of privately owned SDK agreements includes:Step on
Under record/cancellation, real-time video program request, video recording control, cradle head control, history video frequency searching, history video playback, history video
Carry, history video playback is controlled, facility information is inquired about, subscribes to alarm.The shared function collection of above-mentioned three kinds of interface protocols is combined into:
Real-time video and audio program request, cradle head control.Others are each interface protocol in addition to shared function set in every kind of interface protocol
Distinctive function set.By carrying out polymorphic processing to each interface protocol, it is easy to be pre-configured with all kinds of interface protocols, together
When also accelerate the speed of access interface.
In order to preferably explain the embodiment of the present invention, describe the embodiment of the present invention below by specific implement scene and provide
A kind of mixing access video camera and video platform method flow, the flow can by mixing access video camera and video put down
The system of platform performs, as shown in figure 5, comprising the following steps:
Step S501, obtain the access instruction of external system access target video camera.
Step S502, access instruction is parsed according to predetermined protocol format.
Step S503, judge whether target video camera is video camera in video platform according to the instruction after parsing, if so,
Step S504 is then performed, otherwise performs step S508.
Step S504, first list is inquired about according to the attribute information of target video camera, determine to regard where target video camera
The interface protocol of frequency platform.
Step S505, access instruction is sent to target and imaged by the interface protocol of video platform according to where target video camera
Video platform where machine.
Step S506, the video platform where target video camera is obtained to the response message of access instruction.
Step S507, response message is sent to external system.
Step S508, second list is inquired about according to the attribute information of target video camera and determines that the interface of target video camera is assisted
View.
Step S509, access instruction is sent to target video camera according to the interface protocol of target video camera.
Step S510, obtain response message of the target video camera to access instruction.
Step S511, response message is sent to external system.
The embodiment of the present invention shows, obtains the access instruction of external system access target video camera;Referred to according to the access
Order judges whether the target video camera is video camera in video platform;If so, institute is then determined according to the access instruction
The interface protocol of video platform where stating target video camera, and according to the interface protocol of target video camera place video platform
The access instruction is sent to the video platform where the target video camera;Otherwise institute is determined according to the access instruction
The interface protocol of target video camera is stated, and is sent the access instruction to described according to the interface protocol of the target video camera
Target video camera.By being prejudged to the access instruction of external system, it is determined that access target video camera whether be regarding
Video camera in frequency platform, then access instruction is sent to video camera according to the result of judgement and pre-configured interface protocol
Or video platform, so as to realize that the mixing of video camera and video platform accesses, so both reduced input by constructing system
Software and hardware resources, while improve the stability and maintainability of system.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of mixing access video camera and video platform
System, as shown in fig. 6, including:
Acquisition module 601, for obtaining the access instruction of external system access target video camera;
Processing module 602, for judging whether the target video camera is in video platform according to the access instruction
Video camera;If so, the interface protocol of target video camera place video platform is then determined according to the access instruction, and root
The access instruction is sent to where the target video camera according to the interface protocol of video platform where the target video camera
Video platform;Otherwise the interface protocol of the target video camera is determined according to the access instruction, and according to the target
The interface protocol of video camera sends the access instruction to the target video camera.
Alternatively, the processing module 602 is specifically used for:
The access instruction is parsed according to predetermined protocol format;
The attribute information of the target video camera is extracted in access instruction after analytically;
Judge whether the target video camera is shooting in video platform according to the attribute information of the target video camera
Machine.
Alternatively, the processing module 602 is specifically used for:
First list is inquired about according to the attribute information of the target video camera, determines video where the target video camera
The interface protocol of platform, the attribute information of video camera and its corresponding video platform in video platform are saved in the first list
Interface protocol.
Alternatively, the processing module 602 is specifically used for:
Second list is inquired about according to the attribute information of the target video camera, determines the interface association of the target video camera
Discuss, the attribute information and its corresponding interface protocol of video camera are saved in the second list.
Alternatively, the processing module 602 is additionally operable to:
The interface protocol of video platform sends the access instruction to the target according to where the target video camera
After video platform where video camera, response of the video platform where the target video camera to the access instruction is obtained
Information;The response message is sent to the external system;
The access instruction is sent to the target video camera according to the interface protocol of the target video camera, obtained
Take response message of the target video camera to the access instruction;The response message is sent to the external system.
The embodiments of the invention provide a kind of computing device, the computing device is specifically as follows desktop computer, portable
Computer, smart mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) etc..The meter
Central processing unit (Center Processing Unit, CPU), memory, input-output apparatus etc. can be included by calculating equipment,
Input equipment can include keyboard, mouse, touch-screen etc., and output equipment can include display device, such as liquid crystal display
(Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) etc..
Memory, read-only storage (ROM) and random access memory (RAM) can be included, and provide and deposit to processor
The programmed instruction and data stored in reservoir.In embodiments of the present invention, memory can be used for storage mixing access video camera
With the programmed instruction of the method for video platform;
Processor, for calling the programmed instruction stored in the memory, mixing access is performed according to the program of acquisition
The method of video camera and video platform.
The embodiments of the invention provide a kind of computer-readable storage medium, the computer-readable recording medium storage has calculating
Machine executable instruction, the computer executable instructions are used for the side for making computer perform mixing access video camera and video platform
Method.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer program product.
Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the present invention can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (12)
- A kind of 1. method for mixing access video camera and video platform, it is characterised in that including:Obtain the access instruction of external system access target video camera;Judge whether the target video camera is video camera in video platform according to the access instruction;If so, the interface protocol of target video camera place video platform is then determined according to the access instruction, and according to The interface protocol of video platform sends the access instruction to where the target video camera where the target video camera Video platform;Otherwise the interface protocol of the target video camera is determined according to the access instruction, and according to the target video camera Interface protocol sends the access instruction to the target video camera.
- 2. the method as described in claim 1, it is characterised in that described that the target video camera is judged according to the access instruction Whether it is video camera in video platform, including:The access instruction is parsed according to predetermined protocol format;The attribute information of the target video camera is extracted in access instruction after analytically;Judge whether the target video camera is video camera in video platform according to the attribute information of the target video camera.
- 3. the method as described in claim 1, it is characterised in that described to determine that the target images according to the access instruction The interface protocol of video platform where machine, including:First list is inquired about according to the attribute information of the target video camera, determines video platform where the target video camera Interface protocol, connecing for the attribute information of video camera in video platform and its corresponding video platform is saved in the first list Mouth agreement.
- 4. the method as described in claim 1, it is characterised in that described to determine that the target images according to the access instruction The interface protocol of machine, including:Second list is inquired about according to the attribute information of the target video camera, determines the interface protocol of the target video camera, The attribute information and its corresponding interface protocol of video camera are saved in the second list.
- 5. method as claimed in claim 4, it is characterised in thatThe interface protocol of the video platform according to where the target video camera sends the access instruction to the target After video platform where video camera, in addition to:Obtain response message of the video platform where the target video camera to the access instruction;The response message is sent to the external system;The interface protocol according to the target video camera sends the access instruction to the target video camera, also Including:Obtain response message of the target video camera to the access instruction;The response message is sent to the external system.
- A kind of 6. system for mixing access video camera and video platform, it is characterised in that including:Acquisition module, for obtaining the access instruction of external system access target video camera;Processing module, for judging whether the target video camera is video camera in video platform according to the access instruction; If so, the interface protocol of target video camera place video platform is then determined according to the access instruction, and according to described The interface protocol of video platform sends the access instruction to the video where the target video camera where target video camera Platform;Otherwise the interface protocol of the target video camera is determined according to the access instruction, and according to the target video camera Interface protocol the access instruction is sent to the target video camera.
- 7. system as claimed in claim 6, it is characterised in that the processing module is specifically used for:The access instruction is parsed according to predetermined protocol format;The attribute information of the target video camera is extracted in access instruction after analytically;Judge whether the target video camera is video camera in video platform according to the attribute information of the target video camera.
- 8. system as claimed in claim 6, it is characterised in that the processing module is specifically used for:First list is inquired about according to the attribute information of the target video camera, determines video platform where the target video camera Interface protocol, connecing for the attribute information of video camera in video platform and its corresponding video platform is saved in the first list Mouth agreement.
- 9. system as claimed in claim 6, it is characterised in that the processing module is specifically used for:Second list is inquired about according to the attribute information of the target video camera, determines the interface protocol of the target video camera, The attribute information and its corresponding interface protocol of video camera are saved in the second list.
- 10. method as claimed in claim 9, it is characterised in that the processing module is additionally operable to:The access instruction is sent to the target and imaged by the interface protocol of video platform according to where the target video camera After video platform where machine, response letter of the video platform where the target video camera to the access instruction is obtained Breath;The response message is sent to the external system;The access instruction is sent to the target video camera according to the interface protocol of the target video camera, obtains institute State response message of the target video camera to the access instruction;The response message is sent to the external system.
- A kind of 11. computing device, it is characterised in that including:Memory, instructed for storage program;Processor, for calling the programmed instruction stored in the memory, according to acquisition program perform as claim 1 to Method described in 5 any one.
- 12. a kind of computer-readable storage medium, it is characterised in that the computer-readable recording medium storage has computer can perform Instruction, the computer executable instructions are used to make computer perform the method as described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710931355.6A CN107800999A (en) | 2017-10-09 | 2017-10-09 | A kind of method and system for mixing access video camera and video platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710931355.6A CN107800999A (en) | 2017-10-09 | 2017-10-09 | A kind of method and system for mixing access video camera and video platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107800999A true CN107800999A (en) | 2018-03-13 |
Family
ID=61533034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710931355.6A Pending CN107800999A (en) | 2017-10-09 | 2017-10-09 | A kind of method and system for mixing access video camera and video platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107800999A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541875A (en) * | 2020-05-14 | 2020-08-14 | 深圳市康拓普信息技术有限公司 | Electric power video monitoring video network platform |
CN113852871A (en) * | 2021-08-31 | 2021-12-28 | 深圳致星科技有限公司 | Visual data processing method and device, electronic equipment, storage medium and product |
CN114727068A (en) * | 2022-04-19 | 2022-07-08 | 上海闪马智能科技有限公司 | Video information acquisition method and device, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101282450A (en) * | 2007-04-02 | 2008-10-08 | 厦门瑞科技术有限公司 | Method capable of immediate access and management of network camera |
CN101778264A (en) * | 2010-02-11 | 2010-07-14 | 北京众和汇智科技有限公司 | Video monitoring method and video monitoring system |
CN104780333A (en) * | 2014-12-03 | 2015-07-15 | 中国航天科工集团第三研究院第八三五七研究所 | High-bandwidth video source interface adaptation device based on FPGA (Field Programmable Gate Array) |
US20150281122A1 (en) * | 2014-03-31 | 2015-10-01 | Byron L. Hoffman | Method and Apparatus for Facilitating Accessing Home Surveillance Data by Remote Devices |
-
2017
- 2017-10-09 CN CN201710931355.6A patent/CN107800999A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101282450A (en) * | 2007-04-02 | 2008-10-08 | 厦门瑞科技术有限公司 | Method capable of immediate access and management of network camera |
CN101778264A (en) * | 2010-02-11 | 2010-07-14 | 北京众和汇智科技有限公司 | Video monitoring method and video monitoring system |
US20150281122A1 (en) * | 2014-03-31 | 2015-10-01 | Byron L. Hoffman | Method and Apparatus for Facilitating Accessing Home Surveillance Data by Remote Devices |
CN104780333A (en) * | 2014-12-03 | 2015-07-15 | 中国航天科工集团第三研究院第八三五七研究所 | High-bandwidth video source interface adaptation device based on FPGA (Field Programmable Gate Array) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541875A (en) * | 2020-05-14 | 2020-08-14 | 深圳市康拓普信息技术有限公司 | Electric power video monitoring video network platform |
CN111541875B (en) * | 2020-05-14 | 2021-10-15 | 南方电网深圳数字电网研究院有限公司 | Electric power video monitoring video network platform |
CN113852871A (en) * | 2021-08-31 | 2021-12-28 | 深圳致星科技有限公司 | Visual data processing method and device, electronic equipment, storage medium and product |
CN114727068A (en) * | 2022-04-19 | 2022-07-08 | 上海闪马智能科技有限公司 | Video information acquisition method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105898375B (en) | A kind of barrage supplying system and method for pushing | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
CN108776934B (en) | Distributed data calculation method and device, computer equipment and readable storage medium | |
EP3226122A1 (en) | Complex event processing method, apparatus and system | |
US9430762B2 (en) | Fee management system, transmission system, and fee management method | |
US20050144219A1 (en) | Communication information sharing system, communication information sharing method, communication information sharing program | |
TWI462512B (en) | System and method for multiple-level message filtering | |
CN109152061B (en) | Channel allocation method, device, server and storage medium | |
CN109814933A (en) | A kind of business data processing method and device | |
CN109672582A (en) | Complete trails monitoring method, equipment, storage medium and device | |
KR101928481B1 (en) | Computer program and device for ctreatting and handling a task from a message entered by a user | |
CN107800999A (en) | A kind of method and system for mixing access video camera and video platform | |
CN113794909A (en) | Video streaming system, method, server, device, and storage medium | |
CN107919971A (en) | Method, apparatus and system for audio/video communication connection disaster tolerance | |
CN104660997B (en) | Service-oriented multi-source heterogeneous video monitoring adaptation method and system | |
CN110311855B (en) | User message processing method and device, electronic equipment and storage medium | |
CN105704001A (en) | WeChat server message distribution method and WeChat server message distribution system | |
CN113569089A (en) | Information processing method, device, server, equipment, system and storage medium | |
CN106982126A (en) | A kind of resource-sharing charging method and message accounting, memory bank | |
CN115563160A (en) | Data processing method, data processing device, computer equipment and computer readable storage medium | |
CN115130981A (en) | Intelligent approval method and device, storage medium and server | |
CN114339364A (en) | Multimedia data processing method and device, electronic equipment and storage medium | |
KR102020112B1 (en) | Method and platform for dds-based iec61850 request-response communication | |
CN113132928A (en) | Charging method and device for video short message service | |
JP7244602B2 (en) | TERMINAL DEVICE CONTROL PROGRAM, TERMINAL DEVICE CONTROL METHOD, AND TERMINAL DEVICE |
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 |
Application publication date: 20180313 |
|
RJ01 | Rejection of invention patent application after publication |