CN105611392A - Automatic video previewing method, NVR (Network Video Recorder), IPC (IP Camera) and system - Google Patents

Automatic video previewing method, NVR (Network Video Recorder), IPC (IP Camera) and system Download PDF

Info

Publication number
CN105611392A
CN105611392A CN201511033401.8A CN201511033401A CN105611392A CN 105611392 A CN105611392 A CN 105611392A CN 201511033401 A CN201511033401 A CN 201511033401A CN 105611392 A CN105611392 A CN 105611392A
Authority
CN
China
Prior art keywords
nvr
ipc
message
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.)
Granted
Application number
CN201511033401.8A
Other languages
Chinese (zh)
Other versions
CN105611392B (en
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201511033401.8A priority Critical patent/CN105611392B/en
Publication of CN105611392A publication Critical patent/CN105611392A/en
Application granted granted Critical
Publication of CN105611392B publication Critical patent/CN105611392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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/47202End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/647Control 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/64784Data processing by the network
    • 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/181Closed-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 an automatic video previewing method, NVR (Network Video Recorder), IPC (IP Camera) and system used for realizing automatic previewing of IPC videos of the IPC and improving work efficiency during deployment. The automatic video previewing method comprises the steps of receiving a management request message which is sent from the IPC to a local network by the NVR, determining whether to manage the IPC, sending a temporary management invitation message to the corresponding IPC when managing the IPC, and otherwise, carrying on receiving the management request message sent from the IPC; and receiving a temporary management confirmation message which is sent from the IPC to a multicasting address of the NVR received message by the NVR, starting a media data stream reception service, receiving the media data of the NVR received media data which are sent by the IPC and located at the multicasting address corresponding to the IPC, and displaying a previewed video in a preset window through decoding, wherein the temporary management confirmation message is the message which is sent when reception of the management of the NVR is determined after the IPC receives the temporary management invitation message.

Description

A kind of method, NVR, IPC and system of automatic preview video
Technical field
The present invention relates to technical field of video monitoring, relate in particular to a kind of automatic preview video method, NVR,IPC and system.
Background technology
In technical field of video monitoring, network hard disk video recorder (NetworkVideoRecorder, NVR)Topmost function is to receive the real-time of web camera (IPCamera, IPC) device transmission by networkVideo data, and store, manage, thereby realize the distributed structure/architecture advantage that networking brings.
Prior art is in deployment period, and NVR wants managing I PC, generally realizes by following three kinds of modes:
Mode one: first, need to be IPC separate configurations network parameter, as IP address, mask, gatewayDeng; Then,, at the operation interface of NVR, user manually inputs the IP address of IPC or NVR by sweepingThe mode of retouching is obtained the IP address of IPC; Finally, user is manually linked into NVR by IPC, at NVRAbove the video of IPC is carried out to automatic preview.
Mode two: first, the direct scanning of home network of NVR, selects to access local from scanning resultIPC; Then, user is manually linked into NVR by IPC, on NVR, the video of IPC is carried out automaticallyPreview.
Mode three: NVR provides active Ethernet (PowerOverEthernet, POE) special port,Support the IPC of POE to be linked into fixing POE port, IPC is linked into after NVR, at NVR automaticallyAbove the video of IPC is carried out to automatic preview.
In sum, the NVR in mode one and the mode two of prior art in the time of the video of preview IPC,Need the network parameter of configuration of IP C, these two kinds of modes all need to be carried out hand at least one times at IPC or NVRMoving operation; NVR in mode three is in the time of the video of preview IPC, and NVR need to provide POE specialPort, only ability preview video under the environment of POE, has certain limitation.
Summary of the invention
The embodiment of the present invention provides a kind of method, NVR, IPC and system of automatic preview video, in order toIn deployment period, realize the video of the automatic preview IPC of NVR, improve the deployment operating efficiency in period.
The method of a kind of automatic preview video that the embodiment of the present invention provides, comprising:
NVR reception IPC sends to the administrative message of seeking of local network, determines whether described IPC to carry outManagement, in the time that described IPC is managed, sends and faces pipe invitation message to corresponding IPC, otherwise continueReceive the administrative message of seeking of IPC transmission; Wherein, described IPC is sent and is sought administrative message by the mode of broadcast;
NVR receives IPC and sends to and face pipe confirmation message on the multicast address of this NVR receipt message, opensMove the media data flow service of accepting, receive IPC and send to the corresponding with this IPC of NVR receiving media dataMulticast address on media data, by decoding, preset window show preview video; Wherein, described inFacing pipe confirmation message is described in IPC receives, to face pipe to invite after message, while determining the management of accepting NVR, sends outThe message sending.
The method of the automatic preview video being provided by the embodiment of the present invention, in deployment period, does not need independently to joinPut the network parameter of IPC, only need IPC access local network, have the NVR meeting of the new IPC demand of managementReceive the administrative message of seeking that IPC sends to local network, it is right to determine whether according to the content of seeking administrative messageIPC manages, and in the time that IPC is managed, sends and faces pipe invitation message to corresponding IPC, and connectWhat receipts IPC sent faces pipe confirmation message, starts the media data flow service of accepting, and receives the media that IPC sendsData, by decoding, show preview video in preset window; Compared with prior art, can realize zero behaviourMake NVR and IPC and just can automatically arrive the video of IPC in NVR preview, thereby improve the work while deploymentEfficiency.
Preferably, described in seek the configuration information that administrative message comprises IPC,
Described determining whether manages described IPC, comprising:
NVR is according to the configuration information of self, with parse described in seek joining of IPC that administrative message comprisesThe information of putting compares, if the two coupling is determined described IPC is managed.
Preferably, determine the multicast address of NVR receipt message, comprising:
The multicast address that employing sets in advance is continuous receipt message in Preset Time, if do not receive any disappearingBreath, determines that this multicast address is the multicast address of NVR receipt message; Otherwise continue to adopt newly-installedMulticast address is continuous receipt message in Preset Time, until newly-installed multicast address does not receive any disappearingBreath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast ground according to NVRThe naming rule of location arranges;
The multicast address of determining NVR receiving media data, comprising:
The multicast address that employing sets in advance is continuous receiving media data in Preset Time, if do not receive and take officeWhat media data, determines that this multicast address is the multicast address of NVR receiving media data; Otherwise continueAdopt newly-installed multicast address continuous receiving media data in Preset Time, until newly-installed multicast groundLocation does not receive any media data; Wherein, the multicast address setting in advance and newly-installed multicast address are equalTo arrange according to the naming rule of the multicast address of NVR.
Preferably, described in, facing pipe invites message to comprise the identification information of NVR and NVR receiving media dataMulticast address, described in the time that described IPC is managed, send and face pipe invitation message to corresponding IPC,Comprise:
NVR all at least distributes an independently NVR receiving media number for each IPC managing in advanceAccording to multicast address, send and carry the identification information of NVR and the multicast address of NVR receiving media dataFace pipe invite message give corresponding IPC.
Preferably, described reception IPC sends to the media on the multicast address of this NVR receiving media dataData, by decoding, after preset window shows the video of preview, described method also comprises:
NVR sends and faces management and control message processed to IPC, described in face management and control message processed and comprise that NVR is for controlling IPCCommand parameter.
The embodiment of the present invention also provides a kind of method of automatic preview video, comprising:
IPC is sent and seeks administrative message to NVR at local network by the mode of broadcast;
IPC receives the pipe that faces of NVR transmission and invites message, determines whether to accept the management of NVR, when determiningWhile accepting the management of NVR, send and face pipe confirmation message, and send media data to corresponding NVR,Otherwise continue to send and seek administrative message by the mode of broadcast; Wherein, described in, facing pipe invitation message is NVRDescribed in receiving, seek after administrative message, determine and send to IPC receipt message when described IPC is managedMessage on multicast address.
Preferably, described IPC receives the pipe that faces of NVR transmission and invites message, determines whether to accept NVRManagement, comprising:
If receiving the pipe that faces of NVR transmission in Preset Time, described IPC invites message, described in basisFacing pipe invites the content of message to determine whether to accept the management of NVR; If do not receive in Preset TimeWhat NVR sent faces pipe invitation message, continues to be sent and sought administrative message by the mode of broadcast.
Preferably, described in face pipe invite message comprise NVR support video decode,
Described IPC receives the pipe that faces of NVR transmission and invites message, determines whether to accept the management of NVR, bagDraw together:
Described IPC faces the sequencing of managing invitation message described in receiving, the ability of encoding according to self,Successively with receive described in face pipe and invite the ability of the video decode that the NVR that comprises of message supports to compare, until the two coupling is determined the management of accepting NVR.
Preferably, determine the multicast address of IPC receipt message, comprising:
The multicast address that employing sets in advance is continuous receipt message in Preset Time, if do not receive any disappearingBreath, determines that this multicast address is the multicast address of IPC receipt message; Otherwise continue to adopt newly-installed groupBroadcast address continuous receipt message in Preset Time, until newly-installed multicast address does not receive any disappearingBreath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast address according to IPCNaming rule arrange.
Preferably, described transmission media data is to after corresponding NVR, and described method also comprises:
What IPC received that NVR sends faces management and control message processed, described in face management and control message processed and comprise that NVR is for controllingThe command parameter of IPC processed.
The embodiment of the present invention also provides a kind of NVR of automatic preview video, comprising:
Administration module, sends to the administrative message of seeking of local network for receiving IPC, determine whether describedIPC manages, and in the time that described IPC is managed, send and face pipe invitation message to corresponding IPC,Otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, described IPC is sent and is sought by the mode of broadcastAdministrative message;
Video preview module, sends to the pipe that faces on the multicast address of NVR receipt message for receiving IPCConfirmation message, start and accept media data flow service, receives IPC and send to NVR receiving media dataMedia data on the multicast address corresponding with this IPC, by decoding, shows preview video in preset window;Wherein, described in to face pipe confirmation message be described in IPC receives, to face pipe to invite after message, described in determining and acceptingThe message sending when the management of NVR.
Preferably, described in seek the configuration information that administrative message comprises IPC, described administration module specifically for,According to the configuration information of NVR self, with parse described in seek the configuration letter of the IPC that administrative message comprisesBreath compares, if the two coupling is determined described IPC is managed.
Preferably, also comprise multicast address confirmation module, for adopting the multicast address setting in advance defaultContinuous receipt message in time, if do not receive any message, determines that this multicast address is that NVR receivesThe multicast address of message; Otherwise continue to adopt newly-installed multicast address to receive and disappear continuously in Preset TimeBreath, until newly-installed multicast address does not receive any message; Wherein, the multicast address setting in advance withNewly-installed multicast address is all to arrange according to the naming rule of the multicast address of NVR; And
For adopting the multicast address setting in advance continuous receiving media data in Preset Time, if do not receiveTo any media data, determine that this multicast address is the multicast address of NVR receiving media data; OtherwiseContinue to adopt newly-installed multicast address continuous receiving media data in Preset Time, until newly-installed groupBroadcast address and do not receive any media data; Wherein, the multicast address setting in advance and newly-installed multicast groundLocation is all to arrange according to the naming rule of the multicast address of NVR.
Preferably, described in, facing pipe invites message to comprise the identification information of NVR and NVR receiving media dataMulticast address, described administration module specifically also for, in advance for each IPC managing all at least distributeA multicast address for NVR receiving media data independently, send carry NVR identification information andThe pipe that faces of the multicast address of NVR receiving media data invites message to corresponding IPC.
Preferably, also comprise control module, for send face management and control message processed to IPC, described in face management and control systemMessage comprises that NVR is for controlling the command parameter of IPC.
The embodiment of the present invention also provides a kind of IPC of automatic preview video, comprising:
Message transmission module, sends and seeks administrative message to NVR at local network for the mode by broadcast;
Video sending module, invites message for the pipe that faces that receives NVR transmission, determines whether to accept NVRManagement, when determining while accepting the management of NVR, send and face pipe confirmation message, and send media dataGive corresponding NVR, otherwise continue to send and seek administrative message by the mode of broadcast; Wherein, described in, face pipeInviting message is to seek after administrative message described in NVR receives, and determines when described IPC is managed and sendsTo the message on the multicast address of IPC receipt message.
Preferably, described video sending module specifically also for, send out if receive NVR in Preset TimeThe pipe that faces sending is invited message, described in basis, faces pipe and invites the content of message to determine whether to accept the pipe of NVRReason; Invite message if do not receive the pipe that faces of NVR transmission in Preset Time, continuation is passed through to broadcastMode sends seeks administrative message.
Preferably, described in, face pipe invitation message and comprise the video decode that NVR supports, described video transmission mouldPiece specifically for, according to the sequencing that faces pipe described in receiving and invite message, according to the ability of self coding,Successively with receive described in face pipe and invite the ability of the video decode that the NVR that comprises of message supports to compare, until the two coupling is determined the management of accepting NVR.
Preferably, also comprise multicast address confirmation module, for adopting the multicast address setting in advance defaultContinuous receipt message in time, if do not receive any message, determines that this multicast address is that IPC reception disappearsThe multicast address of breath; Otherwise continue to adopt newly-installed multicast address continuous receipt message in Preset Time,Until newly-installed multicast address does not receive any message; Wherein, the multicast address setting in advance with newly establishThe multicast address of putting is all to arrange according to the naming rule of the multicast address of IPC.
Preferably, also comprise order receiver module, face management and control message processed, institute for what receive that NVR sendsState and face management and control message processed and comprise that NVR is for controlling the command parameter of IPC.
The embodiment of the present invention also provides a kind of system of automatic preview video, comprises NVR and IPC, itsIn:
Described NVR, sends to the administrative message of seeking of local network for receiving IPC, determine whether instituteState IPC and manage, in the time that described IPC is managed, send and face pipe invitation message to corresponding IPC,Otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, described IPC is sent and is sought by the mode of broadcastAdministrative message; And
Receive IPC and send to and face pipe confirmation message on the multicast address of this NVR receipt message, startup connectsServed by media data flow, reception IPC sends to the group corresponding with this IPC of NVR receiving media dataBroadcast the media data on address, by decoding, show preview video in preset window; Wherein, described in, face pipeConfirmation message is described in IPC receives, to face pipe to invite after message, while determining the management of accepting NVR, sendsMessage;
Described IPC, sends and seeks administrative message to NVR at local network for the mode by broadcast; And
The pipe that faces that receives NVR transmission is invited message, determines whether to accept the management of NVR, accepts when determiningWhen the management of NVR, send and face pipe confirmation message, and send media data to corresponding NVR, otherwiseContinue to send and seek administrative message by the mode of broadcast; Wherein, described in, facing pipe invitation message is that NVR receivesTo described in seek after administrative message, determine the multicast that sends to IPC receipt message when described IPC is managedMessage on address.
Brief description of the drawings
The method flow diagram of a kind of automatic preview video that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of another automatic preview video that Fig. 2 provides for the embodiment of the present invention;
The NVR schematic diagram of a kind of automatic preview video that Fig. 3 provides for the embodiment of the present invention;
The IPC schematic diagram of another automatic preview video that Fig. 4 provides for the embodiment of the present invention;
The system architecture schematic diagram of a kind of automatic preview video that Fig. 5 provides for the embodiment of the present invention;
The detailed process schematic diagram of a kind of automatic preview video that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of method, NVR, IPC and system of automatic preview video, in order toIn deployment period, realize the video of the automatic preview IPC of NVR, improve the deployment operating efficiency in period.
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to thisBright being described in further detail, obviously, described embodiment is only the present invention's part embodiment,Instead of whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not doingGo out all other embodiment that obtain under creative work prerequisite, all belong to the scope of protection of the invention.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
As shown in Figure 1, the specific embodiment of the invention provides a kind of method of automatic preview video, comprising:
S101, NVR reception IPC sends to the administrative message of seeking of local network, according to the pipe of seeking parsingThe content of reason message determines whether described IPC to manage, and in the time that described IPC is managed, sendsFace to manage and invite message to corresponding IPC, otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, instituteStating IPC is sent and is sought administrative message by the mode of broadcast;
S102, NVR receive the pipe that faces that IPC sends on the multicast address of this NVR receipt message and confirm reportLiterary composition, starts and accepts media data flow service, receive that IPC sends to NVR receiving media data with this IPCMedia data on corresponding multicast address, by decoding, shows preview video in preset window; Wherein,The described pipe confirmation message that faces is described in IPC receives, to face pipe to invite after message, determines the management of accepting NVRTime send message.
Particularly, the specific embodiment of the invention NVR to IPC the deployment period before formal management, NVRAfter startup, in the time managing in addition the resource of more IPC, start the administration module of seeking setting in advance and wait for IPCReach the standard grade and find NVR management, seeking administration module is the functional module realizing by software, can be to thisSeek administration module corresponding pattern is set, as: automatically, open, and close etc. After IPC starts, canSeek management mode to close, also can automatic seeking management mode, under automatic condition, when IPC not byWhen NVR takes over, just in without controlled state, when IPC is during by certain NVR adapter, just inControlled state; When this IPC is when without controlled state, represent that this IPC is seeking NVR and managing this IPC,When this IPC is during in controlled state, represent that this IPC is managed by NVR, now can not seekNew NVR manages this IPC, also can seek new NVR and manage this IPC.
Particularly, the administrative message of seeking in the specific embodiment of the invention specifically comprises that message header, IPC configure letterThe multicast address of breath, IPC physical address (MediaAccessControl, MAC) and IPC receipt messageDeng, as shown in table 1 below, wherein, message header is used for showing the type of this message, as seeks management employing HelloNVR represents; IPC configuration information comprises the information such as the IP address of IPC. IPC in without controlled state orAlthough in controlled state, while wanting to seek new NVR management, IPC exists by the mode of broadcastIn local network, send as the administrative message of seeking of table 1 form, when the NVR in the specific embodiment of the invention hasWhile managing the resource of more IPC, receive and seek administrative message, according to the content of seeking administrative message, determine to beNo IPC is managed, particularly, the specific embodiment of the invention is sought " message header " in administrative message formFix, " message body " can expand, as: carry the type information of " Model=xxx ",NVR receives and seeks administrative message, parses and seeks after administrative message content, according to the ability of self or selfConfiguration information, compare with the IPC configuration information that administrative message comprises of seeking parsing, if the twoJoin, determine and manage sending this IPC that seeks administrative message.
When determining the IPC that some transmissions are sought to administrative message, the NVR in the specific embodiment of the invention carries outWhen management, on local network, send and face pipe invitation message to corresponding IPC, otherwise continue to receive other IPCWhat send seeks administrative message. Wherein, NVR resolves the SrvMIPv4 seeking in administrative message, will face pipe and inviteMessage sends on the multicast address of receipt message of this IPC.
Table 1
Particularly, in the specific embodiment of the invention facing pipe invite message specifically comprise message header, invite ID,The multicast ground of the video decode that NVR supports, the maximum video resolution that NVR supports, NVR receipt messageThe multicast address of location and NVR receiving media data etc., as shown in table 2 below, wherein, message header is used for showingShow the type of this message, as face pipe and invite employing NVRAcceptOffer to represent; Invite ID to represent NVRIdentification information, for IPC to NVR send face pipe confirm time, identify this ID for this reason NVR sendInvitation ID, guarantee invite and confirm between in pairs coupling, accurately say, invite ID identify this NVRCertain specifically invite. If the mailing address of NVR as a part of ID, is only mark action,Without practical communication effect, mailing address is mainly made up of " SrvMIPv4 " and " StreamMIPv4 ", IPCSend and face pipe confirmation message to " SrvMIPv4 ", IPC sends media data to " StreamMIPv4 ".Facing in pipe invitation message in table 2 do not relate to media streaming system form and audio frequency relevant portion, and this part canNeeds during according to practical application are expanded.
Table 2
Specific embodiment of the invention NVR sends and faces pipe invitation message to corresponding IPC, comprising: NVR sends outSend and carry NVR identification information, the video decode of NVR support, the multicast address of NVR receipt messageManage invitation message to corresponding IPC with the facing of multicast address of NVR receiving media data. Particularly, send outSend while facing pipe invitation message, NVR resolves the SrvMIPv4 seeking in administrative message, will face pipe and invite message to send outDeliver on the multicast address of this IPC receipt message.
When NVR send face pipe invite message to IPC after, represent NVR can carry out this IPC temporarilyManagement, " temporary control and education " in the specific embodiment of the invention refers at the environment that there is no formal certification, authorizesUnder carry out. After formal management, IPC equipment access NVR needs the formal process such as certification, mandate,Formal certification, licensing process are same as the prior art, repeat no more here.
Particularly, the pipe confirmation message that faces in the specific embodiment of the invention specifically comprises message header and invites IDDeng, as shown in table 3 below, wherein, message header is used for showing the type of this message, as faces pipe and confirm to adoptAcknowledgeNVRAcceptOffer represents; Invitation ID represents the identification information of NVR, for IPCTo NVR send face pipe confirm time, identify this ID for this reason NVR send invitation ID, guarantee invite andBetween confirmation, mate in pairs.
Table 3
What specific embodiment of the invention NVR reception IPC sent faces pipe confirmation message, comprising: NVR receivesIPC sends to and faces pipe confirmation message on the multicast address of receipt message of this NVR. IPC sends and faces pipe reallyRecognize message, represent that this IPC accepts facing of NVR and manages invitation, NVR receives and faces after pipe confirmation message, startsAccept media data flow service, prepare receiving media data.
Particularly, face in pipe confirmation message and comprise invitation ID, this ID is that pipe invitation message is faced in NVR transmissionTime well-determined, this ID unique determine certain NVR certain invite, the ID between invitation is notWith, the ID between NVR also can be different, can guarantee that this ID is between NVR, the institute within NVRThere is the uniqueness of facing between pipe invitation. Wherein, ID comprises IP address, the MAC Address of NVR and passsIncrease sequence number etc.
Specific embodiment of the invention NVR receives the media data that IPC sends, and comprising: NVR receives IPCSend to the media data on the multicast address of this NVR receiving media data. NVR receives media dataAfter, this media data is decoded, after decoding, show in preset window, thereby realize entering in preset windowRow video preview, wherein, preset window is the window arranging according to practical application and user's demand.
Preferably, the specific embodiment of the invention, in the time that IPC is managed, sends and faces pipe invitation message to rightThe IPC answering, comprising:
NVR all at least distributes an independently NVR receiving media number for each IPC managing in advanceAccording to multicast address, send and carry the identification information of NVR and the multicast address of NVR receiving media dataFace pipe invite message give corresponding IPC.
Particularly, the multicast address of NVR receiving media data is independently multicast address of one of each invitation,Be that NVR sends when facing pipe and invite, can be first determine one can receiving media data multicast address,Be carried at and face in pipe invitation message, follow-up IPC just sends to media data on this multicast address. After decodingDifferent media datas is to be all generally presented at sequentially in idle window, and media data is specifically correspondingWhich display window does not do clearly restriction herein.
Preferably, the specific embodiment of the invention is determined the multicast address of NVR receipt message, comprising:
The multicast address that employing sets in advance is continuous receipt message in Preset Time, if do not receive any disappearingBreath, determines that this multicast address is the multicast address of NVR receipt message; Otherwise continue to adopt newly-installedMulticast address is continuous receipt message in Preset Time, until newly-installed multicast address does not receive any disappearingBreath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast ground according to NVRThe naming rule of location arranges;
The multicast address of determining NVR receiving media data, comprising:
The multicast address that employing sets in advance is continuous receiving media data in Preset Time, if do not receive and take officeWhat media data, determines that this multicast address is the multicast address of NVR receiving media data; Otherwise continueAdopt newly-installed multicast address continuous receiving media data in Preset Time, until newly-installed multicast groundLocation does not receive any media data; Wherein, the multicast address setting in advance and newly-installed multicast address are equalTo arrange according to the naming rule of the multicast address of NVR.
Preferably, specific embodiment of the invention NVR receives the media data that IPC sends, by decoding,After preset window shows the video of preview, also comprise: send and face management and control message processed to IPC, face management and controlMessage processed comprises that NVR is for controlling the command parameter of IPC.
Particularly, the management and control message processed that faces in the specific embodiment of the invention specifically comprises message header, order IDWith command parameter etc., as shown in table 4 below, wherein, message header is used for showing the type of this message, as faces pipeControl and adopt NVRControlIPC to represent; Order ID is specially " CMD=SetIPv4Addr "; Wherein:" SetIPv4Addr " represents to arrange the order ID of IPv4 address, and its parameter is:Args=$ IfName:$ IPv4Addr:$ Netmaks:$ Gateway, wherein " $ IfName " represents network interface card interfaceName (for example: eth0), " $ IPv4Addr " represents IPv4 address value (for example: 192.168.9.9)," $ Netmask " represents netmask (for example: 255.255.255.0), and " $ Gateway " represents gateway groundLocation (for example: 192.168.9.1); Command parameter comprises the control command of NVR to IPC, closes as comprisedThe order of Media Stream, IPC receives after the order of closing Media Stream, stops sending media data to NVR.
Table 4
The broadcast adopting in the specific embodiment of the invention and multicast, all refer to broadcast and multicast under IP network,Belong to existing mature technology.
As shown in Figure 2, the specific embodiment of the invention also provides a kind of method of automatic preview video, comprising:
S201, IPC are sent and seek administrative message to NVR at local network by the mode of broadcast;
S202, IPC receive NVR send face pipe invite message, according to described face pipe invite message inHold and determine whether to accept the management of NVR, when determining while accepting the management of NVR, send and face pipe confirmation message,And send media data to corresponding NVR, otherwise continue to send and seek administrative message by the mode of broadcast;Wherein, described in face pipe invite message be to seek after administrative message described in NVR receives, determine to described IPCWhile managing, send to the message on the multicast address of receipt message of IPC.
Preferably, the IPC in the specific embodiment of the invention is sent and carries at local network by the mode of broadcastHave IPC receipt message multicast address seek administrative message to the NVR in local network, wherein, seek pipeThe concrete message format ginseng of reason message is shown in Table 1.
What preferably, the reception of the IPC in specific embodiment of the invention NVR sent carries NVR mark letterThe video decode that breath, NVR support, multicast address and the NVR receiving media data of NVR receipt messageThe pipe that faces of multicast address invite message, wherein, what NVR sent face pipe invites the concrete message lattice of messageFormula ginseng is shown in Table 2.
Preferably, specific embodiment of the invention IPC receives the pipe that faces of NVR transmission and invites message, determines to beThe no management of accepting NVR, comprising: invite if IPC receives the pipe that faces of NVR transmission in Preset TimeMessage, invites the content of message to determine whether to accept the management of NVR according to facing pipe; If at Preset TimeThe pipe that faces that does not inside receive net NVR transmission is invited message, continues to be sent and sought management by the mode of broadcastMessage. Be that IPC transmission is sought after administrative message, wait for that the pipe that faces of NVR transmission is invited message, if waitOvertime, circulate on local network and send and seek administrative message, if IPC receives facing of NVR transmissionPipe is invited message, further judges whether to accept to manage facing of this NVR to invite.
Preferably, the specific embodiment of the invention is faced pipe invitation message and is comprised the video decode that NVR supports, IPCThe pipe that faces that receives NVR transmission is invited message, invites the content of message to determine whether to accept NVR according to facing pipeManagement, comprising: IPC faces pipe and invites the sequencing of message according to receiving, according to the energy of self codingPower, invites the ability of the video decode that the NVR that comprises of message supports to compare with the pipe that faces receiving successively, until the two coupling is determined the management of accepting NVR. What particularly, NVR sent faces pipe invitationIn message, carry the ability relevant information (for example: H264) of this NVR decoding, if certain IPC can onlyCoding H265, this IPC can determine not accept the management of this NVR so.
In actual applications, owing to may there are multiple NVR in local network, therefore in local networkIn each IPC may receive many parts face pipe invite message, IPC according to receive face pipe invite messageSequencing, and invite the content of message to determine whether to accept facing of NVR according to the pipe that faces receivingPipe is invited, and faces pipe and invites message if do not accept just directly to abandon this, processes other that receive and faces pipe and inviteMessage or continuation send seeks administrative message. Face pipe invitation report if there are two NVR to send in local network simultaneouslySame IPC given in literary composition, and this IPC all can receive the temporary control and education of these two NVR, in this situationUnder, IPC processes one by one and faces pipe invitation message according to sequencing, and selects according to first processing the mode of first acceptingSelect NVR, send to the NVR selecting and face pipe confirmation message.
Preferably, the specific embodiment of the invention is determined the multicast address of IPC receipt message, comprising:
The multicast address that employing sets in advance is continuous receipt message in Preset Time, if do not receive any disappearingBreath, determines that this multicast address is the multicast address of IPC receipt message; Otherwise continue to adopt newly-installed groupBroadcast address continuous receipt message in Preset Time, until newly-installed multicast address does not receive any disappearingBreath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast address according to IPCNaming rule arrange.
Particularly, taking the system of selection of the multicast address of IPv4 as example, specifically introduce how to confirm one belowIndividual do not conflict at local network temporarily the method for multicast address of IPC receipt message, comprising:
A, first select the most-significant byte of multicast address, for example: 234.xxx.xxx.xxx, all multicast address that meetThe most-significant byte of rule can use;
B, adopt the low 24 of IPv4 local physical address, for example: nn:nn:nn:XX:XX:XX;
C, combination most-significant byte and low 24, form a basic multicast address, for example: 234.XX.XX.XX;
D, according to multicast address naming rule, as skip some reserved address, and according to this multicast addressThe result of attempting receiving data, if judge the improper use of this multicast address, minimum 8 bit address increase progressively1, adopt 256 systems, until determine that this multicast address can use;
E, adopt this multicast address, receive continuously n number of seconds certificate, wherein the value of n is determined according to practical application,If n is 1 to 9 second;
If f does not receive any data, represent to adopt this multicast address to send without equipment on current networkData, this multicast address can be used;
If g receives data, representing has equipment to adopt this multicast address to send data on current network,Abandon this address, repeating step d, then select next multicast address.
Preferably, specific embodiment of the invention IPC sends media data to after corresponding NVR, also bagDraw together: what IPC reception NVR sent faces management and control message processed, faces management and control message processed and comprises that NVR is for controlling IPCCommand parameter, as command parameter comprises the order of closing Media Stream, IPC receive stop after this order toNVR sends media data.
As shown in Figure 3, the specific embodiment of the invention also provides a kind of NVR of automatic preview video, bagDraw together:
Administration module 31, sends to the administrative message of seeking of local network, according to what parse for receiving IPCThe content of seeking administrative message determines whether described IPC to manage, in the time that described IPC is managed,Transmission is faced pipe and is invited message to corresponding IPC, otherwise continues to receive the administrative message of seeking of IPC transmission; Wherein,Described IPC is sent and is sought administrative message by the mode of broadcast;
Video preview module 32, sends to facing on the multicast address of NVR receipt message for receiving IPCPipe confirmation message, starts the media data flow service of accepting, and receives IPC and sends to NVR receiving media dataThe multicast address corresponding with this IPC on media data, by decoding, preset window show preview lookFrequently; Wherein, described in to face pipe confirmation message be described in IPC receives, to face pipe to invite after message, determine and accept instituteThe message sending while stating the management of NVR.
The NVR of the automatic preview video during preferably, the present invention is concrete also comprises multicast address confirmation mouldPiece 33, for adopting the multicast address setting in advance continuous receipt message in Preset Time, if do not receiveAny message, determines that this multicast address is the multicast address of NVR receipt message; Otherwise continue to adopt newThe multicast address arranging is continuous receipt message in Preset Time, until newly-installed multicast address does not receiveAny message; Wherein, the multicast address setting in advance and newly-installed multicast address are all according to NVRThe naming rule of multicast address arranges; And
For adopting the multicast address setting in advance continuous receiving media data in Preset Time, if do not receiveTo any media data, determine that this multicast address is the multicast address of NVR receiving media data; OtherwiseContinue to adopt newly-installed multicast address continuous receiving media data in Preset Time, until newly-installed groupBroadcast address and do not receive any media data; Wherein, the multicast address setting in advance and newly-installed multicast groundLocation is all to arrange according to the naming rule of the multicast address of NVR.
Preferably, the NVR of the automatic preview video during the present invention is concrete also comprises control module 34, usesFace management and control message processed to IPC in transmission, face management and control message processed and comprise that NVR is for controlling the order ginseng of IPCNumber.
As shown in Figure 4, the specific embodiment of the invention also provides a kind of IPC of automatic preview video, comprising:
Message transmission module 41, for by broadcast mode local network send seek administrative message toNVR;
Video sending module 42, invites message for the pipe that faces that receives NVR transmission, invites according to the described pipe that facesContent that please message determines whether to accept the management of NVR, when determining that while accepting the management of NVR, transmission is facedPipe confirmation message, and send media data to corresponding NVR, otherwise continue to send out by the mode of broadcastSend and seek administrative message; Wherein, described in face pipe invite message be to seek after administrative message described in NVR receives,Determine the message on the multicast address of the receipt message that sends to IPC when described IPC is managed.
The IPC of the automatic preview video during preferably, the present invention is concrete also comprises multicast address confirmation module43, for adopting the multicast address setting in advance continuous receipt message in Preset Time, if do not receive and take officeWhat is the need breath, determines that this multicast address is the multicast address of IPC receipt message; Otherwise continue to adopt new settingMulticast address continuous receipt message in Preset Time, until that newly-installed multicast address does not receive is anyMessage; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast ground according to IPCThe naming rule of location arranges.
Preferably, the IPC of the automatic preview video during the present invention is concrete also comprises order receiver module 44,Face management and control message processed for what receive that NVR sends, face management and control message processed and comprise that NVR is for controlling IPCCommand parameter.
As shown in Figure 5 and Figure 6, the specific embodiment of the invention also provides a kind of system of automatic preview video,Comprise NVR51 and IPC52, in the specific embodiment of the invention, NVR51 and IPC52 can be by wiredMode connects, also can connect by wireless mode, wherein:
NVR51, sends to the administrative message of seeking of local network, according to the pipe of seeking parsing for receiving IPCThe content of reason message determines whether described IPC to manage, and in the time that described IPC is managed, sendsFace to manage and invite message to corresponding IPC, otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, instituteStating IPC is sent and is sought administrative message by the mode of broadcast; And
Receive IPC and send to and face pipe confirmation message on the multicast address of this NVR receipt message, startup connectsServed by media data flow, reception IPC sends to the group corresponding with this IPC of NVR receiving media dataBroadcast the media data on address, by decoding, show preview video in preset window; Wherein, described in, face pipeConfirmation message is described in IPC receives, to face pipe to invite after message, while determining the management of accepting NVR, sendsMessage;
IPC52, sends and seeks administrative message to NVR at local network for the mode by broadcast; And
The pipe that faces that receives NVR transmission is invited message, invites the content of message to determine whether according to the described pipe that facesAccept the management of NVR, when determining while accepting the management of NVR, send and face pipe confirmation message, and sendMedia data is given corresponding NVR, otherwise continues to be sent and sought administrative message by the mode of broadcast; Wherein,Described face pipe invite message be to seek after administrative message described in NVR receives, determine described IPC is managedWhen reason, send to the message on the multicast address of receipt message of IPC.
Particularly, as shown in Figure 6, after NVR starts, in the time managing in addition the resource of more IPC,Starting the administration module of seeking setting in advance waits for that IPC reaches the standard grade and finds NVR management. After IPC starts, if shouldAlthough IPC is in without controlled state or in controlled state, need to seek new NVR management time,This IPC is sent and is sought administrative message by the mode of broadcast on local network.
What all NVR on local network all can receive that IPC sends seeks administrative message, NVR basisThe content of seeking administrative message parsing, determines whether IPC to manage, when NVR determines a certainWhen the IPC that administrative message is sought in individual transmission manages, according to the multicast of the receipt message of this IPC parsingAddress, invites message to send on the multicast address of receipt message of this IPC by facing pipe; When NVR determinesWhen sending the IPC that does not seek administrative message and manage, continue to receive that other IPC sends seeks management reportLiterary composition.
IPC sends and seeks after administrative message, waits for receiving to manage facing of NVR transmission and invites message, if waited forOvertime, circulate on local network and send and seek administrative message, otherwise further judge whether to accept this NVRFace pipe invite.
IPC determines according to information such as the video decodes that faces the NVR support in pipe invitation message receivingThe pipe that faces of the no NVR of acceptance is invited, and accepts the pipe that faces of NVR invite when IPC confirmation, sends and faces pipe confirmationMessage is to the multicast address of the receipt message of NVR; When confirming the pipe that faces of not accepting NVR, IPC invites,Continue to send and seek administrative message by the mode of broadcast.
IPC sends and faces after pipe confirmation, represents that this IPC accepts the temporary control and education of corresponding NVR, then,Send media data to the multicast address of the receiving media data of NVR.
NVR receives after the media data of IPC transmission, by decoding, shows preview video in preset window.In actual applications, NVR can send and face management and control message processed after temporary control and education IPC, faces management and control report processedLiterary composition comprises that NVR is for controlling the command parameter of IPC, while specifically enforcement, according to connecing of the IPC parsingThe multicast address of receiving message, sends on the multicast address of receipt message of this IPC facing management and control message processed,IPC receives and faces after management and control system, carries out operation accordingly. As: face management and control message processed and comprise and close Media StreamOrder, IPC receives after this order and stops sending media data to NVR.
Compared with prior art, the specific embodiment of the invention can be omitted in deployment IPC in period separate configurations netThe work of network parameter, or can omit by the process of the IPC of NVR scanning of home network, the present inventionIPC in specific embodiment starts the preview video on NVR automatically that accesses network, can raising portionOperating efficiency when administration. Be the specific embodiment of the invention in deployment period, do not need the net of separate configurations IPCNetwork parameter, and under non-POE environment, only need IPC access local network, there is the new IPC of management to needThe NVR asking can see the preview video of IPC automatically, just can realize Z-operation NVR and IPCAutomatically the video to IPC in NVR preview. Afterwards, NVR can directly look from the IPC of automatic previewFrequently in window, more whether determine formal this IPC of administration configuration or refuse this IPC.
The IPC that the automatic preview local network of specific embodiment of the invention NVR is newly reached the standard grade also improves user and usesConvenience, the similar analog video camera of this mode access digital VTR (DigitalVideoRecorder,DVR) mode of automatic preview video, very intuitive and convenient. Independent for 1 NVR and Duo Tai IPCNetwork environment, can also realize NVR and IPC zero configuration use.
In addition, even if the specific embodiment of the invention also can solve multiple IPC all uses the IP address of acquiescence,Exist in the situation of unicast ip address conflict, also can realize automatic preview video, and later stage NVR coupleThe configuration management of IPC.
In sum, the specific embodiment of the invention provides a kind of method of automatic preview video, comprising: NVRReceive IPC and send to the administrative message of seeking of local network, determine whether IPC to manage, when to IPCWhile managing, transmission is faced pipe and is invited message to corresponding IPC, otherwise continues to receive the pipe of seeking of IPC transmissionReason message; Wherein, IPC is sent and is sought administrative message by the mode of broadcast; NVR receives IPC and sends to thisOn the multicast address of NVR receipt message, face pipe confirmation message, start and accept media data flow service, connectReceive IPC and send to the media data on the multicast address corresponding with this IPC of NVR receiving media data,By decoding, show the video of preview in preset window; Wherein, facing pipe confirmation message is that IPC receives and facesPipe is invited after message, the message sending while determining the management of accepting NVR. The specific embodiment of the invention is in portionAdministration period, does not need the network parameter of separate configurations IPC, only needs IPC access local network, has managementThe NVR of new IPC demand can receive IPC and send to the administrative message of seeking of local network, according to seeking managementThe content of message determines whether IPC to manage, and in the time that IPC is managed, sends and faces pipe invitation reportCorresponding IPC given in literary composition, and receive that IPC sends face pipe confirmation message, start the media data flow service of accepting,Receive the media data that IPC sends, by decoding, show the video of preview in preset window, with existing skillArt is compared, and can realize the just energy video to IPC in NVR preview automatically of Z-operation NVR and IPC,Thereby improve the operating efficiency while deployment.
Obviously, those skilled in the art can carry out various changes and modification and not depart from this present inventionBright spirit and scope. Like this, if of the present invention these amendment and modification belong to the claims in the present invention andWithin the scope of its equivalent technologies, the present invention be also intended to comprise these change and modification interior.

Claims (21)

1. a method for automatic preview video, is characterized in that, described method comprises:
Network hard disk video recorder NVR reception web camera IPC sends to the administrative message of seeking of local network,Determine whether described IPC to manage, in the time that described IPC is managed, send and face pipe invitation messageGive corresponding IPC, otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, described IPC is by wideThe mode of broadcasting sends seeks administrative message;
NVR receives IPC and sends to and face pipe confirmation message on the multicast address of this NVR receipt message, opensMove the media data flow service of accepting, receive IPC and send to the corresponding with this IPC of NVR receiving media dataMulticast address on media data, by decoding, preset window show preview video; Wherein, described inFacing pipe confirmation message is described in IPC receives, to face pipe to invite after message, while determining the management of accepting NVR, sends outThe message sending.
2. method according to claim 1, is characterized in that, described in seek administrative message and comprise IPCConfiguration information,
Described determining whether manages described IPC, comprising:
NVR is according to the configuration information of self, with parse described in seek joining of IPC that administrative message comprisesThe information of putting compares, if the two coupling is determined described IPC is managed.
3. method according to claim 2, is characterized in that, determines the multicast of NVR receipt messageAddress, comprising:
The multicast address that employing sets in advance is continuous receipt message in Preset Time, if do not receive any disappearingBreath, determines that this multicast address is the multicast address of NVR receipt message; Otherwise continue to adopt newly-installedMulticast address is continuous receipt message in Preset Time, until newly-installed multicast address does not receive any disappearingBreath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast ground according to NVRThe naming rule of location arranges;
The multicast address of determining NVR receiving media data, comprising:
The multicast address that employing sets in advance is continuous receiving media data in Preset Time, if do not receive and take officeWhat media data, determines that this multicast address is the multicast address of NVR receiving media data; Otherwise continueAdopt newly-installed multicast address continuous receiving media data in Preset Time, until newly-installed multicast groundLocation does not receive any media data; Wherein, the multicast address setting in advance and newly-installed multicast address are equalTo arrange according to the naming rule of the multicast address of NVR.
4. method according to claim 3, is characterized in that, described in face pipe invite message comprise NVRIdentification information and the multicast address of NVR receiving media data, described in the time that described IPC is managed,Transmission is faced pipe and is invited message to corresponding IPC, comprising:
NVR all at least distributes an independently NVR receiving media number for each IPC managing in advanceAccording to multicast address, send and carry the identification information of NVR and the multicast address of NVR receiving media dataFace pipe invite message give corresponding IPC.
5. method according to claim 4, is characterized in that, described reception IPC sends to this NVRMedia data on the multicast address of receiving media data, by decoding, shows looking of preview in preset windowFrequently, after, described method also comprises:
NVR sends and faces management and control message processed to IPC, described in face management and control message processed and comprise that NVR is for controlling IPCCommand parameter.
6. a method for automatic preview video, is characterized in that, described method comprises:
IPC is sent and seeks administrative message to NVR at local network by the mode of broadcast;
IPC receives the pipe that faces of NVR transmission and invites message, determines whether to accept the management of NVR, when determiningWhile accepting the management of NVR, send and face pipe confirmation message, and send media data to corresponding NVR,Otherwise continue to send and seek administrative message by the mode of broadcast; Wherein, described in, facing pipe invitation message is NVRDescribed in receiving, seek after administrative message, determine and send to IPC receipt message when described IPC is managedMessage on multicast address.
7. method according to claim 6, is characterized in that, described IPC reception NVR sendsFace pipe and invite message, determine whether to accept the management of NVR, comprising:
If receiving the pipe that faces of NVR transmission in Preset Time, described IPC invites message, described in basisFacing pipe invites the content of message to determine whether to accept the management of NVR; If do not receive in Preset TimeWhat NVR sent faces pipe invitation message, continues to be sent and sought administrative message by the mode of broadcast.
8. method according to claim 7, is characterized in that, described in face pipe invite message compriseThe video decode that NVR supports,
Described IPC receives the pipe that faces of NVR transmission and invites message, determines whether to accept the management of NVR, bagDraw together:
Described IPC faces the sequencing of managing invitation message described in receiving, the ability of encoding according to self,Successively with receive described in face pipe and invite the ability of the video decode that the NVR that comprises of message supports to compare, until the two coupling is determined the management of accepting NVR.
9. method according to claim 8, is characterized in that, determines the multicast of IPC receipt messageAddress, comprising:
The multicast address that employing sets in advance is continuous receipt message in Preset Time, if do not receive any disappearingBreath, determines that this multicast address is the multicast address of IPC receipt message; Otherwise continue to adopt newly-installed groupBroadcast address continuous receipt message in Preset Time, until newly-installed multicast address does not receive any disappearingBreath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast address according to IPCNaming rule arrange.
10. method according to claim 9, is characterized in that, described transmission media data is to correspondenceNVR after, described method also comprises:
What IPC received that NVR sends faces management and control message processed, described in face management and control message processed and comprise that NVR is for controllingThe command parameter of IPC processed.
The NVR of 11. 1 kinds of automatic preview video, is characterized in that, comprising:
Administration module, sends to the administrative message of seeking of local network for receiving IPC, determine whether describedIPC manages, and in the time that described IPC is managed, send and face pipe invitation message to corresponding IPC,Otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, described IPC is sent and is sought by the mode of broadcastAdministrative message;
Video preview module, sends to the pipe that faces on the multicast address of NVR receipt message for receiving IPCConfirmation message, start and accept media data flow service, receives IPC and send to NVR receiving media dataMedia data on the multicast address corresponding with this IPC, by decoding, shows preview video in preset window;Wherein, described in to face pipe confirmation message be described in IPC receives, to face pipe to invite after message, described in determining and acceptingThe message sending when the management of NVR.
12. NVR according to claim 11, is characterized in that, described in seek administrative message and comprise IPCConfiguration information, described administration module specifically for, according to the configuration information of NVR self, and parseDescribed in seek the IPC that administrative message comprises configuration information compare, if the two coupling is determined instituteStating IPC manages.
13. NVR according to claim 12, is characterized in that, also comprise multicast address confirmation mouldPiece, for adopting the multicast address setting in advance continuous receipt message in Preset Time, if do not receive and take officeWhat is the need breath, determines that this multicast address is the multicast address of NVR receipt message; Newly establish otherwise continue to adoptThe multicast address of putting is continuous receipt message in Preset Time, takes office until newly-installed multicast address does not receiveWhat is the need breath; Wherein, the multicast address setting in advance and newly-installed multicast address are all the groups according to NVRBroadcast address naming rule arrange; And
For adopting the multicast address setting in advance continuous receiving media data in Preset Time, if do not receiveTo any media data, determine that this multicast address is the multicast address of NVR receiving media data; OtherwiseContinue to adopt newly-installed multicast address continuous receiving media data in Preset Time, until newly-installed groupBroadcast address and do not receive any media data; Wherein, the multicast address setting in advance and newly-installed multicast groundLocation is all to arrange according to the naming rule of the multicast address of NVR.
14. NVR according to claim 13, is characterized in that, described in face pipe invite message compriseThe multicast address of the identification information of NVR and NVR receiving media data, described administration module specifically also for,All at least distribute an independently multicast for NVR receiving media data for each IPC managing in advanceAddress, transmission carries the pipe that faces of the identification information of NVR and the multicast address of NVR receiving media data and invitesPlease give corresponding IPC by message.
15. NVR according to claim 14, is characterized in that, also comprise control module, forTransmission is faced management and control message processed to IPC, described in face management and control message processed and comprise that NVR is for controlling the order of IPCParameter.
The IPC of 16. 1 kinds of automatic preview video, is characterized in that, comprising:
Message transmission module, sends and seeks administrative message to NVR at local network for the mode by broadcast;
Video sending module, invites message for the pipe that faces that receives NVR transmission, determines whether to accept NVRManagement, when determining while accepting the management of NVR, send and face pipe confirmation message, and send media dataGive corresponding NVR, otherwise continue to send and seek administrative message by the mode of broadcast; Wherein, described in, face pipeInviting message is to seek after administrative message described in NVR receives, and determines when described IPC is managed and sendsTo the message on the multicast address of IPC receipt message.
17. IPC according to claim 16, is characterized in that, described video sending module specifically alsoBe used for, invite message if receive the pipe that faces of NVR transmission in Preset Time, described in basis, face pipe and inviteContent that please message determines whether to accept the management of NVR; If not receiving NVR in Preset Time sendsThe pipe that faces invite message, continue to send and seek administrative message by the mode of broadcast.
18. IPC according to claim 17, is characterized in that, described in face pipe invite message compriseThe video decode that NVR supports, described video sending module specifically for, invite according to facing pipe described in receivingSequencing that please message, according to the ability of self coding, successively with receive described in face pipe and invite messageThe ability of the video decode that the NVR comprising supports compares, until the two coupling is determined and accepted NVRManagement.
19. IPC according to claim 18, is characterized in that, also comprise multicast address confirmation mouldPiece, for adopting the multicast address setting in advance continuous receipt message in Preset Time, if do not receive and take officeWhat is the need breath, determines that this multicast address is the multicast address of IPC receipt message; Otherwise continue to adopt new settingMulticast address continuous receipt message in Preset Time, until that newly-installed multicast address does not receive is anyMessage; Wherein, the multicast address setting in advance and newly-installed multicast address are all the multicast ground according to IPCThe naming rule of location arranges.
20. IPC according to claim 19, is characterized in that, also comprise order receiver module, useFace management and control message processed in what receive that NVR sends, described in face management and control message processed and comprise that NVR is for controlling IPCCommand parameter.
The system of 21. 1 kinds of automatic preview video, is characterized in that, comprises NVR and IPC, wherein:
Described NVR, sends to the administrative message of seeking of local network for receiving IPC, determine whether instituteState IPC and manage, in the time that described IPC is managed, send and face pipe invitation message to corresponding IPC,Otherwise continue to receive the administrative message of seeking of IPC transmission; Wherein, described IPC is sent and is sought by the mode of broadcastAdministrative message; And
Receive IPC and send to and face pipe confirmation message on the multicast address of this NVR receipt message, startup connectsServed by media data flow, reception IPC sends to the group corresponding with this IPC of NVR receiving media dataBroadcast the media data on address, by decoding, show preview video in preset window; Wherein, described in, face pipeConfirmation message is described in IPC receives, to face pipe to invite after message, while determining the management of accepting NVR, sendsMessage;
Described IPC, sends and seeks administrative message to NVR at local network for the mode by broadcast; And
The pipe that faces that receives NVR transmission is invited message, determines whether to accept the management of NVR, accepts when determiningWhen the management of NVR, send and face pipe confirmation message, and send media data to corresponding NVR, otherwiseContinue to send and seek administrative message by the mode of broadcast; Wherein, described in, facing pipe invitation message is that NVR receivesTo described in seek after administrative message, determine the multicast that sends to IPC receipt message when described IPC is managedMessage on address.
CN201511033401.8A 2015-12-31 2015-12-31 A kind of method of automatic preview video, NVR, IPC and system Active CN105611392B (en)

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 true CN105611392A (en) 2016-05-25
CN105611392B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453370A (en) * 2016-10-27 2017-02-22 浙江宇视科技有限公司 Method and device for allowing IPC to register to NVR
CN108984263A (en) * 2018-08-07 2018-12-11 网易传媒科技(北京)有限公司 Image display method and device

Citations (5)

* Cited by examiner, † Cited by third party
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
US20140139664A1 (en) * 2012-11-18 2014-05-22 Roni Herzel System Apparatus and Device for Facilitating Network Camera Edge Device Backup and Methods of Operation Thereof
CN204859405U (en) * 2015-07-24 2015-12-09 浙江宇视科技有限公司 Network digital video recorder based on NFC carries out internet protocol camera and inserts

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
US20140139664A1 (en) * 2012-11-18 2014-05-22 Roni Herzel System Apparatus and Device for Facilitating Network Camera Edge Device Backup and Methods of Operation Thereof
CN204859405U (en) * 2015-07-24 2015-12-09 浙江宇视科技有限公司 Network digital video recorder based on NFC carries out internet protocol camera and inserts

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453370A (en) * 2016-10-27 2017-02-22 浙江宇视科技有限公司 Method and device for allowing IPC to register to NVR
CN106453370B (en) * 2016-10-27 2020-10-20 浙江宇视科技有限公司 Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
CN108984263A (en) * 2018-08-07 2018-12-11 网易传媒科技(北京)有限公司 Image display method and device

Also Published As

Publication number Publication date
CN105611392B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US9699500B2 (en) Session management and control procedures for supporting multiple groups of sink devices in a peer-to-peer wireless display system
CN101472155B (en) Household network system for implementing IPTV business and implementing method thereof
CN108901024A (en) Control throws screen receiving device networking and throws screen receiving device networking methods, equipment
CN101160858B (en) Implementing method and an apparatus for enhancing the multicast service manageability
WO2010135979A1 (en) Method and system for video conference control, network equipment and meeting places for video conference
CN107070933A (en) Set up and control Wi Fi show the audio connected and voice backward channel
CN105610777B (en) Remote living broadcast method and system
CN101656863A (en) Conference control method, device and system
CN109862307B (en) Video conference initiating method and device
CN109302578B (en) Method and system for logging in conference terminal and video conference
WO2015003532A1 (en) Multimedia conferencing establishment method, device and system
CN111131752A (en) Video conference control method, device, equipment and medium based on video networking
CN101583021A (en) Monitoring device used in video conferencing monitoring system
CN102695036B (en) Video conferencing system and application method thereof
CN111641800A (en) Method and device for realizing conference
CN105611392A (en) Automatic video previewing method, NVR (Network Video Recorder), IPC (IP Camera) and system
CN103442287A (en) Set top box network automatic expanding playing method
CN101557497B (en) Conference auditing method and terminal and system thereof
CN110708493B (en) Method and device for acquiring permission of participating in video networking conference
CN110891156B (en) Conference entering method and device of monitoring camera
US9143737B2 (en) Data distribution
CN110852692A (en) Conference scoring method and device, electronic equipment and storage medium
CN110401808B (en) Conference control method and device
WO2017000159A1 (en) Method and apparatus for ip multicast grouping
WO2011023103A1 (en) Media control server cascaded system, and method and device for controlling multimedia code stream

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