CN111698466B - Method, device, equipment and medium for monitoring breakpoint download of video - Google Patents

Method, device, equipment and medium for monitoring breakpoint download of video Download PDF

Info

Publication number
CN111698466B
CN111698466B CN202010378328.2A CN202010378328A CN111698466B CN 111698466 B CN111698466 B CN 111698466B CN 202010378328 A CN202010378328 A CN 202010378328A CN 111698466 B CN111698466 B CN 111698466B
Authority
CN
China
Prior art keywords
frame
last
download
index information
video
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
CN202010378328.2A
Other languages
Chinese (zh)
Other versions
CN111698466A (en
Inventor
黄牧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010378328.2A priority Critical patent/CN111698466B/en
Publication of CN111698466A publication Critical patent/CN111698466A/en
Application granted granted Critical
Publication of CN111698466B publication Critical patent/CN111698466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal

Abstract

The application relates to a method, a device, equipment and a medium for monitoring breakpoint downloading of a video. The method for monitoring breakpoint downloading of the video comprises the following steps: receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded; inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading; and under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video recording time period to a requester requesting to download the monitoring video, and deleting the index information. Through the application, the problems that splicing is needed after the existing data are downloaded, and the time and performance consumption are high are solved.

Description

Method, device, equipment and medium for monitoring breakpoint download of video
Technical Field
The present application relates to the field of internet multimedia technologies, and in particular, to a method, an apparatus, a device, and a medium for monitoring breakpoint download of a video.
Background
At present, monitoring equipment is widely applied to various public places for monitoring field safety, and monitoring equipment is generally installed in places such as malls, office buildings and the like. Early monitoring equipment is generally a closed-circuit monitoring system, which includes front-end camera equipment, rear-end host equipment and a display, specifically, the front-end camera equipment collects field images and transmits the field images to the rear-end host equipment, and the display synchronously displays monitoring video images for workers to watch the field conditions in real time so as to monitor the field safety.
With the rapid development of network technology, monitoring equipment is gradually changed and upgraded, and functions such as remote monitoring can be realized through a network. The client can establish connection with the monitoring equipment through the network, watch the monitoring video in real time, and also can download the monitoring video stored by the monitoring equipment. In the process of downloading the monitoring video, after receiving a downloading instruction of a user, the client sends the starting time and the ending time of the monitoring video to be downloaded to the corresponding monitoring equipment, the monitoring equipment returns the code stream of the corresponding monitoring video from the starting time to the ending time to the client, and the client stores the code stream so as to finish downloading. For example: the monitoring video requested by the client is from eight am of 9/15 th of 2016, and the end time is ten am of 9/15 th of 2016, so that the monitoring device sends the monitoring video code stream from eight am of 15 th of 2016 to ten am to the client.
However, once the downloading is interrupted due to a network or a human factor during the downloading process, the client needs to restart the downloading from the start time of the monitoring video, and cannot continue the downloading from the interrupted position, which causes a great waste of time and traffic, and especially in some environments with limited bandwidth, it takes more time.
To solve the above technical problems, chinese patent is a method and apparatus for breakpoint download (patent application number: 201410109384.0), which proposes a technical scheme for obtaining a file list download in a resource package from a central control device according to an identifier of the resource package.
Chinese patent: a method for downloading files at break point (patent application number: 201310299559.4) discloses a technical scheme that whether resource files are downloaded is judged by URL, if downloading is not completed, the length of the downloaded files is obtained by a downloading server, and downloading is continued from the break point.
Chinese patent: a breakpoint continuous transmission method and device (patent application number: 201610931170.0) for a surveillance video disclose a scheme of finding the last I-frame image in a downloaded surveillance video, finding a timestamp from the image as the reference of the start time of the next downloading, performing binary comparison on the videos downloaded for multiple times after continuous downloading, and splicing the files by comparing the binary files of the pictures.
Chinese patent: a method for resuming the transmission of terminal at breakpoint (patent application No. 201210461225.8) discloses a technical scheme that a terminal is used to send program information to a host, the host sends download confirmation information to the terminal, the terminal obtains download initial frame number from the download confirmation information to the host, and the host issues data from the new initial frame number
Chinese patent: a data stream breakpoint continuous transmission method (patent application number: 201210159866.8) based on a single chip microcomputer system discloses a technical scheme that a sending end simulates multithreading through a time slice rotation method, a file is divided into a plurality of data packets, the data packets are used as frames and are numbered, the sending end sends all the frames to a receiving end, the receiving end receives the frames and checks integrity, if frame checking fails, a frame number is sent to the sending end to be sent again, the frame number is only an indicator, and no relevance exists.
And other existing breakpoint download schemes, the disclosed technical scheme is that the length of the downloaded file is recorded after a part of the file is downloaded, the length of the downloaded file is told to the server when the downloading is continued next time, and the server starts to issue new file data from the length of the downloaded file.
The technical scheme disclosed by the above is not enough: a method and a device for breakpoint download aim at the download of a plurality of files, the download is carried out by matching a download server, and the download of a monitoring video is not suitable; a method for downloading files at break points is characterized in that a special URL is needed to be designed to judge the file downloading condition, an additional downloading server is needed to perform auxiliary downloading, and the downloading of monitoring videos is not applicable; the breakpoint continuous transmission method and device for the surveillance video are characterized in that the last frame of a downloaded file needs to be read before downloading, the time for reading I frame is time-consuming, file splicing is needed after continuous downloading is finished, the file is spliced by comparing binary files, multiple attempts are needed for splicing the binary files, the splicing process is time-consuming, and if frame loss occurs in the downloading process, the spliced file can fail; a method for continuous transmission at break point of terminal is that the design scheme of frame number is single, the frame number may appear the problem such as the cycle is repeated, need host computer to assist and carry on the frame number to the file, need host computer to number the frame number ratio equally, the frame number of the scheme is from 0 to number, use 2 bytes length, the frame number that can encode is limited, may appear the problem of frame number cycle, the frame of the proposal is the file, the frame number is less, the frame of the supervisory equipment is a pair of pictures or audio data, the frame file has time sequence, and the frame number is huge, the surveillance video generally supports and obtains according to the time, may have video frame and audio frame at the same time, the single frame number can't position the concrete frame, the scheme will appear the situation of frame disorder, need the subsequent concatenation; a data stream breakpoint continuous transmission method based on a single chip microcomputer system is characterized in that if a file is large, the file which is possibly required to be segmented is too large or too many, the download failure rate is still high, splicing is still required after downloading, and the splicing process is time-consuming; other common existing designs have the disadvantage that they are not suitable for breakpoint download of the surveillance video, and most surveillance devices cannot use the file length as the download start position because the surveillance video device defines a specific download protocol.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, a device, and a medium for monitoring breakpoint download, which can solve the technical problems of splicing after data download and high time and performance consumption in the prior art.
In a first aspect, an embodiment of the present application provides a method for monitoring breakpoint download of a video, where the method includes:
receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
and under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video recording time period to a requester requesting to download the monitoring video, and deleting the index information.
In one embodiment, the method further comprises: and under the condition that the index information is not inquired, sending a frame corresponding to the frame number from the start frame number corresponding to the start time of the video recording time period to the end frame number to a requester requesting to download the monitoring video and creating the index information.
In one embodiment, the method further comprises: and generating new index information and recording a last frame sequence number corresponding to the interruption in the generated index information under the condition that the frame transmission interruption occurs in the process of transmitting the frame to the requester, wherein the interruption comprises transmission failure and transmission pause.
In one embodiment, the index information further includes a last download file name, a last download start time, and a last download end time.
In one embodiment, after sending the frame to the requester who requests to download the monitoring video, the method further comprises: the requester obtains a download frame sequence number formed in one of the following ways from the received frame: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of the frame; wherein, the download frame number at least comprises: frame type, frame timestamp, and rank number within the same timestamp; the requester reads the index information; and under the condition that the index information can be read, the requester correspondingly writes the frame with the download frame serial number greater than the last frame serial number into a file according to the size of the download frame serial number and deletes the read index information.
In one embodiment, in the case that the index information cannot be read, the requester correspondingly writes the frame into a file according to the size of the downloaded frame sequence number.
In one embodiment, if the index information can be read, the writing, by the requestor, the frame with the download frame number greater than the last frame number into a file according to the size of the download frame number and deleting the read index information includes: the requester reads the download frame number and the last frame number; the requester compares the download frame number with the last frame number; and under the condition that the frame types are the same and the download frame serial number is greater than the last frame serial number, the requesting party correspondingly writes the frames with the download frame serial numbers greater than the last frame serial number into a file according to the size of the download frame serial number and deletes the index information.
In one embodiment, after the requester compares the download frame number and the last frame number, the method further comprises: under the condition that the frame types are different, the requester deletes the frame corresponding to the download frame sequence number; and under the condition that the frame types are the same and the download frame sequence number is not greater than the last frame sequence number, deleting the frame corresponding to the download frame sequence number by the requester.
In a second aspect, an embodiment of the present application provides an apparatus for monitoring breakpoint download of a video, where the apparatus includes:
the system comprises a receiving module, a downloading module and a downloading module, wherein the receiving module is used for receiving a downloading request for requesting to download a monitoring video, and the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
the query module is used for querying index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
and the processing module is used for sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video time period to a requester requesting to download the monitoring video under the condition of inquiring the index information, and deleting the index information.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
and under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video recording time period to a requester requesting to download the monitoring video, and deleting the index information.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
and under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video recording time period to a requester requesting to download the monitoring video, and deleting the index information.
The method, the device, the computer equipment and the storage medium for breakpoint downloading of the monitoring video receive a downloading request for requesting to download the monitoring video; then, inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading; finally, under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video time period to a requester requesting to download the monitoring video, and deleting the index information; by introducing the index information, breakpoint downloading can be carried out by setting the starting time and the ending time for downloading the monitoring video, the last frame serial number of the last downloading is inquired by the starting time and the ending time and is used as the starting time of the next downloading, the problems that a host does not support parameters such as frame serial numbers and the like as downloading files and time consumption for reading timestamps from pictures are solved, and by introducing the downloading frame serial numbers, the timestamp of the last frame picture does not need to be read, splicing is not needed by binary comparison, videos can be spliced seamlessly, and the last frame downloading information can be obtained directly from the index information more quickly; whether data are written or not is determined by comparing the serial numbers of the downloaded frames, repeated frames or frame disorder cannot occur, additional splicing is not needed after the data are continuously downloaded, and the problem of splicing failure cannot occur; the time stamp is added in the frame number, so that the problems of frame number repetition and circulation are solved, the frame type is added in the frame number, the problem of staggered transmission of different types of frames is solved, and the problem that a plurality of frames exist at the same time is avoided by the frame number.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flowchart of a method for monitoring breakpoint download of a video record in one embodiment;
FIG. 2 is a flowchart illustrating a method for monitoring breakpoint write files in a video record according to another embodiment;
FIG. 3 is a block diagram of an apparatus for monitoring breakpoint downloads in an embodiment;
FIG. 4 is a block diagram of an apparatus for monitoring breakpoint download in another embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
Generally speaking, in the related art of the embodiments of the present application, the downloading of the monitoring video includes the following specific techniques:
monitoring video recording: a video file stored in a digital camera device generally supports viewing by time.
Frame: in the surveillance video, each picture is referred to as a data unit in the audio, and there may be a main stream video frame and an auxiliary stream video frame at the same time, and there may be both a video frame and an audio frame.
Self-defining coding: that is, each frame of the surveillance video is added with a self-defined frame header and a frame trailer, and the frame header may include a frame number, a time stamp, a frame type, an encryption condition, and the like.
Downloading the monitoring video: the video of a certain time period can be downloaded by establishing network connection with the camera. By sending the start time and the end time to the monitoring equipment, the video file data stream can be acquired from the monitoring equipment, the downloading time is often accurate to seconds, and a plurality of video frames and audio frames exist in one second.
And (3) monitoring breakpoint downloading: the surveillance video may be recorded for 24 hours, for multiple days. If the monitoring video is too large, the downloading takes a long time, and the downloading is easy to fail in the downloading process. The breakpoint downloading can download a segment of video in a plurality of times, the downloading can be suspended in the downloading process, and the downloading is continued from the suspended or downloading failure position next time.
In one embodiment, as shown in fig. 1, a method for monitoring breakpoint download of video is provided, which is described by taking the method as an example of being applied to a terminal (monitoring device) connected to a host network, and includes the following steps:
step S101, receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
in this embodiment, the host computer sends a request to the monitoring device, so that the invigilation video acquires and downloads the video in a time period;
step S102, inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
step S103, under the condition that the index information is inquired, sending a frame corresponding to a frame number from the last frame number of the last downloading to an end frame number corresponding to the end time of the video time period to a requester requesting to download the monitoring video, and deleting the index information.
In the method for downloading the breakpoint of the monitoring video, a downloading request for requesting to download the monitoring video is received, then index information which is associated with the monitoring video requested to be downloaded and records the last frame number downloaded last time is inquired, and finally, under the condition that the index information is inquired, a frame corresponding to the last frame number downloaded last time and an end frame number corresponding to the end time of a video time period is sent to a requesting party requesting to download the monitoring video, and the index information is deleted; the downloading start time and the downloading end time are set through the index information and breakpoint data transmission is carried out without the assistance of a downloading server, the monitoring equipment does not need to modify any more and does not need to support the issuing of a file stream with a specific initial frame number, meanwhile, the downloaded video recording time can be calculated by recording the last frame number downloaded this time to the index information and is used as the start time of next downloading, the problem that a host does not support the parameters of downloading files according to the frame number and the like is solved, and the problem that the time consumed for reading the timestamp from the picture is also solved.
In this embodiment, the preset download time period in the breakpoint download process is determined by setting the pre-download start time and the pre-download end time, the download time period is set by the pre-download start time and the pre-download end time, and in the download process, for the monitoring device, the corresponding request download is completed by sending the monitoring video data stream in the matched download time period to the host, so as to improve the video data in the time period.
The index information in this embodiment is established in a downloading process (downloading at a monitoring device end), and is used to manage whether downloading is completed or not, record a downloading completion condition, mainly store video downloading information that is not downloaded, download a corresponding piece of downloading information at a time, and different pieces of downloading information may have the same index information or different index information. Each index information records the download file name, the download start time, the download end time and the last frame number during the current download, so as to be used as an index for the next download.
The last frame number is the frame number of the last frame data when the downloading is not finished, the inquired index information is shown to have the last frame number at the moment, the starting time of the monitoring video downloading of the monitoring equipment is the data one second or several seconds before the last frame number, and a part of data is downloaded more to ensure that no frame is lost; the last frame number may also be the frame number of the corresponding last frame when the downloading is completed, and at this time, if the timestamp of the last frame is matched with the downloading end time, it indicates that there is no data stream that has not been sent to the host at the last time, and the monitoring device downloads the start time of the monitoring video and requests the start time of the video period for downloading; the monitoring equipment updates and matches the downloaded video time period, thereby carrying out breakpoint continuous transmission and sending the monitoring video data to the host.
If the index information of a certain monitoring device in a time period (video time period) is found, if the timestamp of the last frame number is matched with the downloading end time, the downloading of the time period is completed, which indicates that the current downloading is the first downloading (the downloading of the same video time period is requested again also belongs to the first downloading), the effective downloaded information cannot be inquired in the index information (no monitoring video data stream which is not completely sent exists in the monitoring device), and the starting time of downloading the monitoring video data stream by the monitoring device is the starting time of requesting to download the video time period; if the time stamp of the last frame number is not matched with the downloading end time, it is indicated that the downloading in the time period is not completed, the current downloading is carried out breakpoint downloading to continue the downloading, if the downloading is continued, the last frame number can be inquired according to the downloading start time and the downloading end time, the last frame number can be stored in a memory, the last frame number can be multiple and respectively corresponds to the last frame number of the video frame, the last frame number of the audio frame and the like, and meanwhile, one or more seconds (conventionally set as one second) before the last frame time stamp is used as new downloading start time, so that the data can not be lost.
In an implementation manner of this embodiment, after the index information associated with the monitoring video requested to be downloaded is queried in step S102, the following steps are further implemented:
step S104, under the condition that the index information is not inquired, sending the corresponding frame between the starting frame number and the ending frame number corresponding to the starting time of the video time period to a request party requesting to download the monitoring video and creating the index information.
When the index information is not inquired, the last frame number of the last downloading is not inquired, and at the moment, the monitoring equipment sends the corresponding frame of the video time period requested to be downloaded to the requesting party (host).
In one embodiment of this embodiment, when a frame is transmitted to a requester and frame transmission interruption occurs, the following steps are further performed:
and generating new index information and recording the corresponding last frame sequence number when the interruption occurs in the generated index information, wherein the interruption comprises transmission failure and transmission pause.
The downloading may fail due to network problems, or may actively stop downloading, at this time, stopping downloading and updating the index information, updating the last frame number of the downloading into the index information, and using the last frame number as a breakpoint of the next downloading, which is also the start time.
In one embodiment of this embodiment, the index information further includes a last download file name, a last download start time, and a last download end time.
The index information can be an index file established in the downloading process and used for managing whether downloading is completed or not, recording the downloading completion condition and the like; many times of downloading can be managed by using one index file, and one index file can be established in each downloading; the index file mainly records the frame number of the last frame of the video which is not downloaded last time.
The index file comprises a plurality of rows of indexes, each row of the index is a JSON, a download file name, download starting time, download ending time and a last frame number are recorded in the JSON, the file name is selectable, and the last frame number downloaded last time can be found through the download starting time and the download ending time during downloading; each JSON corresponds to one download operation. The specific text is as follows:
example 1
{ "FileName": "a.dav", "StartTime": 1574733797, "EndTime": 1574733800, "LastFrameSeq 1": 8615747337900000, "LastFrameSeq 2": 4515747337900000}/n case 2
{“FileName”:“b.dav”,“StartTime”:1574733897,“EndTime”:1574733900,“LastFrameSeq1”:8614747337900000,“LastFrameSeq2”:4514747337900000}
In an embodiment of this embodiment, as shown in fig. 2, after sending the frame to the requester who requests to download the monitoring video, the following steps are further performed:
in step S105, the requester obtains a download frame number formed in one of the following ways from the received frame: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of a frame; wherein, the downloading frame number at least comprises: frame type, frame timestamp, and rank number within the same timestamp;
step S106, the requester reads the index information;
step S107, under the condition that the index information can be read, the requesting party correspondingly writes the frame with the download frame number larger than the last frame number into the file according to the size of the download frame number and deletes the read index information.
In the method for monitoring breakpoint downloading of video, the requester obtains a download frame number formed in one of the following ways from the received frame: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of a frame; reading the index information, and finally writing the frames with the download frame number greater than the frame number corresponding to the last frame number into the file correspondingly according to the size of the download frame number and deleting the read index information under the condition that the index information can be read; whether data are written is determined by comparing the downloaded frame numbers, additional splicing is not needed after the data are continuously downloaded, and meanwhile, the video can be seamlessly spliced by introducing the downloaded frame numbers without reading the timestamp of the last frame of picture; when the continuous downloading starts, whether the file can be written is judged by checking the serial number of the downloading frame, and at the moment, the repeated frame or the frame disorder of the downloading file can not occur, so that the subsequent splicing process is avoided, and the problem of splicing failure can not occur.
In this embodiment, the downloading frame number is a downloading frame number generated by the host through the frame header, the data frame or the frame tail of the monitoring video and based on a custom coding rule between the monitoring device and the host, the downloading frame number can be directly written in the frame header, the frame data and the frame tail, and the host can read the downloading frame number.
The frame number (download frame number) can be placed in the frame head, frame tail or coded into the frame, the frame number is a unique identifier of the frame, no repeated frame number exists, the frame number can be a number or a character string, the frame number can be compared in size, and the time sequence of the frame number is judged; the frame number is incremented or decremented over time.
The following description details the frame number:
the data format of the frame number is as follows: frame type (2 bits) + UNIX timestamp (10 bits) + sequence number (4 bits).
The frame number construction process is described by taking the starting frame number and the ending frame number as examples:
determining a start frame number and an end frame number: when the monitoring video is downloaded, the start time and the end time of the downloaded video are designated, the start time and the end time are converted into frame numbers, the incremental sequence number corresponding to the frame number of the start time is 0000, the incremental sequence number corresponding to the frame number of the end time is 9999, and the end frame returns to the maximum frame number and then ends when no 9999 frame exists. For example, the monitoring video frame numbers of 8615747337970000, 4715747337970000, 8615747337970001, 4715747337970001, 8615747337970002, 8615747337980000, 8615747337980001, 8615747337980002, and so on in turn on the 11 th, 26 th, 10:00:00 in 2019; the frame types are numbers from 00-99, representing 100 frame types; the current frame time is UNIX time, accurate to seconds, and is composed of 10-bit numbers. The increment number is an additional frame number at the same time, starting at 0000 and ending at 9999, and 1 second can encode up to 1 ten thousand frames. The frame numbers are incremented over time, and the frame numbers are consecutive at the same time and may not be consecutive at different times. The frame sequence number may be the same for time and increment sequence numbers in different types of frames.
The host (requester) connected with the monitoring equipment through a network requests the monitoring equipment to set data in download time, after receiving a data stream of video data from the monitoring equipment, the host analyzes the data stream, reads the data stream, analyzes the data stream into frames and acquires frame information, the frame information can generally distinguish frame types, time stamps of the frames, and the time stamps are generally accurate to seconds, then the frames of each time stamp are sequentially arranged in the data stream, additional external serial numbers are added to the frames according to the sequence, the frame serial numbers in the same second are ensured not to be repeated and are ordered, and the second frame is represented; then combining the frame type, time stamp, and sequencing number of the frame number within one second to generate a new download frame number, and the process of combining the download frame number is a custom encoding process.
In an implementation manner of this embodiment, the following steps are also implemented: and step S108, under the condition that the index information cannot be read, the requesting party correspondingly writes the frames into the file according to the size of the downloaded frame serial number.
The method includes that when a requester does not read index information, namely the last frame number, the received data stream is a monitoring video data stream based on a video time period requested to be downloaded, at the moment, a host can write frame sequences into a file according to the size of a current frame number (a downloaded frame number) generated by a custom code, and it is understood that the downloaded frame number is only the frame number formed by the custom code, and the downloaded frame number is not used as a data write file of a frame but is used as a number for judging the sequence of the frame.
In an embodiment of this embodiment, in the case that the index information can be read in step S107, the requesting party writes the frame with the download frame number greater than the last frame number into the file according to the size of the download frame number and deletes the read index information by the following steps:
step S107-1, the requester reads the download frame number and the last frame number;
step S107-2, the requester compares the download frame number with the last frame number;
and step S107-3, under the condition that the frame types are the same and the download frame number is greater than the last frame number, the requesting party correspondingly writes the frames with the download frame numbers greater than the last frame number into the file according to the size of the download frame numbers and deletes the index information.
The download frame number and the last frame number can be numbers or character strings, and the download frame number and the last frame number can be compared in size to judge the time sequence of matching the frame numbers, and the download frame number and the last frame number are increased or decreased gradually along with the time.
Wherein, the comparison of the download frame number and the last frame number comprises: frame sequence number prefix comparison and sequence number comparison. Comparing frame sequence number prefixes, firstly comparing frame types in the frame sequence numbers, wherein the frame sequence number prefixes represent the frame types, and the prefixes are equal and represent the same frame type, then comparing the sequence numbers; if the prefixes are different, the comparison is finished, and the comparison of the next frame is continued; comparing the frame serial numbers, and if the current frame serial number (the download frame serial number) is less than or equal to the last frame serial number, indicating that the part of data (the data corresponding to the download frame) has been downloaded and a file does not need to be written (downloaded); if the current frame number (download frame number) is greater than or equal to the last frame number, it indicates that the part of data (data corresponding to the download frame number) has not been downloaded, and a file needs to be written, so as to perform downloading.
In one embodiment of this embodiment, after the requester compares the download frame number and the last frame number in step S107-2, the following steps are further implemented:
step S107-4, under the condition that the frame types are different, the requesting party deletes the frame corresponding to the downloading frame number;
and step S107-5, under the condition that the frame types are the same and the download frame number is not greater than the last frame number, deleting the frame corresponding to the download frame number by the requesting party.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 3, an apparatus for monitoring breakpoint download of video, which can be applied to a monitoring device, includes: a receiving module 31, a querying module 32 and a determining module 33, wherein:
the acquiring module 31 is configured to receive a download request for requesting to download a monitoring video, where the download request carries a video time period corresponding to the monitoring video requested to be downloaded;
the query module 32 is coupled to the obtaining module 31 and configured to query index information associated with the monitoring video requested to be downloaded, where the index information records a last frame number of a last download;
and the processing module 33 is coupled to the querying module 32, and configured to send, to a requester requesting to download the monitoring record, a frame corresponding to an end frame number corresponding to an end time of the recording time period and at least including a last frame number of a last download in the case that the index information is queried, and delete the index information.
In one embodiment, the apparatus further comprises:
the first processing module 34 is coupled to the querying module 32, and configured to send, when the index information is not queried, a frame corresponding to a time period from a start frame number to an end frame number corresponding to a start time of the video recording period to a requester requesting to download the monitoring video and create the index information.
In one embodiment, the apparatus further comprises:
and the generating module is used for generating new index information and recording the corresponding last frame sequence number when the interruption occurs in the generated index information, wherein the interruption comprises transmission failure and transmission pause.
In one embodiment, as shown in fig. 4, another apparatus for monitoring breakpoint download of video, applied to a host, includes:
a first obtaining module 41, configured to obtain, from the received frame, a download frame number formed in one of the following manners: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of a frame; wherein, the downloading frame number at least comprises: frame type, frame timestamp, and rank number within the same timestamp;
a reading module 42, coupled to the first obtaining module 41, for reading the index information;
and the second processing module 43, coupled to the reading module 42, is configured to, when the index information can be read, correspondingly write the frame with the download frame number greater than the frame with the last frame number into the file according to the size of the download frame number, and delete the read index information.
In one embodiment, the above apparatus further comprises:
and the third processing module 44 is coupled to the reading module 42, and configured to correspondingly write the frames into the file according to the size of the downloaded frame number if the index information cannot be read.
In one embodiment, the second processing module 43 may include:
a reading unit for reading the download frame number and the last frame number;
the comparison unit is coupled with the reading unit and used for comparing the download frame number with the last frame number;
and the processing unit is coupled with the comparison unit and used for correspondingly writing the frames with the downloading frame serial numbers larger than the last frame serial number into the file according to the size of the downloading frame serial numbers and deleting the index information under the condition that the frame types are the same and the downloading frame serial numbers are larger than the last frame serial number.
In one embodiment, the second processing module 43 may further include:
the first processing unit is coupled with the comparison unit and used for deleting the frames corresponding to the download frame serial numbers under the condition that the frame types are different;
and the second processing unit is coupled with the comparison unit and used for deleting the frames corresponding to the download frame number under the condition that the frame types are the same and the download frame number is not greater than the last frame number.
For the specific limitation of the apparatus for downloading the breakpoint of the surveillance video, reference may be made to the above limitation on the method for downloading the breakpoint of the surveillance video, and details are not described herein again. All or part of the modules in the device for monitoring breakpoint downloading of the video can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing the vehicle fault question and answer text, fields of various questions and node data of the constructed judgment decision tree. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for monitoring breakpoint download of a video.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
and under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video recording time period to a requester requesting to download the monitoring video, and deleting the index information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and under the condition that the index information is not inquired, sending the corresponding frame from the starting frame number corresponding to the starting time of the video recording time period to the ending frame number to a requester requesting to download the monitoring video and creating the index information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and generating new index information and recording a corresponding last frame sequence number when the interruption occurs in the generated index information under the condition that the frame transmission interruption occurs in the process of transmitting the frame to the requester, wherein the interruption comprises transmission failure and transmission pause.
In this embodiment, the index information further includes a last download file name, a last download start time, and a last download end time.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the requester obtains a download frame number formed in one of the following ways from the received frame: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of a frame; wherein, the downloading frame number at least comprises: frame type, frame timestamp, and rank number within the same timestamp;
the requester reads the index information;
and under the condition that the index information can be read, the requesting party correspondingly writes the frames with the download frame serial numbers larger than the last frame serial number into the file according to the size of the download frame serial numbers and deletes the read index information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and if the index information cannot be read, the requester correspondingly writes the frames into the file according to the size of the downloaded frame serial number.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the requester reads the download frame number and the last frame number;
the requester compares the download frame number with the last frame number;
and under the condition that the frame types are the same and the download frame serial number is greater than the last frame serial number, the requesting party correspondingly writes the frames with the download frame serial numbers greater than the last frame serial number into the file according to the size of the download frame serial numbers and deletes the index information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
under the condition that the frame types are different, the requesting party deletes the frame corresponding to the downloading frame sequence number;
and under the condition that the frame types are the same and the download frame serial number is not greater than the last frame serial number, deleting the frame corresponding to the download frame serial number by the requesting party.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
and under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video recording time period to a requester requesting to download the monitoring video, and deleting the index information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and under the condition that the index information is not inquired, sending the corresponding frame from the starting frame number corresponding to the starting time of the video recording time period to the ending frame number to a requester requesting to download the monitoring video and creating the index information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and generating new index information and recording a corresponding last frame sequence number when the interruption occurs in the generated index information under the condition that the frame transmission interruption occurs in the process of transmitting the frame to the requester, wherein the interruption comprises transmission failure and transmission pause.
In this embodiment, the index information further includes a last download file name, a last download start time, and a last download end time.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the requester obtains a download frame number formed in one of the following ways from the received frame: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of a frame; wherein, the downloading frame number at least comprises: frame type, frame timestamp, and rank number within the same timestamp;
the requester reads the index information;
and under the condition that the index information can be read, the requesting party correspondingly writes the frames with the download frame serial numbers larger than the last frame serial number into the file according to the size of the download frame serial numbers and deletes the read index information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the index information cannot be read, the requester correspondingly writes the frames into the file according to the size of the downloaded frame serial number.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the requester reads the download frame number and the last frame number;
the requester compares the download frame number with the last frame number;
and under the condition that the frame types are the same and the download frame serial number is greater than the last frame serial number, the requesting party correspondingly writes the frames with the download frame serial numbers greater than the last frame serial number into the file according to the size of the download frame serial numbers and deletes the index information.
Under the condition that the frame types are different, the requesting party deletes the frame corresponding to the downloading frame sequence number;
and under the condition that the frame types are the same and the download frame serial number is not greater than the last frame serial number, deleting the frame corresponding to the download frame serial number by the requesting party.
In this embodiment, the index information includes at least one piece of download information, each piece of download information exists in the at least one piece of index information, the video data includes a frame header, a frame trailer and frame data, and the download frame number is written in one of the frame header, the frame trailer and the frame data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for monitoring breakpoint download of video, the method comprising:
receiving a downloading request for requesting to download the monitoring video, wherein the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
inquiring index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
under the condition that the index information is inquired, sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video time period to a requester requesting to download the monitoring video, and deleting the index information; wherein, sending the frame corresponding to the last frame number downloaded last time to the end frame number corresponding to the end time of the video period to the requester requesting to download the monitoring video comprises:
under the condition that the last frame number is the frame number of the last frame when the last downloading is not finished, sending the frame corresponding to the last second or last seconds before the last frame number and the frame corresponding to the last frame number of the last downloading to the end frame number corresponding to the end time of the video recording time period to the requesting party;
setting the starting time of monitoring video data stream downloading of the monitoring equipment as the starting time of a video downloading request time period under the condition that the last frame number is the frame number of the last frame when the last downloading is finished, and sending the data frame to the requester;
the requester acquires a download frame sequence number from the received frame;
the requester reads the index information;
and under the condition that the index information can be read, the requester correspondingly writes the frame with the download frame serial number larger than the last frame serial number into a file according to the size of the download frame serial number and deletes the read index information.
2. The method of claim 1, further comprising:
and under the condition that the index information is not inquired, sending a frame corresponding to the frame number from the start frame number corresponding to the start time of the video recording time period to the end frame number to a requester requesting to download the monitoring video and creating the index information.
3. The method of claim 1, further comprising:
and generating new index information and recording a last frame sequence number corresponding to the interruption in the generated index information under the condition that the frame transmission interruption occurs in the process of transmitting the frame to the requester, wherein the interruption comprises transmission failure and transmission pause.
4. The method of claim 3, wherein the index information further comprises a last download file name, a last download start time, and a last download end time.
5. The method according to claim 1, wherein the requesting party obtains from the received frame a download frame number formed by one of: writing one of a frame head, frame data and a frame tail of the frame; performing combined coding based on one of a frame head, frame data and a frame tail of the frame; wherein, the download frame number at least comprises: frame type, frame timestamp, and rank number within the same timestamp.
6. The method according to claim 5, wherein the requester correspondingly writes the frame into a file according to the download frame number size in case of failing to read the index information.
7. The method according to claim 5, wherein, in the case that the index information can be read, the requesting party correspondingly writes the frame with the download frame number greater than the last frame number into a file according to the size of the download frame number and deletes the read index information, including:
the requester reads the download frame number and the last frame number;
the requester compares the download frame number with the last frame number;
and under the condition that the frame types are the same and the download frame serial number is greater than the last frame serial number, the requesting party correspondingly writes the frames with the download frame serial numbers greater than the last frame serial number into a file according to the size of the download frame serial number and deletes the index information.
8. The method of claim 7, wherein after the requestor compares the download frame sequence number to the last frame sequence number, the method further comprises:
under the condition that the frame types are different, the requester deletes the frame corresponding to the download frame sequence number;
and under the condition that the frame types are the same and the download frame sequence number is not greater than the last frame sequence number, deleting the frame corresponding to the download frame sequence number by the requester.
9. An apparatus for monitoring breakpoint downloads of video recordings, the apparatus comprising:
the system comprises a receiving module, a downloading module and a downloading module, wherein the receiving module is used for receiving a downloading request for requesting to download a monitoring video, and the downloading request carries a video time period corresponding to the monitoring video requested to be downloaded;
the query module is used for querying index information associated with the monitoring video requested to be downloaded, wherein the index information records the last frame number of the last downloading;
the processing module is used for sending a frame corresponding to a frame sequence number from the last downloaded frame sequence number to an end frame sequence number corresponding to the end time of the video time period to a requester requesting to download the monitoring video under the condition that the index information is inquired, and deleting the index information; wherein, sending the frame corresponding to the last frame number downloaded last time to the end frame number corresponding to the end time of the video period to the requester requesting to download the monitoring video comprises:
under the condition that the last frame number is the frame number of the last frame when the last downloading is not finished, sending the frame corresponding to the last second or last seconds before the last frame number and the frame corresponding to the last frame number of the last downloading to the end frame number corresponding to the end time of the video recording time period to the requesting party;
setting the starting time of monitoring video data stream downloading of the monitoring equipment as the starting time of a video downloading request time period under the condition that the last frame number is the frame number of the last frame when the last downloading is finished, and sending the data frame to the requester;
the first acquisition module is used for acquiring a download frame sequence number from a received frame;
the reading module is coupled with the first acquisition module and used for reading the index information;
and the second processing module is coupled with the reading module and used for correspondingly writing the frames with the download frame serial numbers larger than the frames corresponding to the last frame serial numbers into the file according to the size of the download frame serial numbers and deleting the read index information under the condition that the index information can be read.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the method for breakpoint download of a surveillance video according to any of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for monitoring breakpoint downloads of video recordings according to any of claims 1 to 8.
CN202010378328.2A 2020-05-07 2020-05-07 Method, device, equipment and medium for monitoring breakpoint download of video Active CN111698466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010378328.2A CN111698466B (en) 2020-05-07 2020-05-07 Method, device, equipment and medium for monitoring breakpoint download of video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010378328.2A CN111698466B (en) 2020-05-07 2020-05-07 Method, device, equipment and medium for monitoring breakpoint download of video

Publications (2)

Publication Number Publication Date
CN111698466A CN111698466A (en) 2020-09-22
CN111698466B true CN111698466B (en) 2022-03-01

Family

ID=72476594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010378328.2A Active CN111698466B (en) 2020-05-07 2020-05-07 Method, device, equipment and medium for monitoring breakpoint download of video

Country Status (1)

Country Link
CN (1) CN111698466B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214516B2 (en) * 2006-01-06 2012-07-03 Google Inc. Dynamic media serving infrastructure
CN101227590B (en) * 2007-01-19 2013-03-06 北京风行在线技术有限公司 P2P protocol-based media file order program control method and apparatus
CN101262321A (en) * 2008-02-03 2008-09-10 杭州华三通信技术有限公司 Media data processing method, coding device and media platform
CN101286976A (en) * 2008-05-08 2008-10-15 蒋一 Method for realizing P2P stream media system based on data disassemble technique
CN101459693A (en) * 2008-12-29 2009-06-17 中兴通讯股份有限公司 Stream media downloading method and system
CN102750962B (en) * 2012-06-11 2016-04-06 杭州海康威视数字技术股份有限公司 A kind of back method of video file and device
CN102932480B (en) * 2012-11-16 2015-11-04 福建联迪商用设备有限公司 A kind of method of terminal breakpoint transmission
CN104811796B (en) * 2014-01-24 2018-11-16 北京猎豹移动科技有限公司 Network video continuous transmission method and device
CN108023906B (en) * 2016-10-31 2020-06-12 杭州海康威视系统技术有限公司 Breakpoint continuous transmission method and device of monitoring video
CN107911712B (en) * 2017-11-30 2020-10-09 歌尔科技有限公司 Data buffering method and electronic equipment
CN110245258B (en) * 2018-12-10 2023-03-17 浙江大华技术股份有限公司 Method for establishing index of video file, video file analysis method and related system

Also Published As

Publication number Publication date
CN111698466A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US20090259730A1 (en) Content accumulating system, user terminal apparatus, content accumulating method,content accumulating program and storage medium
CN103650526A (en) Playlists for real-time or near real-time streaming
CN112188225A (en) Bullet screen issuing method for live broadcast playback and live broadcast video bullet screen playback method
CN114301602B (en) Video protection method and device based on block chain
WO2018233539A1 (en) Video processing method, computer storage medium, and device
EP3780642A1 (en) Streaming media data processing method and streaming media processing server
CN103152606B (en) Video file processing method and device, system
CN114363670A (en) Video reading method, device, equipment and storage medium
CN112423140A (en) Video playing method and device, electronic equipment and storage medium
CN113886743A (en) Method, device and system for refreshing cache resources
EP3258664A1 (en) Media data processing method and apparatus
CN113448817A (en) Page screen recording method and device and storage medium
KR20100042629A (en) Method and apparatus for encoding and decoding multimedia data
JP5651558B2 (en) Management server, video distribution control system, and video distribution control method
CN111698466B (en) Method, device, equipment and medium for monitoring breakpoint download of video
CN111935242A (en) Data transmission method, device, server and storage medium
CN112468872A (en) IP video consistency detection method and device, computer equipment and storage medium
JP4055776B2 (en) Content distribution system, and peer and peer program used therefor
CN111726650B (en) Video live broadcast method and device and computer storage medium
CN112749142A (en) Handle management method and system
CN111061682A (en) Data caching method, data reading method, electronic equipment and storage medium
KR20210011243A (en) Method and apparatus for monitoring HTTP/2 header compressed packet
JP2002259216A (en) Method for detecting electronic file alteration, method for describing electronic file for the same and communication equipment
CN106815238B (en) Serialization and deserialization method and device for structured data
CN113438506B (en) Video file restoration method and device, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant