CN101873463A - Video playback method, monitoring client and digital hard disk video recorder - Google Patents

Video playback method, monitoring client and digital hard disk video recorder Download PDF

Info

Publication number
CN101873463A
CN101873463A CN 201010179330 CN201010179330A CN101873463A CN 101873463 A CN101873463 A CN 101873463A CN 201010179330 CN201010179330 CN 201010179330 CN 201010179330 A CN201010179330 A CN 201010179330A CN 101873463 A CN101873463 A CN 101873463A
Authority
CN
China
Prior art keywords
nas server
address
catalogue
dvr
monitor client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010179330
Other languages
Chinese (zh)
Inventor
林圣拿
何振华
胡佳妮
胡扬忠
邬伟琪
蒋海青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN 201010179330 priority Critical patent/CN101873463A/en
Publication of CN101873463A publication Critical patent/CN101873463A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video playback method, a monitoring client and a digital hard disk video recorder, wherein the method comprises the following steps: configuring an ID of a DVR and the mapping relationship of an IP address and a catalog of an NAS server; searching the IP address and the catalog of the NAS server corresponding to the ID of the target DVR according to the mapping relationship; connecting to the corresponding NAS server through the IP address; and playing video files selected in the catalog of the NAS server. The monitoring client can find the NAS server and the catalog corresponding to the DVR according to the configured ID of the DVR and the mapping relationship of the IP address and the catalog of the NAS server, the NAS server can be directly visited for carrying out video file playback, and the normal playback of the video files when the monitoring client can not be connected with the DVR is ensured.

Description

