CN110636340A - Video file uploading method and storage device - Google Patents

Video file uploading method and storage device Download PDF

Info

Publication number
CN110636340A
CN110636340A CN201910943659.3A CN201910943659A CN110636340A CN 110636340 A CN110636340 A CN 110636340A CN 201910943659 A CN201910943659 A CN 201910943659A CN 110636340 A CN110636340 A CN 110636340A
Authority
CN
China
Prior art keywords
video
fragment
index table
playing
video file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910943659.3A
Other languages
Chinese (zh)
Other versions
CN110636340B (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201910943659.3A priority Critical patent/CN110636340B/en
Publication of CN110636340A publication Critical patent/CN110636340A/en
Application granted granted Critical
Publication of CN110636340B publication Critical patent/CN110636340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application is applicable to the technical field of internet, and provides a method and equipment for uploading a video file, wherein the method comprises the following steps: receiving each video fragment of a video file; if the total fragment duration of the received video fragments is greater than a preset index creation threshold, creating a fragment index table of the video file according to all the received video fragments; if a playing request about the video file sent by a video playing terminal is received, returning the fragment index table to the video playing terminal; and if the preset updating triggering condition is met, updating the fragment index table, and responding to the playing request according to the updated fragment index table. According to the method and the device, after the video fragments with a certain playing time length are uploaded, the fragment index table of the video file is created, the video playing terminal can download each uploaded video fragment according to the fragment index table, the playing request is responded, the flexibility of playing operation is improved, and the waiting time of the playing operation of a user is reduced.

Description

Video file uploading method and storage device
Technical Field
The application belongs to the technical field of internet, and particularly relates to a video file uploading method and storage equipment.
Background
With the continuous development of the cloud storage technology, a user can upload a local video file to the cloud server and store the local video file through the cloud server, so that the pressure of local storage is reduced, when the video file needs to be played, a playing request can be sent to the cloud server, and the video file is downloaded from the cloud server again to respond to the playing request. In the existing video file uploading method, after the video file is uploaded, a user can execute the downloading of the video file and cannot play the video file in the uploading process, so that the flexibility of the playing operation of the video file is reduced, and the playing waiting time of the user is prolonged.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for uploading a video file, so as to solve the problem that, in the existing video file uploading technology, a user can only execute downloading of the video file after the video file is uploaded, and cannot play the video file in the uploading process, thereby reducing flexibility of playing operation of the video file and increasing the play waiting time of the user.
A first aspect of an embodiment of the present application provides a method for uploading a video file, including:
receiving each video fragment of a video file; each video fragment corresponds to a video fragment duration;
if the total fragment duration of the received video fragments is greater than a preset index creation threshold, creating a fragment index table of the video file according to all the received video fragments;
if a playing request about the video file sent by a video playing terminal is received, returning the fragment index table to the video playing terminal;
and if the preset updating triggering condition is met, updating the fragment index table, and responding to the playing request according to the updated fragment index table.
A second aspect of an embodiment of the present application provides a storage device for video files, including:
the video fragment receiving unit is used for receiving each video fragment of the video file; each video fragment corresponds to a video fragment duration;
a fragment index table creating unit, configured to create a fragment index table of the video file according to all the received video fragments if a total fragment duration of the received video fragments is greater than a preset index creation threshold;
a playing request receiving unit, configured to return the segment index table to the video playing terminal if a playing request about the video file sent by the video playing terminal is received;
and the playing request responding unit is used for updating the fragment index table if a preset updating triggering condition is met, and responding to the playing request according to the updated fragment index table.
A third aspect of embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the first aspect.
The uploading method and the storage device of the video file provided by the embodiment of the application have the following beneficial effects:
according to the embodiment of the application, a video file is subjected to fragmentation operation, each video fragment related to the video file is received, and when the fact that the total fragmentation duration of the video fragments uploaded by the video file is greater than an index creation threshold value is detected, a fragmentation index table is created for the video file. The user can select a video file to be played from the video files created with the fragment index table, when the storage device receives a playing request of the video file, the fragment index table can be returned to the video playing terminal, the video playing terminal can download the uploaded video fragments according to the fragment index table, and the playing operation is executed based on the downloaded video fragments. In the playing process, the video file still continuously uploads new video fragments, so that the index table can be updated, and the synchronous playing operation and the uploading operation are realized. Compared with the prior art of uploading video files, the method and the device have the advantages that playing operation can be executed without waiting for the video files to be uploaded completely, the fragment index table of the video files can be created after the video fragments with certain playing time are uploaded, the video playing terminal can download the uploaded video fragments according to the fragment index table, the playing request is responded, the flexibility of the playing operation is improved, and the waiting time of the playing operation of a user is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a method for uploading a video file according to a first embodiment of the present application;
fig. 2 is a flowchart illustrating a specific implementation of a method S104 for uploading a video file according to a second embodiment of the present application;
fig. 3 is a flowchart illustrating a specific implementation of a method for uploading a video file according to a third embodiment of the present application;
fig. 4 is a flowchart illustrating an interactive implementation of a method for uploading a video file according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a specific implementation of a method for uploading a video file according to a fourth embodiment of the present application;
fig. 6 is a flowchart illustrating a specific implementation of a method for uploading a video file according to a fifth embodiment of the present application;
fig. 7 is a flowchart illustrating a specific implementation of a method for uploading a video file according to a sixth embodiment of the present application;
fig. 8 is a block diagram illustrating a storage device for video files according to an embodiment of the present application;
fig. 9 is a schematic diagram of a terminal device according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail 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.
According to the embodiment of the application, a video file is subjected to fragmentation operation, each video fragment related to the video file is received, and when the fact that the total fragmentation duration of the video fragments uploaded by the video file is greater than an index creation threshold value is detected, a fragmentation index table is created for the video file. The user can select a video file to be played from the video files created with the fragment index table, when the storage device receives a playing request of the video file, the fragment index table can be returned to the video playing terminal, the video playing terminal can download the uploaded video fragments according to the fragment index table, and the playing operation is executed based on the downloaded video fragments. In the playing process, the video file still continuously uploads new video fragments, so that the index table can be updated, the synchronous playing operation and the synchronous uploading operation are realized, and the problems that the video file can not be played in the uploading process because the user can only execute the downloading of the video file after the uploading of the video file is finished in the existing uploading response technology of the video file are solved, the flexibility of the playing operation of the video file is reduced, and the playing waiting time of the user is prolonged are solved.
In the embodiment of the present application, the execution subject of the flow is a storage device of the video file. The storage devices include, but are not limited to: the storage device can be a cloud server, and each video uploading terminal can send a video file to be uploaded to the cloud server for cloud storage. Fig. 1 shows a flowchart of an implementation of a method for uploading a video file according to a first embodiment of the present application, which is detailed as follows:
in S101, receiving each video clip of a video file; each video slice corresponds to a video slice duration.
In this embodiment, the storage device may receive video files uploaded by other devices, and configure a corresponding storage space in an existing database server system for each video file, thereby implementing cloud storage of the video files. In order to simultaneously realize the uploading operation and the playing operation of the video file, the video file can be divided into a plurality of different video fragments, each video fragment can be played independently and has a corresponding playing time length, namely the video fragment time length. When the video uploading terminal needs to perform online playing operation on the video file being uploaded or the video file stored in the cloud, each video fragment can be obtained from the target database corresponding to the video file, so that the waiting time for video playing can be reduced, and the video uploading terminal needs to completely play the video file
The video file is downloaded to the local storage module and then the playing operation is executed; but after the video fragment corresponding to the video starting time is downloaded, the video fragment is played, and the video fragment of the subsequent time node is continuously downloaded in the playing process, so that the video playing efficiency is greatly improved. Based on the above, in the process that the video uploading terminal uploads the video file and the cloud server performs cloud storage on the video file, the video file is stored in a mode of taking the video fragment as a unit.
In this embodiment, the video uploading terminal may sequentially upload the video segments to the storage device according to the playing order of the video segments in the video file, that is, upload is started from the video segment corresponding to the starting frame of the video file, and it is determined that the video file has completed the uploading operation until the video segment corresponding to the ending frame of the video file is uploaded completely.
Optionally, in this embodiment, the video uploading terminal may divide the video file into different video segments in a preset equal dividing manner, where the video segment duration of each video segment is the same; certainly, the video uploading terminal may divide the video file into a plurality of video segments with different video segment durations according to an unequal division algorithm, for example, a user often needs to determine the playing content of the video file by playing the beginning portion of the video file, at this time, the response rate of the storage device corresponding to the beginning portion should be higher, and the video segment duration of the video segment corresponding to the beginning portion may be set to be shorter; on the contrary, for the video slice of the ending part, the corresponding video slice duration is longer. Therefore, the video uploading terminal can set corresponding duration weights for each position node in the video file, and the video file is divided based on the duration weights to obtain a plurality of video fragments.
Optionally, in this embodiment, each video segment includes a segment serial number, and if the storage device detects that the segment serial number of the current video segment is not consecutive to the segment serial number of the last received video segment, it identifies that a segment packet is lost, and sends packet loss information to the video upload terminal through the downlink channel, so that the video upload terminal can upload the lost video segment again.
It should be noted that the video file may be a real-time video file, that is, the video data acquired at present is uploaded to the cloud server for storage, and other users may perform video playing operation in the uploading process.
In S102, if the total fragment duration of the received video fragments is greater than a preset index creation threshold, a fragment index table of the video file is created according to all the received video fragments.
In this embodiment, after receiving a video segment of a video file, a storage device does not immediately generate a segment index table of the video file, but detects whether the video segment uploaded by the video file meets a playing request, so as to avoid the situation that a user is stuck in playing due to the fact that the uploading network speed is not matched with the playing downloading network speed in the process of playing the video segment, and increase the waiting time of the user playing operation. Because each video fragment corresponds to the video fragment duration, the storage device can superimpose the video fragment durations of all the received video fragments, and calculate the total fragment duration of the currently uploaded video fragments. If the total fragment duration is greater than a preset index creation threshold, executing the operation of S102; otherwise, if the total fragment duration is less than or equal to the index creation threshold, continuing to wait for the video uploading terminal to send the video fragments of the video file.
For example, if the video fragment duration of one video fragment is 10 seconds and the index creation threshold is 1 minute, the storage device may create the fragment index table of the video file after receiving 6 video fragments of the video file.
In this embodiment, the storage device may store the video segments of the video file in a distributed storage manner, that is, different video segments may be stored in different video databases, or may store all the video segments of the video file in the same video database in a unified storage manner. Therefore, in order to facilitate the downloading of the video file by the user, the storage device needs to record address information of each video segment, where the address information includes the database identifier of the target database and the storage address in the target database. The video playing terminal can address each video fragment according to the fragment index table and download the video fragment from the corresponding target database.
It should be noted that, after the fragment index table is created and a play request about the video file sent by the video play terminal is not received, although the storage device continuously receives new video fragments, the fragment index table is not updated at this time, so that the read-write pressure of the storage device on each database is reduced, and the resource utilization rate is improved. Preferably, when the storage device receives the video segments, the segment information may be sorted and temporarily stored in the cache region, so as to improve the efficiency of index updating.
In S103, if a play request about the video file sent by the video playing terminal is received, the segment index table is returned to the video playing terminal.
In this embodiment, the storage device may generate a video playlist according to the video file of each created segment index table, and return the video playlist to the video playing terminal, and the video playing terminal may generate a corresponding play request based on the video playlist, where the play request carries a video file identifier, and the video file identifier is recorded in the video playlist. In other words, if the video playing terminal needs to play the currently uploaded video file, it is necessary to execute the video file of the generated segment index table, that is, the shortest time delay between the playing operation and the uploading operation is the shortest time required for creating the segment index table, and belongs to a technical means of pseudo real-time playing.
In this embodiment, a video playing terminal adds a file identifier of a video file that needs to perform a playing operation into a playing request, and sends the playing request to a storage device, the storage device can detect whether the video file generates a corresponding fragment index table after receiving the playing request, and if the video file generates the fragment index table, the fragment index table is returned to the video playing terminal, so that the video playing terminal downloads a video fragment of the video file according to the fragment index table and performs the playing operation; otherwise, if the video file identifier does not have the corresponding fragment index table, returning video non-existence information to the video playing terminal.
Preferably, after detecting that the video file does not have the fragment index table, a waiting confirmation instruction can be returned to the video playing terminal, and if the video playing terminal returns confirmation information based on the waiting confirmation instruction, the video playing terminal returns the generated fragment index table to the video playing terminal; on the contrary, if the video playing terminal returns rejection information based on the waiting confirmation instruction, the other video file which is related to the video file and has generated the fragment index table is switched to be played, and the purpose of playing and recommending the video file is achieved. The other video files related to the video file may be divided based on the video content, or may be divided based on the uploading object.
In S104, if a preset update trigger condition is satisfied, the segment index table is updated, and the playback request is responded according to the updated segment index table.
In this embodiment, after receiving the fragment index table, the video playing terminal may obtain the storage address of each video fragment, and download the video fragment from the corresponding storage address to perform the playing operation, because in the playing process, the video fragment of the video file is still uploaded to the storage device, at this time, after all the video fragments in the received fragment index table are played, the video playing terminal may send the video fragment to the storage device
And the storage device updates the fragment index table after receiving the index acquisition request, and returns the updated fragment index table to the video playing terminal, and the video playing terminal can acquire and download subsequent video fragments according to the updated fragment index table to achieve the purpose of continuous playing. Specifically, the mode of updating the segment index table may adopt an incremental updating mode, that is, the index table of the newly added page is sent to the video playing terminal, instead of sending all currently received segment index tables of the whole video file to the video playing terminal, so that the data transmission amount is reduced, and the resource occupation of updating the segment index table is reduced. The beneficial effects of sending the index acquisition request to update the fragment index table based on the video playing terminal are as follows: 1. when the video playing terminal does not send the index acquisition request any more, the storage device stops updating the fragment index table without sending other instructions to inform the storage device to stop the updating operation of the fragment index table; 2. for example, if the video playing terminal obtains the index once every 20s paging, the storage device only needs to update the segment index table once every 20s, in this case, the content of the segment index table is more updated, thereby reducing the internal call of the storage device.
Optionally, the implementation flow of the incremental update mode is as follows: 1. the video playing terminal acquires the fragment index table of the video file from the storage device for the first time, the storage device returns the current existing fragment index table or partial content of the index table when finding that the video is still in the uploading process, the data volume of the fragment index table can be determined according to the page size appointed by the video playing terminal, and the storage device triggers the updating of the first fragment index table at this time. 2. The updating operation of the fragment index table is completed asynchronously after the paging request is returned, that is, the storage device updates the index table 3 when the video playing terminal plays the video fragments, the video playing terminal will perform the next paging request when the video fragments of the received fragment index table are to be played, for example, when the last video fragment is played, an index obtaining request is sent to the storage device, at this time, the newly added fragment index table after the previous triggering updating can be obtained and returned to the video playing terminal, and the index is triggered again, and the process is circulated until the video uploading is completed or the user stops watching.
Optionally, in this embodiment, in addition to passively receiving an index update request of the video playback terminal to update the segment index table, the storage device may further be provided with an index update period, and actively update the segment index table based on the index update period.
Optionally, in this embodiment, when the video playing terminal does not need to watch the video file, a playing stopping instruction may be sent to the storage device, and if the storage device receives the playing stopping instruction fed back by the video playing terminal, the fragment index table corresponding to the moment when the playing stopping instruction is received may be stored, and the update operation on the fragment index table is stopped, until all video fragments of the video file are uploaded, the update operation on the fragment index table is performed based on the storage addresses of all the video fragments in a unified manner.
As can be seen from the above, in the method for uploading a video file provided in the embodiment of the present application, a fragment index table is created for the video file by performing a fragment operation on the video file and receiving each video fragment related to the video file, when it is detected that the total fragment duration of the video fragments uploaded by the video file is greater than an index creation threshold. The user can select a video file to be played from the video files created with the fragment index table, when the storage device receives a playing request of the video file, the fragment index table can be returned to the video playing terminal, the video playing terminal can download the uploaded video fragments according to the fragment index table, and the playing operation is executed based on the downloaded video fragments. In the playing process, the video file still continuously uploads new video fragments, so that the index table can be updated, and the synchronous playing operation and the uploading operation are realized. Compared with the prior art of uploading video files, the method and the device have the advantages that playing operation can be executed without waiting for the video files to be uploaded completely, the fragment index table of the video files can be created after the video fragments with certain playing time are uploaded, the video playing terminal can download the uploaded video fragments according to the fragment index table, the playing request is responded, the flexibility of the playing operation is improved, and the waiting time of the playing operation of a user is reduced.
Fig. 2 shows a flowchart of a specific implementation of the method S104 for uploading a video file according to the second embodiment of the present application. Referring to fig. 2, with respect to the embodiment shown in fig. 1, the method for uploading a video file S104 provided by this embodiment includes: s1041 to S1044, detailed description is as follows:
further, if the preset update triggering condition is met, updating the segment index table, and responding to the play request according to the updated segment index table includes:
in S1041, extracting a video identifier carried by the play request, and querying an upload state of the video file based on the video identifier.
In this embodiment, after receiving a play request of a video file, the storage device may parse the play request, and extract a video identifier carried in the play request, where the video identifier is used to indicate the video file that needs to be played by a user. It should be noted that the video identifiers corresponding to different video files may be different or the same. Under the condition that the video identifier is multiplexed, different video uploading terminals have own video databases, and different video playing terminals can only play video files stored in the video databases of the corresponding video uploading terminals, so that the video identifier is only effective for the video database to which the video uploading terminal belongs, for example, the video file with the number of 1 is different for the video files corresponding to the video databases of different users, and for the video database of a certain user, one video file can be uniquely determined, thereby realizing the purpose that the video identifier is multiplexed in different video databases to indicate different video files.
In this embodiment, the storage device may establish an upload status list of the video file, where the upload status list may include: no upload, upload in progress, upload already, and upload interrupt. The storage device can query in the uploading state list according to the video identifier, so as to determine the uploading state of the video file. If the uploading status of the video file is not completed, the operation of S1042 is executed.
In S1042, if the upload state is an uncompleted state, a target database stored in the video fragment of the video file is queried.
In this embodiment, if the video file is still executing the uploading operation, that is, there is a video slice that is not uploaded, at this time, the uploading state of the video file is an unfinished state. On the contrary, if the video file does not have the video fragments which are not uploaded, that is, all the video data of the video file are recorded in the cloud server is shown, and at this time, the uploading state of the video file is the completion state.
In this embodiment, after detecting that the video file is not uploaded, the storage device may query a target database stored in the video file according to the video identifier, where the target database is used to store each video fragment of the video file. Of course, if the video segments uploaded by the video file are stored in a plurality of different target databases, the number of the target databases obtained by querying at this time may be multiple.
In S1043, a file download instruction is generated based on the play start timestamp of the play request, and the file download instruction is sent to the target database.
In this embodiment, the play request carries, in addition to the video identifier, a play start timestamp, that is, a play start time point corresponding to the play request is indicated. Specifically, if the play start timestamp is empty, the first video image frame of the video file that needs to be played currently may be identified, that is, the video file is played from the beginning.
In this embodiment, the storage device generates a file download instruction according to the play start timestamp, and forwards the file download instruction to the target database, and when the target database receives the file download instruction, a callback operation is triggered, and the callback operation is processed by the data management device to which the target database belongs, and when the data management device receives the file download instruction including the play start timestamp, it is determined that the video play terminal has initiated a video play request, and an update flow of the segment index table is triggered, that is, the segment index table is updated at an index update cycle, so that a user can view all uploaded video segments in real time.
In S1044, the video segment corresponding to the play start timestamp returned by the target database is received, and the segment index table fed back by the target database is received based on the update trigger condition.
In this embodiment, the target database may return the video fragment corresponding to the play start timestamp carried in the file download instruction to the storage device, the storage device may send the video fragment to the video playing terminal, the video playing terminal may execute the play operation after receiving the video fragment corresponding to the play start timestamp, and obtain other video fragments after the video fragment according to the fragment index table received in S103, so as to achieve the purpose of continuous play, meanwhile, the target database may update the fragment index table according to a preset update trigger condition, and the storage device may send the updated fragment index table to the video playing terminal, so that the video playing terminal downloads the uploaded video fragments based on the updated fragment index table.
In the embodiment of the application, the uploading state of the video file is identified, and the fragment index table is updated according to the preset index updating period for the video file which is not uploaded, so that the purpose of synchronously executing the uploading operation and the playing operation is realized, and the waiting time of a user is reduced.
Fig. 3 shows a flowchart of a specific implementation of a method for uploading a video file according to a third embodiment of the present application. Referring to fig. 3, with respect to the embodiment described in fig. 2, after S1041, the method for uploading a video file provided in this embodiment further includes: s1045 to S1046, which are detailed as follows:
further, after the extracting the video identifier carried by the play request and querying the uploading state of the video file based on the video identifier, the method further includes:
in S1045, if the uploading status is a finished status, determining the stored target database of the video file.
In this embodiment, after acquiring the uploading state of the video file, if the uploading state is identified to be the completion state, the storage device indicates that all the video segments of the video file are uploaded, at this time, a target database stored in each video segment of the video file needs to be determined, and the target database stores a segment index table of the video file and is used for recording a storage address of each video segment.
In S1046, the video file is downloaded from the target database according to the updated segment index table.
In this embodiment, the storage device may obtain each video segment of the video file from the target database according to the completed segment index table, and return the video segment to the video playing terminal, so as to respond to the playing request of the video playing terminal.
In the embodiment of the application, when it is determined that the uploading of the video file is completed, the updated segment index table can be sent to the video playing terminal, so that the video playing terminal downloads each video segment according to the updated segment index table, responds to the playing request, reduces the downloading times of the segment index table, and improves the playing efficiency.
Fig. 4 shows a specific interaction flowchart of an uploading method of a video file provided by an embodiment of the present application. Referring to fig. 4, the uploading device of the video file in this embodiment includes an index module, a location management module, a database, and a data management module. It should be noted that there may be one or more databases, and the databases are used to store a large number of video files uploaded by the video uploading terminal.
In S401, the video playback terminal sends a playback request to an index module of a storage device of the video file.
In this embodiment, the video playing terminal may send a playing request to the index module through a client installed locally, where the playing request includes a video file identifier.
In S402, the index module returns the segment index table of the video file indicated by the play request to the storage device, and queries the upload state of the video file.
In S403, if it is detected that the uploading status of the video file is an uncompleted status, an asynchronous processing flow is triggered. At this time, the index module sends a query request to the location management module. The query request is used to obtain a target database storing video files.
In S404, after receiving the query request, the location management module returns the identifier of the target database storing the video file to the indexing module.
In S405, the index module generates a file download instruction according to the play start timestamp in the play request, and sends the file download instruction to the target database.
In S406, the target database triggers sending of an index update instruction to the data management module.
In this embodiment, the data management module updates the segment index table at a predetermined index update period.
In S407, the updated segment index table is sent to the index module based on the update trigger condition.
In S408, the indexing module returns the updated segment index table to the video playback terminal.
In the embodiment of the invention, the uploading equipment of the video file is divided into different modules, and the different modules execute corresponding operations, so that the uploading efficiency of the video file is improved.
Fig. 5 shows a flowchart of a specific implementation of the method S104 for uploading a video file according to a fourth embodiment of the present application. Referring to fig. 5, with respect to the embodiments described in fig. 1 to 4, S104 of the method for uploading a video file provided by this embodiment includes: s1041, detailed description is as follows:
further, if the preset update triggering condition is met, updating the segment index table, and responding to the play request according to the updated segment index table includes:
in S1041, if an index acquisition request is received, the segment index table is updated, and the playback request is responded according to the updated segment index table.
In this embodiment, the update triggering condition is specifically that an index acquisition request sent by the video playing terminal is received. Specifically, when the video playing terminal detects that the video segments in the received segment index table have been played completely or starts to play the last video segment of the segment index table, it may send an index acquisition request to the storage device, and after receiving the index acquisition request, the storage device updates the current segment index table. Since the video file is uploaded in the form of video slices, assuming that the time length of one video slice is N seconds, the storage device can only upload one video slice at most in N seconds, and therefore the update frequency of the slice index table should not exceed N seconds once. Optionally, in this example, the storage device may use a trigger frequency of the Redis restriction update logic, after the video playing terminal sends an index acquisition request, the index module in the storage device may add an identifier, that is, a key, corresponding to a video file that the video playing terminal needs to play to the Redis database, where an effective time of the key is the same as a video fragment duration, and when the video playing terminal acquires a video fragment of the video file again, the index module in the storage device may check whether a key related to the video file exists in the Redis database, and if so, the index module may not trigger an operation of actively updating the fragment index table, but return the currently stored fragment index table to the user terminal, and execute the update operation again until the effective time of the key expires. The purpose of doing so is to avoid the server side from frequently performing invalid updating when a plurality of video playing terminals simultaneously request the same section of the video being uploaded or the video playing terminals do not acquire the video index according to the standard behavior mode.
In the embodiment of the invention, when an index acquisition request sent by a video playing terminal is received, the fragment index table is updated, so that the number of instructions required to be transmitted can be reduced, and the internal call of a storage device can be reduced.
Further, as another embodiment of the present invention, S1041 may further include S501 and S502, which are detailed as follows:
in S501, the index acquisition request is analyzed to determine played segments of the video playing terminal.
In this embodiment, the index obtaining request may carry a terminal identifier of the video playing terminal, and the storage device may query the sent segment index table based on the terminal identifier, so as to determine a played video segment of the video playing terminal, specifically, determine a segment number of a last played video segment.
Optionally, in this embodiment, the index acquisition request may further carry a segment number of a last played video segment, and the storage device may identify, according to all received video segments, a video segment whose segment number is less than or equal to the segment number of the index acquisition request as a played segment.
In S5012, a paging index table is generated according to all the received video segments and the played segments, and the paging index table is sent to the video playing terminal.
In this embodiment, the storage device may determine that segments are not played according to all received video segments and played segments, and generate a paging index table according to the segments that are not played, that is, the segment index table returned by the current update operation does not include index tables corresponding to all received video segments, but sends an index table related to the segments that are not played, and the video playing terminal may respond to the video playing operation according to the paging index table of the segments that are not played.
In the embodiment of the application, played fragments of the video playing terminal are determined, unplayed fragments are identified, the paging index table is generated based on the unplayed fragments, and the paging index table is returned to the video playing terminal, so that the data volume of the paging index table can be reduced, and the consumption of network resources is reduced.
Fig. 6 shows a flowchart of a specific implementation of a method for uploading a video file according to a fifth embodiment of the present application. Referring to fig. 6, with respect to any one of the embodiments in fig. 1 to 4, the method for uploading a video file provided in this embodiment further includes: s601 to S602 are specifically described as follows:
further, after the creating a fragment index table of the video file according to all the received video fragments if the total fragment duration of the received video fragments is greater than a preset index creation threshold, the method further includes:
in S601, if all the video segments of the video file are uploaded, a storage address of each video segment is obtained.
In this embodiment, after the storage device creates the segment index table of the video file, if the video uploading terminal does not receive the play instruction about the current video file in the whole process of uploading the video file, the storage device does not perform the update operation on the created segment index table, thereby reducing unnecessary update operations. When all the video fragments of the video file are uploaded, the video playing terminal can send an uploading completion instruction to the storage device to indicate that all the video fragments of the video file are uploaded, a completion identifier can also be added to the last video fragment, and if the storage device detects that a certain video fragment contains the completion identifier, the storage device identifies that the video file has completed the uploading operation.
In this embodiment, the storage device may record a storage address of each video slice, and the storage address may include a database number of the target database and an address number for storing the target database. The device can download the corresponding video fragment according to the storage address.
In S602, the segment index table is updated based on the storage addresses of all the video segments.
In this embodiment, the storage device adds, according to the obtained storage address of each video fragment, a storage address of a video fragment that is not recorded in the fragment index table to the fragment index table, and resumes the correspondence between the video fragment and the storage address in the fragment index table.
In the embodiment of the application, in an actual scene, the behavior of the user for watching the cloud storage video file in real time only accounts for a very small part of the watching proportion, so that most users can watch the video file after the video file is uploaded for a period of time. For users who do not view in real time, it is virtually indistinguishable that the index is updated periodically during the upload of the video file and written once in unison after the end of the recording. However, for the server, the index is periodically updated, which brings a cost that the operation of calling and writing the database in the service room may be increased by one order of magnitude, and in the embodiment of the present application, the fragment index table is updated after the completion of the uploading of the video file is detected, so that for the video file which is not subjected to the playing operation, the updating operation of the fragment index table is only performed twice in the whole uploading operation, and thus the resource occupation amount of the updating operation can be reduced.
Fig. 7 shows a flowchart of a specific implementation of a method for uploading a video file according to a sixth embodiment of the present application. Referring to fig. 7, with respect to any one of the embodiments in fig. 1 to 4, the method for uploading a video file provided in this embodiment further includes: S701-S703 are detailed as follows:
further, after receiving each video slice of the video file, the method further includes:
in S701, a video playing duration of the video file is obtained.
In this embodiment, a first video segment of a video file may carry file information of the video file, or when the video file is uploaded by a video uploading terminal, the file information may be sent to a storage device, the storage device analyzes the file, determines a video playing time length of the video file, and if the video playing time length is less than or equal to a preset time length threshold, the operation of S702 is executed; otherwise, if the video playing duration is greater than the duration threshold, the operation of S703 is executed.
In S702, if the video playing time length is less than or equal to a preset time length threshold, when the upload completion information of the video file is received, a fragment index table of the video file is created.
In this embodiment, if the video playing time length is less than or equal to the time length threshold, the fragment index table of the video file is created after the video file is completely uploaded, and the video uploading terminal may send an uploading completion message to the storage device after the video file is completely uploaded, and then generate the fragment index table according to the storage address of each uploaded video fragment.
In S703, if the video playing duration is greater than the duration threshold, executing that if the total received video segment slicing duration is greater than a preset index creation threshold, creating a segment index table of the video file according to all the received video segments.
In this embodiment, for the video clips with the video playing time length greater than the time length threshold, the uploading operation and the playing operation may be responded through the operations from S102 to S104.
In the embodiment of the application, for the video file with shorter video duration, the fragment index table is generated after all the video fragments of the video file are uploaded, so that unnecessary fragment index updating operation can be reduced, and the utilization rate of resources is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 8 shows a block diagram of a storage device for video files according to an embodiment of the present application, where the storage device for video files includes units for performing the steps in the corresponding embodiment of fig. 1. Please refer to fig. 1 and fig. 1 for the corresponding description of the embodiment. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 8, the storage device of the video file includes:
a video slice receiving unit 81 configured to receive each video slice of the video file; each video fragment corresponds to a video fragment duration;
a fragment index table creating unit 82, configured to create a fragment index table of the video file according to all received video fragments if a total fragment duration of the received video fragments is greater than a preset index creation threshold;
a playing request receiving unit 83, configured to return the segment index table to the video playing terminal if a playing request about the video file sent by the video playing terminal is received;
a playing request responding unit 84, configured to update the segment index table if a preset update triggering condition is met, and respond to the playing request according to the updated segment index table.
Optionally, the play request responding unit 84 includes:
the uploading state acquisition unit is used for extracting the video identifier carried by the playing request and inquiring the uploading state of the video file based on the video identifier;
a target database query unit, configured to query a target database stored in the video segment of the video file if the upload state is an uncompleted state;
a file downloading instruction generating unit, configured to generate a file downloading instruction based on the play start timestamp of the play request, and send the file downloading instruction to the target database;
and the fragment index table receiving unit is used for receiving the video fragments corresponding to the play starting timestamp returned by the target database and receiving the fragment index table fed back by the target database based on the update triggering condition.
Optionally, the storage device for the video file further includes:
the uploading completion response unit is used for determining the stored target database of the video file if the uploading state is the completion state;
and the video file downloading unit is used for downloading the video file from the target database according to the updated fragment index table.
Optionally, the play request responding unit 84 includes:
and the index acquisition request receiving unit is used for updating the fragment index table if an index acquisition request is received, and responding to the playing request according to the updated fragment index table.
Optionally, the index obtaining request receiving unit includes:
a played segment determining unit, configured to parse the index obtaining request and determine a played segment of the video playing terminal;
and the paging index table generating unit is used for generating a paging index table according to all the received video fragments and the played fragments, and sending the paging index table to the video playing terminal.
Optionally, the storage device for the video file further includes:
the storage address acquisition unit is used for acquiring the storage address of each video fragment if all the video fragments of the video file are uploaded;
and the storage address updating unit is used for updating the fragment index table based on the storage addresses of all the video fragments.
Optionally, the storage device for the video file further includes:
a video playing time length obtaining unit, configured to obtain a video playing time length of the video file;
the first video time length triggering unit is used for creating a fragment index table of the video file when uploading completion information of the video file is received if the video playing time length is less than or equal to a preset time length threshold value;
and the second video time length triggering unit is used for executing that if the video playing time length is greater than the time length threshold value, if the total received video fragment time length is greater than a preset index creation threshold value, a fragment index table of the video file is created according to all the received video fragments.
Therefore, the storage device for the video file provided by the embodiment of the application can also execute the playing operation without waiting for the completion of uploading the video file, but can create the fragment index table of the video file after uploading the video fragments with a certain playing time, and the video playing terminal can download each uploaded video fragment according to the fragment index table, respond to the playing request, improve the flexibility of the playing operation, and reduce the waiting time of the playing operation of the user.
Fig. 9 is a schematic diagram of a terminal device according to another embodiment of the present application. As shown in fig. 9, the terminal device 9 of this embodiment includes: a processor 90, a memory 91 and a computer program 92, such as an upload program of video files, stored in said memory 91 and executable on said processor 90. The processor 90 executes the computer program 92 to implement the steps in the above-mentioned embodiments of the uploading method of the video files, for example, S101 to S104 shown in fig. 1. Alternatively, the processor 90, when executing the computer program 92, implements the functions of the units in the device embodiments, such as the functions of the modules 81 to 84 shown in fig. 8.
Illustratively, the computer program 92 may be divided into one or more units, which are stored in the memory 91 and executed by the processor 90 to accomplish the present application. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 92 in the terminal device 9. For example, the computer program 92 may be divided into a video segment receiving unit, a segment index table creating unit, a play request receiving unit, and a play request responding unit, and the specific functions of each unit are as described above.
The terminal device 9 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 90, a memory 91. Those skilled in the art will appreciate that fig. 9 is only an example of a terminal device 9, and does not constitute a limitation to the terminal device 9, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or a memory of the terminal device 9. The memory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 9. Further, the memory 91 may also include both an internal storage unit and an external storage device of the terminal device 9. The memory 91 is used for storing the computer program and other programs and data required by the terminal device. The memory 91 may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for uploading a video file, comprising:
receiving each video fragment of a video file; each video fragment corresponds to a video fragment duration;
if the total fragment duration of the received video fragments is greater than a preset index creation threshold, creating a fragment index table of the video file according to all the received video fragments;
if a playing request about the video file sent by a video playing terminal is received, returning the fragment index table to the video playing terminal;
and if the preset updating triggering condition is met, updating the fragment index table, and responding to the playing request according to the updated fragment index table.
2. The uploading method according to claim 1, wherein if a preset update triggering condition is satisfied, updating the segment index table, and responding to the play request according to the updated segment index table includes:
extracting a video identifier carried by the playing request, and inquiring the uploading state of the video file based on the video identifier;
if the uploading state is an uncompleted state, inquiring a target database stored in the video fragment of the video file;
generating a file downloading instruction based on the playing starting timestamp of the playing request, and sending the file downloading instruction to the target database;
receiving the video fragment corresponding to the play start timestamp returned by the target database, and receiving the fragment index table fed back by the target database based on the update trigger condition.
3. The uploading method according to claim 2, further comprising, after the extracting the video identifier carried by the play request and querying the uploading status of the video file based on the video identifier:
if the uploading state is the completion state, determining the stored target database of the video file;
and downloading the video file from the target database according to the updated fragment index table.
4. The uploading method according to any of claims 1 to 3, wherein the updating the segment index table if a preset update triggering condition is met, and responding to the play request according to the updated segment index table includes:
and if an index acquisition request is received, updating the fragment index table, and responding to the playing request according to the updated fragment index table.
5. The uploading method according to claim 4, wherein if an index acquisition request is received, updating the segment index table, and responding to the play request according to the updated segment index table includes:
analyzing the index acquisition request and determining the played fragment of the video playing terminal;
and generating a paging index table according to all the received video fragments and the played fragments, and sending the paging index table to the video playing terminal.
6. The uploading method according to any of claims 1 to 3, wherein after creating the fragment index table of the video file according to all the received video fragments if the total fragment duration of the received video fragments is greater than a preset index creation threshold, further comprising:
if all the video fragments of the video file are uploaded, acquiring the storage address of each video fragment;
and updating the fragment index table based on the storage addresses of all the video fragments.
7. The uploading method according to any of claims 1-3, further comprising, after receiving each video slice of the video file:
acquiring the video playing time of the video file;
if the video playing time length is less than or equal to a preset time length threshold value, when uploading completion information of the video file is received, a fragment index table of the video file is created;
if the video playing time length is greater than the time length threshold value, executing that if the total received video fragment time length is greater than a preset index creation threshold value, creating a fragment index table of the video file according to all the received video fragments.
8. A storage device for video files, comprising:
the video fragment receiving unit is used for receiving each video fragment of the video file; each video fragment corresponds to a video fragment duration;
a fragment index table creating unit, configured to create a fragment index table of the video file according to all the received video fragments if a total fragment duration of the received video fragments is greater than a preset index creation threshold;
a playing request receiving unit, configured to return the segment index table to the video playing terminal if a playing request about the video file sent by the video playing terminal is received;
and the playing request responding unit is used for updating the fragment index table if a preset updating triggering condition is met, and responding to the playing request according to the updated fragment index table.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor executing the computer program with the steps of the method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910943659.3A 2019-09-30 2019-09-30 Video file uploading method, storage device, terminal device and storage medium Active CN110636340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943659.3A CN110636340B (en) 2019-09-30 2019-09-30 Video file uploading method, storage device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943659.3A CN110636340B (en) 2019-09-30 2019-09-30 Video file uploading method, storage device, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN110636340A true CN110636340A (en) 2019-12-31
CN110636340B CN110636340B (en) 2021-11-09

Family

ID=68974940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943659.3A Active CN110636340B (en) 2019-09-30 2019-09-30 Video file uploading method, storage device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN110636340B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182327A (en) * 2020-02-12 2020-05-19 北京达佳互联信息技术有限公司 Video editing method and device, video distribution server and terminal
CN112040338A (en) * 2020-07-31 2020-12-04 中国建设银行股份有限公司 Video playing cheating detection method and device and electronic equipment
CN112860660A (en) * 2021-01-19 2021-05-28 奥特酷智能科技(南京)有限公司 Unified management method for Rosbag file information
CN113115120A (en) * 2021-05-27 2021-07-13 武汉斗鱼鱼乐网络科技有限公司 Video slicing method and device, electronic equipment and storage medium
CN113259699A (en) * 2021-05-13 2021-08-13 上海哔哩哔哩科技有限公司 Service detection method and device
CN113329267A (en) * 2021-05-27 2021-08-31 北京奇艺世纪科技有限公司 Video playing method and device, terminal equipment and storage medium
CN113411544A (en) * 2021-04-25 2021-09-17 青岛海尔科技有限公司 Video fragment file sending method and device, storage medium and electronic device
CN113438520A (en) * 2021-06-29 2021-09-24 北京奇艺世纪科技有限公司 Data processing method, device and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244644A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Method and device for releasing multimedia file
CN103916679A (en) * 2014-03-10 2014-07-09 百度在线网络技术(北京)有限公司 Method, equipment and system for providing video information
CN103974100A (en) * 2014-05-20 2014-08-06 北京速能数码网络技术有限公司 Media data playing method and device
WO2017054552A1 (en) * 2015-09-30 2017-04-06 华为技术有限公司 Terminal, cache server, and method for acquiring video slices and device thereof
CN106685942A (en) * 2016-12-20 2017-05-17 徐亮 Video live and replaying system and video live and replaying method
CN106686471A (en) * 2015-11-06 2017-05-17 中国电信股份有限公司 Method and client for realizing network video live broadcast
US20170195387A1 (en) * 2015-12-30 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method and Electronic Device for Increasing Start Play Speed
CN107306356A (en) * 2016-04-21 2017-10-31 中兴通讯股份有限公司 Video information describes file acquisition method and content distributing server, set top box, system
CN107483627A (en) * 2017-09-12 2017-12-15 网宿科技股份有限公司 A kind of file distributing, method for down loading, Distributor, client and system
CN107707590A (en) * 2016-08-09 2018-02-16 阿里巴巴集团控股有限公司 System, the method and device of data transfer
CN108391179A (en) * 2018-04-26 2018-08-10 腾讯科技(深圳)有限公司 live data processing method, device, server, terminal and storage medium
CN110072122A (en) * 2019-04-19 2019-07-30 华为技术有限公司 Video playing method and related equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244644A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Method and device for releasing multimedia file
CN103916679A (en) * 2014-03-10 2014-07-09 百度在线网络技术(北京)有限公司 Method, equipment and system for providing video information
CN103974100A (en) * 2014-05-20 2014-08-06 北京速能数码网络技术有限公司 Media data playing method and device
WO2017054552A1 (en) * 2015-09-30 2017-04-06 华为技术有限公司 Terminal, cache server, and method for acquiring video slices and device thereof
CN106686471A (en) * 2015-11-06 2017-05-17 中国电信股份有限公司 Method and client for realizing network video live broadcast
US20170195387A1 (en) * 2015-12-30 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method and Electronic Device for Increasing Start Play Speed
CN107306356A (en) * 2016-04-21 2017-10-31 中兴通讯股份有限公司 Video information describes file acquisition method and content distributing server, set top box, system
CN107707590A (en) * 2016-08-09 2018-02-16 阿里巴巴集团控股有限公司 System, the method and device of data transfer
CN106685942A (en) * 2016-12-20 2017-05-17 徐亮 Video live and replaying system and video live and replaying method
CN107483627A (en) * 2017-09-12 2017-12-15 网宿科技股份有限公司 A kind of file distributing, method for down loading, Distributor, client and system
CN108391179A (en) * 2018-04-26 2018-08-10 腾讯科技(深圳)有限公司 live data processing method, device, server, terminal and storage medium
CN110072122A (en) * 2019-04-19 2019-07-30 华为技术有限公司 Video playing method and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘雨丹: "基于HLS协议的P2P流媒体直播***的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182327A (en) * 2020-02-12 2020-05-19 北京达佳互联信息技术有限公司 Video editing method and device, video distribution server and terminal
CN111182327B (en) * 2020-02-12 2022-04-22 北京达佳互联信息技术有限公司 Video editing method and device, video distribution server and terminal
CN112040338A (en) * 2020-07-31 2020-12-04 中国建设银行股份有限公司 Video playing cheating detection method and device and electronic equipment
CN112860660A (en) * 2021-01-19 2021-05-28 奥特酷智能科技(南京)有限公司 Unified management method for Rosbag file information
CN113411544A (en) * 2021-04-25 2021-09-17 青岛海尔科技有限公司 Video fragment file sending method and device, storage medium and electronic device
CN113259699B (en) * 2021-05-13 2022-07-08 上海哔哩哔哩科技有限公司 Service detection method and device
CN113259699A (en) * 2021-05-13 2021-08-13 上海哔哩哔哩科技有限公司 Service detection method and device
CN113329267A (en) * 2021-05-27 2021-08-31 北京奇艺世纪科技有限公司 Video playing method and device, terminal equipment and storage medium
CN113115120A (en) * 2021-05-27 2021-07-13 武汉斗鱼鱼乐网络科技有限公司 Video slicing method and device, electronic equipment and storage medium
CN113115120B (en) * 2021-05-27 2022-12-23 武汉斗鱼鱼乐网络科技有限公司 Video slicing method and device, electronic equipment and storage medium
CN113329267B (en) * 2021-05-27 2023-03-24 北京奇艺世纪科技有限公司 Video playing method and device, terminal equipment and storage medium
CN113438520A (en) * 2021-06-29 2021-09-24 北京奇艺世纪科技有限公司 Data processing method, device and system
CN113438520B (en) * 2021-06-29 2023-01-03 北京奇艺世纪科技有限公司 Data processing method, device and system

Also Published As

Publication number Publication date
CN110636340B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN110636340B (en) Video file uploading method, storage device, terminal device and storage medium
KR102133951B1 (en) Short link handling methods, devices, and servers
US20150237113A1 (en) Method and system for file transmission
CN102857578B (en) A kind of file uploading method of network hard disc, system and net dish client
CN111447248A (en) File transmission method and device
BR112014000597B1 (en) METHOD AND SYSTEM FOR DOWNLOADING A MULTIMEDIA FILE
CN110324680B (en) Video pushing method and device, server, client and storage medium
US20190327105A1 (en) Method and apparatus for pushing information
CN110659121A (en) Task data acquisition method and device, task configuration method and device and server
US20170185454A1 (en) Method and Electronic Device for Determining Resource Consumption of Task
CN110457305B (en) Data deduplication method, device, equipment and medium
US20190014016A1 (en) Data acquisition device, data acquisition method and storage medium
CN110781149A (en) Method, device, equipment and storage medium for managing live broadcast room information
CN112416964A (en) Data processing method, device and system, computer equipment and computer readable storage medium
TW202001618A (en) File processing method and device
CN110764688B (en) Method and device for processing data
CN105323597A (en) MP4 file playing method, MP4 file processing method, MP4 file playing device, MP4 file processing device and MP4 file playing system
CN110290396B (en) Video processing method, device, system, equipment and storage medium
CN108415908B (en) Multimedia data processing method and server
CN114006946B (en) Method, device, equipment and storage medium for processing homogeneous resource request
CN103220587A (en) Method and device for obtaining time shifting contents
CN110704536A (en) Distributed data processing method, device and system and electronic equipment
CN110113495A (en) Long-range control method, device, electronic equipment and the system of APP
CN111031117B (en) Multimedia file downloading method and related device
CN112395337B (en) Data export method and device

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