CN103002264B - Realize the method for video recording section, client device and server device - Google Patents

Realize the method for video recording section, client device and server device Download PDF

Info

Publication number
CN103002264B
CN103002264B CN201210387624.4A CN201210387624A CN103002264B CN 103002264 B CN103002264 B CN 103002264B CN 201210387624 A CN201210387624 A CN 201210387624A CN 103002264 B CN103002264 B CN 103002264B
Authority
CN
China
Prior art keywords
time series
section time
client device
section
server device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210387624.4A
Other languages
Chinese (zh)
Other versions
CN103002264A (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 Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201210387624.4A priority Critical patent/CN103002264B/en
Publication of CN103002264A publication Critical patent/CN103002264A/en
Application granted granted Critical
Publication of CN103002264B publication Critical patent/CN103002264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The present invention provides a kind of and realizes the method for video recording section, client device and server device, belongs to field of video monitoring. Described method includes: client device sends the PLAY message of real time streaming transport protocol to server device, described PLAY message carries section time series, obtain corresponding I frame sequence for described server device, and described I frame sequence is handed down to described client device; Described I frame sequence is decoded by described client device, generates the sequence of pictures corresponding with described section time series. The present invention can improve the accuracy of video recording section, and promotes the speed of video recording section.

Description

Realize the method for video recording section, client device and server device
Technical field
The present invention relates to field of video monitoring, particularly relate to a kind of method of realization video recording section, client device and server device in video monitoring system.
Background technology
In the middle of video surveillance applications, recording a video from magnanimity, valuable video recording is carried out searching and be always up a difficult problem, also have many coping strategys for this problem, such as, video recording preview, video recording section, segmentation playback, alarm gang video recording etc.
Wherein video recording section is to be extracted by the picture of a series of material time points in video recording, shows user; User passes through these pictures, and whole section of video recording has general understanding it is known that what the relevant position point of video recording all there occurs. Video recording section usually combines with alarm linkage, and this is quite effective for picking up scent fast and accurately.
For example: larceny case together occurred yesterday, monitoring system has the video record of one day yesterday, but there occurs 10 alarm linkages yesterday altogether, in these alarms, only one of which is that burglar triggers, other alarm is that oneself security personnel triggers when going on patrol. Can according to alarm section, moment picture when these 10 times alarms being occurred rapidly cuts out, and shows user, so will find the clue of burglar within the very fast time.
Fig. 1 is the process schematic realizing video recording section of prior art, and in Fig. 1, data management server (DM) is server device, and universal media player (XP) and user interface (UI) are client device. DM is responsible for the business such as the management of video recording, maintenance, on-demand playback in video monitoring system; XP is responsible for a series of work relevant to media play such as the decoding of video image in video monitoring system; UI is responsible for accepting the operation of user in video monitoring system, and presents the result of operation to user.
With reference to Fig. 1, the main process of the method for existing realization video recording section includes: first setting up a road playback, this playback is set up with playing (PLAY) message by setting (SETUP) message of real time streaming transport protocol (RTSP); Then playback is taken time out to by time-out (PAUSE) message of RTSP; Issue drag and drop (DRAGPLAY) message of RTSP according still further to section time point, playback is dragged and dropped into corresponding time point;Now DM will issue the I frame data of this time point to XP; The I frame data of this time point are decoded by XP, and after successfully decoded, notice UI obtains this picture by capturing; After UI gets picture, again issue the information of next time point, the like, until getting the picture of all time points.
The existing method realizing video recording section at least has a disadvantage in that
1 once network condition is poor, or RTSP pressure is bigger, it may appear that the situation that chip rate is slow, now easilys lead to section and makes mistakes. Because after UI sends a DRAGPLAY, having spent the time of time-out, and picture does not switch to, UI will again issue DRAGPLAY and go to obtain next pictures. If now picture comes, it is difficult to judge that this picture is the picture of current picture or last time.
2, chip rate is slow, if needing to cut out 100 pictures, it is necessary between UI and DM mutual 100 times back and forth, and efficiency is poor.
Summary of the invention
In view of this, it is an object of the invention to provide and a kind of realize the method for video recording section, client device and server device, to improve the accuracy of video recording section, and promote the speed that video recording is cut into slices.
For achieving the above object, the present invention provides technical scheme as follows:
A kind of method realizing video recording section, is applied to include in the video monitoring system of server device and client device, and described method includes:
Client device sends the PLAY message of real time streaming transport protocol to server device, carries section time series in described PLAY message, obtains corresponding I frame sequence for described server device, and described I frame sequence is handed down to described client device;
Described I frame sequence is decoded by described client device, generates the sequence of pictures corresponding with described section time series.
A kind of method realizing video recording section, is applied to include in the video monitoring system of server device and client device, and described method includes:
Server device receives the PLAY message of the real time streaming transport protocol that client device sends, and carries section time series in described PLAY message;
Server device obtains the I frame sequence corresponding with described section time series, and described I frame sequence is handed down to described client device, for described client device, described I frame sequence is decoded, generates the sequence of pictures corresponding with described section time series.
A kind of client device, is applied in video monitoring system, including:
First sending module, the server device of PLAY message to video monitoring system for sending real time streaming transport protocol, described PLAY message carries section time series, obtains corresponding I frame sequence for described server device, and described I frame sequence is handed down to described client device;
Second receiver module, is used for receiving described I frame sequence;
Decoder module, for described I frame sequence is decoded, generates the sequence of pictures corresponding with described section time series.
A kind of server device, is applied in video monitoring system, including:
First receiver module, the PLAY message of the real time streaming transport protocol that the client device for receiving video monitoring system sends, described PLAY message carries section time series;
Acquisition module, for obtaining the I frame sequence corresponding with described section time series;
Second sending module, for described I frame sequence is handed down to described client device, after described I frame sequence being decoded for described client device, generates the sequence of pictures corresponding with described section time series.
Compared with prior art, the present invention by adding time serial message in the PLAY message of RTSP, it is possible to once obtains all pictures corresponding with described time series such that it is able to improves the accuracy of video recording section, and promotes the speed of video recording section.
Accompanying drawing explanation
Fig. 1 is the process schematic realizing video recording section of prior art;
Fig. 2 is the method flow diagram realizing video recording section of the embodiment of the present invention;
Fig. 3 is the I frame sequence exemplary plot of the embodiment of the present invention;
Fig. 4 is the sequence of pictures exemplary plot of the embodiment of the present invention;
Fig. 5 is the system construction drawing realizing video recording section of the embodiment of the present invention.
Detailed description of the invention
Describe the present invention below in conjunction with accompanying drawing.
Fig. 2 is the method flow diagram realizing video recording section of the embodiment of the present invention, and described method is applied to include in the video monitoring system of server device and client device. With reference to Fig. 2, described method may include steps of:
Step 201, client device sends the PLAY message of real time streaming transport protocol (RTSP) to server device, carries section time series in described PLAY message;
When needs carry out video recording section, first client device obtains the time series of video recording section, and described section time series is made up of multiple section time points, for instance, it is possible to obtain described section time series according to alarm time point; Then, the PLAY message of RTSP is constructed, it is possible to the extended field in PALY message increases described section time series; Finally the PLAY message of described RTSP is sent to server device.
For example, it is possible to increase time serial message of cutting into slices as follows in the extended field of PLAY message:
Time (0): 20120512123230 (representing 32 points 30 seconds during 12 days 12 May in 2012, similar below)
Time (1): 20120512123330
Time (2): 20120512123430
Time (3): 20120512123530
Time (4): 20120512123630
Step 202, after server device receives the PLAY message of the RTSP that client device sends, according to the section time series carried in described PLAY message, obtain the I frame sequence corresponding with described section time series, and described I frame sequence is handed down to described client device;
After server device receives PLAY message, owing to the extended field of PLAY message carrying section time serial message, what then may determine that this PLAY message request is video recording section, rather than common on-demand playback, then according to described section seasonal effect in time series information, corresponding I frame sequence is found, as shown in Figure 3 in the storage device of video monitoring system.
Wherein, I frame 0 is the I frame data that section time point Time (0) is corresponding, I frame 1 is the I frame data that section time point Time (1) is corresponding, ..., I frame n is the I frame data that section time point Time (n) is corresponding, and n+1 is section time point quantity included in section time series.
In this step, if server device can not find the I frame data of some section time point in section time series, it is possible to take nearby principle, one is looked for substitute apart from the I frame data that this section time point is nearest. This situation mainly appears on Video data disappearance, or, certain time period does not record a video.
Step 203, described I frame sequence is decoded, generates the sequence of pictures corresponding with described section time series after receiving the I frame sequence that server device sends by described client device.
For example, it is possible to generate sequence of pictures as shown in Figure 4.
Wherein, picture 0 is the picture that section time point Time (0) is corresponding, and picture 1 is the picture that section time point Time (1) is corresponding ..., picture n is the picture that section time point Time (n) is corresponding.
Generating outside the sequence of pictures corresponding with described section time series, the method realizing video recording section of the embodiment of the present invention can also include described sequence of pictures is showed user, for instance, show user by user interface (UI).
Said method according to embodiments of the present invention, by adding section time serial message in the PLAY message of RSTP, mutual just few between client device and server device, owing to being that batch is mutual, the speed of video recording section is faster; Once the drag and drop time point problem that do not go up corresponding to the picture finally provided is not had, such that it is able to improve the accuracy of video recording section due to only mutual.
Additionally; in the prior art; server device is after the request that receives carries out the PLAY message cut into slices; think that client is in playback; still normal cache (on-demand playback needs buffer memory to add the speed of fast-response) can be carried out, and it practice, section is it is not necessary that carry out buffer memory; because the time point of section is usually discrete, thus wasting the resource of server device. And in above-mentioned steps 202, what server device determined PLAY message request is video recording section, rather than common on-demand playback, then, do not carry out the buffer memory played back, thus having saved the resource of server device.
Further, consideration from compatible aspect, some server device (RTSP server) not can recognise that the PLAY message carrying above-mentioned extended field, after issuing PLAY message to this server, because extended field is not resolved, mistake will be returned, now, client device according to the error message returned, can be cut into slices according to section protocol of the prior art. So every server device being capable of identify that extended field can carry out high efficiency video recording section, and the server not recognizing this extended field nor affects on its section function, although inefficient is a bit.
Fig. 5 is the system construction drawing realizing video recording section of the embodiment of the present invention. With reference to Fig. 5, the system of described realization video recording section can include client device 10 and server device 20, and wherein, described client device 10 may include that
First sending module 11, for sending the PLAY message of real time streaming transport protocol to server device 20, described PLAY message carries section time series, obtains the I frame sequence of correspondence for described server device 20, and described I frame sequence is handed down to described client device 10;
Second receiver module 12, is used for receiving described I frame sequence;
Decoder module 13, for described I frame sequence is decoded, generates the sequence of pictures corresponding with described section time series.
Alternatively, described family end equipment 10 also includes subscriber interface module (not shown), for described sequence of pictures is shown.
Described server device 20 may include that
First receiver module 21, for receiving the PLAY message of the real time streaming transport protocol that client device 10 sends, carries section time series in described PLAY message;
Acquisition module 22, for obtaining the I frame sequence corresponding with described section time series;
Second sending module 23, for described I frame sequence is handed down to described client device 10, after described I frame sequence being decoded for described client device 10, generates the sequence of pictures corresponding with described section time series.
Wherein, if described acquisition module 22 can not find in described section time series the I frame data of some section time point, then look for one apart from this section time point nearest I frame data I frame data as this section time point.
Wherein, described section time series can be carried by the extended field of described PLAY message.
In above-mentioned video monitoring system, server device 20 can be for data management server (DM), and client device 10 can include universal media player (XP) and user interface (UI) equipment.
In sum, the embodiment of the present invention by adding time serial message in the PLAY message of RTSP, it is possible to once obtains all pictures corresponding with described time series such that it is able to improves the accuracy of video recording section, and promotes the speed of video recording section.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within the scope of protection of the invention.

Claims (10)

1. the method realizing video recording section, is applied to include in the video monitoring system of server device and client device, it is characterised in that described method includes:
Client device obtains the section time series of video recording section, and described section time series is made up of multiple section time points;
Described client device sends the PLAY message of real time streaming transport protocol to server device, described PLAY message is carried described section time series, obtain the I frame sequence corresponding with described section time series for described server device, and described I frame sequence is handed down to described client device;
Described I frame sequence is decoded by described client device, generates the sequence of pictures corresponding with described section time series.
2. the method for claim 1, it is characterised in that:
Described section time series is carried by the extended field of described PLAY message.
3. the method realizing video recording section, is applied to include in the video monitoring system of server device and client device, it is characterised in that described method includes:
Server device receives the PLAY message of the real time streaming transport protocol that client device sends, described PLAY message carries section time series, described section time series is the time series of the video recording section obtained by described client device, and described section time series is made up of multiple section time points;
Server device obtains the I frame sequence corresponding with described section time series, and described I frame sequence is handed down to described client device, for described client device, described I frame sequence is decoded, generates the sequence of pictures corresponding with described section time series.
4. method as claimed in claim 3, it is characterised in that described server device obtains the I frame sequence corresponding with described section time series, farther includes:
If server device can not find in described section time series the I frame data of some section time point, then look for one apart from this section time point nearest I frame data I frame data as this section time point.
5. method as claimed in claim 3, it is characterised in that:
Described section time series is carried by the extended field of described PLAY message.
6. a client device, is applied in video monitoring system, it is characterised in that including:
Acquisition module, for obtaining the section time series of video recording section, described section time series is made up of multiple section time points;
First sending module, the server device of PLAY message to video monitoring system for sending real time streaming transport protocol, described PLAY message is carried described section time series, obtain the I frame sequence corresponding with described section time series for described server device, and described I frame sequence is handed down to described client device;
Second receiver module, is used for receiving described I frame sequence;
Decoder module, for described I frame sequence is decoded, generates the sequence of pictures corresponding with described section time series.
7. client device as claimed in claim 6, it is characterised in that:
Described section time series is carried by the extended field of described PLAY message.
8. a server device, is applied in video monitoring system, it is characterised in that including:
First receiver module, the PLAY message of the real time streaming transport protocol that the client device for receiving video monitoring system sends, described PLAY message carries section time series, described section time series is the time series of the video recording section obtained by described client device, and described section time series is made up of multiple section time points;
Acquisition module, for obtaining the I frame sequence corresponding with described section time series;
Second sending module, for described I frame sequence is handed down to described client device, after described I frame sequence being decoded for described client device, generates the sequence of pictures corresponding with described section time series.
9. server device as claimed in claim 8, it is characterised in that described acquisition module is further used for:
If can not find in described section time series the I frame data of some section time point, then look for one apart from this section time point nearest I frame data I frame data as this section time point.
10. server device as claimed in claim 8, it is characterised in that:
Described section time series is carried by the extended field of described PLAY message.
CN201210387624.4A 2012-10-12 2012-10-12 Realize the method for video recording section, client device and server device Active CN103002264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210387624.4A CN103002264B (en) 2012-10-12 2012-10-12 Realize the method for video recording section, client device and server device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210387624.4A CN103002264B (en) 2012-10-12 2012-10-12 Realize the method for video recording section, client device and server device

Publications (2)

Publication Number Publication Date
CN103002264A CN103002264A (en) 2013-03-27
CN103002264B true CN103002264B (en) 2016-06-08

Family

ID=47930336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210387624.4A Active CN103002264B (en) 2012-10-12 2012-10-12 Realize the method for video recording section, client device and server device

Country Status (1)

Country Link
CN (1) CN103002264B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986978A (en) * 2014-04-14 2014-08-13 曦威胜科技开发(深圳)有限公司 Method for achieving functions of fast forward, fast backward and accurate Seek in HLS protocol in expanding mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587278A2 (en) * 2004-04-16 2005-10-19 UTStarcom, Inc. Method and apparatus for a loosely coupled, scalable distributed multimedia streaming system
CN101193273A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 A storage and playing method for real time multimedia image information
CN101227602A (en) * 2007-01-18 2008-07-23 中兴通讯股份有限公司 File storing method and file playing method
CN101431666A (en) * 2008-07-18 2009-05-13 北京网新中广科技发展有限责任公司 Remote fast browsing method and system for monitoring video
CN102663005A (en) * 2012-03-19 2012-09-12 杭州海康威视系统技术有限公司 Mass video file storage system based on cloud computation, analysis method and system thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626507B (en) * 2008-07-07 2012-07-18 华为技术有限公司 Method, device and system for identifying frame type of RTP package
CN101917389B (en) * 2009-12-17 2013-11-06 新奥特(北京)视频技术有限公司 Network television direct broadcasting system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587278A2 (en) * 2004-04-16 2005-10-19 UTStarcom, Inc. Method and apparatus for a loosely coupled, scalable distributed multimedia streaming system
CN101193273A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 A storage and playing method for real time multimedia image information
CN101227602A (en) * 2007-01-18 2008-07-23 中兴通讯股份有限公司 File storing method and file playing method
CN101431666A (en) * 2008-07-18 2009-05-13 北京网新中广科技发展有限责任公司 Remote fast browsing method and system for monitoring video
CN102663005A (en) * 2012-03-19 2012-09-12 杭州海康威视系统技术有限公司 Mass video file storage system based on cloud computation, analysis method and system thereof

Also Published As

Publication number Publication date
CN103002264A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN102819528B (en) The method and apparatus generating video frequency abstract
CN104137553B (en) System for managing video
CN104077341B (en) The method and apparatus that keyword automatically replies mapping relations is generated in instant messaging
CN101420452A (en) Video file publishing method and device
US10951929B2 (en) Execution of cases based on barcodes in video feeds
CN104516892A (en) Distribution method, system and terminal of user generated content associated with rich media information
CN102204248B (en) Video data processing method, video image displaying method and device thereof
CN103095700A (en) Electronic data forensics system and forensics control method based on virtual desktop
CN104283729A (en) Kinescope recording system and working method thereof
US10341290B2 (en) Method and system for presenting recommendation information
CN108932254A (en) A kind of detection method of similar video, equipment, system and storage medium
CN104978352B (en) The method and client of information processing
CN103002264B (en) Realize the method for video recording section, client device and server device
CN101753988B (en) Alarming filter method in a video monitoring system, system and central platform server
CN113473166A (en) Data storage system and method
US9852031B2 (en) Computer system and method of identifying a failure
CN108255868B (en) Method and device for checking links in website
CN106998436A (en) Video recording backup method and device
CN103577410A (en) Massive video integrated processing system
CN102270228B (en) Video search method, front-end equipment and rear-end server
CN103107991B (en) A kind of many NVT event-handling method, NVC and safety monitoring platform
CN104317805A (en) Popup picture library updating method, popup picture library updating device and popup picture library updating system
CN104735442A (en) Network video recording fault positioning system and method based on duration analysis and global eye platform
CN104581002A (en) Intelligent video positioning method
KR102433744B1 (en) A method and apparatus for integrated control through linkage of video collection device and analysis 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
C14 Grant of patent or utility model
GR01 Patent grant