CN110349315A - A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR - Google Patents

A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR Download PDF

Info

Publication number
CN110349315A
CN110349315A CN201910624574.9A CN201910624574A CN110349315A CN 110349315 A CN110349315 A CN 110349315A CN 201910624574 A CN201910624574 A CN 201910624574A CN 110349315 A CN110349315 A CN 110349315A
Authority
CN
China
Prior art keywords
gate inhibition
nvr
video
server
machine
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
CN201910624574.9A
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.)
ZHUHAI QUANSHITONG INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI QUANSHITONG INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHUHAI QUANSHITONG INFORMATION TECHNOLOGY Co Ltd filed Critical ZHUHAI QUANSHITONG INFORMATION TECHNOLOGY Co Ltd
Priority to CN201910624574.9A priority Critical patent/CN110349315A/en
Publication of CN110349315A publication Critical patent/CN110349315A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/27Individual registration on entry or exit involving the use of a pass with central registration
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/186Video door telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention proposes gate inhibition's all-in-one machines of band NVR a kind of, including gate inhibition's mainboard with identification module, NVR video camera, management platform with server, there is storage device in the server, video stream media serve end program is installed on the storage device, the NVR video camera uses Power over Ethernet, internet is formed with the management platform to connect, and sends the video data of generation and image data to by internet the server of the management platform;Gate inhibition's mainboard includes the data transmission device for being used for transmission video, wherein, gate inhibition's mainboard uses Power over Ethernet, and forms internet with the management platform with server and connect, and the management platform sends control instruction to gate inhibition's mainboard by internet.

Description