A kind of video recording playback method, monitor client and digital hard disc video recorder
Technical field
The present invention relates to the monitoring field, particularly relate to a kind of video recording playback method, monitor client and digital hard disc video recorder.
Background technology
Along with reaching its maturity of encoding and decoding technique, multimedia communication technology and embedded technology in recent years, a collection of equipment with brand-new technical characterstic has appearred, digital hard disc video recorder (DVR, Digital VideoRecorder) is exactly one of them typical case's representative.
Follow the appearance of digital hard disc video recorder, supervisory control system has obtained update.Present supervisory control system mainly comprises (referring to Fig. 1): headend equipment (comprising DVR, web camera, video server etc.), monitor client (employing local data base), streaming media server and NAS (Network AttachedStorage, network attached storage) server.Wherein, headend equipment is used to gather the audio-video frequency media content, monitor client is used to control the running of whole monitoring system, streaming media server be used for to media content gather, buffer memory, scheduling and transmission play, nas server be a kind ofly will distribute, independently data are integrated into data center large-scale, centralized management, are used for store media files.
Supervisory control system mainly adopts two kinds of memory modules: 1, the local storage of DVR, to record a video by DVR, and nas server is stored; 2, rear end storage, just monitor client obtains code stream from DVR and carries out this locality and store.
For the pattern of DVR video recording, nas server storage, workflow is as follows:
Monitor client is to DVR request video file Media Stream, and DVR is transmitted to monitor client read the Media Stream of video file from nas server after again.
There is a problem in this mode of operation, and when monitor client can't connect DVR (as situations such as DVR break down), monitor client can't obtain Media Stream from DVR exactly, and then can't normally carry out playing back videos.
Summary of the invention
The purpose of this invention is to provide a kind of video recording playback method, monitor client and digital hard disc video recorder, the normal playback of recording a video in the time of DVR can't being connected with the realization monitor client.
The invention provides a kind of video recording playback method, the mapping relations of sign ID, network attached storage nas server IP address and the catalogue of configuration digital hard disc video recorder DVR; Described method comprises:
According to described mapping relations, search nas server IP address and the catalogue corresponding with the ID of target DVR;
Be connected to corresponding nas server by described IP address, and the video file of selecting from the described catalogue of described nas server is play.
Preferably, before described configuration mapping relations, can also comprise: monitor client obtains nas server IP address and catalogue from target DVR after connecting with target DVR.
Describedly obtain nas server IP address and catalogue specifically can comprise from target DVR:
Monitor client sends the request of obtaining nas server IP address and catalogue to target DVR;
Target DVR returns the nas server IP address of carrying promising its service and the response of catalogue.
Describedly be connected to corresponding nas server by the IP address and specifically can comprise:
Monitor client is by the path of the above catalogue of nas server of the described IP of mapping network driver carry address.
The present invention also provides a kind of monitor client, comprising:
Configuration module is used to dispose the mapping relations of sign ID, network attached storage nas server IP address and the catalogue of digital hard disc video recorder DVR;
Retrieval module is used for according to described mapping relations, searches nas server IP address and the catalogue corresponding with the ID of target DVR;
Link block is used for being connected to corresponding nas server by described IP address;
Playing module is used for the video file of selecting from the described catalogue of described nas server is play.
Preferably, described monitor client also comprises: acquisition module is used for obtaining nas server IP address and catalogue from target DVR after described monitor client and target DVR connect.
Preferably, described acquisition module can comprise:
Transmitting element is used for sending the request of obtaining nas server IP address and catalogue to target DVR;
Receiving element is used for the nas server IP address of carrying promising its service that receiving target DVR returns and the response of catalogue.
Preferably, described link block comprises the network mapping actuator unit, is used for the path by the above catalogue of nas server of the described IP of mapping network driver carry address.
The present invention also provides a kind of digital hard disc video recorder, comprising:
Receiver module is used to receive the request of obtaining network attached storage nas server IP address and catalogue that monitor client sends;
Return module, be used for returning the nas server IP address of carrying promising described digital hard disc video recorder service and the response of catalogue to monitor client, so that monitor client disposes the sign ID of described digital hard disc video recorder, the IP address of network attached storage nas server and the mapping relations of catalogue, make described monitor client be connected to corresponding nas server, and the video file of selecting from the described catalogue of described nas server is play by described IP address.
Video recording playback method of the present invention, monitor client and digital hard disc video recorder; pattern for DVR video recording, nas server storage; when the video file playback, need not visit DVR; monitor client can be according to ID, the IP address of nas server and the mapping relations of catalogue of the DVR that disposes; find nas server corresponding and catalogue with DVR; directly visit described nas server; from described catalogue, select video file to carry out playback; when monitor client can't connect DVR, ensured the normal playback of video file.
Description of drawings
Fig. 1 is the configuration diagram of existing supervisory control system;
Fig. 2 is the schematic flow sheet of an embodiment of video recording playback method of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of video recording playback method of the present invention;
Fig. 4 is the structural representation of an embodiment of monitor client of the present invention;
Fig. 5 is the structural representation of another embodiment of monitor client of the present invention;
Fig. 6 is the structural representation of an embodiment of digital hard disc video recorder of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the embodiment of the invention is described in further detail below in conjunction with the drawings and specific embodiments.
The invention provides a kind of video recording playback method, as shown in Figure 2, comprise the steps:
S101, the mapping relations of sign ID, nas server IP address and the catalogue of configuration DVR;
S102 according to described mapping relations, searches nas server IP address and the catalogue corresponding with the ID of target DVR;
S103 is connected to corresponding nas server by described IP address, and the video file of selecting from the described catalogue of described nas server is play.
Below by specific embodiment said method is described in detail.
Embodiment one
Present embodiment provides a kind of video recording playback method, as shown in Figure 3, may further comprise the steps:
S201, the mapping relations of ID, nas server IP address and the catalogue of configuration DVR.
The ID of described DVR can be any numbering or the code that can distinguish DVR, for example the MAC of DVR (Media Access Control, medium access control) address, IP address, user-defined name etc.Described catalogue is the memory space of nas server for the video file of each DVR distribution.Described mapping relations can be configured on the network side data storehouse, are easy to realize the mapping relations data of storage are carried out dilatation; Also can be configured in monitor client this locality, seek rate can be sooner and is not subjected to the restriction of network side data storehouse fault thus.
Certainly, for the fixing supervisory control system of the corresponding relation of ID, nas server IP address and the catalogue of DVR, also can be when initial framework supervisory control system, for each DVR wherein specifies nas server and catalogue, and in monitor client or network side data storehouse the mapping relations of ID, nas server IP address and the catalogue of storage DVR.
S202 according to described mapping relations, searches nas server IP address and the catalogue corresponding with the ID of target DVR.
1) be configured in the situation in network side data storehouse for mapping relations, describedly search nas server IP address and catalogue specifically can comprise:
Monitor client sends the ID of described target DVR to the network side data storehouse;
Nas server IP address and the catalogue corresponding with the ID of target DVR are searched according to ID, the IP address of nas server and the mapping relations of catalogue of the DVR of configuration in the network side data storehouse;
Described monitor client is returned described nas server IP address and catalogue in the network side data storehouse.
2) be configured in the situation of monitor client this locality for mapping relations, describedly search nas server IP address and catalogue specifically can comprise:
Monitor client is searched nas server IP address and the catalogue corresponding with the ID of target DVR according to ID, the IP address of nas server and the mapping relations of catalogue of the DVR of this locality storage.
S203 is connected to corresponding nas server by described IP address, and the video file of selecting from the described catalogue of described nas server is play.
Wherein, described by the IP address be connected to corresponding nas server preferably can for: monitor client is by the path of the above catalogue of nas server of the described IP of mapping network driver carry address, for example set up mapping by API (Application Programming Interface, application programming interfaces).So after the operation, the described catalogue of described nas server can be mapped as local drive, be convenient to visit.
Afterwards, the user can see the catalogue at the video file place that described DVR records at monitor client, and then can select the video file in the catalogue to play.
Because the back method of present embodiment; pattern for DVR video recording, nas server storage; when the video file playback, need not visit DVR; monitor client can be according to ID, the IP address of nas server and the mapping relations of catalogue of the DVR that disposes; find nas server corresponding and catalogue, directly visit described nas server, from described catalogue, select video file to carry out playback with DVR; when monitor client can't connect DVR, ensured the normal playback of video file.The method of present embodiment can start when monitor client can't be connected with target DVR, also can all just often use at target DVR and network.
Before step S201, can also comprise step S201a: monitor client obtains nas server IP address and catalogue from described target DVR after connecting with target DVR.
Monitor client obtains nas server IP address and catalogue specifically can comprise from target DVR:
Monitor client sends the request of obtaining nas server IP address and catalogue to target DVR; Target DVR returns the nas server IP address of carrying promising its service and the response of catalogue.
Described request can be that monitor client sends to the message that target DVR plays video file, utilize the spare field in an extended field or the former message to carry the indication of obtaining nas server IP address and catalogue, extended field wherein can be positioned at the last of message body; Described request also can be a new message, and this message has the ID corresponding with obtaining nas server IP address and catalog function.Corresponding, described response can be after target DVR receives described request, what generate carries described ID, successful flag bit and is the nas server IP address of own service and the response message of catalogue, and the relevant information that described successful flag bit is used to notify monitor client to obtain nas server IP address and catalogue successfully.
During can normally be connected between monitor client and target DVR, monitor client can be by the mode of prior art, be that monitor client is to target DVR request video file Media Stream, target DVR is transmitted to monitor client read the Media Stream of video file from nas server after again, simultaneously, monitor client also can be to target DVR request nas server IP address and catalogue, according to nas server IP address and the catalogue that target DVR returns, the mapping relations of ID, nas server IP address and the catalogue of configuration target DVR.Monitor client can be regularly to nas server IP address of target DVR request and catalogue, also can connect with target DVR at every turn and afterwards ask once.This mode that dynamically updates can be adapted to the situation of the nas server change of target DVR service.
The back method of present embodiment; pattern for DVR video recording, nas server storage; when the video file playback, need not visit DVR; monitor client can be according to ID, the IP address of nas server and the mapping relations of catalogue of the DVR that disposes; find nas server corresponding and catalogue, directly visit described nas server, from described catalogue, select video file to carry out playback with DVR; when monitor client can't connect DVR, ensured the normal playback of video file.
Embodiment two
Present embodiment provides a kind of monitor client, and as shown in Figure 4, described monitor client 1 comprises configuration module 10, retrieval module 20, link block 30 and playing module 40.
Configuration module 10 is used to dispose the mapping relations of ID, nas server IP address and the catalogue of DVR.
Retrieval module 20 is used for according to described mapping relations, searches nas server IP address and the catalogue corresponding with the ID of target DVR.
Link block 30 is used for being connected to corresponding nas server by described IP address.Link block 30 preferably can comprise the network mapping actuator unit, is used for the path by the above catalogue of nas server of the described IP of mapping network driver carry address.
Playing module 40 is used for the video file of selecting from the described catalogue of described nas server is play.
As shown in Figure 5, described monitor client 1 can also comprise:
Acquisition module 50 is used for obtaining nas server IP address and catalogue from target DVR after described monitor client 1 connects with target DVR.
Described acquisition module 50 can comprise:
Transmitting element is used for sending the request of obtaining nas server IP address and catalogue to target DVR; Receiving element is used for the nas server IP address of carrying promising its service that receiving target DVR returns and the response of catalogue.
With the application model of mapping relations stored configuration at network side server, monitor client 1 can also comprise for monitor client 1:
Sending module is used for sending to the network side data storehouse ID of described target DVR;
Receiver module is used to receive nas server IP address and the catalogue returned in the network side data storehouse.
Described sending module can also be used for: the mapping relations of ID, nas server IP address and the catalogue of the DVR that monitor client 1 is formed send to the network side data storehouse, afterwards, store the mapping relations of ID, nas server IP address and the catalogue of described DVR in the network side data storehouse.
The monitor client of present embodiment; pattern for DVR video recording, nas server storage; when the video file playback, need not visit DVR; can be according to ID, the IP address of nas server and the mapping relations of catalogue of the DVR that disposes; find nas server corresponding and catalogue, directly visit described nas server, from described catalogue, select video file to carry out playback with DVR; when monitor client can't connect DVR, ensured the normal playback of video file.
Embodiment three
Present embodiment provides a kind of digital hard disc video recorder, as shown in Figure 6, comprises receiver module 11 and returns module 22.
Receiver module 11 is used to receive the request of obtaining nas server IP address and catalogue that monitor client sends;
Returning module 22 is used for returning the nas server IP address of carrying promising described digital hard disc video recorder service and the response of catalogue to monitor client, so that monitor client disposes the ID of described digital hard disc video recorder, the IP address of nas server and the mapping relations of catalogue, make described monitor client be connected to corresponding nas server, and the video file of selecting from the described catalogue of described nas server is play by described IP address.
Because the digital hard disc video recorder of present embodiment; record a video for DVR; the pattern of nas server storage; be connected just often with DVR at monitor client; be retrieved as the nas server IP address of DVR service and the request of catalogue by the response monitoring client; nas server IP address and catalogue are returned to monitor client; make monitor client when the video file playback, need not visit DVR; ID according to the DVR that disposes; the IP address of nas server and the mapping relations of catalogue; find nas server corresponding and catalogue with DVR; directly visit described nas server; from described catalogue, select video file to carry out playback; when monitor client can't connect DVR, ensured the normal playback of video file.
Because embodiment two, embodiment three are more to the similar content of embodiment one, that therefore describes is simpler, and relevant part sees also embodiment one.
Need to prove, in this article, relational terms such as first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or in proper order between these entities or the operation.And term " comprises ",
" comprise " or its any other variant is intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Do not having under the situation of more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (9)

1. a video recording playback method is characterized in that, the mapping relations of sign ID, network attached storage nas server IP address and the catalogue of configuration digital hard disc video recorder DVR; Described method comprises:
According to described mapping relations, search nas server IP address and the catalogue corresponding with the ID of target DVR;
Be connected to corresponding nas server by described IP address, and the video file of selecting from the described catalogue of described nas server is play.
2. the method for claim 1 is characterized in that, before described configuration mapping relations, also comprises: monitor client obtains nas server IP address and catalogue from target DVR after connecting with target DVR.
3. method as claimed in claim 2 is characterized in that, describedly obtains nas server IP address and catalogue specifically comprises from target DVR:
Monitor client sends the request of obtaining nas server IP address and catalogue to target DVR;
Target DVR returns the nas server IP address of carrying promising its service and the response of catalogue.
4. as each described method of claim 1-3, it is characterized in that, describedly be connected to corresponding nas server by the IP address and specifically comprise:
Monitor client is by the path of the above catalogue of nas server of the described IP of mapping network driver carry address.
5. a monitor client is characterized in that, comprising:
Configuration module is used to dispose the mapping relations of sign ID, network attached storage nas server IP address and the catalogue of digital hard disc video recorder DVR;
Retrieval module is used for according to described mapping relations, searches nas server IP address and the catalogue corresponding with the ID of target DVR;
Link block is used for being connected to corresponding nas server by described IP address;
Playing module is used for the video file of selecting from the described catalogue of described nas server is play.
6. monitor client as claimed in claim 5 is characterized in that, described monitor client also comprises: acquisition module is used for obtaining nas server IP address and catalogue from target DVR after described monitor client and target DVR connect.
7. monitor client as claimed in claim 6 is characterized in that, described acquisition module comprises:
Transmitting element is used for sending the request of obtaining nas server IP address and catalogue to target DVR;
Receiving element is used for the nas server IP address of carrying promising its service that receiving target DVR returns and the response of catalogue.
8. as each described monitor client of claim 5-7, it is characterized in that described link block comprises the network mapping actuator unit, be used for path by the above catalogue of nas server of the described IP of mapping network driver carry address.
9. a digital hard disc video recorder is characterized in that, comprising:
Receiver module is used to receive the request of obtaining network attached storage nas server IP address and catalogue that monitor client sends;
Return module, be used for returning the nas server IP address of carrying promising described digital hard disc video recorder service and the response of catalogue to monitor client, so that monitor client disposes the sign ID of described digital hard disc video recorder, the IP address of network attached storage nas server and the mapping relations of catalogue, make described monitor client be connected to corresponding nas server, and the video file of selecting from the described catalogue of described nas server is play by described IP address.
CN 201010179330 2010-05-20 2010-05-20 Video playback method, monitoring client and digital hard disk video recorder Pending CN101873463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010179330 CN101873463A (en) 2010-05-20 2010-05-20 Video playback method, monitoring client and digital hard disk video recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010179330 CN101873463A (en) 2010-05-20 2010-05-20 Video playback method, monitoring client and digital hard disk video recorder

