CN105611392B - A kind of method of automatic preview video, NVR, IPC and system - Google Patents
A kind of method of automatic preview video, NVR, IPC and system Download PDFInfo
- Publication number
- CN105611392B CN105611392B CN201511033401.8A CN201511033401A CN105611392B CN 105611392 B CN105611392 B CN 105611392B CN 201511033401 A CN201511033401 A CN 201511033401A CN 105611392 B CN105611392 B CN 105611392B
- Authority
- CN
- China
- Prior art keywords
- message
- nvr
- ipc
- multicast address
- pipe
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6405—Multicasting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
-
- 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/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method of automatic preview video, NVR, IPC and systems to improve working efficiency when deployment to realize the video of the automatic preview IPC of Network Personal Video Recorder.Automatically the method for preview video includes:What NVR received that IPC is sent to local network seeks management message, it is determined whether is managed to IPC, when being managed to IPC, transmission faces pipe and invites message to corresponding IPC, and otherwise continue to IPC transmissions seeks management message;NVR receives IPC and is sent to the NVR and receives faces pipe confirmation message on the multicast address of message, startup receives media data flow service, it receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, by decoding, the video of preview is shown in preset window;Wherein, it is that IPC is received and faced after pipe invites message to face pipe confirmation message, determines and receives the message that is sent when the management of NVR.
Description
Technical field
The present invention relates to technical field of video monitoring more particularly to a kind of method of automatic preview video, NVR, IPC and it is
System.
Background technology
In technical field of video monitoring, network hard disk video recorder (Network Video Recorder, NVR) is main
Function be that the real time video data of web camera (IP Camera, IPC) equipment transmission is received by network, and deposited
Storage, management, to realize distributed structure/architecture advantage that networking is brought.
The prior art will manage IPC, generally be realized by following three kinds of modes in deployment period, NVR:
Mode one:Firstly, it is necessary to be IPC separate configurations network parameters, such as IP address, mask, gateway;Then, in NVR
Operation interface, user is manually entered the IP address of IPC or NVR obtains the IP address of IPC by way of scanning;Finally, it uses
IPC is linked into NVR by family manually, and automatic preview is carried out to the video of IPC on NVR.
Mode two:First, NVR directly scans local network, and local IPC is accessed from scanning result selection;Then, it uses
IPC is linked into NVR by family manually, and automatic preview is carried out to the video of IPC on NVR.
Mode three:NVR provides the dedicated port active Ethernet (Power Over Ethernet, POE), supports POE's
IPC is linked into the fixed ports POE, and after IPC automatically accesses NVR, automatic preview is carried out to the video of IPC on NVR.
In conclusion the NVR in the mode one and mode two of the prior art needs to configure IPC in the video of preview IPC
Network parameter, both modes are required for being manually operated at least once in IPC or NVR;NVR in mode three is in preview
When the video of IPC, NVR needs to provide POE dedicated ports, only in the environment of POE could preview video, have centainly
Limitation.
Invention content
An embodiment of the present invention provides a kind of method of automatic preview video, NVR, IPC and systems, in deployment
Phase realizes the video of the automatic preview IPC of NVR, improves the working efficiency in deployment period.
A kind of method of automatic preview video provided in an embodiment of the present invention, including:
What NVR received that IPC is sent to local network seeks management message, it is determined whether is managed to the IPC, when to institute
When stating IPC and being managed, transmission faces pipe and invites message to corresponding IPC, and otherwise continue to IPC transmissions seeks management message;
Wherein, the IPC is sent by way of broadcast seeks management message;
NVR receives IPC and is sent to the NVR and receives faces pipe confirmation message on the multicast address of message, and startup receives media
Data flow service receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, leads to
Decoding is crossed, preview video is shown in preset window;Wherein, the pipe confirmation message that faces is to face pipe described in IPC is received to invite report
Wen Hou determines the message for receiving to send when the management of NVR.
Do not need separate configurations IPC's in deployment period by the method for automatic preview video provided in an embodiment of the present invention
Network parameter, it is only necessary to which IPC accesses local network, has the NVR for managing new IPC demands that can receive IPC and is sent to local network
Seek management message, according to seek management message content determine whether to be managed IPC, when being managed to IPC, send
Facing pipe invites message to corresponding IPC, and receive IPC transmissions faces pipe confirmation message, and startup receives media data flow service, connects
The media data that IPC is sent is received, by decoding, preview video is shown in preset window;Compared with prior art, zero can be realized
Operating NVR and IPC can be automatically in the video of NVR previews to IPC, to improve working efficiency when deployment.
Preferably, the management message of seeking includes IPC configuration informations,
It is described to determine whether to be managed the IPC, including:
NVR according to the configuration information of itself, with parse described in seek the IPC configuration informations that management message includes and compared
Compared with if the two matches, it is determined that be managed to the IPC.
Preferably, determine that NVR receives the multicast address of message, including:
Message is continuously received in preset time using pre-set multicast address, if not receiving any message,
Determine that the multicast address is the multicast address that NVR receives message;Otherwise continue using newly-installed multicast address in preset time
Interior continuous reception message, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with
Newly-installed multicast address is arranged according to the naming rule of the multicast address of NVR;
Determine the multicast address of NVR receiving media datas, including:
Using pre-set multicast address in preset time continuous receiving media data, if not receiving any media
Data, it is determined that the multicast address is the multicast address of NVR receiving media datas;Otherwise continue to use newly-installed multicast address
The continuous receiving media data in preset time, until newly-installed multicast address does not receive any media data;Wherein, in advance
The multicast address being first arranged and newly-installed multicast address are arranged according to the naming rule of the multicast address of NVR.
Preferably, described face the multicast address that pipe invitation message includes the identification information and NVR receiving media datas of NVR,
It is described that when being managed to the IPC, transmission faces pipe and invites message to corresponding IPC, including:
IPCs of the NVR in advance to be each managed is at least distributing the multicast of an independent NVR receiving media data
Location, the pipe that faces for sending the multicast address of the identification information and NVR receiving media datas that carry NVR invite message to corresponding
IPC。
Preferably, the reception IPC is sent to the media data on the multicast address of the NVR receiving media datas, pass through
Decoding, after the video that preset window shows preview, the method further includes:
NVR transmissions face management and control message to IPC, and the management and control message that faces includes the order ginseng that NVR is used to control IPC
Number.
The embodiment of the present invention additionally provides a kind of method of automatic preview video, including:
IPC seeks management message to NVR by way of broadcast in local network transmission;
IPC receives the pipe that faces that NVR is sent and invites message, it is determined whether the management for receiving NVR, when the determining pipe for receiving NVR
When reason, pipe confirmation message is faced in transmission, and sends media data to corresponding NVR, and the mode for otherwise continuing through broadcast is sent
Seek management message;Wherein, the pipe invitation message that faces is after seeking management message described in NVR is received, to determine and carried out to the IPC
The message being sent to when management on the multicast address of IPC reception message.
Preferably, the IPC, which receives the pipe that faces that NVR is sent, invites message, it is determined whether receive the management of NVR, including:
If the pipe that faces that the IPC receives NVR transmissions in preset time invites message, pipe is faced according to and invites report
The content of text determines whether to receive the management of NVR;If the pipe that faces for not receiving NVR transmissions in preset time invites message,
The mode for continuing through broadcast sends and seeks management message.
Preferably, the pipe invitation message that faces includes the video decoding that NVR is supported,
The IPC receives the pipe that faces that NVR is sent and invites message, it is determined whether receive the management of NVR, including:
The IPC is according to the sequencing for facing pipe and inviting message is received, according to the ability that itself is encoded, successively with
The decoded ability of video for facing the NVR supports that pipe invites message to include received is compared, until the two matching, then
Determine the management for receiving NVR.
Preferably, determine that IPC receives the multicast address of message, including:
Message is continuously received in preset time using pre-set multicast address, if not receiving any message,
Determine that the multicast address is the multicast address that IPC receives message;Otherwise continue using newly-installed multicast address in preset time
Interior continuous reception message, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with
Newly-installed multicast address is arranged according to the naming rule of the multicast address of IPC.
Preferably, after the transmission media data is to corresponding NVR, the method further includes:
What IPC receptions NVR was sent faces management and control message, and the management and control message that faces includes the order that NVR is used to control IPC
Parameter.
The embodiment of the present invention additionally provides a kind of NVR of automatic preview video, including:
Management module seeks management message, it is determined whether carry out to the IPC for receive that IPC is sent to local network
Management, when being managed to the IPC, transmission faces pipe and invites message to corresponding IPC, otherwise continues to IPC transmissions
Seek management message;Wherein, the IPC is sent by way of broadcast seeks management message;
Video preview module faces pipe confirmation message for receiving IPC and being sent to NVR and receive on the multicast address of message,
Startup receives media data flow service, receives IPC and is sent on the multicast address corresponding with the IPC of NVR receiving media datas
Media data, by decoding, preset window show preview video;Wherein, the pipe confirmation message that faces is that IPC receives institute
It states after facing pipe invitation message, determines the message sent when the management for receiving the NVR.
Preferably, the management message of seeking includes IPC configuration informations, the management module is specifically used for, according to NVR itself
Configuration information, with parse described in seek the management message IPC configuration informations that include and be compared, if the two matches, really
It is fixed that the IPC is managed.
Preferably, further including multicast address confirmation module, for using pre-set multicast address in preset time
It is continuous to receive message, if not receiving any message, it is determined that the multicast address is the multicast address that NVR receives message;Otherwise
Continue continuously to receive message in preset time using newly-installed multicast address, until newly-installed multicast address does not receive
Any message;Wherein, pre-set multicast address and newly-installed multicast address are the names according to the multicast address of NVR
Rule setting;And
For using pre-set multicast address continuous receiving media data in preset time, if not receiving any
Media data, it is determined that the multicast address is the multicast address of NVR receiving media datas;Otherwise continue to use newly-installed multicast
Address continuous receiving media data in preset time, until newly-installed multicast address does not receive any media data;Its
In, pre-set multicast address and newly-installed multicast address are arranged according to the naming rule of the multicast address of NVR.
Preferably, described face the multicast address that pipe invitation message includes the identification information and NVR receiving media datas of NVR,
The management module is specifically additionally operable to, and the IPC to be each managed at least distributes an independent NVR and receives media in advance
The multicast address of data, the pipe that faces for sending the multicast address of the identification information and NVR receiving media datas that carry NVR invite report
Text gives corresponding IPC.
Preferably, further including control module, face management and control message to IPC for sending, the management and control message that faces includes
NVR is used to control the command parameter of IPC.
The embodiment of the present invention additionally provides a kind of IPC of automatic preview video, including:
Message transmission module, for seeking management message to NVR in local network transmission by way of broadcast;
Video sending module, the pipe that faces for receiving NVR transmissions invite message, it is determined whether the management for receiving NVR, when true
When receiving the management of NVR surely, pipe confirmation message is faced in transmission, and sends media data to corresponding NVR, otherwise continues through wide
The mode broadcast, which is sent, seeks management message;Wherein, the pipe invitation message that faces is after seeking management message described in NVR is received, to determine
The message being sent to when being managed to the IPC on the multicast address of IPC reception message.
Preferably, the video sending module is specifically additionally operable to, if the pipe that faces for receiving NVR transmissions in preset time is invited
Please message, then according to described in face pipe invite message content determine whether to receive the management of NVR;If not received in preset time
Message is invited to the pipe that faces that NVR is sent, then the mode for continuing through broadcast sends and seeks management message.
Preferably, the pipe invitation message that faces includes the video decoding that NVR is supported, the video sending module is specifically used
In, according to the sequencing for facing pipe and inviting message is received, according to the ability that itself is encoded, successively with receive described in
Face the decoded ability of video that the NVR that pipe invites message to include is supported to be compared, until the two matches, it is determined that receive NVR
Management.
Preferably, further including multicast address confirmation module, for using pre-set multicast address in preset time
It is continuous to receive message, if not receiving any message, it is determined that the multicast address is the multicast address that IPC receives message;Otherwise
Continue continuously to receive message in preset time using newly-installed multicast address, until newly-installed multicast address does not receive
Any message;Wherein, pre-set multicast address and newly-installed multicast address are the names according to the multicast address of IPC
Rule setting.
Preferably, further include Order receiver module, face management and control message for receive NVR transmissions, it is described to face management and control system
Message includes the command parameter that NVR is used to control IPC.
The embodiment of the present invention additionally provides a kind of system of automatic preview video, including NVR and IPC, wherein:
The NVR seeks management message, it is determined whether carry out pipe to the IPC for receive that IPC is sent to local network
Reason, when being managed to the IPC, transmission faces pipe and invites message to corresponding IPC, otherwise continues to seeking for IPC transmissions
Manage message;Wherein, the IPC is sent by way of broadcast seeks management message;And
It receives IPC and is sent to the NVR and receives and face pipe confirmation message on the multicast address of message, startup receives media data
Stream service receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, passes through solution
Code shows preview video in preset window;Wherein, it is described face pipe confirmation message be IPC receive it is described face after pipe invites message,
Determine the message for receiving to send when the management of NVR;
The IPC, for seeking management message to NVR in local network transmission by way of broadcast;And
It receives the pipe that faces that NVR is sent and invites message, it is determined whether the management for receiving NVR, when the determining management for receiving NVR
When, pipe confirmation message is faced in transmission, and sends media data to corresponding NVR, and the mode for otherwise continuing through broadcast sends and seeks
Manage message;Wherein, the pipe invitation message that faces is after seeking management message described in NVR is received, and determination carries out pipe to the IPC
The message being sent to when reason on the multicast address of IPC reception message.
Description of the drawings
Fig. 1 is a kind of method flow diagram of automatic preview video provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of another automatic preview video provided in an embodiment of the present invention;
Fig. 3 is a kind of NVR schematic diagrames of automatic preview video provided in an embodiment of the present invention;
Fig. 4 is the IPC schematic diagrames of another automatic preview video provided in an embodiment of the present invention;
Fig. 5 is a kind of system structure diagram of automatic preview video provided in an embodiment of the present invention;
Fig. 6 is a kind of detailed process schematic diagram of automatic preview video provided in an embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of method of automatic preview video, NVR, IPC and systems, in deployment
Phase realizes the video of the automatic preview IPC of NVR, improves the working efficiency in deployment period.
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
As shown in Figure 1, the specific embodiment of the invention provides a kind of method of automatic preview video, including:
What S101, NVR received that IPC is sent to local network seeks management message, is sought in management message according to what is parsed
Appearance determines whether to be managed the IPC, and when being managed to the IPC, transmission faces pipe and invites message to corresponding
IPC, otherwise continue to IPC transmissions seeks management message;Wherein, the IPC is sent by way of broadcast seeks management message;
S102, NVR receive IPC and be sent to the NVR and receive faces pipe confirmation message on the multicast address of message, starts and receives
Media data flow service receives IPC and is sent to the media number on the multicast address corresponding with the IPC of NVR receiving media datas
According to by decoding, in preset window display preview video;Wherein, the pipe confirmation message that faces is to face pipe described in IPC is received to invite
The message for receiving to send when the management of NVR please be determined after message.
Specifically, deployment period of the specific embodiment of the invention before NVR formally manages IPC, after NVR starts, when also
When having the resource for managing more IPC, start it is pre-set seek management module wait for IPC reach the standard grade find NVR management, seek management
Module is a function module by software realization, management module can be sought to this, corresponding pattern is arranged, such as:Automatically it, beats
Open, and close etc..IPC start after, can close and seek management mode, can also automatic seeking management mode, under automatic condition,
When IPC is not taken over by NVR, it is at no controlled state, when IPC is taken over by some NVR, is at and has managed shape
State;It when the IPC is in no controlled state, indicates that this IPC is seeking NVR and managing this IPC, shape has been managed when the IPC is in
It when state, indicates that this IPC is managed by NVR, new NVR can not be sought at this time and manage the IPC, new NVR can also be sought
Manage the IPC.
Specifically, the management message of seeking in the specific embodiment of the invention specifically includes message header, IPC configuration informations, IPC objects
It manages address (Media Access Control, MAC) and IPC receives the multicast address etc. of message, as shown in table 1 below, wherein disappear
Breath head is used for showing the type of the message, such as seeks management and is indicated using Hello NVR;IPC configuration informations include the IP address of IPC
Etc. information.Although IPC in no controlled state or in controlled state, wants to seek new NVR management, IPC passes through
The mode of broadcast is sent in the home network seeks management message such as 1 format of table, when the NVR in the specific embodiment of the invention has pipe
When managing the resource of more IPC, management message is sought in reception, according to the content for seeking management message, it is determined whether carry out pipe to IPC
Reason, specifically, " message header " that the specific embodiment of the invention is sought in management message format is fixed, and " message body " is can to expand
Exhibition, such as:The type information of " Model=xxx " is carried, NVR, which is received, seeks management message, parses and seeks management message content
Afterwards, according to the ability of itself or the configuration information of itself, compared with the IPC configuration informations that management message includes of seeking parsed
Compared with if the two matches, it is determined that be managed to sending the IPC for seeking management message.
When the NVR in the specific embodiment of the invention determines that the IPC for seeking management message to some transmission is managed,
It is sent on local network and faces pipe invitation message to corresponding IPC, otherwise continue to other IPC transmissions seeks management message.Its
In, the SrvMIPv4 in management message is sought in NVR parsings, with will facing the multicast for the reception message that pipe invites message to be sent to the IPC
On location.
Table 1
Specifically, the pipe that faces in the specific embodiment of the invention invites message to specifically include message header, ID, NVR is invited to support
Video decoding, NVR support maximum video resolution, NVR receive message multicast address and NVR receiving media datas group
Address etc. is broadcast, as shown in table 2 below, wherein message header is used for showing the type of the message, such as faces pipe and invites using NVR Accept
Offer is indicated;It invites ID to indicate the identification information of NVR, when facing pipe confirmation to NVR transmissions for IPC, identifies this ID i.e. thus
The invitation ID that NVR is sent, it is ensured that invite and matched in pairs between confirming, accurately said, invite ID identify this NVR certain is specific
It invites.If a part of the mailing address of NVR as ID, only mark action, no practical communication act on, mailing address master
To be made of " SrvMIPv4 " and " StreamMIPv4 ", IPC faces pipe confirmation message to " SrvMIPv4 " transmission, IPC to
" StreamMIPv4 " sends media data.Facing in table 2 is not directed to media streaming system format in pipe invitation message and audio is related
Part, needs when this part can be according to practical application are extended.
Table 2
Specific embodiment of the invention NVR transmissions face pipe and invite message to corresponding IPC, including:NVR transmissions carry NVR
Video decoding that identification information, NVR are supported, NVR receive the multicast address of message and the multicast address of NVR receiving media datas
Facing pipe invites message to corresponding IPC.Specifically, when pipe invitation message is faced in transmission, NVR parsings are sought in management message
SrvMIPv4 will face pipe and message is invited to be sent on the multicast address of IPC reception message.
After pipe is faced in NVR transmissions invites message to IPC, indicate that NVR can carry out the IPC temporary control and education, present invention tool
" temporary control and education " in body embodiment refers to being carried out in the environment of informal certification, mandate.After formal management, IPC is set
Standby access NVR needs the processes such as formal certification, mandate, and formal certification, licensing process are same as the prior art, here no longer
It repeats.
Specifically, the pipe confirmation message that faces in the specific embodiment of the invention specifically includes message header and invitation ID etc., as follows
Shown in table 3, wherein message header is used for showing the type of the message, such as faces pipe and confirms using Acknowledge NVR Accept
Offer is indicated;It invites ID to indicate the identification information of NVR, when facing pipe confirmation to NVR transmissions for IPC, identifies this ID i.e. thus
The invitation ID that NVR is sent, it is ensured that invite and matched in pairs between confirming.
Table 3
What specific embodiment of the invention NVR receptions IPC was sent faces pipe confirmation message, including:NVR receives IPC and is sent to this
Face pipe confirmation message on the multicast address of the reception message of NVR.Pipe confirmation message is faced in IPC transmissions, indicates that the IPC receives NVR
Face pipe invitation, after pipe confirmation message is faced in NVR receptions, startup receives media data flow service, prepares receiving media data.
Specifically, face in pipe confirmation message comprising invite ID, this ID be NVR transmission face pipe invite message when uniquely determine
, i.e. this ID uniquely determines some invitation of some NVR, and the ID between invitation is different, and the ID between NVR also can be different,
This ID be can ensure that between NVR, all uniqueness faced between pipe invitation within NVR.Wherein, ID include NVR IP address,
MAC Address and incremental serial number etc..
Specific embodiment of the invention NVR receives the media data that IPC is sent, including:NVR receptions IPC is sent to the NVR and connects
Receive the media data on the multicast address of media data.After NVR receives media data, which is decoded, is solved
It is shown in preset window after code, video preview is carried out in preset window to realize, wherein preset window is according to practical application
And the window of the demand setting of user.
Preferably, the specific embodiment of the invention is when being managed IPC, and transmission faces pipe and invites message to corresponding IPC,
Including:
IPCs of the NVR in advance to be each managed is at least distributing the multicast of an independent NVR receiving media data
Location, the pipe that faces for sending the multicast address of the identification information and NVR receiving media datas that carry NVR invite message to corresponding
IPC。
Specifically, the multicast address of NVR receiving media datas is one independent multicast address of each invitation, i.e. NVR hairs
Send face pipe invite when, can first determine one can with the multicast address of receiving media data, carry facing pipe invite message in,
Follow-up IPC is just sent to media data on this multicast address.Different media datas is typically all sequentially after decoding
It is shown in idle window, which display window media data specifically corresponds to is not done and clearly limit herein.
Preferably, the specific embodiment of the invention determines that NVR receives the multicast address of message, including:
Message is continuously received in preset time using pre-set multicast address, if not receiving any message,
Determine that the multicast address is the multicast address that NVR receives message;Otherwise continue using newly-installed multicast address in preset time
Interior continuous reception message, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with
Newly-installed multicast address is arranged according to the naming rule of the multicast address of NVR;
Determine the multicast address of NVR receiving media datas, including:
Using pre-set multicast address in preset time continuous receiving media data, if not receiving any media
Data, it is determined that the multicast address is the multicast address of NVR receiving media datas;Otherwise continue to use newly-installed multicast address
The continuous receiving media data in preset time, until newly-installed multicast address does not receive any media data;Wherein, in advance
The multicast address being first arranged and newly-installed multicast address are arranged according to the naming rule of the multicast address of NVR.
Preferably, specific embodiment of the invention NVR receives the media data that IPC is sent, aobvious in preset window by decoding
After showing the video of preview, further include:Transmission faces management and control message to IPC, and it includes that NVR is used to control IPC to face management and control message
Command parameter.
Specifically, the management and control message that faces in the specific embodiment of the invention specifically includes message header, order ID and order ginseng
Number etc., as shown in table 4 below, wherein message header is used for showing the type of the message, such as faces management and control system and uses NVR Control
IPC is indicated;It is specially " CMD=SetIPv4Addr " to order ID;Wherein:" SetIPv4Addr " indicates the life of the addresses setting IPv4
The ID, parameter is enabled to be:Args=$ IfName:$IPv4Addr:$Netmaks:$ Gateway, wherein " $ IfName " indicates network interface card
Interface name (such as:Eth0), " $ IPv4Addr " indicate IPv4 address values (such as:192.168.9.9), " $ Netmask " table
Show netmask (such as:255.255.255.0), " $ Gateway " indicate gateway address (such as:192.168.9.1);Order
Parameter includes control commands of the NVR to IPC, such as includes the order for closing Media Stream, and IPC receives the order for closing Media Stream
Afterwards, it terminates to NVR and sends media data.
Table 4
The broadcast used in the specific embodiment of the invention and multicast refer both to the broadcast under IP network and multicast, belong to existing
Mature technology.
As shown in Fig. 2, the specific embodiment of the invention additionally provides a kind of method of automatic preview video, including:
S201, IPC seek management message to NVR by way of broadcast in local network transmission;
S202, IPC receive the pipe that faces that NVR is sent and invite message, invite the content of message to determine whether according to the pipe that faces
The management for receiving NVR, when determination receives the management of NVR, pipe confirmation message is faced in transmission, and sends media data to corresponding
NVR, the mode for otherwise continuing through broadcast send and seek management message;Wherein, the pipe invitation message that faces is described in NVR is received
After seeking management message, the message on the multicast address for the reception message that the when of being managed to the IPC is sent to IPC is determined.
Preferably, the IPC in the specific embodiment of the invention carries IPC in local network transmission by way of broadcast and connects
That receives the multicast address of message seeks management message to the NVR in local network, wherein seeks the specific message format ginseng of management message
It is shown in Table 1.
Preferably, what the IPC receptions NVR in the specific embodiment of the invention was sent carries NVR identification informations, NVR supports
Video decoding, NVR receive message multicast address and NVR receiving media datas multicast address face pipe invite message,
In, the pipe that faces of NVR transmissions invites the specific message format ginseng of message to be shown in Table 2.
Preferably, specific embodiment of the invention IPC receives the pipe that faces that NVR is sent and invites message, it is determined whether receives NVR's
Management, including:If the pipe that faces that IPC receives NVR transmissions in preset time invites message, the interior of message is invited according to pipe is faced
Hold the management for determining whether to receive NVR;If not receiving the pipe that faces that net NVR is sent in preset time invites message, continue
It is sent by way of broadcast and seeks management message.That is after management message is sought in IPC transmissions, the pipe that faces that NVR is sent is waited for invite message,
If waiting for time-out, recycle to send on the home network and seek management message, if the pipe that faces that IPC receives NVR transmissions is invited
Message then further determines whether that the pipe that faces for receiving the NVR is invited.
Preferably, it includes the video decoding that NVR is supported that the specific embodiment of the invention, which faces pipe to invite message, and IPC receives NVR hairs
The pipe that faces sent invites message, and the management for receiving NVR is determined whether according to the content for facing pipe invitation message, including:IPC is according to reception
To the sequencing for facing pipe invitation message, according to the ability that itself is encoded, include with the pipe invitation message that faces received successively
The decoded ability of video that NVR is supported is compared, until the two matches, it is determined that receive the management of NVR.Specifically, NVR is sent out
Send face pipe invite message in carry the decoded ability relevant informations of the NVR (such as:H264), if certain IPC can only be encoded
H265, then this IPC can decide not to accept the management of this NVR.
In practical applications, since there may be multiple NVR in local network, each in local network
IPC, which may receive more parts and face pipe, invites message, and IPC is according to the sequencing for facing pipe and inviting message received, and according to connecing
The pipe that faces received invites the content of message to determine whether that the pipe that faces for receiving NVR is invited, and faces pipe if directly abandoning this without receiving
Message is invited, receive other is handled and faces pipe and invite message or continue to send and seek management message.If there are two in local network
NVR is sent simultaneously faces pipe invitation message to the same IPC, and the IPC can receive the temporary control and education of the two NVR, at this
In the case of kind, IPC is handled one by one according to sequencing faces pipe invitation message, and selects NVR in the way of first handling and first receiving,
Face pipe confirmation message to the NVR transmissions of selection.
Preferably, the specific embodiment of the invention determines that IPC receives the multicast address of message, including:
Message is continuously received in preset time using pre-set multicast address, if not receiving any message,
Determine that the multicast address is the multicast address that IPC receives message;Otherwise continue using newly-installed multicast address in preset time
Interior continuous reception message, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with
Newly-installed multicast address is arranged according to the naming rule of the multicast address of IPC.
Specifically, specific to introduce how to determine one in local below by taking the selection method of the multicast address of IPv4 as an example
The method that the IPC that network does not conflict temporarily receives the multicast address of message, including:
A, the most-significant byte of multicast address is first selected, such as:234.xxx.xxx.xxx, all height for meeting multicast address rule
8 can use;
B, using low 24 of IPv4 local physical addresses, such as:nn:nn:nn:XX:XX:XX;
C, most-significant byte and 24 low, one basic multicast address of composition are combined, such as:234.XX.XX.XX;
D, according to multicast address naming rule, certain reserved addresses are such as skipped, and attempt to receive according to this multicast address
If data as a result, judge the improper use of this multicast address, minimum 8 bit address is incremented by 1, using 256 systems, until true
This fixed multicast address can use;
E, continuous to receive n second datas using this multicast address, the wherein value of n is determined according to practical application, if n is 1 to 9
Second;
If f, not receiving any data, indicate to use this multicast address transmission data without equipment on current network, this
Multicast address can by with;
If g, receiving data, indicates there is equipment to use this multicast address transmission data on current network, abandon this place
Location repeats step d, the next multicast address of reselection.
Preferably, after specific embodiment of the invention IPC sends media data to corresponding NVR, further include:IPC is received
What NVR was sent faces management and control message, and it includes the command parameter that NVR is used to control IPC to face management and control message, as command parameter includes
The order of Media Stream is closed, IPC is terminated after receiving the order to NVR transmission media datas.
As shown in figure 3, the specific embodiment of the invention additionally provides a kind of NVR of automatic preview video, including:
Management module 31 seeks management message for receive that IPC is sent to local network, management report is sought according to what is parsed
The content of text determines whether to be managed the IPC, and when being managed to the IPC, transmission faces pipe and invites message to right
The IPC answered, otherwise continue to IPC transmissions seeks management message;Wherein, the IPC is sent by way of broadcast seeks management
Message;
Video preview module 32 faces pipe confirmation report for receiving IPC and being sent to NVR and receive on the multicast address of message
Text, startup receive media data flow service, receive the multicast address corresponding with the IPC that IPC is sent to NVR receiving media datas
On media data, by decoding, preset window show preview video;Wherein, the pipe confirmation message that faces is that IPC is received
It is described to face after pipe invites message, determine the message sent when the management for receiving the NVR.
Preferably, the NVR of the automatic preview video during the present invention is specific further includes multicast address confirmation module 33, is used for
Message is continuously received in preset time using pre-set multicast address, if not receiving any message, it is determined that the group
It is the multicast address that NVR receives message to broadcast address;Otherwise continue continuously to connect in preset time using newly-installed multicast address
Message is received, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with it is newly-installed
Multicast address is arranged according to the naming rule of the multicast address of NVR;And
For using pre-set multicast address continuous receiving media data in preset time, if not receiving any
Media data, it is determined that the multicast address is the multicast address of NVR receiving media datas;Otherwise continue to use newly-installed multicast
Address continuous receiving media data in preset time, until newly-installed multicast address does not receive any media data;Its
In, pre-set multicast address and newly-installed multicast address are arranged according to the naming rule of the multicast address of NVR.
Preferably, the NVR of the automatic preview video during the present invention is specific further includes control module 34, faces pipe for sending
Message is controlled to IPC, it includes the command parameter that NVR is used to control IPC to face management and control message.
As shown in figure 4, the specific embodiment of the invention additionally provides a kind of IPC of automatic preview video, including:
Message transmission module 41, for seeking management message to NVR in local network transmission by way of broadcast;
Video sending module 42, the pipe that faces for receiving NVR transmissions are invited message, are invited in message according to the pipe that faces
Hold the management for determining whether to receive NVR, when determination receives the management of NVR, pipe confirmation message is faced in transmission, and sends media number
It is sent according to the mode for corresponding NVR, otherwise continuing through broadcast and seeks management message;Wherein, the pipe invitation message that faces is NVR
After seeking management message described in receiving, determine that the when of being managed to the IPC is sent on the multicast address of reception message of IPC
Message.
Preferably, the IPC of the automatic preview video during the present invention is specific further includes multicast address confirmation module 43, is used for
Message is continuously received in preset time using pre-set multicast address, if not receiving any message, it is determined that the group
It is the multicast address that IPC receives message to broadcast address;Otherwise continue continuously to connect in preset time using newly-installed multicast address
Message is received, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with it is newly-installed
Multicast address is arranged according to the naming rule of the multicast address of IPC.
Preferably, the IPC of the automatic preview video during the present invention is specific further includes Order receiver module 44, for receiving
What NVR was sent faces management and control message, and it includes the command parameter that NVR is used to control IPC to face management and control message.
As shown in Figure 5 and Figure 6, the specific embodiment of the invention additionally provides a kind of system of automatic preview video, including
NVR51 and IPC52, NVR51 and IPC52 can be connected by wire in the specific embodiment of the invention, can also
Wirelessly it is attached, wherein:
NVR51 seeks management message for receive that IPC is sent to local network, and management message is sought according to what is parsed
Content determines whether to be managed the IPC, and when being managed to the IPC, transmission faces pipe and invites message to corresponding
IPC, otherwise continue to IPC transmissions seeks management message;Wherein, the IPC is sent by way of broadcast seeks management message;
And
It receives IPC and is sent to the NVR and receives and face pipe confirmation message on the multicast address of message, startup receives media data
Stream service receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, passes through solution
Code shows preview video in preset window;Wherein, it is described face pipe confirmation message be IPC receive it is described face after pipe invites message,
Determine the message for receiving to send when the management of NVR;
IPC52, for seeking management message to NVR in local network transmission by way of broadcast;And
It receives the pipe that faces that NVR is sent and invites message, invite the content of message to determine whether to receive NVR's according to the pipe that faces
Management, when determination receives the management of NVR, pipe confirmation message is faced in transmission, and sends media data to corresponding NVR, otherwise
The mode for continuing through broadcast sends and seeks management message;Wherein, the pipe invitation message that faces is that management report is sought described in NVR is received
Wen Hou determines the message on the multicast address for the reception message that the when of being managed to the IPC is sent to IPC.
Specifically, as shown in fig. 6, after NVR startups, when also having, when managing the resource of more IPC, startup is pre-set
Seek management module wait for IPC reach the standard grade find NVR management.After IPC starts, if although the IPC is in no controlled state or in
Controlled state, but when needing to seek new NVR management, which is sent by way of broadcast on the home network seeks management report
Text.
All NVR on the home network can receive IPC transmission seek management message, NVR is sought according to what is parsed
Manage the content of message, it is determined whether be managed to IPC, when NVR determines that the IPC for seeking management message to some transmission is carried out
When management, according to the multicast address of the reception message of the IPC parsed, reception that pipe will be faced message is invited to be sent to the IPC
On the multicast address of message;When NVR determines that the IPC for not seeking management message to transmission is managed, then other IPC are continued to
What is sent seeks management message.
After management message is sought in IPC transmissions, waits the pipe that faces that NVR to be received is sent to invite message, if waiting for time-out, recycle
It sends on the home network and seeks management message, otherwise further determine whether that the pipe that faces for receiving the NVR is invited.
IPC determines whether to receive NVR according to information such as the NVR faced in pipe invitation message received the video decodings supported
Face pipe invitation, when IPC confirm receive NVR face pipe invite, then send face pipe confirmation message to the reception message of NVR multicast
On address;When IPC confirms that the pipe that faces for not receiving NVR is invited, then the mode for continuing through broadcast sends and seeks management message.
It after pipe confirmation is faced in IPC transmissions, indicates that the IPC receives the temporary control and education of corresponding NVR, then, sends media data
Onto the multicast address of the receiving media data of NVR.
After NVR receives the media data that IPC is sent, by decoding, preview video is shown in preset window.In practical application
In, NVR can be sent after temporary control and education IPC faces management and control message, and it includes the life that NVR is used to control IPC to face management and control message
Parameter is enabled, when it is implemented, the multicast address of the reception message according to the IPC parsed, will face management and control message and be sent to this
On the multicast address of the reception message of IPC, IPC is received face management and control system after, execute corresponding operation.Such as:Face management and control message
Order including closing Media Stream, IPC are terminated after receiving the order to NVR transmission media datas.
Compared with prior art, the specific embodiment of the invention can be omitted in deployment period IPC separate configurations network parameter
Work, or can be omitted the process for the IPC that local network is scanned by NVR, the IPC in the specific embodiment of the invention starts
Access network i.e. can the preview video on NVR automatically, working efficiency when deployment can be improved.I.e. the specific embodiment of the invention exists
Deployment period does not need the network parameter of separate configurations IPC, and under non-POE environment, it is only necessary to and IPC accesses local network,
There is the NVR for managing new IPC demands that can automatically see the preview video of IPC, can realize that Z-operation NVR and IPC can be certainly
Move the video in NVR previews to IPC.Later, NVR can be directly in the IPC video windows of automatic preview, then decide whether just
The formula management configuration IPC refuses the IPC.
The IPC that the automatic preview local networks of specific embodiment of the invention NVR are newly reached the standard grade also improves the convenience that user uses,
This mode is similar to the automatic preview video of analog video camera access digital VTR (Digital Video Recorder, DVR)
Mode, very intuitive and convenient.For 1 independent network environment of NVR and Duo Tai IPC, it can also realize that the zero of NVR and IPC matches
Set use.
In addition, the specific embodiment of the invention can also be solved even if multiple IPC all using the IP address of acquiescence, there are unicasts
In the case of IP address conflict, the configuration management of automatic preview video and later stage NVR to IPC can also be realized.
In conclusion the specific embodiment of the invention provides a kind of method of automatic preview video, including:NVR receives IPC hairs
Be sent to local network seeks management message, it is determined whether is managed to IPC, when being managed to IPC, pipe invitation is faced in transmission
Message gives corresponding IPC, and otherwise continue to IPC transmissions seeks management message;Wherein, IPC is sent by way of broadcast and is sought
Manage message;NVR receives IPC and is sent to the NVR and receives faces pipe confirmation message on the multicast address of message, and startup receives media
Data flow service receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, leads to
Decoding is crossed, the video of preview is shown in preset window;Wherein, face pipe confirmation message be IPC receive face pipe invite message after, really
The message sent when the management for receiving NVR surely.The specific embodiment of the invention does not need the net of separate configurations IPC in deployment period
Network parameter, it is only necessary to which IPC accesses local network, has the NVR for managing new IPC demands that can receive IPC and is sent to local network
Management message is sought, determines whether to be managed IPC according to the content for seeking management message, when being managed IPC, transmission is faced
Pipe invites message to corresponding IPC, and receive IPC transmissions faces pipe confirmation message, and startup receives media data flow service, receives
The media data that IPC is sent shows that the video of preview can realize zero compared with prior art by decoding in preset window
Operating NVR and IPC can be automatically in the video of NVR previews to IPC, to improve working efficiency when deployment.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (21)
1. a kind of method of automatic preview video, which is characterized in that the method includes:
What network hard disk video recorder NVR received that web camera IPC is sent to local network seeks management message, it is determined whether to institute
It states IPC to be managed, when being managed the IPC, transmission faces pipe and invites message to corresponding IPC, otherwise continues to
What IPC was sent seeks management message;Wherein, the IPC is sent by way of broadcast seeks management message, described to seek management message packet
The multicast address of message header, IPC configuration informations, IPC physical address MAC and IPC reception message is included, the pipe that faces invites message packet
Include the multicast that message header, the maximum video resolution that the video decoding for inviting ID, NVR to support, NVR are supported, NVR receive message
The multicast address of location and NVR receiving media datas;
NVR receives IPC and is sent to the NVR and receives faces pipe confirmation message on the multicast address of message, and startup receives media data
Stream service receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, passes through solution
Code shows preview video in preset window;Wherein, it is described face pipe confirmation message be IPC receive it is described face after pipe invites message,
Determine the message for receiving to send when the management of NVR, the pipe confirmation message that faces includes message header and invitation ID.
2. according to the method described in claim 1, it is characterized in that, described determine whether to be managed the IPC, including:
NVR according to the configuration information of itself, with parse described in seek the IPC configuration informations that management message includes and be compared,
If the two matches, it is determined that be managed to the IPC.
3. according to the method described in claim 2, it is characterized in that, determine NVR receive message multicast address, including:
Message is continuously received in preset time using pre-set multicast address, if not receiving any message, it is determined that
The multicast address is the multicast address that NVR receives message;Otherwise continue to connect in preset time using newly-installed multicast address
Message is received in continued access, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with newly set
The multicast address set is arranged according to the naming rule of the multicast address of NVR;
Determine the multicast address of NVR receiving media datas, including:
Using pre-set multicast address in preset time continuous receiving media data, if not receiving any media number
According to, it is determined that the multicast address is the multicast address of NVR receiving media datas;Otherwise continue to exist using newly-installed multicast address
Continuous receiving media data in preset time, until newly-installed multicast address does not receive any media data;Wherein, in advance
The multicast address of setting and newly-installed multicast address are arranged according to the naming rule of the multicast address of NVR.
4. according to the method described in claim 3, it is characterized in that, described face the identification information that pipe invitation message includes NVR, institute
It states when being managed to the IPC, transmission faces pipe and invites message to corresponding IPC, including:
IPCs of the NVR in advance to be each managed at least distributes the multicast address of an independent NVR receiving media data,
The pipe that faces for sending the multicast address of the identification information and NVR receiving media datas that carry NVR invites message to corresponding IPC.
5. according to the method described in claim 4, it is characterized in that, the reception IPC is sent to the NVR receiving media datas
Media data on multicast address, by decoding, after the video that preset window shows preview, the method further includes:
NVR transmissions face management and control message to IPC, and the management and control message that faces includes the command parameter that NVR is used to control IPC.
6. a kind of method of automatic preview video, which is characterized in that the method includes:
IPC seeks management message to NVR by way of broadcast in local network transmission, it is described seek management message include message header,
IPC configuration informations, IPC physical address MAC and IPC receive the multicast address of message;
IPC receives the pipe that faces that NVR is sent and invites message, it is determined whether the management for receiving NVR, when determination receives the management of NVR,
Pipe confirmation message is faced in transmission, and sends media data to corresponding NVR, and the mode for otherwise continuing through broadcast sends and seeks management
Message;Wherein, the pipe invitation message that faces is after seeking management message described in NVR is received, when determination is managed the IPC
The message being sent on the multicast address of IPC reception message, the pipe that faces invite message to include message header, ID, NVR is invited to support
Video decoding, NVR support maximum video resolution, NVR receive message multicast address and NVR receiving media datas group
Address is broadcast, the pipe confirmation message that faces includes message header and invitation ID.
7. according to the method described in claim 6, it is characterized in that, the IPC, which receives the pipe that faces that NVR is sent, invites message, really
The fixed management for whether receiving NVR, including:
If the pipe that faces that the IPC receives NVR transmissions in preset time invites message, pipe is faced according to and invites message
Content determines whether to receive the management of NVR;If the pipe that faces for not receiving NVR transmissions in preset time invites message, continue
It is sent by way of broadcast and seeks management message.
8. the method according to the description of claim 7 is characterized in that the IPC, which receives the pipe that faces that NVR is sent, invites message, really
The fixed management for whether receiving NVR, including:
The IPC is according to the sequencing for facing pipe and inviting message is received, according to the ability that itself is encoded, successively with reception
To it is described face the decoded ability of video that the NVR that pipe invites message to include is supported and be compared, until the two matches, it is determined that
Receive the management of NVR.
9. according to the method described in claim 8, it is characterized in that, determine IPC receive message multicast address, including:
Message is continuously received in preset time using pre-set multicast address, if not receiving any message, it is determined that
The multicast address is the multicast address that IPC receives message;Otherwise continue to connect in preset time using newly-installed multicast address
Message is received in continued access, until newly-installed multicast address does not receive any message;Wherein, pre-set multicast address with newly set
The multicast address set is arranged according to the naming rule of the multicast address of IPC.
10. according to the method described in claim 9, it is characterized in that, the transmission media data to corresponding NVR after, institute
The method of stating further includes:
What IPC receptions NVR was sent faces management and control message, and the management and control message that faces includes the order ginseng that NVR is used to control IPC
Number.
11. a kind of NVR of automatic preview video, which is characterized in that including:
Management module seeks management message for receive that IPC is sent to local network, it is determined whether the IPC is managed,
When being managed to the IPC, transmission faces pipe and invites message to corresponding IPC, and otherwise continue to IPC transmissions seeks management
Message;Wherein, the IPC is sent by way of broadcast seeks management message, and the management message of seeking includes that message header, IPC match
Confidence breath, IPC physical address MAC and IPC receive the multicast address of message, and the pipe that faces invites message to include message header, invite
Video decoding, the maximum video resolution that NVR is supported, the multicast address of NVR reception message and the NVR that ID, NVR are supported receive matchmaker
The multicast address of volume data;
Video preview module is faced pipe confirmation message on the multicast address of message for receiving IPC and being sent to NVR and receive, is started
Receive media data flow service, receives IPC and be sent to the matchmaker on the multicast address corresponding with the IPC of NVR receiving media datas
Volume data shows preview video by decoding in preset window;Wherein, the pipe confirmation message that faces is that IPC receives described face
After pipe invites message, determine that the message sent when the management for receiving the NVR, the pipe confirmation message that faces include message header and invite
It please ID.
12. NVR according to claim 11, which is characterized in that the management module is specifically used for, according to NVR's itself
Configuration information, with parse described in seek the management message IPC configuration informations that include and be compared, if the two matches, it is determined that
The IPC is managed.
13. NVR according to claim 12, which is characterized in that further include multicast address confirmation module, for using advance
The multicast address of setting continuously receives message in preset time, if not receiving any message, it is determined that the multicast address is
NVR receives the multicast address of message;Otherwise continue continuously to receive message in preset time using newly-installed multicast address, directly
Any message is not received to newly-installed multicast address;Wherein, pre-set multicast address and newly-installed multicast address
It is to be arranged according to the naming rule of the multicast address of NVR;And
For using pre-set multicast address continuous receiving media data in preset time, if not receiving any media
Data, it is determined that the multicast address is the multicast address of NVR receiving media datas;Otherwise continue to use newly-installed multicast address
The continuous receiving media data in preset time, until newly-installed multicast address does not receive any media data;Wherein, in advance
The multicast address being first arranged and newly-installed multicast address are arranged according to the naming rule of the multicast address of NVR.
14. NVR according to claim 13, which is characterized in that it is described to face the identification information that pipe invitation message includes NVR,
The management module is specifically additionally operable to, and the IPC to be each managed at least distributes an independent NVR and receives media in advance
The multicast address of data, the pipe that faces for sending the multicast address of the identification information and NVR receiving media datas that carry NVR invite report
Text gives corresponding IPC.
15. NVR according to claim 14, which is characterized in that further include control module, face management and control message for sending
To IPC, the management and control message that faces includes the command parameter that NVR is used to control IPC.
16. a kind of IPC of automatic preview video, which is characterized in that including:
Message transmission module, for seeking management message to NVR in local network transmission by way of broadcast, described seek manages report
Text includes the multicast address of message header, IPC configuration informations, IPC physical address MAC and IPC reception message;
Video sending module, the pipe that faces for receiving NVR transmissions invite message, it is determined whether the management for receiving NVR, when determination connects
When being managed by NVR, pipe confirmation message is faced in transmission, and sends media data to corresponding NVR, otherwise continues through broadcast
Mode, which is sent, seeks management message;Wherein, the pipe invitation message that faces is after seeking management message described in NVR is received, to determine to institute
The message being sent to when IPC is managed on the multicast address of IPC reception message is stated, the pipe invitation message that faces includes message
Head, invite ID, NVR support video decoding, NVR support maximum video resolution, NVR receive message multicast address and
The multicast address of NVR receiving media datas, the pipe confirmation message that faces includes message header and invitation ID.
17. IPC according to claim 16, which is characterized in that the video sending module is specifically additionally operable to, if default
The pipe that faces that NVR transmissions are received in time invites message, then faces pipe according to and the content of message is invited to determine whether to receive NVR
Management;If the pipe that faces for not receiving NVR transmissions in preset time invites message, the mode for continuing through broadcast sends and seeks
Manage message.
18. IPC according to claim 17, which is characterized in that the video sending module is specifically used for, according to receiving
It is described face pipe invite message sequencing, according to itself encode ability, successively with receive described in face pipe invite message
Including NVR support the decoded ability of video be compared, until the two match, it is determined that receive the management of NVR.
19. IPC according to claim 18, which is characterized in that further include multicast address confirmation module, for using advance
The multicast address of setting continuously receives message in preset time, if not receiving any message, it is determined that the multicast address is
IPC receives the multicast address of message;Otherwise continue continuously to receive message in preset time using newly-installed multicast address, directly
Any message is not received to newly-installed multicast address;Wherein, pre-set multicast address and newly-installed multicast address
It is to be arranged according to the naming rule of the multicast address of IPC.
20. IPC according to claim 19, which is characterized in that further include Order receiver module, sent for receiving NVR
Face management and control message, the management and control message that faces includes the command parameter that NVR is used to control IPC.
21. a kind of system of automatic preview video, which is characterized in that including NVR and IPC, wherein:
The NVR seeks management message for receive that IPC is sent to local network, it is determined whether the IPC is managed,
When being managed to the IPC, transmission faces pipe and invites message to corresponding IPC, and otherwise continue to IPC transmissions seeks management
Message;Wherein, the IPC is sent by way of broadcast seeks management message;And
It receives IPC and is sent to the NVR and receives and face pipe confirmation message on the multicast address of message, startup receives media data flow clothes
Business receives IPC and is sent to the media data on the multicast address corresponding with the IPC of NVR receiving media datas, by decoding,
Preview video is shown in preset window;Wherein, the pipe confirmation message that faces is after facing pipe invitation message described in IPC is received, really
The message sent when the management for receiving NVR surely;
The IPC, for seeking management message to NVR in local network transmission by way of broadcast;And
Receive NVR send face pipe invite message, it is determined whether the management for receiving NVR, when determine receive the management of NVR when, hair
Send and face pipe confirmation message, and send media data to corresponding NVR, otherwise continue through broadcast mode send seek management report
Text;Wherein, the pipe invitation message that faces is after seeking management message described in NVR is received, to determine that the when of being managed to the IPC is sent out
The message being sent on the multicast address of IPC reception message;
Wherein, described to seek the group that management message includes message header, IPC configuration informations, IPC physical address MAC and IPC reception message
Address is broadcast, the pipe invitation message that faces includes message header, invites the video of ID, NVR support to decode, the maximum video that NVR is supported
Resolution ratio, NVR receive the multicast address of the multicast address and NVR receiving media datas of message, and the pipe confirmation message that faces includes
Message header and invitation ID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511033401.8A CN105611392B (en) | 2015-12-31 | 2015-12-31 | A kind of method of automatic preview video, NVR, IPC and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511033401.8A CN105611392B (en) | 2015-12-31 | 2015-12-31 | A kind of method of automatic preview video, NVR, IPC and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105611392A CN105611392A (en) | 2016-05-25 |
CN105611392B true CN105611392B (en) | 2018-09-28 |
Family
ID=55990878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511033401.8A Active CN105611392B (en) | 2015-12-31 | 2015-12-31 | A kind of method of automatic preview video, NVR, IPC and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105611392B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453370B (en) * | 2016-10-27 | 2020-10-20 | 浙江宇视科技有限公司 | Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder) |
CN108984263B (en) * | 2018-08-07 | 2022-05-06 | 网易传媒科技(北京)有限公司 | Video display method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801798A (en) * | 2012-08-03 | 2012-11-28 | 浙江宇视科技有限公司 | Method and device for distributing IP (Internet Protocol) address |
CN102811174A (en) * | 2012-07-30 | 2012-12-05 | 浙江宇视科技有限公司 | Method for processing monitor service and network video recorder (NVR) |
CN102882989A (en) * | 2012-09-05 | 2013-01-16 | 浙江宇视科技有限公司 | Method and device for distributing internet protocol (IP) address to multi-network video recorder (NVR) by monitoring network |
CN204859405U (en) * | 2015-07-24 | 2015-12-09 | 浙江宇视科技有限公司 | Network digital video recorder based on NFC carries out internet protocol camera and inserts |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150091331A (en) * | 2012-11-18 | 2015-08-10 | 에너지 리-커넥트 엘티디. | A system apparatus and device for facilitating network edge device backup and methods of operation thereof |
-
2015
- 2015-12-31 CN CN201511033401.8A patent/CN105611392B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811174A (en) * | 2012-07-30 | 2012-12-05 | 浙江宇视科技有限公司 | Method for processing monitor service and network video recorder (NVR) |
CN102801798A (en) * | 2012-08-03 | 2012-11-28 | 浙江宇视科技有限公司 | Method and device for distributing IP (Internet Protocol) address |
CN102882989A (en) * | 2012-09-05 | 2013-01-16 | 浙江宇视科技有限公司 | Method and device for distributing internet protocol (IP) address to multi-network video recorder (NVR) by monitoring network |
CN204859405U (en) * | 2015-07-24 | 2015-12-09 | 浙江宇视科技有限公司 | Network digital video recorder based on NFC carries out internet protocol camera and inserts |
Also Published As
Publication number | Publication date |
---|---|
CN105611392A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180098214A1 (en) | Apparatus and method for providing universal plug and play service based on wi-fi direct connection in portable terminal | |
CN105230029B (en) | Establish and control Wi-Fi shows the audio connected and voice backward channel | |
CN101299671B (en) | Method and device for transmitting and receiving multicast data packet | |
EP2115945B1 (en) | A layer-2 management entity messaging framework in a network | |
JP5512630B2 (en) | Control device, control method, control program, and system | |
CN1649354B (en) | Communication device and photographic device ,and its control method | |
US9495327B2 (en) | Service configuration method, device and system | |
CN108011726A (en) | A kind of household electrical appliances distribution method and system | |
US7136928B2 (en) | Communication device and communication control method using efficient Echonet address determination scheme | |
US20090161682A1 (en) | Managing Bandwidth during a Contention Free Period in a LAN | |
RU2584499C2 (en) | Method for operation and commissioning of network devices in zigbee network | |
CN109660815B (en) | System and method for realizing multi-screen interaction dynamic management of hotel | |
JPH1070565A (en) | System and method for catv communication | |
KR20040088516A (en) | Network device management method, network device management program, and network control apparatus | |
WO2017020790A1 (en) | Multi-screen control method and device | |
CN101146047A (en) | A method, system and gateway for controlling quantity of network access terminal under routing mode | |
CN107005797A (en) | It was found that and management be directed to wireless display system in multiple places isochronous audio or video streaming services | |
CN105227397A (en) | Method for discovering equipment, main equipment, from equipment and corresponding system | |
CN108206772A (en) | A kind of dispatching method, system and controller | |
CN109561340A (en) | Multimedia service processing method, equipment, multimedia service group and storage medium | |
CN103248543A (en) | Code verification method, code verification control equipment and code verification equipment | |
CN105611392B (en) | A kind of method of automatic preview video, NVR, IPC and system | |
CN103237071A (en) | Wireless EoC (Ethernet over coax) terminal centralized management method | |
CN105187387B (en) | A kind of service discovery method and terminal | |
CN101399972B (en) | Media center system and implementation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |