CN114339109A - Video cascading method based on cross-storage resource, cross-network and cross-file - Google Patents
Video cascading method based on cross-storage resource, cross-network and cross-file Download PDFInfo
- Publication number
- CN114339109A CN114339109A CN202111600286.3A CN202111600286A CN114339109A CN 114339109 A CN114339109 A CN 114339109A CN 202111600286 A CN202111600286 A CN 202111600286A CN 114339109 A CN114339109 A CN 114339109A
- Authority
- CN
- China
- Prior art keywords
- video
- platform
- cross
- playback address
- finished
- 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
Links
Images
Abstract
The invention relates to a cross-storage resource and cross-network file based video cascading method, which comprises the steps of when an upper-level platform reads a video, accessing according to a video time range required by the upper-level platform, finding out a corresponding storage resource and a corresponding network position on the current-level platform, generating a corresponding playback address according to the storage resource and the network position, transmitting the playback address to a video cascading server according to a time sequence, reading video file data in the playback address according to the sequence by the video cascading server, packaging and pushing the video data to the upper-level platform, and realizing the purpose of cascading the video files stored in different storage resources to the upper-level platform by adopting the technical scheme.
Description
Technical Field
The invention relates to the field of platform video cascade, in particular to a video cascade method based on cross-storage resource and cross-network and cross-file.
Background
In the platform cascade application, an upper platform needs a lower platform to push all videos of a certain device in a certain time period to the upper platform, and because the resources stored by the lower platform include object storage, distributed storage and the like, the contents of the stored resources in each machine room are stored, and the stored resources are not opened to the outside for safety consideration. And the higher platform needs the lower platform to continuously push the video for a certain period of time, so the lower platform needs to read the storage resource files in each machine room network and continuously push the video to the higher platform according to the sequence. At present, video files of one device at different times can be stored in different storage resources and different network resources, and continuous stream pushing and video recording cannot be carried out on a cascaded superior platform to the superior platform.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a video cascading method which solves the problem that video files are stored in different storage resources, the storage resources are in different network environments and are spliced into continuous files to be pushed to a superior platform based on cross-storage resources and cross-network and cross-file.
The invention relates to a video cascading method based on cross-storage resource and cross-network cross-file, which is applied to platform cascading and adopts the following technical scheme: the method comprises an upper platform, a lower platform and a video cascade server, and comprises the following steps:
s1, the superior platform sends a video pushing request to the subordinate platform;
s2, the lower platform receives the video pushing request of the upper platform, and searches the storage position and the network of the video file according to the time range of the video in the video pushing request to generate a corresponding playback address;
s3, the lower platform sends the playback address to the video cascade server according to the time sequence of the video;
and S4, the video cascade server reads the video data from the playback address according to the video time sequence, and encapsulates and pushes the video data to the superior platform.
Further, the step S4 further includes determining whether reading of the current playback address is finished, and if not, continuing to read and push; and if the reading is finished, sequentially requesting a next playback address to read the data plug flow.
Further, the step S4 includes determining whether reading of all playback addresses is finished, and if not, continuing reading in sequence; and if the reading is finished, the video pushing is finished.
Further, the platform cascade is based on the national standard GB/T28181 protocol communication.
Further, in step S4, the video data is read from the playback address in multiples according to the national standard signaling, and encapsulated into a national standard stream and pushed to the upper platform.
Compared with the prior art, the invention has the following beneficial effects:
1. different video files are spliced together according to the time sequence and pushed to an upper international platform according to the international stream format;
2. a single video cascade server reads the video from the playback address, and the video cascade server does not need to directly read the file from the storage, so that the direct exposure of the storage resource is avoided, and the safety problem of the storage resource is solved;
3. the single video cascade server realizes read-write separation, and can store video files of one camera at different times into different storage media and different network environments, thereby realizing high availability of storage resources.
Drawings
The accompanying drawings, which are described herein to provide a further understanding of the application, are included in the following description:
FIG. 1 is a flow chart of the present invention.
Detailed Description
Referring to fig. 1, an embodiment of a method for cascading national standard videos based on storage resource crossing, network crossing, and file crossing is applied to platform cascading based on a national standard GB/T28181 protocol, where the method includes an upper platform, a lower platform, and a video cascading server, and includes the following steps:
s1, the superior platform sends a video pushing request to the subordinate platform;
s2, the lower platform receives the video pushing request of the upper platform, and searches the storage position and the network of the video file according to the time range of the video in the video pushing request to generate a corresponding playback address;
s3, the lower platform sends the playback address to the video cascade server according to the time sequence of the video;
and S4, the video cascade server reads the video data from the playback address according to the video time sequence, encapsulates the video data into a national standard stream format and pushes the national standard stream format to a superior platform.
Further, the step S4 further includes determining whether reading of the current playback address is finished, and if not, continuing to read and push; and if the reading is finished, sequentially requesting a next playback address to read the data plug flow.
Further, the step S4 includes determining whether reading of all playback addresses is finished, and if not, continuing reading in sequence; and if the reading is finished, the video pushing is finished.
Further, in step S4, the video data is read from the playback address in multiples according to the national standard signaling, and the video data is encapsulated into a national standard stream format and pushed to the upper platform.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (5)
1. A video cascading method based on cross-storage resource and cross-network cross-file is applied to platform cascading and comprises a superior platform, a subordinate platform and a video cascading server, and is characterized in that: which comprises the following steps:
s1, the superior platform sends a video pushing request to the subordinate platform;
s2, the lower platform receives the video pushing request of the upper platform, and searches the storage position and the network of the video file according to the time range of the video in the video pushing request to generate a corresponding playback address;
s3, the lower platform sends the playback address to the video cascade server according to the time sequence of the video;
and S4, the video cascade server reads the video data from the playback address according to the video time sequence, and encapsulates and pushes the video data to the superior platform.
2. The method of claim 1, wherein the method comprises the following steps: step S4 further includes determining whether reading of the current playback address is finished, and if not, continuing to read and push; and if the reading is finished, sequentially requesting a next playback address to read the data plug flow.
3. The method of claim 1, wherein the method comprises the following steps: step S4 further includes determining whether reading of all playback addresses is finished, and if not, continuing reading in sequence; and if the reading is finished, the video pushing is finished.
4. The method of claim 1, wherein the platform cascade is based on a communication of a national standard GB/T28181 protocol.
5. The method of claim 4, wherein the method comprises the following steps: in step S4, the video data is read from the playback address in multiples according to the national standard signaling, and the video data is encapsulated into a national standard stream format and pushed to the upper platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111600286.3A CN114339109A (en) | 2021-12-24 | 2021-12-24 | Video cascading method based on cross-storage resource, cross-network and cross-file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111600286.3A CN114339109A (en) | 2021-12-24 | 2021-12-24 | Video cascading method based on cross-storage resource, cross-network and cross-file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114339109A true CN114339109A (en) | 2022-04-12 |
Family
ID=81012431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111600286.3A Pending CN114339109A (en) | 2021-12-24 | 2021-12-24 | Video cascading method based on cross-storage resource, cross-network and cross-file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114339109A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012195893A (en) * | 2011-03-17 | 2012-10-11 | Toshiba Corp | Video server device and video editing system |
CN104581406A (en) * | 2014-12-25 | 2015-04-29 | 桂林远望智能通信科技有限公司 | Network video recording and playback system and method |
US20170127150A1 (en) * | 2015-11-04 | 2017-05-04 | Ubitus Inc. | Interactive applications implemented in video streams |
CN107249017A (en) * | 2017-05-05 | 2017-10-13 | 中广热点云科技有限公司 | A kind of method and server that HLS contents are obtained by CDN |
CN109729371A (en) * | 2018-12-21 | 2019-05-07 | 中电福富信息科技有限公司 | A kind of direct broadcast time-shift system and method based on HLS protocol multiple management |
CN109787983A (en) * | 2019-01-24 | 2019-05-21 | 北京百度网讯科技有限公司 | Live stream dicing method, device and system |
CN110278223A (en) * | 2018-03-15 | 2019-09-24 | 华为技术有限公司 | Video monitoring system and management method of video monitoring resources |
CN112702627A (en) * | 2020-12-21 | 2021-04-23 | 中电福富信息科技有限公司 | Video file push control method based on national standard stream |
-
2021
- 2021-12-24 CN CN202111600286.3A patent/CN114339109A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012195893A (en) * | 2011-03-17 | 2012-10-11 | Toshiba Corp | Video server device and video editing system |
CN104581406A (en) * | 2014-12-25 | 2015-04-29 | 桂林远望智能通信科技有限公司 | Network video recording and playback system and method |
US20170127150A1 (en) * | 2015-11-04 | 2017-05-04 | Ubitus Inc. | Interactive applications implemented in video streams |
CN107249017A (en) * | 2017-05-05 | 2017-10-13 | 中广热点云科技有限公司 | A kind of method and server that HLS contents are obtained by CDN |
CN110278223A (en) * | 2018-03-15 | 2019-09-24 | 华为技术有限公司 | Video monitoring system and management method of video monitoring resources |
CN109729371A (en) * | 2018-12-21 | 2019-05-07 | 中电福富信息科技有限公司 | A kind of direct broadcast time-shift system and method based on HLS protocol multiple management |
CN109787983A (en) * | 2019-01-24 | 2019-05-21 | 北京百度网讯科技有限公司 | Live stream dicing method, device and system |
CN112702627A (en) * | 2020-12-21 | 2021-04-23 | 中电福富信息科技有限公司 | Video file push control method based on national standard stream |
Non-Patent Citations (1)
Title |
---|
俞国锋;周星;: "多媒体网络视频数字监控系统", 建筑电气, no. 11, pages 53 - 60 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8886896B2 (en) | Storage format for media streams | |
JP7072668B2 (en) | Media file playback methods, devices and storage media based on web pages | |
US20150052159A1 (en) | File name display method and system, and computer storage medium | |
JP5395056B2 (en) | Method and computer program for generating and distributing media | |
CN104967862A (en) | Video storage method and device, and video searching method and device | |
JP2018164277A (en) | Method for receiving multimedia data in hybrid network | |
US11956517B2 (en) | Content information for manifest determination | |
US20200037014A1 (en) | Method for audio and video just-in-time transcoding | |
CN109885577A (en) | Data processing method, device, terminal and storage medium | |
CN113382033B (en) | Central control adaptation method, device, equipment and storage medium | |
CN112597348A (en) | Method and device for optimizing big data storage | |
US8868429B2 (en) | Method and device for storing audio data | |
CN108230487A (en) | The method and apparatus of shared camera resource | |
EP2057563A1 (en) | Method and apparatus for multi-format data exchange | |
CN114339109A (en) | Video cascading method based on cross-storage resource, cross-network and cross-file | |
US10498787B2 (en) | Communication apparatus, communication method, and program | |
US11086932B1 (en) | Asset-level management of media recording in cloud DVR systems | |
CN114630143B (en) | Video stream storage method, device, electronic equipment and storage medium | |
CN103201753A (en) | Autonomous intelligent content items | |
CN113301391A (en) | Video downloading method and device, computing equipment, medium and cloud storage system | |
WO2007148304A2 (en) | Representing digital content metadata | |
US20230089154A1 (en) | Virtual and index assembly for cloud-based video processing | |
CN110809178B (en) | Plug flow system and method | |
KR20050020691A (en) | Method for seamless real-time splitting and concatenating of a data stream | |
US20220408126A1 (en) | System and method for optimizing the distribution of available media production resources |
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 |