Publications (1)

Publication Number Publication Date
CN101873463A true CN101873463A (en) 2010-10-27

Family

ID=42998090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010179330 Pending CN101873463A (en) 2010-05-20 2010-05-20 Video playback method, monitoring client and digital hard disk video recorder

Country Status (1)

Country Link
CN (1) CN101873463A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506386A (en) * 2017-07-26 2017-12-22 深圳市大迈科技有限公司 A kind of data aggregation method based on NAS, device, terminal device and storage medium
CN107872530A (en) * 2017-11-23 2018-04-03 郑州云海信息技术有限公司 A kind of NAS service access systems, method and device
CN109245998A (en) * 2018-10-09 2019-01-18 郑州云海信息技术有限公司 A kind of method, system and associated component accessing NAS
CN112019797A (en) * 2019-05-30 2020-12-01 广州云积软件技术有限公司 National education examination video cloud storage system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237571A (en) * 2008-03-03 2008-08-06 杭州华三通信技术有限公司 A video coding storage method and device in monitoring system
CN101395559A (en) * 2006-03-01 2009-03-25 Tivo有限公司 Recommended recording and downloading guides

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395559A (en) * 2006-03-01 2009-03-25 Tivo有限公司 Recommended recording and downloading guides
CN101237571A (en) * 2008-03-03 2008-08-06 杭州华三通信技术有限公司 A video coding storage method and device in monitoring system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506386A (en) * 2017-07-26 2017-12-22 深圳市大迈科技有限公司 A kind of data aggregation method based on NAS, device, terminal device and storage medium
CN107506386B (en) * 2017-07-26 2020-03-27 深圳市大迈科技有限公司 Data aggregation method and device based on NAS, terminal equipment and storage medium
CN107872530A (en) * 2017-11-23 2018-04-03 郑州云海信息技术有限公司 A kind of NAS service access systems, method and device
CN109245998A (en) * 2018-10-09 2019-01-18 郑州云海信息技术有限公司 A kind of method, system and associated component accessing NAS
CN112019797A (en) * 2019-05-30 2020-12-01 广州云积软件技术有限公司 National education examination video cloud storage system
CN112019797B (en) * 2019-05-30 2022-05-24 广州云积软件技术有限公司 National education examination video cloud storage system

Similar Documents

Publication Publication Date Title
CN101877783B (en) Network video recorder clustering video monitoring system and method
US9781486B2 (en) RS-DVR systems and methods for unavailable bitrate signaling and edge recording
CN100556114C (en) A kind of method of media slicing storage
CN101472166B (en) Method for caching and enquiring content as well as point-to-point medium transmission system
CN105893459A (en) Media content playback system and method
CN104581406A (en) Network video recording and playback system and method
CN103037203B (en) A kind of index restoration methods based on block storage and device
CN101221801B (en) Player and playing method
CN103430567B (en) Distributed recording of content
US8819205B2 (en) Content transfer system, content transfer method and home server
CN103929609A (en) Video replaying method and device
CN101729272B (en) Method, system and device for content distribution, and media server
CN102298547A (en) Data backup method and device
CN109600410A (en) Data-storage system and method
CN102346737A (en) Sharing method and device for hardware equipment driving program
CN103020236B (en) A kind of video record search method, system and distributed data base system
CN109669622A (en) A kind of file management method, document management apparatus, electronic equipment and storage medium
CN101873463A (en) Video playback method, monitoring client and digital hard disk video recorder
CN105893458A (en) Media content playback system and method
CN100504852C (en) Method and system for connecting system DVD disc to relative web site
CN109669621A (en) A kind of file management method, file management system, electronic equipment and storage medium
CN101707684B (en) Method, device and system for dispatching Cache
CN202276424U (en) Monitor centralized storing system
CN103106246A (en) Memory space management method of distributed file system and system
CN101604542B (en) Replay device

Legal Events

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

Application publication date: 20101027