A method for seeking play of a browser MSE media source

By working together with the browser and player engine, the problem of inaccurate SEEK playback time in MSE media sources has been solved, achieving accurate SEEK playback and improving the user experience.

CN115878919BActive Publication Date: 2025-12-19SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211438440.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2025-12-19
Estimated Expiration
2042-11-16

AI Technical Summary

Technical Problem

In existing technologies, the SEEK playback of MSE media sources suffers from inaccurate timing, leading to a decline in the user's viewing experience.

Method used

Through the collaborative work of the browser and player engine, the system receives SEEK operation commands, downloads new MSE slice data, and ensures the accuracy of playback time by comparing the DTS timestamps of the frame data with the target playback duration value of SEEK.

Benefits of technology

The timing accuracy of SEEK playback from MSE media sources has been improved, enhancing the user's control and viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115878919B_ABST
    Figure CN115878919B_ABST
Patent Text Reader

Abstract

The application provides a method for seeking playing of a browser MSE media source, comprising the following steps: step one: seeking initiation: a browser engine receives a seeking operation instruction issued by a user and saves a target time length value of seeking playing; step two: seeking receiving: a player engine receives the seeking operation instruction and extracts and saves the target time length value of seeking playing; step three: new data downloading and distribution: the browser engine downloads new MSE slice data based on the target time length value of seeking playing; step four: new data receiving and frame-by-frame analysis: the player engine receives the new MSE slice data and analyzes the MSE data; step five: time value comparison: the player engine compares a DTS time stamp of MSE slice frame data with the target time length value of seeking playing; and step six: seeking accurate playing: the player engine enters a playing mode and decodes, renders and plays frame data corresponding to the DTS value; thus, the processing flow of the seeking playing of the MSE source of the browser is completed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of browsers and the technical field of media playing, in particular to a method for playing MSE media source of a browser by SEEK. BACKGROUND

[0002] The browser is a core software widely built-in and used in consumer electronics products, and is also a main software widely used by users to browse information and play media content on the Internet. The MSE is one of the streaming media protocols supported by the browser. Since the content is published in the form of slices, the MSE has great flexibility in content operation. In recent years, with the wide rise of online streaming media content operation, more and more websites and content operators publish online media content and operate advertising information in the form of MSE.

[0003] The SEEK playing function of the streaming media belongs to the basic function of media playing. Due to the particularity of the MSE media protocol, the current SEEK playing function of the MSE media source mostly adopts the SEEK playing mode based on data slices. The SEEK playing mode based on data slices mainly includes the following steps: 1. The user inputs the time point of the SEEK playing in milliseconds; 2. The browser finds the slice containing the time point of the SEEK playing in the list of the media slices of the MSE based on the time point of the SEEK playing; and 3. The browser sends the target data slice to the player, and the player starts playing from the slice. This SEEK playing mode based on data slices has the problem of inaccurate SEEK playing time point, which has a deviation of more than one second from the actual SEEK time point of the user, thereby reducing the viewing experience of the user. SUMMARY

[0004] The present application aims to provide a method for playing MSE media source of a browser by SEEK, so as to solve the problems in the background art. Through the method of the present application, the problem of inaccurate and large deviation of the execution time of the SEEK playing of the MSE media source is solved, and the actual operation and viewing experience of the user is improved.

[0005] In order to achieve the above-mentioned purpose, the present application adopts the following technical solution:

[0006] A method for playing MSE media source of a browser by SEEK, comprising the following steps:

[0007] Step 1: initiation of SEEK: the browser engine receives the SEEK operation instruction sent by the user, and saves the target time length value of the SEEK playing;

[0008] Step 2: reception of SEEK: the player engine receives the SEEK operation instruction, extracts the target time length value of the SEEK playing, and saves the target time length value of the SEEK playing;

[0009] Step three: new data download and distribution: the browser engine downloads new MSE slice data based on the target duration value of the SEEK play;

[0010] Step four: new data reception and frame-by-frame analysis: the player engine receives new MSE slice data and analyzes the MSE data;

[0011] Step five: time value comparison: the player engine compares the DTS timestamp of the MSE slice frame data with the target duration value of the SEEK play;

[0012] Step six: SEEK accurate play: the player engine enters the play mode and decodes, renders and plays the frame data corresponding to the DTS value; at this point, the processing flow of the MSE source SEEK play of the browser is complete.

[0013] In some embodiments, the step one: SEEK initiation: the browser engine receives the SEEK operation instruction issued by the user and saves the target duration value of the SEEK play; further comprising: the browser engine sends the SEEK operation instruction to the player engine and sends the target duration value of the SEEK play as a parameter to the player engine.

[0014] In some embodiments, the step two: SEEK reception: the player engine receives the SEEK operation instruction and extracts the target duration value of the SEEK play and saves the target duration value of the SEEK play; comprising: the player engine enters the SEEK working mode, stops the current play, and waits for the arrival of new data.

[0015] In some embodiments, the step three: new data download and distribution: the browser engine downloads new MSE slice data based on the target duration value of the SEEK play; comprising: the browser engine calculates the most suitable MSE slice based on the target duration value of the SEEK play; the browser engine issues the newly downloaded MSE slice data to the player engine.

[0016] In some embodiments, the step four: new data reception and frame-by-frame analysis: the player engine receives new MSE slice data and analyzes the MSE data; comprising: the player engine analyzes each frame of data of the MSE slice and extracts the DTS timestamp of each frame of data.

[0017] In some embodiments, the step five: time value comparison: the player engine compares the DTS time stamp of the MSE slice frame data with the target time length value of the SEEK play; includes: if the DTS value of the frame data is less than the target time length value of the SEEK play, continue to wait for new MSE slice data; if the DTS value of the frame data is greater than or equal to the target time length value of the SEEK play, and the difference between the two values is within 40 milliseconds, the player engine enters the play mode, and records the DTS value.

[0018] The method for performing SEEK play on the MSE media source of the browser provided by the application has the beneficial effects including but not limited to:

[0019] The application provides a method for performing SEEK play on the MSE media source of the browser, which solves the problem of inaccurate and large deviation of the execution time of the MSE media source SEEK play of the current browser play system, and improves the user experience of the browser MSE source SEEK play. BRIEF DESCRIPTION OF DRAWINGS

[0020] Figure 1 The flowchart of the method for performing SEEK play on the MSE media source of the browser DETAILED DESCRIPTION

[0021] In order to make the purpose, technical scheme and advantages of the application more clear and understandable, the application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application and do not limit the application.

[0022] On the contrary, the application covers any alternative, modification, equivalent method and scheme defined by the claims within the essence and scope of the application. Further, in order to make the public better understand the application, some specific details are described in detail in the following detailed description of the application. The application can also be completely understood without the description of these details by those skilled in the art.

[0023] The following will be combined with Figure 1 The method for performing SEEK play on the MSE media source of the browser related to the embodiments of the application will be described in detail. It should be noted that the following embodiments are only used to explain the application and do not constitute a limitation on the application.

[0024] The browser media play system of the application mainly consists of two modules: browser engine and player engine.

[0025] The browser engine is responsible for webpage parsing and rendering, MSE media source extraction, MSE media slice data downloading, parsing and caching, and in particular, the browser engine is responsible for issuing a target time length value for SEEK playback.

[0026] The player engine is responsible for complete media control processing, including media format parsing, media data decoding, audio and video synchronization processing and audio and video rendering output processing, pause playback, SEEK playback, and exit playback, and in particular, the player engine is responsible for frame-by-frame parsing and time length calculation processing of the MSE data slice after SEEK.

[0027] The present application provides a method for SEEK playback of a browser MSE media source, and the complete processing flow of the SEEK playback includes the following steps:

[0028] Step 1: SEEK initiation: the browser engine receives a user-issued SEEK operation instruction and saves a target time length value for SEEK playback;

[0029] Further,

[0030] Step 2: SEEK reception: the player engine receives the SEEK operation instruction and extracts the target time length value for SEEK playback, and saves the target time length value for SEEK playback;

[0031] Further, the player engine enters a SEEK working mode, stops the current playback, and waits for the arrival of new data;

[0032] Step 3: new data downloading and distribution: the browser engine downloads new MSE slice data based on the target time length value for SEEK playback;

[0033] Further, the browser engine calculates the most suitable MSE slice based on the target time length value for SEEK playback;

[0034] Further, the browser engine issues the newly downloaded MSE slice data to the player engine;

[0035] Step 4: new data reception and frame-by-frame parsing: the player engine receives the new MSE slice data and parses the MSE data;

[0036] Further, the player engine parses each frame of data of the MSE slice and extracts the DTS timestamp of each frame of data;

[0037] Step 5: time value comparison: the player engine compares the DTS timestamp of the MSE slice frame data with the target time length value for SEEK playback;

[0038] Further, if the DTS value of the frame data is less than the target time length value of the SEEK playback, the new MSE slice data is continuously waited for;

[0039] Further, if the DTS value of the frame data is greater than or equal to the target time length value of the SEEK playback, and the difference between the two values is within 40 milliseconds, the player engine enters the playback mode and records the DTS value;

[0040] Step six: precise SEEK playback: the player engine enters the playback mode and decodes, renders and plays the frame data corresponding to the DTS value;

[0041] At this point, the processing flow of the MSE source SEEK playback of the browser is completed.

[0042] Specific case scenario description: a user is watching an online video using a browser, the name of the video is "Journey to the West", the online video is delivered in the MSE manner, the resolution of the video is 1920*1080, the frame rate of the video is 25 frames per second, and the slice size of the video is 8 seconds per slice;