A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR
Technical field
The present invention relates to field of data transmission, in particular to the gate inhibition's all-in-one machine and data transmission method of a kind of band NVR.
Background technique
With the continuous development of access control system electronic technology, band video door control terminal is suitable in access control system application Extensively.It monitors the video of the door control terminal in real time as administrative staff or by digitalized network, prevents safely so that becoming gate inhibition One of important application of model.At the same time, user proposes new requirements at the higher level.
Application publication number is 108683886 A of CN, the application for a patent for invention of entitled " a kind of intelligent safety defense monitoring system " A kind of intelligent safety defense monitoring system, including main control chip are disclosed, the main control chip connecting pin is equipped with storage array, service Device, display, client, NVR and alarm host machine, the NVR input terminal are equipped with sound-controlled apparatus, access control system and camera, institute It states storage array to be composed using multiple Fixed disks, the server is database server, and the display is aobvious for LED Display screen, the client are set as computer, and the NVR receives the digital video bit stream of transmission by network, and stored, Management.
However, all door control terminal video flowings are required to upload in real time, number of terminals is more, occupies platform service system bandwidth It is bigger.Especially upper tens of thousands of number of terminals need to be managed in area's grade, city-level comprehensive management platform.2Mbps band per second is needed with every road video For width, 10,000 terminals, the Internet bandwidth per second for needing about 20Gbps are managed, the storage system on backstage also results in greatly negative Load, then needs 1.6Pbps to store in one day.
Summary of the invention
The present invention proposes aiming at the problem that NVR access control system of the existing technology occupies great Internet bandwidth Following a kind of the gate inhibition's all-in-one machine and data transmission method of band NVR.
Firstly, the present invention proposes gate inhibition's all-in-one machine of band NVR a kind of, including gate inhibition's mainboard with identification module, NVR Video camera,
The NVR video camera is integrated in gate inhibition's all-in-one machine, is connect with gate inhibition's mainboard, and is supplied using Ethernet Electricity forms internet with the management platform and connect, and sends the video data of generation and image data to by internet The server of the management platform;
Gate inhibition's mainboard includes being used for transmission the data transmission device of video and connecting with the NVR video camera, wherein Gate inhibition's mainboard uses Power over Ethernet, and forms internet with the management platform with server and connect, the management platform Control instruction is sent to gate inhibition's all-in-one machine by internet.
Further, in gate inhibition's all-in-one machine of above-mentioned band NVR proposed by the present invention, the server runs linux system, The video stream media serve end program is Live555 serve end program.
Further, in gate inhibition's all-in-one machine of above-mentioned band NVR proposed by the present invention, the Live555 serve end program is mentioned The RTSP video protocols service for being .264 for format.
Further, in gate inhibition's all-in-one machine of above-mentioned band NVR proposed by the present invention, the port numbers of the RTSP video protocols For 554 and 8554, wherein 554 ports need administrator right.
Further, in gate inhibition's all-in-one machine of above-mentioned band NVR proposed by the present invention, the server also runs gSOAP journey Sequence and the video monitor client for meeting ONVIF standard, the gSOAP program read the wsdl document in ONVIF agreement, and Call and run at least one of minor function: equipment finds service function, device service entrance function, so that the view Frequency monitor client can receive the RTSP video flowing that NVR video camera is sent.
Further, in gate inhibition's all-in-one machine of above-mentioned band NVR proposed by the present invention, the frame buffer zone size of the server It is set as 150000K.
Secondly, the present invention proposes a kind of data transmission method of gate inhibition's all-in-one machine of band NVR, comprising the following steps:
S100) by gate inhibition's mainboard with identification module, NVR video camera, the management platform with server passes through interconnection The mode of net is attached;
S200 video and image information) are obtained, data are carried out by internet using RTSP transport protocol after being encoded Transmission;
S300 photographic device) is found using ONVIF standard, is passed through the Internet transmission video and image data and is stored in clothes It is engaged in device;
S400) video and image data are shown on the desplay apparatus.
Finally, the present invention proposes a kind of data transmission device of gate inhibition's all-in-one machine of band NVR, including band identification module Gate inhibition's mainboard, NVR video camera, the management platform with server has storage device, the storage device in the server Upper installation video stream media serve end program,
Gate inhibition's mainboard includes the data transmission device for being used for transmission video, using Power over Ethernet, and with the band The management platform of server forms internet connection, and the management platform sends control to gate inhibition's mainboard by internet and refers to It enables,
Wherein the data transmission device of gate inhibition's all-in-one machine of the band NVR further includes controller, and the controller is for holding The row above method.
The beneficial effects of the present invention are: by the way that bandwidth needed for live video stream is only limitted to gate inhibition's all-in-one machine Intranet, platform Required bandwidth is then bandwidth when having access on demand, is reduced to 2Mpbs per second.
Detailed description of the invention
Fig. 1 show a kind of schematic structural diagram of the first embodiment of the gate inhibition's all-in-one machine for band NVR that the application is proposed;
Fig. 2 show a kind of network structure of the gate inhibition's all-in-one machine for band NVR that the application is proposed;
Fig. 3 show the access gate inhibition mainboard or NVR video camera of a kind of gate inhibition's all-in-one machine for band NVR that the application is proposed Flow chart;
Fig. 4 show the data flow figure using ONVIF standard transmission video;
Fig. 5 show a kind of flow chart of the 3rd embodiment of the gate inhibition's all-in-one machine for band NVR that the application is proposed;
Fig. 6 show a kind of flow chart of the fourth embodiment of the gate inhibition's all-in-one machine for band NVR that the application is proposed;
Gate inhibition's all-in-one machine that Fig. 7 show a kind of band NVR that the application is proposed generates ONVIF generation using gSOAP tool Code block schematic illustration;
Fig. 8 show a kind of flow chart of the data transmission method of the gate inhibition's all-in-one machine for band NVR that the application is proposed;
Fig. 9 show HTTP digest authorizing procedure figure;
Figure 10 show the device authentication flow chart of Onvif agreement.
Specific embodiment
It is carried out below with reference to technical effect of the embodiment and attached drawing to design of the invention, specific structure and generation clear Chu, complete description, to be completely understood by the purpose of the present invention, scheme and effect.It should be noted that the case where not conflicting Under, the features in the embodiments and the embodiments of the present application can be combined with each other.The identical attached drawing mark used everywhere in attached drawing Note indicates the same or similar part.
It should be noted that unless otherwise specified, when a certain feature referred to as " fixation ", " connection " are in another feature, It can directly fix, be connected to another feature, and can also fix, be connected to another feature indirectly.In addition, this The descriptions such as upper and lower, left and right used in application are only the mutual alignment pass relative to each component part of the application in attached drawing For system.In the application and the "an" of singular used in the attached claims, " described " and "the" also purport It is including most forms, unless the context clearly indicates other meaning.
In addition, unless otherwise defined, the technology of all technical and scientific terms used herein and the art The normally understood meaning of personnel is identical.Term used in the description is intended merely to description specific embodiment herein, without It is to limit the application.Term as used herein "and/or" includes the arbitrary of one or more relevant listed items Combination.
It will be appreciated that though various elements may be described in this application using term first, second, third, etc., but These elements should not necessarily be limited by these terms.These terms are only used to for same type of element being distinguished from each other out.For example, not taking off In the case where the application range, first element can also be referred to as second element, and similarly, second element can also be referred to as First element.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When ".
A kind of first embodiment schematic diagram of the gate inhibition's all-in-one machine for band NVR that the application shown in referring to Fig.1 is proposed;
Including gate inhibition's mainboard with identification module, NVR video camera, the management platform with server, the server In there is storage device, video stream media serve end program is installed, the NVR video camera uses Ethernet on the storage device Power supply forms internet with the management platform and connect, and the video data of generation and image data are sent by internet To the server of the management platform;Gate inhibition's mainboard includes the data transmission device for being used for transmission video, wherein the door Prohibit mainboard and use Power over Ethernet, and form internet with the management platform with server and connect, the management platform is logical It crosses internet and sends control instruction to gate inhibition's mainboard.
Further, it is also shown in Fig. 1 through internet and WAN mouthfuls of external equipments connecting of router, the connection can To be that wired connection is also possible to be wirelessly connected, such as by mobile communications network or Wi-Fi, the external equipment is that have letter Breath sends and receives the terminal device of ability, such as mobile phone, laptop, tablet computer, desktop computer etc..
Specifically, the video of NVR shot by camera does not upload in real time, when there is the triggering of the events such as enabling, alarm Just the video of 10s before and after event can be uploaded to server.It is also to roll covering in 1 minute that gate inhibition's all-in-one machine, which locally saves,.
The gate inhibition's mainboard, the NVR video camera even server that are connected with router are controlled or accessed, ordinary circumstance For, gate inhibition's mainboard and NVR video camera only need to be accessed, a kind of band NVR's that the application of detailed process as shown in Figure 3 is proposed The flow chart of the access gate inhibition's mainboard or NVR video camera of gate inhibition's all-in-one machine, comprising the following steps:
S301 the external network instruction by authentication) is received;
S302) router receives instruction in door access machine;
S303 whether gate inhibition's mainboard) is directed toward according to port decision instruction;
If being directed to gate inhibition's mainboard, gate inhibition's mainboard is sent by the instruction, if not be directed toward gate inhibition's mainboard, then it will instruction It is sent to NVR video camera.
A kind of network structure of gate inhibition's all-in-one machine of the band NVR proposed referring to the application shown in Fig. 2;As schemed Show, POE router is integrated in gate inhibition's all-in-one machine, and router there are one WAN mouthfuls, 2 LAN mouthfuls;The WAN mouth of router connects external Network;One connection gate inhibition's mainboard of LAN mouth of router, a connection NVR video camera;External equipment, platform by network with The communication of gate inhibition's all-in-one machine;
Further, as described above, network settings can be carried out by remote access video door access machine when carrying out system deployment:
1) default ip address for needing to be arranged
Door access machine IP address information:
IP address: 192.168.1.11
Subnet mask: 255.255.250
Default gateway: 192.168.1.1
NVR video camera IP address information:
IP address: 192.168.1.10
Subnet mask: 255.255.250
Default gateway: 192.168.1.1
2) configuration of routers
Set the LAN mouth of router to 1 section of IP.And the IP address of router is 192.168.1.1;
Router does port mapping;
Port (TCP and UDP) 8899,8200,8100,554,3702 is mapped to 192.168.1.10 and (is mapped to NVR Video camera)
3) NVR camera configuration
Network configuration:
IP address: 192.168.1.10
Subnet mask: 255.255.255.0
Gateway address: 192.168.1.1
Dns address: 192.168.1.1
Http port: 80
Control port: 8100
Video port: 8200
Configure the outer net IP of router:
DNS domain name: 190.112.27.205
4) router feature tests method
(1) computer gateway first configures 192.168.1.1;
(2) defaulting one piece of router is main drafting board IP:192.168.8.79 (this veneer runs OK in equipment)
(3) main survey A plate, tested B plate;
(4) the main 8pin weft for surveying LAN mouthfuls of left sides of A plate connects computer;
(5) be tested B mainboard need by the 192.168.8.79 of the original default WAN of LAN mouthful modifications for 8 sections of non-79 other IP;
(6) main survey A veneer and tested B mainboard are direct-connected by WAN mouthfuls;
(7) device power removes two mainboard IP of ping using computer, can lead to and can determine that the WAN mouth of equipment is normal, in addition LAN mouthfuls in connection computer;
(8) the WAN mouthfuls of left side indicator lights for chaining cable are bright, indicate that network interface is normal.
Further, the server runs linux system, and the video stream media serve end program is Live555 service Hold program.
Specifically, the Live555 serve end program provides the RTSP video protocols service that format is .264.
Specifically, the port numbers of the RTSP video protocols are 554 and 8554, wherein 554 ports need administrator right.
Further, the server also runs gSOAP program and meets the video monitor client of ONVIF standard, described GSOAP program reads the wsdl document in ONVIF agreement, and calls and run at least one of minor function: equipment hair Existing service function, device service entrance function, so that the video monitor client can receive what NVR video camera was sent RTSP video flowing.
Specifically, the frame buffer zone of the server is dimensioned to 150000K.
Specifically, ONVIF specification describes model, interface, data type and the mode of data interaction of network video. And some existing standards, such as WS series standard have been multiplexed it.The target of ONVIF specification is to realize a network video frame association View makes the complete intercommunication of different vendor's network video product produced (including shoot with video-corder front end, video recording equipment etc.).
Interface defined in equipment management and control section provides in the form of Web Services in ONVIF specification. ONVIF standardizes the definition for covering complete XML and WSDL.Each support ONVIF specification terminal device must provide with The corresponding Web Service of function.The data interaction of server-side and client uses soap protocol.Other parts in ONVIF For example audio/video flow is then carried out by RTP/RTSP.
SOAP is the abbreviation of Simple Object Access Protocol.SOAP provides a kind of method of standard, makes Different operating system must be operated in and can be communicated with each other using the application program of different technology and programming language.It is A kind of agreement based on XML.One soap message is exactly a common XML document, includes following elements:
Required Envelope element can be identified as this XML document one soap message;
Optional Header element includes header information;
Required Body element includes all calling and response message;
Optional Fault element is provided in relation to handling the information of this message iron of fine quality occurred accidentally.
In the SOAP request sent to Web Service, the field in Body element need to be with data type in WSDL It is consistent.During constructing SOAP, it is necessary to be obtained from wsdl document and map a kind of this corresponding relationship.However such one A corresponding process will be filled with repeatability and it is mechanical, in order to avoid unnecessary human error and save exploitation when Between, the compilation tool of an entitled gSOAP comes into being.
GSOAP compilation tool provides for realization of the SOAP/XML about C/C++ language, to allow C/C++ language The work of exploitation web services or client-side program has become easily very much.By the realization details of the soap protocol unrelated with exploitation Relevant content stashes to developer.Because SOAP provides a kind of standardized method, the compiler energy of gSOAP It is enough that C the or 0+ data type of user-defined localization is automatically changed into the data structure for meeting XML grammer, in this way, only Just user is realized to have freed in work from SOAP details with one group of simple API and be come out, can be absorbed in and application logic Realization work.And gSOAP can be used across multiple operating systems, language environment and the different groups after firewall It can produce the code skeleton in terms of the SOAP communication protocol for developing Web Services, developer only needs to realize Then the called function of server can call function at the far end as calling local function at the end client. GSOAP includes two tools wsdl2h and soapcpp2, for generating code skeleton.
Specifically, referring to the data flow figure shown in Fig. 4 using ONVIF standard transmission video;Include in ONVIF standard Three kinds of equipment, are centre management unit CMU respectively, such as the administrative center in figure, front monitoring front-end unit PU, such as the NVR in figure The monitor client unit CU of video camera and monitoring system, such as the server in figure, communication process is as follows:
1. after equipment is online, sending HELLO message to CMU.
When 2.CMU needs to search equipment, PROBE message is sent to PU.
3.CMU and PU carries out Signalling exchange, requests capability set, obtains configuration.
4.CU is online, registers to CMU, establishes connection.
5.CMU and CU carries out Signalling exchange, transmission device list.
6. CU establishes connection transmission code stream with PU under the coordination of CMU.
There is following benefit using ONVIF standard, so that the interactive mode of PU and CMU is changed, CMU is no longer protected with PU Hold long connection;ONVIF specification is followed, signaling and message content have unified standard.
ONVIF standardizes the concept that Web Service is introduced to video monitoring.The actual functional capability of equipment be abstracted in order to The control unit of the service of WebService, video monitoring system occurs with the identity of client, complete by way of Web request It is operated at control.
ONVIF specification can have the advantage that video monitoring system:
(1) it has been abstracted the interface of function.The mode of the configuration and operation to equipment is unified.
(2) model for the not instead of equipment that control terminal is concerned about, Web Service provided by equipment have standardized video system Behavior in system except Web Service range.
(3) ONVIF provides the WSDL of modules, possesses the very high development scheme of efficiency.
A kind of flow chart of the 3rd embodiment of the gate inhibition's all-in-one machine for band NVR that the application referring to Figure 5 is proposed, The following steps are included:
S301) creation exploitation environment;
S302 the wsdl document that reading ONVIF) is removed by gSOAP, generates code skeleton;
S303) RTSP video docks;
S304 live555MediaServer server) is run;
S305) starting Onvif Device Manager test.
Wherein, WSDL refers to web services definition language (Web Services Description Language).WSDL is A kind of document write using XML.This document can describe some Web service.It could dictate that service position and this The operation (or method) provided is provided.
Specifically, the wsdl document of reading ONVIF, the code skeleton of generation, as Fig. 7 the application is mentioned are removed by gSOAP Gate inhibition's all-in-one machine of band NVR out a kind of using gSOAP tool generate ONVIF code skeleton schematic diagram shown in, code skeleton by The file composition that some far calls automatically generated need.
In addition, some ONVIF interfaces need to carry authentication information when calling, soap_wsse_add_ is used UsernameTokenDigest function is authorized, and #import " wsse.h " is added so to start in onvif.h header file Otherwise compiling can malfunction.
It orders as follows:
# enters onvif catalogue
cd gsoap-2.8/gsoap/samples/onvif
# modifies onvif.h file, adds #import " wsse.h " in beginning
vi onvif.h。
Referring to HTTP digest authorizing procedure figure shown in Fig. 9 and the device authentication process of Onvif agreement shown in Fig. 10 Figure, the authorizing procedure of a digest comprise the following processes:
1. client wishes to get some resource on server, Get request is sent to server.
2. after server receives the request of client, it is found that this resource needs authentication information, judge be in request message It is no to have Authorization head, if not provided, returning to one 401 (Unauthorized) to client.This 401 In reply, while the head of a WWW-Authenticate can be added in server
3. being replied in message after 401 (Unauthorized) that client receives server are replied using server Nonce value, in addition username, password, http method, http uri utilize MD5 (or specified its of server His algorithm) request-digest is calculated, the value as repsonse header field.And retransmit request;
4. after server receives the request that client is sent, according to username, find out the password of user, with The same method of client calculates request-digest (response).Then it is carried out with the request-digest received Comparison, if unanimously, be proved to be successful, receives the request of client, successfully returns the result.And have Authentication- Info message header.Client carries out server authentication according to the parameter in the message header.
Onvif initialization apparatus identifying procedure is as follows:
1. client passes through GetSystemDateAndTinme acquisition time
2. client carries out time synchronization compared with server carries out the time if necessary.If client and clothes Be engaged in device between time phase difference it is too big, then server may refuse WS_UsenameToken, can be used at this time NTP or SetSystemDateAndTime order carries out time synchronization
3. client inspection sees whether server has the user of registration, a user is created if without user and is recognized Card.
User management:
Create user:
Creation user needs to provide 3 parameters:
1.name:
2,password
3.userlevel: for user right to be arranged
Client goes creation user by using CreateUsers order and these parameters is arranged;After successfully creating, so that it may To use the authorizing procedure of similar HTTP digest to carry out the authentication of equipment.Verification process has Twice requests-response interaction: It is addressed inquires to for the first time for abstract, server return authentication message header, eap-message digest is done in requesting terminal.In second of interaction, client It include summary info and other parameters with certification message header in request, server does client authentication, authenticating after receiving Send response after success back to, and with certification message header.Client carries out server authentication according to the parameter in the message header.
Specifically, a kind of fourth embodiment of gate inhibition's all-in-one machine of the band NVR proposed referring to the application shown in fig. 6 Flow chart, the docking of step S303RTSP video further includes following sub-step:
S3031) administrative center CMU discovering device;
S3032 after) equipment is found successfully, front monitoring front-end unit PU, which is sent, obtains the request such as equipment end capability set;
S3033) front monitoring front-end unit PU, which is sent, obtains audio-video source information and audio/video encoding/decoding information;
S3034) front monitoring front-end unit PU, which is sent, obtains Streaming Media URL information.
Wherein, the server of live5555MediaServer is run, RTSP function is completed.
Specifically, it is also necessary to the default port of RTSP is revised as 554 and 8554, default is first attempted using port 554, It is unsuccessful to reuse 8554.When Linux server runs live555MediaServer program, weighed using sudo or root 554 ports could be opened by limiting the use of family.Otherwise, 8554 ports are opened.
A kind of process of the data transmission method of gate inhibition's all-in-one machine of the band NVR proposed referring to the application shown in Fig. 8 Figure, comprising the following steps:
S100) by gate inhibition's mainboard with identification module, NVR video camera, router, the management platform with server is logical The mode for crossing internet is attached;
S200 video and image information) are obtained, data are carried out by router using RTSP transport protocol after being encoded Transmission;
S300 photographic device) is found using ONVIF standard, and video and image data are transmitted by router and is stored in clothes It is engaged in device;
S400) video and image data are shown on the desplay apparatus.
Specifically, the ONVIF signaling that whole process needs to realize is as follows:
1、wsdd:Probe
2、tds:GetServices
3、tds:GetDeviceInformation
4、tds:SetSystemDateAndTime
5、tds:GetSystemDateAndTime
6、tds:GetUsers
7、tds:GetCapabilities
8、tds:GetNTP
9、tds:SetNTP
10、tds:GetNetworkInterfaces
11、tds:GetNetworkProtocols
12、tds:GetNetworkDefaultGateway
13、trt:GetVideoSources
14、trt:GetAudioSources
15、trt:GetAudioOutputs
16、trt:GetProfile
17、trt:GetProfiles
18、trt:GetVideoSourceConfigurations
19、trt:GetVideoEncoderConfigurations
20、trt:GetAudioEncoderConfigurations
21、trt:GetVideoAnalyticsConfigurations
22、trt:GetVideoSourceConfiguration
23、trt:GetVideoEncoderConfiguration
24、trt:GetAudioEncoderConfiguration
25、trt:GetCompatibleVideoAnalyticsConfigurations
26、trt:GetVideoEncoderConfigurationOptions
27、trt:GetAudioEncoderConfigurationOptions
28、trt:GetStreamUri
29、trt:SetSynchronizationPoint
30、trt:GetOSDs
Finally, the present invention proposes a kind of data transmission device of gate inhibition's all-in-one machine of band NVR, including band identification module Gate inhibition's mainboard, NVR video camera, router, the management platform with server, the router is at least provided with two LAN interface With a wan interface, video stream media serve end program, gate inhibition's mainboard and the road are installed and run in the server Power over Ethernet is connected by the LAN interface of device and used, internet is formed with the management platform and connect, the management platform is logical It crosses internet and sends control instruction to gate inhibition's mainboard;The LAN interface of router described in the NVR video camera is connected and is used Power over Ethernet forms internet with the management platform and connect, the video data and image data that the NVR video camera generates The server of the management platform is sent to by internet.
Wherein the data transmission device of gate inhibition's all-in-one machine of the band NVR and router further includes controller, the control Device is used to execute a kind of data transmission method of gate inhibition's all-in-one machine of present invention band NVR set forth above.
In conclusion newly-increased being mainly reflected in for NVR function is received by network compared with existing video gate inhibition The digital video bit stream of web cam device transmission, and stored, managed, to realize networking bring distribution frame Structure advantage.In simple terms, new gate inhibition's all-in-one machine can be watched simultaneously, browse, play back, manage, be deposited by increasing NVR function Store up multiple web cameras.Get rid of the constraint of hardware, no longer face install and deploy it is cumbersome.
1. integrated router in video gate inhibition's all-in-one machine reduces cost without disposing again in outside;
2. integrated router, networking mode is simple, and deployment is convenient;
3. video gate inhibition, which captures function and the real-time video monitoring of external demand, can share camera, gate inhibition's all-in-one machine is taken the photograph As head realizes web camera function.Without independent on-premise network camera;
4. all-in-one machine power supply uses POE (Power over Ethernet), without individually powering for router, door access machine etc., together Shi Caiyong POE power supply mode is powered more stable, conducive to the safe operation of equipment;
5. can be configured by remotely accessing door access machine to router, web camera etc., difficulty of construction is reduced;
6. providing convenient solution for docking third party's video monitoring platform.
Specifically, server also runs streaming media playing software, to show the video data of the NVR camera transmissions Show over the display, preferably VLC video device.
Specifically, the memory module in server is nonvolatile memory.Preferably SSD solid state hard disk.
Finally, being stored thereon with computer instruction the present invention also provides a kind of computer readable storage medium.The instruction It is realized when being executed by processor such as the step of any one of aforementioned method.
It should be appreciated that the embodiment of the present invention can be by computer hardware, the combination of hardware and software or by depositing The computer instruction in non-transitory computer-readable memory is stored up to be effected or carried out.Standard volume can be used in the method Journey technology include realized in computer program configured with the non-transitory computer-readable storage media of computer program, wherein Configured in this way storage medium make computer operated in a manner of specific and is predefined-according in a particular embodiment describing Method and attached drawing.Each program can be realized with the programming language of level process or object-oriented with logical with computer system Letter.However, if desired, the program can be realized with compilation or machine language.Under any circumstance, the language can be compiling or The language of explanation.In addition, the program can be run on the specific integrated circuit of programming for this purpose.
Further, this method can be realized in being operably coupled to suitable any kind of computing platform, including But it is not limited to PC, mini-computer, main frame, work station, network or distributed computing environment, individual or integrated It computer platform or is communicated with charged particle tool or other imaging devices etc..Each aspect of the present invention can be with storage No matter machine readable code on non-transitory storage medium or equipment is moveable or is integrated to calculate and put down to realize Platform, such as hard disk, optically read and/or write-in storage medium, RAM, ROM, so that it can be read by programmable calculator, when depositing Storage media or equipment can be used for configuration and operation computer to execute process described herein when being read by computer.In addition, Machine readable code, or part thereof can be transmitted by wired or wireless network.When such media include in conjunction with microprocessor or When other data processors realize the instruction or program of steps described above, invention as described herein includes that these and other are different The non-transitory computer-readable storage media of type.When methods and techniques according to the present invention programming, the present invention is also Including computer itself.
This document describes embodiment of the disclosure, become known for executing optimal mode of the invention including inventor.It is readding After having read foregoing description, the variation of these embodiments will be apparent those skilled in the art.Inventor wishes skill Art personnel optionally use such modification, and inventor be intended to by be different from it is as specifically described herein in a manner of practice this public affairs The embodiment opened.Therefore, through applicable legal permission, the scope of the present disclosure includes describing in this appended claims The all modifications and equivalent of theme.In addition, the scope of the present disclosure covers any of the above-mentioned element in its all possible modification Combination, unless herein in addition instruction or otherwise significantly with contradicted by context.
Although description of the invention is quite detailed and especially several embodiments are described, it is not Any of these details or embodiment or any specific embodiments are intended to be limited to, but should be considered as is by reference to appended A possibility that claim provides broad sense in view of the prior art for these claims explanation, to effectively cover the present invention Preset range.In addition, with the foreseeable embodiment of inventor, present invention is described above, its purpose is to be provided with Description, and those still unforeseen at present change to unsubstantiality of the invention can still represent equivalent modifications of the invention.
Therefore, should be with descriptive sense rather than restrictive sense understands the specification and drawings.However, by apparent It is:, can be to the application in the case where not departing from the broader spirit and scope of the application as described in claims Make various modifications and change.
Other modifications are in spirit herein.Therefore, although disclosed technology may be allowed various modifications and substitution structure It makes, but has shown that in the accompanying drawings and its some embodiments shown in being described in detail above.It will be appreciated, however, that not It is intended to for the application to be confined to disclosed one or more concrete forms;On the contrary, its intention covers such as the appended claims Defined in fall in all modifications, alternative constructions and equivalent in spirit and scope.

Claims (8)

1. a kind of gate inhibition's all-in-one machine of band NVR, including gate inhibition's mainboard with identification module, NVR video camera, feature exists In,
The NVR video camera is integrated in gate inhibition's all-in-one machine, is connect with gate inhibition's mainboard, and uses Power over Ethernet, It forms internet with the management platform connect, and described in sending the video data of generation and image data to by internet Manage the server of platform;
Gate inhibition's mainboard includes being used for transmission the data transmission device of video and connecting with the NVR video camera, wherein described Gate inhibition's mainboard uses Power over Ethernet, and forms internet with the management platform with server and connect, and the management platform passes through Internet sends control instruction to gate inhibition's all-in-one machine.
2. gate inhibition's all-in-one machine of band NVR according to claim 1, which is characterized in that the server runs linux system And video stream media serve end program, the video stream media serve end program are Live555 serve end program.
3. gate inhibition's all-in-one machine according to claim 2, which is characterized in that the Live555 serve end program provides format For the RTSP video protocols service of .264.
4. gate inhibition's all-in-one machine of band NVR according to claim 3, which is characterized in that the port of the RTSP video protocols Number be 554 and 8554, wherein 554 ports need administrator right.
5. gate inhibition's all-in-one machine of band NVR according to claim 1, which is characterized in that the server also runs gSOAP journey Sequence and the video monitor client for meeting ONVIF standard, the gSOAP program read the wsdl document in ONVIF agreement, and Call and run at least one of minor function: equipment finds service function, device service entrance function, so that the view Frequency monitor client can receive the RTSP video flowing that NVR video camera is sent.
6. gate inhibition's all-in-one machine of band NVR according to claim 1, which is characterized in that the frame buffer zone of the server is big It is small to be set as 150000K.
7. a kind of data transmission method of gate inhibition's all-in-one machine of band NVR, which comprises the following steps:
S100) by gate inhibition's mainboard with identification module, NVR video camera, the management platform with server passes through internet Mode is attached;
S200 video and image information) are obtained, is carried out data transmission using RTSP transport protocol by internet after being encoded;
S300 photographic device) is found using ONVIF standard, by the Internet transmission video and image data and is stored in server In;
S400) video and image data are shown on the desplay apparatus.
8. a kind of data transmission device of gate inhibition's all-in-one machine of band NVR, including gate inhibition's mainboard with identification module, NVR is taken the photograph Camera, the management platform with server have storage device in the server, install video stream media on the storage device Serve end program, which is characterized in that
Gate inhibition's mainboard includes the data transmission device for being used for transmission video, using Power over Ethernet, and with the band service The management platform of device forms internet connection, and the management platform sends control instruction to gate inhibition's mainboard by internet,
Wherein the data transmission device of gate inhibition's all-in-one machine of the band NVR further includes controller, and the controller is for executing such as Method of claim 7.
CN201910624574.9A 2019-07-11 2019-07-11 A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR Pending CN110349315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910624574.9A CN110349315A (en) 2019-07-11 2019-07-11 A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910624574.9A CN110349315A (en) 2019-07-11 2019-07-11 A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR

Publications (1)

Publication Number Publication Date
CN110349315A true CN110349315A (en) 2019-10-18

Family

ID=68175858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910624574.9A Pending CN110349315A (en) 2019-07-11 2019-07-11 A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR

Country Status (1)

Country Link
CN (1) CN110349315A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110253A (en) * 2021-05-19 2021-07-13 北京华麒通信科技有限公司 Data acquisition and transmission equipment and data processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110007159A1 (en) * 2009-06-06 2011-01-13 Camp David M Video surveillance system and associated methods
CN105872453A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Web camera monitoring method and system as well as server
CN108683886A (en) * 2018-07-02 2018-10-19 安徽西曲智能科技有限公司 A kind of intelligent safety defense monitoring system
CN109618082A (en) * 2018-12-17 2019-04-12 珠海市国宏网络科技有限公司 A kind of high-definition intelligent ball machine and data transmission method
CN210515428U (en) * 2019-07-11 2020-05-12 珠海全视通信息技术有限公司 Take NVR's entrance guard all-in-one

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110007159A1 (en) * 2009-06-06 2011-01-13 Camp David M Video surveillance system and associated methods
CN105872453A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Web camera monitoring method and system as well as server
CN108683886A (en) * 2018-07-02 2018-10-19 安徽西曲智能科技有限公司 A kind of intelligent safety defense monitoring system
CN109618082A (en) * 2018-12-17 2019-04-12 珠海市国宏网络科技有限公司 A kind of high-definition intelligent ball machine and data transmission method
CN210515428U (en) * 2019-07-11 2020-05-12 珠海全视通信息技术有限公司 Take NVR's entrance guard all-in-one

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110253A (en) * 2021-05-19 2021-07-13 北京华麒通信科技有限公司 Data acquisition and transmission equipment and data processing method

