CN110266987A - Passive type kinescope method and computer readable storage medium - Google Patents
Passive type kinescope method and computer readable storage medium Download PDFInfo
- Publication number
- CN110266987A CN110266987A CN201910675571.8A CN201910675571A CN110266987A CN 110266987 A CN110266987 A CN 110266987A CN 201910675571 A CN201910675571 A CN 201910675571A CN 110266987 A CN110266987 A CN 110266987A
- Authority
- CN
- China
- Prior art keywords
- video
- time
- monitoring apparatus
- passive
- service 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6405—Multicasting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Closed-Circuit Television Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a kind of passive type kinescope method and computer readable storage medium, method includes: to be associated video monitoring apparatus and passive recording service device;Central platform receives client or the real-time video of decoder transmission checks request, and the real-time video is checked that request is sent to corresponding video monitoring apparatus;Real time video data is sent to corresponding Streaming Media forwarding server by video monitoring apparatus;The real time video data received is back to client or decoder by Streaming Media forwarding server, while being distributed to the corresponding passive recording service device of video monitoring apparatus;Real time video data is saved as the video file of at least one according to preset video file duration by passive recording service device, and records each video file corresponding video time started and video end time.The present invention can solve the problems, such as that video flowing repeats to transmit.
Description
Technical field
The present invention relates to technical field of video monitoring more particularly to a kind of passive type kinescope method and computer-readable storages
Medium.
Background technique
Traditional video surveillance field, video recording are that the subsequent on-site supervision video recording that carries out is analyzed, the important evidence that event is called to account.It is logical
Video monitoring apparatus in constant mesh can all require record a video within 24 hours in systems, and storage time is according to monitoring device portion
The significance level of position is affixed one's name to, saves 3 months, 6 months and differs.But in the special industry scene of part, such as: transmission of electricity industry, depending on
Frequency monitoring device is mounted on very remote mountain, and monitoring device is linked into plateform system by mobile network (3G/4G/5G)
In, if record a video within 24 hours in central platform, the bandwidth of expensive mobile communication expense and high request is needed, then item
Mesh will be unable to normally implement.Therefore in project, it will usually in video monitoring apparatus, storage device be installed, when equipment is in work
When state, the video recording storage of video is just locally carried out in video monitoring apparatus.When needing to inquire some video monitoring apparatus section
It when video recording in the time, needs from video-unit, Video data is transmitted back to watch if necessary to repeat by mobile network
The video recording of this section needs mobile network's repetition to be transmitted back to Video data to come;In addition in system, the reality of some video-unit is checked
When video when, video-unit real time video data can be transmitted back to come, if find this process video content needs reanalyse
Or save, then it repeats to transmit from video-unit by video recording query function again.This process will will lead to video-unit flow
Waste and whole system bandwidth load increase, especially for major natural disasters occur when, be transferred to from video-unit
Data in platform be it is very valuable, duplicate transmission will waste time and bandwidth, or even will affect to the accurate of the condition of a disaster
Quickly processing.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of passive type kinescope method and computer-readable storage medium
Matter can solve the problems, such as that video flowing repeats to transmit.
In order to solve the above-mentioned technical problem, a kind of the technical solution adopted by the present invention are as follows: passive type kinescope method, comprising:
When a video monitoring apparatus opens passive recording function, a video monitoring apparatus and a passive video recording are taken
Business device is associated;
Central platform receives client or the real-time video of decoder transmission checks request, and the video on-demand request includes
Video-unit number;
The real-time video is checked that request is sent to the video-unit and numbers corresponding video monitoring dress by central platform
It sets;
Real time video data is sent to corresponding Streaming Media forwarding server by the video monitoring apparatus;
The real time video data received is back to the client or decoder by the Streaming Media forwarding server, together
When be distributed to the corresponding passive recording service device of the video monitoring apparatus;
The passive recording service device saves as the real time video data at least according to preset video file duration
One video file, and record each video file corresponding video time started and video end time.
The invention further relates to a kind of computer readable storage mediums, are stored thereon with computer program, and described program is located
Reason device realizes step as described above when executing.
The beneficial effects of the present invention are: by saving user to the video data that video monitoring apparatus is requested to passive
In recording service device, and record corresponding video time started and video end time, it is ensured that as long as user is requested
Real-time video or order video, when requesting the video of the corresponding time range of corresponding video monitoring apparatus next time, without by regarding
Frequency monitoring device repeats transmission, guarantees that video monitoring apparatus can be made full use of to be transmitted back to the video data come.The present invention can solve
Certainly existing active videoing skill needs to continue to request video data to video monitoring apparatus when being recorded a video, video bandwidth,
The problem of video flow, live continued power are unable to satisfy demand, reduces the flow and electric flux of head end video monitoring device
Consumption, optimize front end access bandwidth load.
Detailed description of the invention
Fig. 1 is a kind of flow chart of passive type kinescope method of the invention;
Fig. 2 is the flow chart that the real-time video of the embodiment of the present invention one is passively recorded a video;
Fig. 3 is the flow chart that the order video of the embodiment of the present invention one is passively recorded a video.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained in detail.
As long as the most critical design of the present invention is: the requested real-time video or order video of user can all be stored in by
It, can be directly from passive record if the video data of subsequent request has storage in passive recording service device in dynamic recording service device
As being obtained in server, without requesting video monitoring apparatus.
Referring to Fig. 1, a kind of passive type kinescope method, comprising:
When a video monitoring apparatus opens passive recording function, a video monitoring apparatus and a passive video recording are taken
Business device is associated;
Central platform receives client or the real-time video of decoder transmission checks request, and the video on-demand request includes
Video-unit number;
The real-time video is checked that request is sent to the video-unit and numbers corresponding video monitoring dress by central platform
It sets;
Real time video data is sent to corresponding Streaming Media forwarding server by the video monitoring apparatus;
The real time video data received is back to the client or decoder by the Streaming Media forwarding server, together
When be distributed to the corresponding passive recording service device of the video monitoring apparatus;
The passive recording service device saves as the real time video data at least according to preset video file duration
One video file, and record each video file corresponding video time started and video end time.
As can be seen from the above description, the beneficial effects of the present invention are: it can solve the problems, such as that video flowing repeats to transmit, reduce
The consumption of the flow and electric flux of head end video monitoring device optimizes the load of front end access bandwidth.
Further, further includes:
The query video request that central platform receives client or decoder is sent, the query video request includes video
Device number, inquiry time started and poll-final time;
Central platform numbers corresponding video monitoring apparatus and its corresponding passive recording service device to the video-unit
The video data in the inquiry time started and poll-final time range is inquired, it is corresponding to obtain the query video request
The storage location of video data;
Central platform by the query video request corresponding video data storage location be back to the client or
Decoder.
Seen from the above description, by inquire designated time period video data storage location, facilitate subsequent user into
Row program request.
Further, further includes:
The video on-demand request that central platform receives client or decoder is sent, the video on-demand request includes video
Device number and video time point;
Central platform judges that the video-unit is numbered and whether is stored with video recording text in corresponding passive recording service device
Part, the video time point were within the video time started and video end time of a video file;
If it exists, then by video time point described in a video file and the video after video time point
Data are sent to the client or decoder by Streaming Media forwarding server;
If it does not exist, then the video-unit numbers corresponding video monitoring apparatus for the video time point and described
Order video data after video time point are sent to corresponding Streaming Media forwarding server;
The order video data are back to the client or decoder, same time-division by the Streaming Media forwarding server
It is sent to the corresponding passive recording service device of the video monitoring apparatus;
The passive recording service device saves as the order video data at least according to preset video file duration
One video file, and record each video file corresponding video time started and video end time.
Seen from the above description, it is saved by the order video for requesting user into passive recording service device, when subsequent
When user requests the video data of program request same period, can directly it be obtained from passive recording service device.It can solve in video
When monitoring device end is recorded a video, the video recording of the multiple program request of video same period needs video-unit to repeat the problem of transmitting;
It can also solve having access in video-unit real-time video time range, if needing to check the video data of this time range again
When, need video-unit to repeat the problem of transmitting.
Further, described will be after video time point described in a video file and video time point
After video data is sent to the client or decoder by Streaming Media forwarding server, further comprise:
After video data after the video time point described in the video file is sent, then returns and sent
Complete message is to the client or decoder.
Seen from the above description, after client or decoder receive the message being sent, can be according to strategy decision
It is no to continue to request order video.
Further, further includes:
If the video length in described two video files is respectively less than there are two video files in passive recording service device
The preset video file duration, and the video time started of the video end time of a video file and another video file
Unanimously, then described two video files are merged according to the time;
If the video length in video file after merging is more than preset video file duration, according to the video recording text
Part duration divides the video file after merging.
Seen from the above description, it is stored by the merging to video file, optimizes video data in passive recording service device
In storage mode.
Further, described when a video monitoring apparatus opens passive recording function, by a video monitoring apparatus
It is associated with a passive recording service device specifically:
Respectively each unique passive video recording number of passive recording service device distribution;
Respectively each video monitoring apparatus distributes unique video-unit number;
When a video monitoring apparatus opens passive recording function, for the passively video recording of video monitoring apparatus configuration one
Server, and the video-unit of video monitoring apparatus number and the passive video recording of described one passive recording service device are compiled
It number is associated.
Seen from the above description, by configuring passive recording service device for video monitoring apparatus, it may be determined that the video monitoring
The passive recording service device that the video data of device is stored.
Further, the real-time video is checked that request is sent to the video-unit number and corresponds to by the central platform
Video monitoring apparatus specifically:
Central platform judges whether the video-unit numbers corresponding video monitoring apparatus online;
If not online, central platform return not online message to the client or decoder;
If online, the real-time video is checked that request is sent to the video-unit and numbers corresponding view by central platform
Frequency monitoring device and the corresponding Streaming Media forwarding server of the video monitoring apparatus;
Streaming Media forwarding server passive recording service device corresponding with the video monitoring apparatus establishes transmission of video company
It connects.
Seen from the above description, Streaming Media forwarding server first establishes transmission of video with passive recording service device and connect,
Video data passive recording service device is distributed to convenient for subsequent Streaming Media forwarding server to save.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, and described program is located
Reason device realizes step as described above when executing.
Embodiment one
Referring to figure 2. -3, the embodiment of the present invention one are as follows: a kind of passive type kinescope method can be applied to video monitoring system
System.This method is based on passive type and records a video framework, and the framework includes that central platform, passive recording service device (are deployed with passive record
As the server of module, passive picture recording module is configured with storage equipment), Streaming Media forwarding server and video monitoring apparatus, in
Heart platform is connect with passive recording service device, Streaming Media forwarding server and video monitoring apparatus respectively, Streaming Media forwarding service
Device is connect with passive recording service device and video monitoring apparatus respectively;Optionally, may also include center vod server, it is described in
Heart vod server is connect with central platform, passive recording service device and video monitoring apparatus respectively.
Since the quantity of video monitoring apparatus may reach 100,000 ranks, passive recording service device, Streaming Media turn
The quantity of hair server and center vod server can have multiple, and more ground can be carried out according to the deployment range of video monitoring apparatus
Deployment.Video monitoring apparatus needs first to be registered on Streaming Media forwarding server, and the video monitoring apparatus is established after registration
With the incidence relation of the Streaming Media forwarding server, the subsequent video monitoring apparatus is sent to the video counts of client or decoder
It is carried out according to the Streaming Media forwarding server is all passed through.
Also, it can be respectively each unique passive video recording number (PMSUID) of passive recording service device distribution, can also distinguish
Unique video-unit, which is distributed, for each video monitoring apparatus numbers (GUID).When a video monitoring apparatus opens passive recording function
When, a passive recording service device is configured for a video monitoring apparatus, and by the video-unit of a video monitoring apparatus
The passive video recording number with described one passive recording service device is numbered to be associated.In the present embodiment, a passive recording service
Device can be associated with multiple video monitoring apparatus, but a video monitoring apparatus is only closed with a passive recording service device
Connection.
Further, the passive video recording of passive recording service device can be numbered and is associated with its IP address, and will association
Relationship is saved to central platform, subsequent to be verified according to the true and false of the incidence relation to passive recording service device, realizes mirror
The purpose of power.
Optionally, between video monitoring apparatus and central platform, by deployment VPN, or in itself in the same local area network
Inside, and allow multicast in network, video multicast address, institute is arranged for real-time video/recording order in video monitoring apparatus
There is the network equipment being added in multicast that can get video flowing, passive recording service device can also pass through monitoring group broadcasting address
Inside whether there is video flowing, is passively recorded a video.
This method mainly includes two parts, and respectively real-time video is passively recorded a video and order video is passively recorded a video, into one
Ground is walked, further includes the inquiry of video storage location before order video is passively recorded a video.Passive video recording in this method refers to
Passive recording service device does not go actively the video flowing of request video monitoring apparatus to be saved, but works as central platform or stream
There are the video flowings of video monitoring apparatus in media forwarding server, and the video monitoring apparatus is configured with passive recording function,
So passive recording service device can passively receive preservation video flowing.That is, as long as video flowing has, user is requested, then regarding
Frequency stream can be stored in passive recording service device, solve the problems, such as that video flowing repeats to transmit.
It is mainly comprised the steps that as shown in Fig. 2, real-time video is passively recorded a video
S101: central platform receives client or the real-time video of decoder transmission checks request, and the video on demand is asked
It asks and is numbered including video-unit.
S102: central platform judges whether the corresponding video monitoring apparatus of the video-unit number is online, if so, holding
Row step S104, if it is not, thening follow the steps S103.
S103: central platform return not online message to the client or decoder.
S104: the real-time video is checked that request is sent to the video-unit and numbers corresponding video prison by central platform
Control device;Further, the corresponding Streaming Media forwarding server of the video monitoring apparatus, Streaming Media forwarding service are also sent to
Device passive recording service device corresponding with the video monitoring apparatus establishes transmission of video connection.
S105: real time video data is sent to corresponding Streaming Media forwarding server by the video monitoring apparatus, until
It receives end and checks instruction.
S106: the real time video data received is back to the client or decoding by the Streaming Media forwarding server
Device, while being distributed to the corresponding passive recording service device of the video monitoring apparatus.
S107: the passive recording service device saves the real time video data according to preset video file duration
For the video file of at least one, and record each video file corresponding video time started and video end time.Such as fruit
When video data duration be no more than preset video file duration, then it is literary real time video data directly to be saved as video recording
Part carries out cutting to real time video data according to preset video file duration if being more than, and saves as different video recording texts
Part.
Preferably, a length of 10 minutes when the preset video file.For example, when receiving 10:00:00-10:15:00
Real time video data, then the real time video data of 10:00:00-10:10:00 saves as a video file, the video file
The video time started be 10:00:00, the video end time be 10:10:00;By the real-time video of 10:10:00-10:15:00
Data save as another video file, and the video time started of the video file is 10:10:00, and the video end time is 10:
15:00。
Further, it when client or desired when the checking of real-time video of end of decoder, then sends end and checks instruction
To central platform, central platform forwarding terminates to check instruction to the video monitoring apparatus, which can then stop
Real time video data is sent to the client or decoder by Streaming Media forwarding server.It include view in general video data
The frequency time, therefore passive recording service device can terminate according to the real time video data acquisition video time started received and video
Time.
The inquiry of video storage location includes the following steps:
Firstly, the query video request that central platform receives client or decoder is sent, the query video request packet
Include video-unit number, inquiry time started and poll-final time;
Then, central platform numbers corresponding video monitoring apparatus and its corresponding passive video recording clothes to the video-unit
Business device inquires the video data in the inquiry time started and poll-final time range, obtains the query video request pair
The storage location for the video data answered;
Finally, the query video is requested the storage location of corresponding video data to be back to the client by central platform
End or decoder.
For example, client, which will inquire video-unit, numbers the video monitoring apparatus for being A in the 09:50:00-10:05:00 time
The storage location of the video data of section, then central platform is respectively to video monitoring apparatus A and its corresponding passive recording service device B
Inquiry is with the presence or absence of the video data in the time segment limit, it is assumed that inquires video monitoring apparatus A and there is the complete time
Video data in segment limit, passive recording service device B only exist the view in this time segment limit of 10:00:00-10:05:00
Frequency evidence, then it represents that the storage location of the corresponding video data of 09:50:00-10:00:00 is video monitoring apparatus A, 10:00:
The storage location of the corresponding video data of 00-10:05:00 is video monitoring apparatus A and its corresponding passive recording service device B.
Query result can be such as " 09:50:00-10:00:00 video monitoring apparatus A;10:00:00-10:05:00 video monitoring apparatus A/ quilt
Shown in dynamic recording service device B ", it can also be indicated in a manner of time shaft or listed files.Finally query result is back to described
Client.
Include the following steps: as shown in figure 3, order video is passively recorded a video
S201: the video on-demand request that central platform receives client or decoder is sent, the video on-demand request packet
Include video-unit number and video time point.
S202: central platform judges that the video-unit numbers in corresponding passive recording service device whether be stored with a record
As file, the video time point is within the video time started and video end time of a video file, that is, obtains
It takes the video-unit to number passive recording service device corresponding to corresponding video monitoring apparatus, judges the passive recording service
Whether the video time point corresponding video data has been stored in device, if so, S203 is thened follow the steps, if it is not, then executing
Step S204.
Further, if client and decoder are to carry out program request, the i.e. video based on above-mentioned query video request
Time point was within inquiry time started and poll-final time that above-mentioned query video is requested, then central platform can basis
Query result obtained above, i.e. query video request the storage location of corresponding video data to carry out the judgement of the step.
Optionally, video on-demand request is sent to center vod server by central platform, is held by center vod server
The judgement of the row step.
S203: by video time point described in a video file and the video data after video time point
The client or decoder are sent to by Streaming Media forwarding server.
In this method, program request video data is sent by the way of stream transmission, such as sends the video of 1s or 5s every time
Data then continue to send next time when not receiving program request END instruction;When receiving program request END instruction, then stop
Only send.It therefore,, can be by institute if not receiving the program request END instruction of client or decoder transmission always in the step
State the video data after the point of video time described in a video file be back to by way of Streaming Media the client or
Decoder, until receiving program request END instruction.
Optionally, the video data of institute's program request is sent to the client or decoder by center vod server.Into
One step, if center vod server detects client or decoder fault (such as being detected by heartbeat mechanism),
Itself generates the on-demand process that program request END instruction stops this time.
S204: when the video-unit numbers corresponding video monitoring apparatus for the video time point and the video
Between put after order video data be sent to corresponding Streaming Media forwarding server;Further, Streaming Media forwarding server
Passive recording service device corresponding with the video monitoring apparatus establishes transmission of video connection.
S205: the order video data are back to the client or decoder by the Streaming Media forwarding server,
It is distributed to the corresponding passive recording service device of the video monitoring apparatus simultaneously.
S206: the passive recording service device saves the order video data according to preset video file duration
For the video file of at least one, and record each video file corresponding video time started and video end time.The step
It can refer to step S107.
Further, the video counts after step S203, after the video time point described in the video file
After being sent, then the message that is sent is returned to the client or decoder.At this point, client or decoder can roots
It determines whether to continue to send video on-demand request according to preset strategy.For example, if preset strategy is to will continue to request program request,
Then using the video end time of a video file as new video time point, or by the video knot of a video file
The beam time add 1 second after as new video time point, continue to send video on-demand request to central platform.
Further, during program request plays, if the movement (such as pulling progress bar) of drag and drop occurs for user, i.e., can
Video on-demand request is retransmitted according to the video time point after drag and drop.If subsequent also request the intermediate video skipped of program request,
Then storage can be merged to time continuous video file in passive recording service device.
Specifically, if there are two video files in passive recording service device, when video in described two video files
It is long to be respectively less than the preset video file duration, and the video of the video end time of a video file and another video file
Time started is consistent, then merges described two video files according to the time;If the video in video file after merging
Duration is more than that preset video file duration divides the video file after merging then according to the video file duration.
Further, above-mentioned steps are merged widenable to multiple video files.
For example, it is assumed that there are three video file W1, W2 and W3, the videos of W1 a length of 10 minutes when preset video file
Time started and video end time are respectively 10:00:00 and 10:02:00, the video time started and video end time of W2
The video time started and video end time of respectively 10:08:00 and 10:15:00, W3 are respectively 10:02:00 and 10:08:
00.The video length of these three video files is respectively less than 10 minutes, and the video time started of the video end time of W1 and W3
Unanimously, the video end time of W3 and the video time started of W2 are consistent, thus can according to the sequence of W1, W3, W2 by these three
Video data in video file merges, the video time started of the video data after merging and video end time difference
For 10:00:00 and 10:15:00, video length is 15 minutes, has been more than 10 minutes, then the video data after merging has been divided into two
A video file is saved, the video time started and video end time of first video file be respectively 10:00:00 and
10:10:00, the video time started and video end time of second video file are respectively 10:10:00 and 10:15:00.
Client or decoder in the above process can be different client or decoder, passive recording service device for
The video data at the same time point of same video monitoring apparatus only stores portion.As long as that is, video monitoring apparatus
One section of video data was requested, then when other subsequent clients or decoder request this section of video data, can directly from
It is obtained in passive recording service device.
In the present embodiment, Streaming Media is transferred to for the video flowing (real-time video/video) of video monitoring apparatus
Transmission network, transport protocol, the storage organization mode of video flowing and video flowing packaged type be all not specifically limited.Example
Such as: under 4G network, video on-demand request being carried out by Session Initiation Protocol, video monitoring apparatus video flowing is carried out in a manner of RTP+PS
Transmission, video file are packaged storage with MP4 file format;Under 4G network, regarded by south electric network specification agreement
Frequency on-demand request, video monitoring apparatus video flowing are transmitted in a manner of RTP+ES, and video file is with the privately owned file format of manufacturer
It is packaged storage.
It in the present embodiment, is checked as long as carrying out real-time video, then the video data during checking will all save
In passive recording service device, under the secondary video checked or downloaded again in this period when making, then can be directly from passive record
As server obtain, so as to reduce head end video monitoring device flow and electric flux consumption, optimize whole system before
It terminates and takes full advantage of the video data that video monitoring apparatus is transmitted back to platform into bandwidth load.Meanwhile as long as from video monitoring
The video recording of program request or the video recording downloaded in device, then the video recording of corresponding time segment limit will also be stored in passive video recording
In server, the video in this period is checked or downloaded again to next time, it will directly obtains from passive recording service device.
The present embodiment can solve existing active videoing skill when being recorded a video, and need to continue to ask to video monitoring apparatus
Seek video data, the problem of video bandwidth, video flow, live continued power are unable to satisfy demand;It can solve in video monitoring
When device end is recorded a video, the video recording of the multiple program request of video same period needs video-unit to repeat the problem of transmitting;May be used also
Solution is being had access in video-unit real-time video time range, if need to check the video data of this time range again, is needed
Video-unit is wanted to repeat the problem of transmitting.
Embodiment two
The present embodiment is a kind of computer readable storage medium of corresponding above-described embodiment, is stored thereon with computer journey
Sequence realizes following steps when described program is executed by processor:
When a video monitoring apparatus opens passive recording function, a video monitoring apparatus and a passive video recording are taken
Business device is associated;
Central platform receives client or the real-time video of decoder transmission checks request, and the video on-demand request includes
Video-unit number;
The real-time video is checked that request is sent to the video-unit and numbers corresponding video monitoring dress by central platform
It sets;
Real time video data is sent to corresponding Streaming Media forwarding server by the video monitoring apparatus;
The real time video data received is back to the client or decoder by the Streaming Media forwarding server, together
When be distributed to the corresponding passive recording service device of the video monitoring apparatus;
The passive recording service device saves as the real time video data at least according to preset video file duration
One video file, and record each video file corresponding video time started and video end time.
Further, further includes:
The query video request that central platform receives client or decoder is sent, the query video request includes video
Device number, inquiry time started and poll-final time;
Central platform numbers corresponding video monitoring apparatus and its corresponding passive recording service device to the video-unit
The video data in the inquiry time started and poll-final time range is inquired, it is corresponding to obtain the query video request
The storage location of video data;
Central platform by the query video request corresponding video data storage location be back to the client or
Decoder.
Further, further includes:
The video on-demand request that central platform receives client or decoder is sent, the video on-demand request includes video
Device number and video time point;
Central platform judges that the video-unit is numbered and whether is stored with video recording text in corresponding passive recording service device
Part, the video time point were within the video time started and video end time of a video file;
If it exists, then by video time point described in a video file and the video after video time point
Data are sent to the client or decoder by Streaming Media forwarding server;
If it does not exist, then the video-unit numbers corresponding video monitoring apparatus for the video time point and described
Order video data after video time point are sent to corresponding Streaming Media forwarding server;
The order video data are back to the client or decoder, same time-division by the Streaming Media forwarding server
It is sent to the corresponding passive recording service device of the video monitoring apparatus;
The passive recording service device saves as the order video data at least according to preset video file duration
One video file, and record each video file corresponding video time started and video end time.
Further, described will be after video time point described in a video file and video time point
After video data is sent to the client or decoder by Streaming Media forwarding server, further comprise:
After video data after the video time point described in the video file is sent, then returns and sent
Complete message is to the client or decoder.
Further, further includes:
If the video length in described two video files is respectively less than there are two video files in passive recording service device
The preset video file duration, and the video time started of the video end time of a video file and another video file
Unanimously, then described two video files are merged according to the time;
If the video length in video file after merging is more than preset video file duration, according to the video recording text
Part duration divides the video file after merging.
Further, described when a video monitoring apparatus opens passive recording function, by a video monitoring apparatus
It is associated with a passive recording service device specifically:
Respectively each unique passive video recording number of passive recording service device distribution;
Respectively each video monitoring apparatus distributes unique video-unit number;
When a video monitoring apparatus opens passive recording function, for the passively video recording of video monitoring apparatus configuration one
Server, and the video-unit of video monitoring apparatus number and the passive video recording of described one passive recording service device are compiled
It number is associated.
Further, the real-time video is checked that request is sent to the video-unit number and corresponds to by the central platform
Video monitoring apparatus specifically:
Central platform judges whether the video-unit numbers corresponding video monitoring apparatus online;
If not online, central platform return not online message to the client or decoder;
If online, the real-time video is checked that request is sent to the video-unit and numbers corresponding view by central platform
Frequency monitoring device and the corresponding Streaming Media forwarding server of the video monitoring apparatus;
Streaming Media forwarding server passive recording service device corresponding with the video monitoring apparatus establishes transmission of video company
It connects.
In conclusion a kind of passive type kinescope method provided by the invention and computer readable storage medium, can solve existing
There is active videoing skill when being recorded a video, needs to continue to request video data, video bandwidth, video to video monitoring apparatus
The problem of flow, live continued power are unable to satisfy demand;It can solve when video monitoring apparatus end is recorded a video, video is multiple
The video recording of program request same period needs video-unit to repeat the problem of transmitting;It can also solve having access to video-unit real-time video
In time range, if need to check the video data of this time range again, video-unit is needed to repeat the problem of transmitting.It can
As long as requesting the corresponding time of corresponding video monitoring apparatus next time to guarantee user requested real-time video or order video
When the video of range, without repeating transmission by video monitoring apparatus, it is next that guarantee can make full use of video monitoring apparatus to be transmitted back to
Video data.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (8)
1. a kind of passive type kinescope method characterized by comprising
When a video monitoring apparatus opens passive recording function, by a video monitoring apparatus and a passive recording service device
It is associated;
Central platform receives client or the real-time video of decoder transmission checks request, and the video on-demand request includes video
Device number;
The real-time video is checked that request is sent to the video-unit and numbers corresponding video monitoring apparatus by central platform;
Real time video data is sent to corresponding Streaming Media forwarding server by the video monitoring apparatus;
The real time video data received is back to the client or decoder, same time-division by the Streaming Media forwarding server
It is sent to the corresponding passive recording service device of the video monitoring apparatus;
The real time video data is saved as at least one according to preset video file duration by the passive recording service device
Video file, and record each video file corresponding video time started and video end time.
2. passive type kinescope method according to claim 1, which is characterized in that further include:
The query video request that central platform receives client or decoder is sent, the query video request includes video-unit
Number, inquiry time started and poll-final time;
Central platform numbers corresponding video monitoring apparatus and its corresponding passive recording service device inquiry to the video-unit
Video data in the inquiry time started and poll-final time range obtains the query video and requests corresponding video
The storage location of data;
The query video is requested the storage location of corresponding video data to be back to the client or decoding by central platform
Device.
3. passive type kinescope method according to claim 1, which is characterized in that further include:
The video on-demand request that central platform receives client or decoder is sent, the video on-demand request includes video-unit
Number and video time point;
Central platform judges that the video-unit numbers in corresponding passive recording service device whether be stored with a video file, institute
Video time point is stated to be within the video time started and video end time of a video file;
If it exists, then by video time point described in a video file and the video data after video time point
The client or decoder are sent to by Streaming Media forwarding server;
If it does not exist, then the video-unit numbers corresponding video monitoring apparatus for the video time point and the video
Order video data after time point are sent to corresponding Streaming Media forwarding server;
The order video data are back to the client or decoder by the Streaming Media forwarding server, are distributed to simultaneously
The corresponding passive recording service device of the video monitoring apparatus;
The passive recording service device saves as at least one according to preset video file duration, by the order video data
Video file, and record each video file corresponding video time started and video end time.
4. passive type kinescope method according to claim 3, which is characterized in that it is described will be described in a video file
Video data after video time point and video time point is sent to the client by Streaming Media forwarding server
After end or decoder, further comprise:
After video data after the video time point described in the video file is sent, then returns and to be sent
Message is to the client or decoder.
5. passive type kinescope method according to claim 1 or 3, which is characterized in that further include:
If there are two video files in passive recording service device, described in the video length in described two video files is respectively less than
Preset video file duration, and the video time started one of the video end time of a video file and another video file
It causes, then merges described two video files according to the time;
If the video length in video file after merging is more than preset video file duration, when according to the video file
It is long, the video file after merging is divided.
6. passive type kinescope method according to claim 1, which is characterized in that described when a video monitoring apparatus opens quilt
When dynamic recording function, a video monitoring apparatus and a passive recording service device are associated specifically:
Respectively each unique passive video recording number of passive recording service device distribution;
Respectively each video monitoring apparatus distributes unique video-unit number;
When a video monitoring apparatus opens passive recording function, a passive recording service is configured for a video monitoring apparatus
Device, and by the video-unit of a video monitoring apparatus number with described one passive recording service device it is passive record a video number into
Row association.
7. passive type kinescope method according to claim 1, which is characterized in that the central platform is by the real-time video
Check that request is sent to the video-unit and numbers corresponding video monitoring apparatus specifically:
Central platform judges whether the video-unit numbers corresponding video monitoring apparatus online;
If not online, central platform return not online message to the client or decoder;
If online, the real-time video is checked that request is sent to the video-unit and numbers corresponding video prison by central platform
Control device and the corresponding Streaming Media forwarding server of the video monitoring apparatus;
Streaming Media forwarding server passive recording service device corresponding with the video monitoring apparatus establishes transmission of video connection.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is by processor
Such as claim 1-7 described in any item steps are realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910675571.8A CN110266987B (en) | 2019-07-25 | 2019-07-25 | Passive video recording method and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910675571.8A CN110266987B (en) | 2019-07-25 | 2019-07-25 | Passive video recording method and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266987A true CN110266987A (en) | 2019-09-20 |
CN110266987B CN110266987B (en) | 2021-05-11 |
Family
ID=67928267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910675571.8A Active CN110266987B (en) | 2019-07-25 | 2019-07-25 | Passive video recording method and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266987B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113382195A (en) * | 2020-02-25 | 2021-09-10 | 杭州海康威视数字技术股份有限公司 | Video recording method and device |
CN113407770A (en) * | 2021-06-24 | 2021-09-17 | 深圳智多豚物联技术有限公司 | Cloud playback index service method and system based on redis |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572348A (en) * | 2011-12-16 | 2012-07-11 | 中兴通讯股份有限公司 | Method, device and system for mirror image of platform video of video monitoring system |
CN103702177A (en) * | 2013-12-13 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method for storing video file and player |
EP2795600A4 (en) * | 2011-12-22 | 2015-10-07 | Pelco Inc | Cloud-based video surveillance management system |
CN105828046A (en) * | 2016-05-16 | 2016-08-03 | 浙江宇视科技有限公司 | Data flow transmission method and device |
CN108632568A (en) * | 2017-03-17 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Review method, apparatus, electronic equipment and the readable storage medium storing program for executing of monitor video |
CN109714540A (en) * | 2019-02-26 | 2019-05-03 | 浪潮软件集团有限公司 | A kind of H265 format monitor video merging method, device and system |
-
2019
- 2019-07-25 CN CN201910675571.8A patent/CN110266987B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572348A (en) * | 2011-12-16 | 2012-07-11 | 中兴通讯股份有限公司 | Method, device and system for mirror image of platform video of video monitoring system |
EP2795600A4 (en) * | 2011-12-22 | 2015-10-07 | Pelco Inc | Cloud-based video surveillance management system |
CN103702177A (en) * | 2013-12-13 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method for storing video file and player |
CN105828046A (en) * | 2016-05-16 | 2016-08-03 | 浙江宇视科技有限公司 | Data flow transmission method and device |
CN108632568A (en) * | 2017-03-17 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Review method, apparatus, electronic equipment and the readable storage medium storing program for executing of monitor video |
CN109714540A (en) * | 2019-02-26 | 2019-05-03 | 浪潮软件集团有限公司 | A kind of H265 format monitor video merging method, device and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113382195A (en) * | 2020-02-25 | 2021-09-10 | 杭州海康威视数字技术股份有限公司 | Video recording method and device |
CN113407770A (en) * | 2021-06-24 | 2021-09-17 | 深圳智多豚物联技术有限公司 | Cloud playback index service method and system based on redis |
Also Published As
Publication number | Publication date |
---|---|
CN110266987B (en) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10631024B2 (en) | Intelligent video streaming system | |
CN101282281B (en) | Medium distributing system and apparatus as well as flow medium play method | |
EP3595268A1 (en) | Streaming media resource distribution method, system, edge node and central dispatching system | |
CN104137505B (en) | The method and apparatus for realizing the control initiated the network of segmented content stream transmission | |
CN108989264B (en) | Live broadcast method, system and related equipment | |
US8429263B2 (en) | File content distribution method, device, and system for an interactive network television system | |
JP4132788B2 (en) | Data communication device | |
CN104135672A (en) | HLS-based method for realizing seamless disaster recovery of video on demand | |
CN101431535B (en) | Method for implementing relay channel | |
MXPA06000670A (en) | Method and system for providing a transmission link for streaming traffic. | |
CN110381119B (en) | Method, system and device for acquiring log information and storage medium | |
CN105828046B (en) | A kind of transmission method and device of data flow | |
CN110266987A (en) | Passive type kinescope method and computer readable storage medium | |
CN106059936B (en) | The method and device of cloud system Multicast File | |
CN111954009B (en) | Video data push system crossing network domains | |
CN102571409B (en) | Service request management system and method for realizing service across-terminal application | |
CN110113558B (en) | Data processing method, device, system and computer readable storage medium | |
CN111031084A (en) | Method and device for remote maintenance of video network terminal | |
CN102439946B (en) | Data transmission method and device | |
CN100446567C (en) | Apparatus and method for realizing P2P stream broadcasting in information family appliances | |
CN107426582A (en) | A kind of RTMP live TV streams seamless switch-over system and method | |
CN103036955A (en) | Monitoring system and monitoring method of multimedia player terminal | |
CN105872480A (en) | System and method for controlling playing on LED screen based on real-time camera shooting of mobile phone | |
Zeng et al. | A dynamic live streaming service architecture integrated sensing and control | |
US20100306809A1 (en) | method for distributing a file content of an interactive network television system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518000 floor 101-5, building J, Shengli Industrial Park, No. 306, Xuegang North Road, Qinghu community, Longhua street, Longhua District, Shenzhen City, Guangdong Province Applicant after: Shenzhen Jin made video Polytron Technologies Inc Address before: 518000 Longhua Guangdong New District, Longhua street, Qinghua Road, west side of the south side of the building J Industrial Park, building to 5 level 1 Applicant before: Shenzhen Jin made video Polytron Technologies Inc |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |