DASH on-demand fast forward and rewind method and system

By using key frame offset information in the DASH on-demand system, the target key frame can be quickly obtained in the DASH on-demand system, thereby solving the problem of poor user experience and improving the efficiency of fast forward and rewind services.

CN114501166BActive Publication Date: 2024-09-10WUHAN FONSVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111384473.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2024-09-10
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

In the DASH on-demand system, when users request fast forward and rewind services, the terminal needs to pull the complete video segment, resulting in large data requests and poor user experience.

Method used

By obtaining and parsing the key frame offset information of the DASH video segment, when the terminal receives a fast forward or rewind instruction, it sends a target key frame acquisition request to the server. The server obtains and sends the target key frame based on this information, reducing the request data and Shorten playback time.

Benefits of technology

This effectively reduces the data requests made by the terminal when requesting fast forward and rewind services, shortens the time required to play fast forward and rewind content, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114501166B
    Figure CN114501166B
Patent Text Reader

Abstract

The present invention provides a DASH on-demand fast forward and rewind method, which comprises: obtaining each DASH video segment; parsing each DASH video segment to obtain key frame offset information of each DASH video segment; when a terminal receives a fast forward or fast rewind instruction, sending a target key frame acquisition request to a server; the server obtains a target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment; and sending the target key frame to the terminal. The present invention can effectively reduce the data requested by the terminal when requesting a fast forward and rewind service; shorten the time required for the terminal to play the fast forward and rewind content, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a DASH on-demand fast-forward and fast-rewind method and system. Background Art

[0002] Currently, the Internet and mobile communication technologies are in a stage of rapid development, and audio and video transmission services have become a relatively mainstream service on the Internet. Users can use personal computers and mobile terminals to obtain video resources conveniently and quickly. DASH is a dynamic adaptive bit rate streaming technology based on HTTP. The transmission protocol used is TCP. Specifically, it means dividing the video into multiple small segments, transmitting them through the HTTP protocol, and playing them after the client obtains them. At present, only on-demand playback and drag-and-drop functions are implemented for DASH on-demand. In this case, when the user requests fast-forward and rewind services from the server through the terminal for DASH on-demand, the data requested by the terminal will be relatively large. Only after pulling the complete video segment, the fast-forward and rewind content will be displayed. In this case, the user cannot quickly watch the fast-forward and rewind images, and the user experience will also be poor. Summary of the invention

[0003] The main purpose of the present invention is to provide a DASH on-demand fast-forward and fast-rewind method and system, aiming at solving the problem that when a terminal requests a fast-forward and fast-rewind service, only complete video segments can be pulled, resulting in a poor user experience.

[0004] In a first aspect, the present invention provides a DASH on-demand fast forward and rewind method, the DASH on-demand fast forward and rewind method comprising:

[0005] Get each DASH video segment;

[0006] Parse each DASH video segment to obtain key frame offset information of each DASH video segment;

[0007] When the terminal receives a fast forward or fast rewind instruction, it sends a target key frame acquisition request to the server;

[0008] The server obtains the target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment;

[0009] Send the target keyframe to the terminal.

[0010] Optionally, the step of obtaining each DASH video segment includes:

[0011] Request the DASH on-demand video segment list from the origin server;

[0012] Parse the DASH on-demand video segment list to obtain each DASH video segment.

[0013] Optionally, after the step of parsing each DASH video segment to obtain key frame offset information of each DASH video segment, the step further includes:

[0014] The key frame offset information of each DASH video segment is added to the DASH on-demand video segment list.

[0015] Optionally, the target key frame acquisition request includes the number of the DASH video segment currently played by the terminal and an indication field, where the indication field is a fast-forward field or a fast-rewind field.

[0016] Optionally, the step of acquiring the target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment by the server includes:

[0017] The server parses the target key frame acquisition request and obtains the number and indication field of the DASH video segment currently played by the terminal;

[0018] When the indication field is a fast-forward field, the key frame of the next video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame;

[0019] When the indication field is a fast-rewind field, the key frame of the previous video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame.

[0020] In a second aspect, the present invention further provides a DASH on-demand fast-forward and fast-rewind system, the DASH on-demand fast-forward and fast-rewind system comprising:

[0021] The terminal is used to send a target key frame acquisition request when receiving a fast forward or fast rewind instruction;

[0022] Servers for:

[0023] Get each DASH video segment;

[0024] Parse each DASH video segment and obtain the key frame offset information of each DASH video segment to the server;

[0025] Based on the target key frame acquisition request and the key frame offset information of each DASH video segment, the target key frame is acquired;

[0026] Send the target keyframe to the terminal.

[0027] Optionally, the terminal is further used for:

[0028] A target key frame acquisition request is sent, where the target key frame acquisition request includes the number of the DASH video segment currently played by the terminal and an indication field, where the indication field is a fast forward field or a fast rewind field.

[0029] Optionally, the server is further used for:

[0030] The server parses the target key frame acquisition request and obtains the number and indication field of the DASH video segment currently played by the terminal;

[0031] When the indication field is a fast-forward field, the key frame of the next video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame;

[0032] When the indication field is a fast-rewind field, the key frame of the previous video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame.

[0033] Optionally, the server is further used for:

[0034] Request the DASH on-demand video segment list from the origin server;

[0035] Parse the DASH on-demand video segment list to obtain each DASH video segment.

[0036] Optionally, the server is further configured to add key frame offset information of each DASH video segment to the DASH video-on-demand segment list.

[0037] The present invention provides a DASH on-demand fast forward and rewind method, which comprises: obtaining each DASH video segment; parsing each DASH video segment to obtain key frame offset information of each DASH video segment; when a terminal receives a fast forward or fast rewind instruction, sending a target key frame acquisition request to a server; the server obtains a target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment; and sending the target key frame to the terminal. The present invention can effectively reduce the data requested by the terminal when requesting a fast forward and rewind service; shorten the time required for the terminal to play the fast forward and rewind content, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flowchart of a first embodiment of a DASH on-demand fast forward and rewind method of the present invention;

[0039] Figure 2 This is a functional module diagram of the first embodiment of the DASH on-demand fast-forward and fast-rewind system of the present invention.

[0040] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0042] In a first aspect, an embodiment of the present invention provides a DASH on-demand fast forward and rewind method.

[0043] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the DASH on-demand fast forward and rewind method of the present invention. Figure 1 As shown, the DASH on-demand fast forward and fast rewind method includes:

[0044] Step S10, obtaining each DASH video segment;

[0045] In this embodiment, DASH is a hybrid distribution method of streaming and HTTP progressive downloading. The specific principle is that for the same video or audio source file, the file will be encoded into media copies of different quality levels, and each video or audio copy will be divided into small segments. The obtained small segment information will be stored in the media representation description file and stored in the MPD. The video or audio segment and the MPD file are stored in the web server. When the user uses the terminal to watch the video or listen to the audio, the terminal will send an HTTP Get request to the web server, and then the web server will send the MPD file corresponding to the video or audio back to the terminal. The terminal will parse the MPD file to obtain the description information of the video segments or audio segments of different qualities. At the same time, according to the capabilities of the playback device and the changes in the network bandwidth, the server or terminal will dynamically select the appropriate bit rate to play the video segment or audio segment.

[0046] The MPD file is a metadata file used to describe the above-mentioned abstract concepts and the relationships between them. The MPD file in the DASH system is written in XML. An MPD file contains the following key elements:

[0047] When transmitting live streams, the old media period may be removed and the new media period may be added as the MPD file is updated. This method can achieve the effect of live broadcast. The encoding version of the media content available in a media period will not change, that is, the selectable bitrate set, language set, and subtitle set will not change.

[0048] Adaptive set: In the MPD file, a media period consists of one or more adaptive sets, each of which corresponds to a media content component.

[0049] The media file description structure specifically means that media files with the same language, content type, and image aspect ratio attributes will be grouped into the same adaptive set. Each media file description corresponds to a media stream that can be independently decoded and played. Adaptive switching in DASH is to switch between different media file descriptions in the same adaptive set based on the network environment or other factors. The media file description is the smallest abstract set concept in MPD.

[0050] Slices, also known as fragments, in the MPD file, each media file description consists of one or more slices of a certain length, each of which corresponds to its own URL, or to different byte ranges of the same URL. In DASH, a slice corresponds to the largest data unit that can be retrieved by an HTTP request. Slices in a media file description often have exactly the same or approximately the same length, and the lengths of slices between different media file descriptions may be different. The slice length can be defined, and the slice length represents the lower limit of the transmission delay between the client and the server. In DASH live broadcast applications, a shorter slice length is usually selected. Adaptive switching is switching between different media file descriptions in the same adaptive combination. More specifically, it is to play a slice of a media file description immediately after playing a slice of another media file description. In this case, it is possible to avoid downloading and decoding multiple slices from different media file descriptions on the client at the same time, making the switching action easier to implement.

[0051] HTTP defines different methods for terminals to interact with servers. The most basic methods are GET and POST. HTTP-GET is a standard protocol verb that uses HTTP. It is used to encode and transmit variable name / variable value pair parameters, and also uses related request semantics. HTTP is the Hypertext Transfer Protocol, and its main function is to ensure communication between clients and servers. HTTP works as a request-response protocol between clients and servers. Clients and servers are not limited. Web browsers may also be clients, and network applications on computers may also act as servers. Taking the browser as a client as an example, the client submits an HTTP request to the server, and the server returns a response to the client. The response contains the status information of the request and the content that may be requested. When performing request and response between clients and servers, the two most commonly used methods are GET and POST. Here we focus on the HTTP Get request. Get means requesting data from a specified resource. When using HTTP Get, the query string (key-value pair) is appended to the URL address and sent to the server together. HTTP Get requests have several characteristics. First, HTTP Get requests can be cached. Second, HTTP Get requests will be saved in the browser's browsing history. Third, the URL of the HTTP Get request can be saved as a browser bookmark. Fourth, HTTP Get requests have a length limit. Fifth, HTTP Get requests are mainly used to obtain data.

[0052] Step S20, parsing each DASH video segment to obtain key frame offset information of each DASH video segment;

[0053] In this embodiment, the key frame offset information actually records the position of the key frame in the fragment, and the fragment is each DASH video segment. The key frame specifically refers to the I frame, which is the actual picture frame, also called the intra-frame coded frame. The I frame displays the intra-frame coded image that removes the redundant information of the image to the maximum extent to compress the amount of transmission data. There are also corresponding P frames and B frames. The P frame can also be called a forward prediction coded frame, which specifically refers to a coded image that compresses the amount of transmission data by fully using the temporal redundant information that is lower than the previous coded frame of the image sequence. The p frame is also called a prediction frame. The B frame can also be called a bidirectional prediction interpolation coded frame. The specific feature is that the B frame takes into account both the previous coded frame of the source image sequence and the time between the subsequent coded frames of the source image sequence. Under normal circumstances, the I frame has the lowest compression efficiency, the P frame is higher, and the B frame is the highest.

[0054] Step S30, when the terminal receives the fast forward or fast rewind instruction, it sends a target key frame acquisition request to the server;

[0055] In this embodiment, when the user has a fast forward or fast rewind request, a fast forward or fast rewind instruction will be sent to the terminal. The specific method is implemented by buttons, touch screens, etc. The fast forward or fast rewind content played by the terminal is actually a continuous key frame. The key frame contains the picture in the video. The pictures are played continuously and connected in series to form a continuous picture of express delivery or fast rewind. Based on this method, the terminal needs to continuously send a target key frame acquisition request, because if only one request is made, the fast forward or fast rewind function cannot be realized. Only by continuously sending the target key frame acquisition request can the terminal play the key frame continuously and finally show the complete picture of fast forward or fast rewind.

[0056] Step S40, the server obtains the target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment;

[0057] In this embodiment, the server needs to parse the target key frame request issued by the terminal. The target key frame acquisition request issued by the terminal contains the number and indication field of the DASH video segment currently played by the terminal, and the indication field is a fast forward field or a fast rewind field. The key frame offset information of each DASH video segment can transmit the position of the key frame to the server. The server will obtain the information of the target key frame according to the key frame offset information of each DASH video segment and the target key frame request issued by the terminal. The target key frame specifically refers to the key frame of the previous DASH video segment or the key frame of the next DASH video segment locked based on the position of the currently played DASH video segment according to the user's request. Because the terminal continuously sends the target key frame acquisition request, the server also needs to continuously respond to the target key frame acquisition request. For example, the current terminal is playing a DASH video segment numbered 3, and the terminal sends a target key frame acquisition request to the server. The indication field in the target key frame acquisition request is a fast forward field. After parsing the target key frame acquisition request, the server will determine that the key frame of the DASH video segment numbered 4 is the target key frame and send the target key frame to the terminal. After that, the terminal will send a target key frame acquisition request containing the DASH video segment numbered 4 to the server, and the server will use the key frame of the DASH video segment numbered 5 as the target key frame, and so on, until the terminal no longer sends a target key frame acquisition request to the server.

[0058] Step S50: sending the target key frame to the terminal.

[0059] In this embodiment, the server obtains the target key frame information according to the key frame offset information of each DASH video segment and the target key frame request issued by the terminal, and then obtains the target key frame information. The server then sends the target key frame corresponding to the target key frame information to the terminal. After receiving the target key frame, the terminal plays the key frame of the current DASH video segment, and there is a corresponding picture in the key frame. The terminal plays the key frame continuously because the terminal's acquisition action for the target key frame is continuous, that is, after receiving the fast forward or fast rewind instruction, the terminal will continuously send a target key frame acquisition request to the server. If this action is only performed once, the terminal will eventually present only a frame of picture to the user, not continuous video content, so the fast forward or fast rewind function is not realized.

[0060] Furthermore, in one embodiment, the step of obtaining each DASH video segment includes:

[0061] Request the DASH on-demand video segment list from the origin server;

[0062] Parse the DASH on-demand video segment list to obtain each DASH video segment.

[0063] In this embodiment, the DASH on-demand content is pre-stored in the source station. The source station stores the DASH on-demand content, which is a complete video content divided into small segments. These small segments are DASH video segments. In order to arrange these DASH video segments in an orderly manner and facilitate subsequent processing, when requesting DASH content, the server does not directly request a file containing the entire DASH on-demand content, but requests a DASH on-demand video segment list. In the DASH on-demand video segment list, a complete DASH on-demand content is divided into segments, and these segments are arranged according to the size of the segment sequence number from small to large or from large to small. The purpose is to quickly and accurately lock the required DASH video segment key frame when the terminal sends a target key frame acquisition instruction and the server sends a target key frame in the subsequent process.

[0064] In DASH, a set of media content with different encoding parameters and a corresponding description set are defined as a media presentation. The media content is composed of a single or multiple consecutive media periods, and the contents of these media periods may be completely independent of each other, such as advertising content inserted in the main film. Each media period contains one or more media content components, such as audio components in different languages, video components that provide different perspectives for the same program, subtitle components in different languages, etc. Each media content component has a corresponding media component type identifier, such as audio or video. Each media content component may have multiple encoded versions, which are called media streams. Each media stream inherits the properties of media content, media period, and media content components, and also has its own encoding parameter properties, such as bit rate, resolution, encoder type, etc.

[0065] Furthermore, in one embodiment, after the step of parsing each DASH video segment to obtain key frame offset information of each DASH video segment, the following step is further included:

[0066] The key frame offset information of each DASH video segment is added to the DASH on-demand video segment list.

[0067] In this embodiment, the action of the server adding the I frame offset information to the DASH video on demand segment list specifically refers to the server writing the I frame offset information into the segment. Because in the subsequent steps, the terminal needs to use the I frame offset information in the segment to send a target key frame acquisition request to the server. The I frame offset information can help the server lock the position of the key frame in the segment.

[0068] Furthermore, in one embodiment, the target key frame acquisition request includes the number of the DASH video segment currently played by the terminal and an indication field, where the indication field is a fast-forward field or a fast-rewind field.

[0069] In this embodiment, the terminal and the server need to communicate information. The specific method is that the terminal first sends a target key frame acquisition request to the server, and then the server responds to the target key frame acquisition request, and then sends the target key frame to the terminal, and finally the terminal plays the target key frame. The target key frame acquisition request contains the number and indication field of the DASH video segment currently played by the terminal. Based on the number of the DASH video segment currently played by the terminal, the server locks the position of the DASH video segment currently being played. Different numerical values ​​can be used to represent different indication fields, such as setting the fast forward field to 0 and the fast rewind field to 1.

[0070] Further, in one embodiment, the server obtains the target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment, comprising:

[0071] The server parses the target key frame acquisition request and obtains the number and indication field of the DASH video segment currently played by the terminal;

[0072] When the indication field is a fast-forward field, the key frame of the next video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame;

[0073] When the indication field is a fast-rewind field, the key frame of the previous video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame.