[0043] 1) SEEK initiation: the user initiates a SEEK operation to the 15th minute and 30 seconds based on a remote control or mouse operation, the browser engine receives the SEEK operation instruction issued by the user and saves the target time length value of the SEEK playback, that is, saves the time length value of 15 minutes and 30 seconds;

[0044] Further, the browser engine sends a SEEK operation instruction to the player engine and sends the time length value of 15 minutes and 30 seconds as a parameter to the player engine;

[0045] Step two: SEEK reception: the player engine receives the SEEK operation instruction and extracts the time length value of 15 minutes and 30 seconds, and saves the time length value;

[0046] Further, the player engine enters the SEEK working mode, stops the current playback, and waits for the arrival of new data;

[0047] Step three: new data download and distribution: the browser engine downloads new MSE slice data based on the time length value of 15 minutes and 30 seconds of the SEEK playback;

[0048] Further, the browser engine calculates the most suitable MSE slice based on the slice time length, which is the 116th slice;

[0049] Further, the browser engine downloads the data of the 116th slice and delivers the 116th MSE slice data to the player engine;

[0050] Step four: new data receiving and frame-by-frame analysis: the player engine receives the data of the 116th MSE slice and analyzes the MSE data;

[0051] Further, the player engine analyzes the data of each frame of the MSE slice and extracts the DTS timestamp of each frame of data, the DTS timestamp of the first frame of data is 928 seconds, and the time length of each frame is increased by 40 milliseconds;

[0052] Step five: time value comparison: the player engine compares the DTS timestamp of each frame of data of the MSE slice with the target time length value of the SEEK play;

[0053] Further, the starting DTS value of the 116th MSE slice is 928 seconds, and the subsequent frame-by-frame is increased by 40 milliseconds, when the slice data is delivered to the 49th frame data, the DTS of the frame data is less than the time length value of 15 minutes and 30 seconds;

[0054] Further, when the frame data is delivered to the 50th frame, the DTS of this frame is equal to the target time length value of the SEEK play, and the difference between the two values is within 40 milliseconds, then the player engine enters the play mode and records the DTS value;

[0055] Step six: SEEK accurate play: the player engine enters the play mode and decodes, renders and plays the data of the 50th frame;

[0056] At this point, the processing flow of the MSE source SEEK play of the browser is completed;

[0057] The above only describes the preferred embodiment of the present application, and is not intended to limit the present application, any modification, equivalent replacement and improvement within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for seeking play of a browser MSE media source, the method comprising: The method comprises the following steps: Step one: SEEK initiation: the browser engine receives the SEEK operation instruction issued by the user and saves the target time length value of the SEEK playback; Step two: SEEK reception: the player engine receives the SEEK operation instruction and extracts the target time length value of the SEEK playback and saves the target time length value of the SEEK playback; Step three: new data download and distribution: the browser engine downloads new MSE slice data based on the target time length value of the SEEK playback; Step four: new data reception and frame-by-frame analysis: the player engine receives the new MSE slice data and analyzes the MSE data; Step five: time value comparison: the player engine compares the DTS timestamp of the MSE slice frame data with the target time length value of the SEEK playback; Step six: precise SEEK playback: the player engine enters the playback mode and decodes, renders and plays the frame data corresponding to the DTS value; thus, the processing flow of the MSE source SEEK playback of the browser is completed; The step one: SEEK initiation: the browser engine receives the SEEK operation instruction issued by the user and saves the target time length value of the SEEK playback; Further comprising: the browser engine sends the SEEK operation instruction to the player engine and sends the target time length value of the SEEK playback as a parameter to the player engine; The step two: SEEK reception: the player engine receives the SEEK operation instruction and extracts the target time length value of the SEEK playback and saves the target time length value of the SEEK playback; comprising: the player engine enters the SEEK working mode, stops the current playback and waits for the arrival of new data; The step three: new data download and distribution: the browser engine downloads new MSE slice data based on the target time length value of the SEEK playback; comprising: the browser engine calculates the most suitable MSE slice based on the target time length value of the SEEK playback; the browser engine sends the newly downloaded MSE slice data to the player engine; The step five: time value comparison: the player engine compares the DTS timestamp of the MSE slice frame data with the target time length value of the SEEK playback; comprising: if the DTS value of the frame data is less than the target time length value of the SEEK playback, the player engine continues to wait for new MSE slice data; if the DTS value of the frame data is greater than or equal to the target time length value of the SEEK playback and the difference between the two values is within 40 milliseconds, the player engine enters the playback mode and records the DTS value.

2. The method for seeking play of a browser MSE media source of claim 1, wherein, The step four: new data reception and frame-by-frame analysis: the player engine receives the new MSE slice data and analyzes the MSE data; comprising: the player engine analyzes each frame data of the MSE slice and extracts the DTS timestamp of each frame data.

Citation Information

Patent Citations

  • Media playing method and device

    CN108401188A