Similar Documents

Publication Publication Date Title
CA2999343C (en) Secure enrolment of security device for communication with security server
US9794303B1 (en) Method and system for integrating real time communication features in applications
CN110535653A (en) A kind of safe distribution terminal and its means of communication
CN105917690A (en) System, method, and computer program for preserving service continuity in network function virtualization (NFV) based communication network
CN102195930B (en) Security access method among equipment and communication equipment
CN109768965A (en) A kind of login method of server, equipment and storage device
CN103269329A (en) Household video monitoring system based on digital television set-top box and IMS (Information Management System)
CN103051448A (en) Authentication method, device and system for pairing code of business terminal attached to home gateway
CN103503378B (en) For the method and apparatus accessed by the home network of credible monitoring agent
CN104270604A (en) Method, system and device for obtaining real-time video data of IPC
CN110012322B (en) Method and system for initiating video networking service
CN106302422A (en) Business encryption and decryption method and device
CN104113547B (en) SIP (session initiation protocol) security protection video monitoring network access control system
CN102377792A (en) Home network monitoring system based on WEB
CN108881127A (en) A kind of method and system of control remote access permission
CN104753926B (en) A kind of gateway admittance control method
CN102647435B (en) Police network monitoring system
CN101291246A (en) Control method for information service system of terminal equipment
CN110349315A (en) A kind of the gate inhibition's all-in-one machine and data transmission method of band NVR
CN111556376B (en) Digital certificate signing and issuing method and device and computer readable storage medium
CN210515428U (en) Take NVR's entrance guard all-in-one
CN104426890B (en) Network element access method and system based on B/S frameworks
CN102812773B (en) The method and apparatus accessed for local network
CN109756462A (en) A kind of signal server framework method based on oSIP
CN108768969A (en) A kind of network penetrating system and penetrating method

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