[0074] In this embodiment, after receiving the target key frame acquisition request sent by the terminal, the server will determine the target key frame based on the key frame offset information and the target key frame of each DASH video segment. The determination of the target key frame also requires the fast forward or fast rewind request received by the terminal. When the terminal receives the user's fast forward request, the terminal will synthesize the target key frame acquisition request with the number of the DASH video segment currently being played and the fast forward instruction, and send the target key frame acquisition request to the server. After receiving the target key frame acquisition request, the server determines the position of the DASH video segment currently being played and the fast forward request. After that, the server will use the key frame of the next video segment of the currently playing DASH video segment as the target key frame, and send the target key frame to the terminal for the terminal to play. Similarly, when the terminal receives a fast-forward request from the user, the terminal will synthesize the number of the DASH video segment currently being played and the fast-forward instruction into a target key frame acquisition request, and send the target key frame acquisition request to the server. After receiving the target key frame acquisition request, the server determines the position of the DASH video segment currently being played and the fast-forward request. Then the server will use the key frame of the previous video segment of the currently playing DASH video segment as the target key frame, and send the target key frame to the terminal for the terminal to play. Because the terminal sends the target key frame acquisition request continuously, the server also needs to respond to the target key frame acquisition request continuously. For example, the current terminal is playing a DASH video segment numbered 3, and the terminal sends a target key frame acquisition request to the server. The indication field in the target key frame acquisition request is the fast-forward field. After parsing the target key frame acquisition request, the server will determine that the key frame of the DASH video segment numbered 4 is the target key frame and send the target key frame to the terminal. After that, the terminal will send a target key frame acquisition request containing the DASH video segment numbered 4 to the server, and the server will use the key frame of the DASH video segment numbered 5 as the target key frame, and so on, until the terminal no longer sends a target key frame acquisition request to the server.

[0075] In another embodiment, after the server parses the target key frame acquisition request sent by the terminal, it obtains the fast-forward byte. The server will use the key frame of the next video segment of the DASH video segment currently played by the terminal as the target key frame, and send the target key frame to the terminal. The server will continuously perform the action of sending the target key frame until the terminal sends a fast-forward termination request to the server. For example, the current terminal is playing a DASH video segment numbered 3, and the terminal sends a target key frame acquisition request to the server. The indication field in the target key frame acquisition request is a fast-forward field. After parsing the target key frame acquisition request, the server will determine that the key frame of the DASH video segment numbered 4 is the target key frame, and send the target key frame to the terminal. After that, the server will continuously send the key frames of the DASH video segments numbered 5, 6, and 7 to the terminal in sequence, because when the terminal plays the DASH video segment numbered 7, the terminal sends a fast-forward termination request to the server.

[0076] The first embodiment of the present invention provides a DASH on-demand fast forward and rewind method, which includes: obtaining each DASH video segment; parsing each DASH video segment to obtain key frame offset information of each DASH video segment; when the terminal receives a fast forward or fast rewind instruction, sending a target key frame acquisition request; based on the target key frame acquisition request and the key frame offset information of each DASH video segment, the server obtains the target key frame; and sending the target key frame to the terminal. The first embodiment of the present invention can effectively reduce the data requested by the terminal when requesting fast forward and rewind services; shorten the time required for the terminal to play fast forward and rewind content, thereby improving the user experience.

[0077] In a second aspect, an embodiment of the present invention further provides a DASH on-demand fast-forward and fast-rewind system.

[0078] Reference Figure 2 , a schematic diagram of the functional modules of the first embodiment of the DASH on-demand fast-forward and fast-rewind system.

[0079] In one embodiment, the DASH on-demand fast forward and fast rewind system includes:

[0080] The terminal 10 is used to send a target key frame acquisition request to the server when receiving a fast forward or fast rewind instruction;

[0081] Server 20, used for:

[0082] Get each DASH video segment;

[0083] Parse each DASH video segment to obtain key frame offset information of each DASH video segment;

[0084] Based on the target key frame acquisition request and the key frame offset information of each DASH video segment, the target key frame is acquired;

[0085] The target key frame is sent to the terminal 10 .

[0086] Furthermore, in one embodiment, the terminal 10 is also used for:

[0087] A target key frame acquisition request is sent, wherein the target key frame acquisition request includes the number of the DASH video segment currently played by the terminal 10 and an indication field, where the indication field is a fast forward field or a fast rewind field.

[0088] Furthermore, in one embodiment, the server 20 is also used for:

[0089] The server 20 parses the target key frame acquisition request to obtain the number and indication field of the DASH video segment currently played by the terminal 10;

[0090] When the indication field is a fast-forward field, the key frame of the next video segment of the DASH video segment currently played by the terminal 10 is obtained as the target key frame according to the number of the DASH video segment currently played by the terminal 10 and the key frame offset information of each DASH video segment;

[0091] When the indication field is a fast-rewind field, the key frame of the previous video segment of the DASH video segment currently played by the terminal 10 is obtained as the target key frame according to the number of the DASH video segment currently played by the terminal 10 and the key frame offset information of each DASH video segment.

[0092] Furthermore, in one embodiment, the server 20 is also used for:

[0093] Request the DASH on-demand video segment list from the origin server;

[0094] Parse the DASH on-demand video segment list to obtain each DASH video segment.

[0095] Furthermore, in one embodiment, the server 20 is further configured to add key frame offset information of each DASH video segment to the DASH video-on-demand segment list.

[0096] Among them, the functional implementation of each module in the above-mentioned DASH on-demand fast-forward and fast-rewind device corresponds to the steps in the above-mentioned DASH on-demand fast-forward and fast-rewind method embodiment, and its functions and implementation processes will not be repeated here one by one.

[0097] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0098] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.

[0100] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A DASH on-demand fast forward and rewind method, characterized in that: The DASH on-demand fast forward and fast rewind method comprises: Get each DASH video segment; Parse each DASH video segment to obtain key frame offset information of each DASH video segment; When the terminal receives a fast forward or fast rewind instruction, it sends a target key frame acquisition request to the server; The server obtains the target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment; Send the target key frame to the terminal; Key frames specifically refer to I frames; After the step of parsing each DASH video segment to obtain key frame offset information of each DASH video segment, the method further includes: Add key frame offset information of each DASH video segment to the DASH on-demand video segment list; The action of the server adding the I frame offset information to the DASH video-on-demand segment list specifically refers to the server writing the I frame offset information to the segment; The target key frame acquisition request includes the number of the DASH video segment currently played by the terminal and an indication field, where the indication field is a fast-forward field or a fast-rewind field; The server obtains the target key frame based on the target key frame acquisition request and the key frame offset information of each DASH video segment, and the step of obtaining the target key frame includes: The server parses the target key frame acquisition request and obtains the number and indication field of the DASH video segment currently played by the terminal; When the indication field is a fast-forward field, the key frame of the next video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame; When the indication field is a fast rewind field, the key frame of the previous video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame.

2. The DASH on-demand fast forward and rewind method according to claim 1, characterized in that: The step of obtaining each DASH video segment includes: Request the DASH on-demand video segment list from the origin server; Parse the DASH on-demand video segment list to obtain each DASH video segment.

3. A DASH on-demand fast forward and rewind system, characterized in that: The DASH on-demand fast forward and fast rewind system includes: The terminal is used to send a target key frame acquisition request to the server when receiving a fast forward or fast rewind instruction; Send a target key frame acquisition request, where the target key frame acquisition request includes the number of the DASH video segment currently played by the terminal and an indication field, where the indication field is a fast forward field or a fast rewind field; the server is used to: Get each DASH video segment; Parse each DASH video segment to obtain key frame offset information of each DASH video segment; Based on the target key frame acquisition request and the key frame offset information of each DASH video segment, the target key frame is acquired; Send the target key frame to the terminal; The server parses the target key frame acquisition request and obtains the number and indication field of the DASH video segment currently played by the terminal; When the indication field is a fast-forward field, the key frame of the next video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame; When the indication field is a fast-rewind field, the key frame of the previous video segment of the DASH video segment currently played by the terminal is obtained according to the number of the DASH video segment currently played by the terminal and the key frame offset information of each DASH video segment as the target key frame; The server is further configured to add key frame offset information of each DASH video segment to the DASH video-on-demand segment list; Key frames specifically refer to I frames; The action of the server adding the I frame offset information to the DASH video-on-demand segment list specifically refers to the server writing the I frame offset information into the fragment.

4. The DASH on-demand fast forward and rewind system as claimed in claim 3, characterized in that: The server is also used to: Request the DASH on-demand video segment list from the origin server; Parse the DASH on-demand video segment list to obtain each DASH video segment.