Multimedia file playing method and display device

By creating a Blu-ray download plugin to parse and decode unmounted Blu-ray multimedia files, the problem of the player being unable to parse Blu-ray files was solved, enabling the playback of Blu-ray files.

CN121908048APending Publication Date: 2026-04-21HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HISENSE VISUAL TECH CO LTD
Filing Date
2024-10-18
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing media players cannot parse Blu-ray files that are not mounted, resulting in the inability to obtain download addresses and play Blu-ray files.

Method used

Create a Blu-ray download plugin that can retrieve specified files from Blu-ray multimedia files, parse video list files, and decode and play multimedia data.

Benefits of technology

It enables playback of Blu-ray multimedia files that are not mounted, allowing users to select and play target files from a video list file.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121908048A_ABST
    Figure CN121908048A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of display, in particular to a multimedia file playing method and display equipment. The method comprises the following steps: in response to a selection operation on a blue-ray multimedia file, creating a blue-ray downloading plug-in; wherein the blue light multimedia file is not mounted; acquiring a specified file of the blue-ray multimedia file through the blue-ray downloading plug-in; wherein the specified file comprises at least two video list files, and the video list files comprise any one of a shooting floc file, a subtitle file, a blue light video file, an audio file and other video files; analyzing the specified file through the blue-ray downloading plug-in to obtain at least two video list files of the blue-ray multimedia file; in response to a playing starting operation on the target file, multimedia data corresponding to the target file is acquired through the blue light downloading plug-in; wherein the target file comprises any video list file; and decoding the multimedia data, and playing the decoded multimedia data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display technology, and in particular to a method for playing multimedia files and a display device. Background Technology

[0002] Typically, in plug-in-based media player implementations, different protocols correspond to different download source plugins. For example, local USB flash disks use either the File or fd protocol, with plugins like filedescriptor source (fdsrc) or filesrc. Network media assets use either Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol Secure (HTTPS), with plugins like souphttpsrc. Samba shared video uses SMB, with plugins like smbsrc, and NFS shared video uses NFS, with plugins like NFSSRC. However, for Blu-ray sources, the different sharing protocols mean that existing players cannot play Blu-ray files that are not mounted because they cannot parse the Bluetooth file and therefore cannot obtain the download address, resulting in the inability to play the Blu-ray file. Summary of the Invention

[0003] To address the aforementioned technical problems, this disclosure provides a method for playing multimedia files and a display device.

[0004] The technical solution disclosed herein is as follows:

[0005] In a first aspect, this disclosure provides a method for playing a multimedia file, comprising: in response to a selection operation on a Blu-ray multimedia file, creating a Blu-ray download plugin; wherein the Blu-ray multimedia file is not mounted; obtaining a specified file of the Blu-ray multimedia file through the Blu-ray download plugin; wherein the specified file contains at least two video list files, the video list files including any one of the following: behind-the-scenes footage files, subtitle files, Blu-ray video files, audio files, and other video files; parsing the specified file through the Blu-ray download plugin to obtain at least two video list files of the Blu-ray multimedia file; in response to a start playback operation on a target file, obtaining multimedia data corresponding to the target file through the Blu-ray download plugin; wherein the target file includes any one of the video list files; decoding the multimedia data, and playing the decoded multimedia data.

[0006] Secondly, this disclosure provides a display device, including: a display configured to display a Blu-ray player's display interface; a controller including a control module for the Blu-ray player; the controller being configured to: the control module, in response to a selection operation on a Blu-ray multimedia file, create a Blu-ray download plugin; wherein the Blu-ray multimedia file is not mounted; the control module, in response to the Blu-ray download plugin, obtain a specified file of the Blu-ray multimedia file; wherein the specified file contains at least two video list files, the video list files including any one of shooting bonus files, subtitle files, Blu-ray video files, audio files, and other video files; the control module, in response to the Blu-ray download plugin, parse the specified file to obtain at least two video list files of the Blu-ray multimedia file; the control module, in response to a start playback operation on a target file, obtain multimedia data corresponding to the target file through the Blu-ray download plugin; wherein the target file includes any one of the video list files; and the control module, in response to the decoding of the multimedia data, play the decoded multimedia data.

[0007] Thirdly, this disclosure provides an electronic device, including: a memory and a controller, wherein the memory is used to store a computer program; and the controller is used to cause the electronic device to implement the multimedia file playback method as provided in any of the second aspects when executing the computer program.

[0008] Fourthly, the present invention provides a computer-readable storage medium, comprising: storing a computer program on the computer-readable storage medium, wherein the computer program is executed by a controller as a method for playing a multimedia file as provided in any of the second aspects.

[0009] Fifthly, the present invention provides a computer program product that, when run on a computer, causes the computer to execute a method for playing multimedia files as provided in any of the second aspects.

[0010] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on the first computer-readable storage medium. The first computer-readable storage medium may be packaged together with the controller of the display device, or it may be packaged separately from the controller of the display device; this disclosure does not impose any limitations on this.

[0011] The descriptions of the second, third, fourth, and fifth aspects in this disclosure can be referenced to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, fourth, and fifth aspects can be referenced to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0012] In this disclosure, the names of the aforementioned display devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this disclosure, they fall within the scope of the claims of this disclosure and their equivalents.

[0013] These or other aspects of this disclosure will become more readily apparent in the following description.

[0014] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0015] The multimedia file playback method disclosed herein involves a display device creating a Blu-ray download plugin in response to a selection operation on an unmounted Blu-ray multimedia file. This allows the display device to parse the unmounted Blu-ray multimedia file, thereby obtaining the specified file within the Blu-ray multimedia file. Since the Blu-ray download plugin created by the display device can parse Blu-ray multimedia files, the display device can use the plugin to parse the specified file, obtaining at least two video list files for the Blu-ray multimedia file. The display device can then display these at least two video list files, allowing the user to understand the video list files contained within the Blu-ray multimedia file. The user can then select the target file to be played from the video list files. At this point, in response to a start playback operation on the target file, the display device obtains the multimedia data corresponding to the target file through the Blu-ray download plugin; decodes the multimedia data; and displays and plays the decoded multimedia data. Thus, the display device can play unmounted Blu-ray multimedia files. This solves the problem that with Blu-ray sources, different sharing protocols cause existing players to be unable to play Blu-ray files that are not mounted, as they cannot parse the Bluetooth file and therefore cannot obtain the download address. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0017] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A schematic diagram illustrating a scenario for a multimedia file playback method provided in an embodiment of this application;

[0019] Figure 2 This is one of the structural schematic diagrams of the display device provided in the embodiments of this application;

[0020] Figure 3 This is a second schematic diagram of the structure of the display device provided in the embodiments of this application;

[0021] Figure 4 One of the flowcharts illustrating a method for playing multimedia files provided in an embodiment of this application;

[0022] Figure 5 A second schematic flowchart illustrating the method for playing multimedia files provided in this application embodiment;

[0023] Figure 6 The third flowchart illustrating the method for playing multimedia files provided in this application embodiment;

[0024] Figure 7 A schematic diagram of the download buffer module in the multimedia file playback method provided in the embodiments of this application;

[0025] Figure 8 The fourth flowchart illustrating the method for playing multimedia files provided in this application embodiment;

[0026] Figure 9 Fifth flowchart illustrating the multimedia file playback method provided in this application embodiment;

[0027] Figure 10 A flowchart illustrating the method for playing multimedia files provided in this application embodiment is shown in Figure 6.

[0028] Figure 11 Seventh schematic flowchart of the multimedia file playback method provided in the embodiments of this application;

[0029] Figure 12 Eighth flowchart illustrating the method for playing multimedia files provided in this application embodiment;

[0030] Figure 13 This is a schematic diagram of the structure of a display device provided in an embodiment of this application;

[0031] Figure 14 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0032] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0033] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0034] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is one specific embodiment of the display device of this application.

[0035] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0036] The filesrc plugin in this embodiment is mainly used to read data from files, which can be video data, audio data, or data in other file formats.

[0037] The souphttpsrc plugin in this embodiment is a network plugin in the GStreamer framework.

[0038] The smbsrc plugin in this embodiment is a plugin in the GStreamer multimedia framework used to read data from SMB (Server Message Block) shares.

[0039] The NFSSRC plugin in this disclosure is typically a plugin related to the Network File System (NFS). NFS is a network protocol used to share files and storage resources between different computer systems. The NFSSRC plugin may be an extension component used to support NFS functionality in specific software environments (such as certain network operating systems, server software, etc.).

[0040] In this embodiment of the disclosure, offset refers to an address position in a multimedia file. It is an offset relative to the beginning of the file and is used to locate specific data in the file. Using offset, we can quickly locate specific data in the file for reading, modification, or other operations.

[0041] The .iso format in this embodiment is an optical disc image file format that contains all the files and data on the optical disc. This format is commonly used for storing and transferring large files, such as movies, music, and software, because it can compress multiple files into a single file, facilitating storage and transfer.

[0042] The File protocol in this embodiment is a protocol for accessing files on a local computer.

[0043] In this embodiment of the disclosure, the fd protocol refers to the File Descriptor protocol. A file descriptor is a way to identify and manipulate files or other input / output resources; it is an integer, typically provided by the operating system.

[0044] In this embodiment of the disclosure, NFS refers to Network File System, which is a distributed file system protocol that allows users on client computers to access files over a computer network as if they were accessing local storage.

[0045] The SMB protocol in this embodiment is Server Message Block Protocol, a network protocol used by network computer client programs to read and write files from a server program and request services.

[0046] The FTP protocol in this embodiment is the File Transfer Protocol, which is part of the TCP / IP protocol suite, operates at the application layer, and uses TCP for transmission instead of UDP.

[0047] In this embodiment of the disclosure, the open function is a system call function used to open or create files in UNIX systems (including Linux, Mac, etc.).

[0048] In this embodiment, the `close` function is used to close an open file descriptor. When the file is no longer needed, the `close` function should be called to close the file and release system resources.

[0049] The `read` function in this embodiment is used to read data from a file into a buffer provided by the program. It is part of the standard input / output library and is used to implement data input operations.

[0050] The seek function in this embodiment is used to move the file read or write position pointer. It allows the program to specify a new file position, with the "offset" calculated from the beginning of the file.

[0051] In this embodiment of the disclosure, the BDMV file refers to Blu-ray Disc Movie, a movie file format on Blu-ray Discs that contains various movie-related content such as high-definition video, audio, subtitles, and bonus features.

[0052] The .mpls file in this embodiment is actually a special file format on Blu-ray discs, used to store playback information for Blu-ray movies or television programs.

[0053] In this disclosure, "not mounted" means that files and directories on the storage device cannot be accessed through the file system. In an operating system, mounting is the process of associating files and directories on a storage device (such as a hard drive, CD-ROM, or USB drive) with a directory in a directory tree, making those files and directories accessible through that directory. If a storage device is not mounted, its files and directories will not be accessible through the file system.

[0054] In this embodiment of the disclosure, SMBstream is a network protocol name, the purpose of which is to transform the local file interface in the DOS operating system into a network file system.

[0055] HTTPstream in this disclosure is a mechanism for processing HTTP data streams, which allows developers to transfer data between clients and servers.

[0056] In this embodiment of the disclosure, libsmbclient is a client library based on the SMB protocol, used to implement interaction with a Samba server in a Linux system.

[0057] In this embodiment, libnfs is a library, short for Library for Network File System. Its main function is to provide developers with an interface for interacting with the Network File System (NFS).

[0058] In this embodiment of the disclosure, duration query refers to querying the duration information of the currently playing multimedia file (such as video, audio, etc.).

[0059] Figure 1 This is a schematic diagram illustrating an operational scenario between a home appliance and a control device according to one or more embodiments of this application, such as... Figure 1 As shown, a user can operate the display device 200 through the terminal device 300 and / or the control device 100. The control device 100 can be a remote control, and communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. In some embodiments, mobile terminals, tablet computers, computers, laptops, and other smart devices can also be used to control the display device 200.

[0060] In some embodiments, the display device provided in this disclosure may be the display device 200 described above. The display device 200 has a first application installed, which can create a Blu-ray download plugin when playing Blu-ray multimedia files. When a user needs to play an unmounted Blu-ray multimedia file, the user can play the Blu-ray multimedia file through the first application. For example, if the Blu-ray multimedia file is a local file, the user can open the Blu-ray multimedia file through the first application. In this case, the first application generates a corresponding Uniform Resource Identifier (URI) based on the storage path of the Blu-ray multimedia file. Then, based on the URI, the first application determines the file format of the Blu-ray multimedia file and the protocol type corresponding to the URI. For example, if the URI is a local file, the protocol type corresponding to the URI is determined to be either the File protocol or the fd protocol. Alternatively, if the Blu-ray multimedia file is a network shared file, the user can access the media asset server corresponding to the Blu-ray multimedia file through the first application. Then, in response to a selection operation on the Blu-ray multimedia file, the first application accesses the corresponding media asset server based on the URI corresponding to the Blu-ray multimedia file. Then, the first application determines the file format and protocol type corresponding to the Uniform Resource Identifier of the Blu-ray multimedia file based on the URI. If the URI is a network storage path, it determines that the protocol type corresponding to the URI is any one of HTTP, HTTPS, SMB protocol, NFS, or FTP protocol.

[0061] Next, the first application, having determined that the file format is the target file format (e.g., .iso) and the protocol type is a preset protocol (e.g., File, fd, HTTP, HTTPS, SMB, NFS, or FTP), creates a Blu-ray download plugin. The first application uses the Blu-ray download plugin to obtain a specified file from the Blu-ray multimedia file; it then parses the specified file using the plugin to obtain at least two video list files; in response to a start playback operation on the target file, the first application uses the Blu-ray download plugin to obtain the multimedia data corresponding to the target file; the target file includes any one of the video list files; finally, the first application decodes the multimedia data and plays the decoded multimedia data.

[0062] Figure 2 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown. For example... Figure 2 The display device 200 shown includes at least one of the following: a tuner / demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to nth interface for input / output. The display 260 may be a touch-enabled display, such as a touch screen display. The detector 230 is used to acquire signals from the external environment or for interaction with the external environment.

[0063] In some examples, the external device interface 240 may include, but is not limited to, one or more of the following: High Definition Multimedia Interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. It may also be a composite input / output interface formed by multiple interfaces mentioned above.

[0064] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0065] In some examples, the display device 200 of one or more embodiments is a television set 1, and the operating system of the television set 1 is the Android system, for example... Figure 3As shown, TV 1 can be logically divided into an application layer (referred to as "application layer") 21, an application framework layer (referred to as "framework layer") 22, an Android runtime and system library layer (referred to as "system runtime library layer") 23, and a kernel layer 29.

[0066] Application layer 21 includes one or more applications. These applications can be system applications or third-party applications. For example, application layer 21 includes a first application, which is used to play non-Blu-ray multimedia files and Blu-ray multimedia files. When playing Blu-ray multimedia files, the first application creates a Blu-ray download plugin.

[0067] Framework layer 22 provides application programming interfaces (APIs) and programming frameworks for applications in application layer 21. System runtime library layer 23 provides support for the upper layer, framework layer 22. When framework layer 22 is used, the Android operating system runs the C / C++ libraries contained in system runtime library layer 23 to implement the functions required by framework layer 22. Kernel layer 29 acts as software middleware between the hardware layer and application layer 21, managing and controlling hardware and software resources.

[0068] In some examples, the display device provided in this application embodiment may be the television set 1 described above. The television set 1 has a first application installed, which can create a Blu-ray download plugin when playing Blu-ray multimedia files. For example, as shown... Figure 3As shown, the Blu-ray player includes download plugins, which include other download plugins and Blu-ray download plugin 201, video decompression and parsing plugin 202, ES caching plugin 203, video decoding plugin 204, video synchronous rendering plugin 205, audio decoding plugin 206, audio synchronous rendering plugin 207, and display plugin 208. Among these, the other download plugins are used to download multimedia files other than Blu-ray multimedia files. Blu-ray download plugin 201 provides list parsing functionality and downloads target video data based on the user-selected index. This plugin supports any one of the following protocols: File protocol, fd protocol, HTTP, HTTPS, SMB protocol, NFS, or FTP protocol, and can be extended with different protocols. When a user needs to play an unmounted Blu-ray multimedia file, they can do so through the first application. The first application then calls the Blu-ray player in framework layer 22 to play the file. For example, if the Blu-ray file is a local file, the user can open it through the first application. The first application then generates a corresponding URI based on the file's storage path, determining the file format and the protocol type corresponding to the Uniform Resource Identifier (URI). If the URI is for a local file, the protocol type is determined to be either the File protocol or the fd protocol. Alternatively, if the Blu-ray file is a network shared file, the user can access the media asset server corresponding to the file through the first application. Afterwards, in response to the selection of the Blu-ray file, the first application accesses the corresponding media asset server based on the URI. Then, based on the URI, the first application determines the file format and the protocol type corresponding to the URI. If the URI is for a network storage path, the protocol type is determined to be either HTTP, HTTPS, SMB, NFS, or FTP. Next, the first application sends the URI and protocol type corresponding to the Blu-ray multimedia file to the Blu-ray player. Upon receiving the URI and protocol type from the first application, the Blu-ray player, if it determines that the file format is the target file format (e.g., .iso) and the protocol type is a preset protocol (e.g., File, fd, HTTP, HTTPS, SMB, NFS, or FTP), creates a Blu-ray download plugin.

[0069] For example, the structure of the Blu-ray download plugin created by the Blu-ray player on TV 1 is as follows: Figure 3As shown, the Blu-ray download plugin 201 includes a protocol type identification module 2010, a Blu-ray list parsing / selection module 2011, a Blu-ray data reading / interruption module 2012, a control management module 2013, a download buffer module 2014, and a protocol implementation module 2015. The protocol instance module 2015 implements methods including open, close, read, and seek functions. The protocol type identification module 2010 determines whether the protocol type corresponding to the URI is a local file or a network shared file. Different download implementations correspond to different protocol types. For example, SMB protocol corresponds to SMBstream implementation; in this case, the protocol type identification module 2010 controls the protocol implementation module 2015 to create an SMBstream implementation, allowing the target file of the Blu-ray multimedia file to be downloaded via this SMBstream. Alternatively, HTTP corresponds to HTTPstream implementation; in this case, the protocol type identification module 2010 controls the protocol implementation module 2015 to create an HTTPstream implementation, allowing the target file of the Blu-ray multimedia file to be downloaded via this HTTPstream. The Blu-ray playlist parsing / selection module 2011 is used to parse the video playlist files of Blu-ray multimedia files and provides an interface for the Blu-ray player to display the corresponding video playlist files for user selection. Users can then select a target file from the playlist files. In response to the selection operation, the Blu-ray playlist parsing / selection module 2011 sets the file index of the selected target file. This function is called during video preloading. Alternatively, the Blu-ray playlist parsing function can be implemented independently of the Blu-ray player. The Blu-ray player first calls the playlist parsing, then creates the player, sets the target index, and plays the video. However, the parsing process is essentially the same as in this implementation. During playlist parsing, it relies on the Blu-ray data reading / interruption module and the general download buffer module for data reading. Based on the characteristics of Blu-ray files, it first locates the BDMV file, then sequentially traverses all .mpls files in the PLAYLIST subdirectory, parses the .mpls index file to find the .clpi file in the CLIPINF directory it references, and finally parses the .clpi index file to obtain the video playlist files in the STREAM directory. Each video playlist file corresponds to a title index, containing information such as video name and duration. The Blu-ray Data Read / Interrupt Module 2012 is used for reading multimedia data and for interrupting data upon exit. Unlike local .iso files, which have relatively stable data reading speeds, data reading of shared .iso files is subject to network limitations, and can take longer in weak network conditions, necessitating an interrupt mechanism. The Blu-ray Data Read / Interrupt Module 2012 performs passive reading, relying on the LBA (Logical Block Addressing) location resolved internally by Blu-ray to read a number of blocks as needed, each block occupying 2048 bytes.Considering that the size of the network video file read may differ from the actual size returned by the server, an additional download buffer module is required. The control management module 2013 controls the download of Blu-ray multimedia files, user operations on Blu-ray multimedia files, and the setting of callback functions for data blocks. The download buffer module 2014 is used to download and buffer the multimedia data from the Blu-ray multimedia file.

[0070] Subsequently, the Blu-ray player's download buffer module 2014 obtains a specified file from the Blu-ray multimedia file; the Blu-ray player's Blu-ray playlist parsing / selection module 2011 parses the specified file obtained by the download buffer module 2014 to obtain at least two video playlist files from the Blu-ray multimedia file; then, the Blu-ray player displays the video playlist files. In response to the start playback operation of the target file, the Blu-ray player's Blu-ray playlist parsing / selection module 2011 obtains the file index of the target file. The Blu-ray playlist parsing / selection module 2011 sends this file index to the download buffer module 2014. Based on the file index sent by the Blu-ray playlist parsing / selection module 2011, the download buffer module 2014 obtains the multimedia data corresponding to the target file; the Blu-ray player's Blu-ray data reading / interruption module 2012 reads the multimedia data buffered in the download buffer module 2014 and sends the read multimedia data to the video decapsulation and parsing plugin 202. The video decapsulation and parsing plugin 202 decodes the multimedia data sent by the Blu-ray data read / interrupt module 2012 to obtain audio and video data from the multimedia data. Then, the video decapsulation and parsing plugin 202 sends the audio and video data to the ES cache plugin 203 for data caching. Next, the video decoding plugin 204 parses and decodes the video data in the ES cache plugin 203 to obtain video decoded data. The video decoding plugin 204 sends the video decoded data to the video synchronization rendering plugin 205 for video synchronization rendering. Simultaneously, the audio decoding plugin 206 parses and decodes the audio data in the ES cache plugin 203 to obtain audio decoded data. The audio decoding plugin 206 sends the audio decoded data to the audio synchronization rendering plugin 207 for audio synchronization rendering. Then, the Blu-ray player's display plugin 208 performs frame alignment between the video synchronized by the video synchronization rendering plugin 205 and the audio synchronized by the audio synchronization rendering plugin 207, and sends the aligned frame data to the first application. In this way, the first application can play the frame data, thus enabling the first application to play Blu-ray multimedia files that have not been mounted.

[0071] Specifically, when the executing entity of the multimedia file playback method provided in this embodiment is a television set 1, the storage unit 209 of the television set 1 is used to store data such as the program code of the multimedia file playback method provided in this embodiment.

[0072] In the following embodiments, the television set 1 described above is used as the execution subject for the multimedia file playback method provided in the embodiments of this disclosure to illustrate the method of the embodiments of this application.

[0073] This application provides a method for playing multimedia files, applied to a television set 1, such as... Figure 4 As shown, the method for playing the multimedia file may include S11-S15.

[0074] S11. In response to the selection operation of Blu-ray multimedia files, create a Blu-ray download plugin. The Blu-ray multimedia files are not mounted.

[0075] In some examples, creating a Blu-ray download plugin includes: creating a protocol type identification module 2010, a Blu-ray list parsing / selection module 2011, a Blu-ray data reading / interruption module 2012, a control management module 2013, a download buffer module 2014, and a protocol implementation module 2015. The control management module 2013 initializes the download buffer of the download buffer module 2014; the control management module 2013 configures the parameters for data reading and jump implementation corresponding to different protocol types in the protocol implementation module 2015. The control management module 2013 creates file instances corresponding to different Blu-ray protocols (such as High-bandwidth Digital Content Protection (HDCP) and Blu-ray Disc Content Protection (BDCP)). The control management module 2013 sets the data block read callback function when the Blu-ray data reading / interruption module 2012 reads multimedia data from the Blu-ray multimedia files buffered in the download buffer module 2014.

[0076] S12. Obtain the specified file of the Blu-ray multimedia file through the Blu-ray download plugin; wherein, the specified file contains at least two video list files, and the video list files include any one of the following: shooting highlights file, subtitle file, Blu-ray video file, audio file, and other video file.

[0077] In some examples, the specified file can be a BDMV file.

[0078] S13. Use the Blu-ray download plugin to parse the specified file and obtain at least two video list files for the Blu-ray multimedia file.

[0079] In some examples, a Blu-ray multimedia file contains multiple video list files, such as: behind-the-scenes footage files, subtitle files, Blu-ray video files, audio files, and multiple other video files. In this case, because the Blu-ray multimedia file contains multiple video list files, the Blu-ray player cannot determine the target file the user wants to play. Therefore, after obtaining at least two video list files from the Blu-ray multimedia file, the Blu-ray player needs to display a selection page containing those at least two video list files. The user can then use this selection page to see the video list files contained in the Blu-ray multimedia file. Finally, the user can select the target file to play from the video list files.

[0080] S14. In response to the start playback operation of the target file, obtain the multimedia data corresponding to the target file through the Blu-ray download plugin; wherein, the target file includes any video list file.

[0081] S15. Decode the multimedia data and play the decoded multimedia data.

[0082] As described above, the multimedia file playback method provided in this embodiment involves the Blu-ray player of TV 1 creating a Blu-ray download plugin in response to a selection operation of an unmounted Blu-ray multimedia file. This allows the Blu-ray player of TV 1 to parse the unmounted Blu-ray multimedia file and obtain the specified file. Since the Blu-ray download plugin created by the Blu-ray player of TV 1 can parse Blu-ray multimedia files, the Blu-ray player of TV 1 can parse the specified file through the Blu-ray download plugin to obtain at least two video list files of the Blu-ray multimedia file. The Blu-ray player of TV 1 can then display these at least two video list files, allowing the user to understand the video list files contained in the Blu-ray multimedia file. The user can then select the target file to be played from the video list files. At this time, the Blu-ray player of TV 1, in response to a start playback operation of the target file, obtains the multimedia data corresponding to the target file through the Blu-ray download plugin; decodes the multimedia data; and displays and plays the decoded multimedia data. In this way, the Blu-ray player on TV 1 can play Blu-ray multimedia files that have not been mounted.

[0083] In some feasible examples, combining Figure 4 ,like Figure 5 As shown, the above S11 can be specifically implemented through the following S110-S112.

[0084] S110. Obtain the Uniform Resource Identifier for Blu-ray multimedia files.

[0085] For example, when a Blu-ray multimedia file is a network shared file and the protocol type of the corresponding Uniform Resource Identifier is HTTP, the URI can be: http: / / 192.168.3.2:5005 / video / iso / wild.iso; when a Blu-ray multimedia file is a network shared file and the protocol type of the corresponding Uniform Resource Identifier is SMB, the URI can be: smb: / / 192.168.3.2 / video / iso / wild.iso; when a Blu-ray multimedia file is a network shared file and the protocol type of the corresponding Uniform Resource Identifier is NFS, the URI can be: nfs: / / 192.168.3.2 / volume1 / video / iso / wild.iso; when a Blu-ray multimedia file is a local file and the protocol type of the corresponding Uniform Resource Identifier is File or fd, the URI can be: / mnt / media_rw / FC61-004F / wild.iso.

[0086] S111. Based on the Uniform Resource Identifier (URI), determine the file format of the Blu-ray multimedia file and the protocol type corresponding to the URI.

[0087] S112. Create a Blu-ray download plugin when the file format is the target file format and the protocol type is the preset protocol.

[0088] As described above, the multimedia file playback method provided in this embodiment involves the user playing a Blu-ray multimedia file through a Blu-ray player on a television 1. The Blu-ray player obtains the Uniform Resource Identifier (URI) of the Blu-ray multimedia file. Then, based on the URI, the Blu-ray player determines the file format and the corresponding protocol type of the Blu-ray multimedia file. Subsequently, if the file format is the target file format and the protocol type is a preset protocol, the Blu-ray player creates a Blu-ray download plugin. In this way, the Blu-ray player can parse and play the parsed Blu-ray multimedia file, thereby avoiding the problem of a poor user experience due to the Blu-ray player's inability to play the Blu-ray multimedia file.

[0089] In some feasible examples, combining Figure 4 ,like Figure 6 As shown, the multimedia file playback method provided in this embodiment of the disclosure further includes: S16-S19.

[0090] S16. In response to the target operation on the target file, obtain the jump time corresponding to the target operation through the Blu-ray download plugin; wherein, the target operation includes either fast forward or rewind.

[0091] In some examples, the target operation can also be called the seek operation.

[0092] In some examples, while the Blu-ray player on TV 1 is playing a target file, the user may need to perform a seek operation to allow the Blu-ray player to fast forward or rewind to the target playback time. For example, if the total playback time of the target file is 90 minutes, and the Blu-ray player is currently playing at 0:15:30, the user can fast forward the playback to 0:16:30, i.e., the jump time is 0:16:30; or, the user can rewind the playback to 0:14:30, i.e., the jump time is 0:14:30.

[0093] S17. Convert the jump time using a Blu-ray download plugin to obtain the file location in the target file corresponding to the jump time.

[0094] In some examples, the video decapsulation and parsing plugin 202, in response to a target operation on a target file, determines the jump time corresponding to that target operation and sends the jump time to the Blu-ray player's control management module 2013. After determining the jump time, the Blu-ray player needs to determine whether the multimedia data corresponding to that jump time is buffered in the Blu-ray download plugin's download buffer module 2014. For example, the Blu-ray player's control management module 2013 needs to determine the file position of that jump time in the target file, i.e., the offset of the file position in the target file corresponding to that jump time, based on the jump time. Then, the control management module 2013 sends this offset to the Blu-ray data read / interrupt module 2012. Subsequently, the Blu-ray data read / interrupt module 2012 reads the multimedia data corresponding to that offset from the download buffer module 2014.

[0095] S18. If the offset corresponding to the file position is within the start and end positions of the buffer, control the Blu-ray download plugin to point the current read buffer pointer to the offset.

[0096] In some examples, such as Figure 7As shown, when the Blu-ray data read / interrupt module 2012 reads the multimedia data corresponding to the offset from the download buffer module 2014, the download buffer module 2014 determines whether the offset corresponding to the file position is within the start and end positions of the buffer based on the offset corresponding to the file position. Here, the start position `buffer_start` represents the starting position of the download buffer in memory; the current read buffer pointer `buffer_ptr` represents the position of the data actually read by the Blu-ray plugin in the download buffer; and the end position `buffer_end` represents the pointer offset between the actual returned data size (`buffer_size`) requested from servers such as HTTP / File / FTP / SMB / NFS and `buffer_caps`, and `buffer_start`. When the download buffer module 2014 determines that the offset corresponding to the file position is within the start and end positions of the buffer, it sets the current read buffer pointer to the offset and sends the multimedia data buffered at the offset to the Blu-ray data read / interrupt module 2012. Afterwards, the Blu-ray data read / interrupt module 2012 sends the read multimedia data to the video decapsulation and parsing plugin 202.

[0097] S19. Control the Blu-ray download plugin to read multimedia data starting from the offset and play the read multimedia data.

[0098] In some examples, the above process enables fast seek within the download buffer module 2014 by adding a pos member variable. At the same time, the addition of a buffer ensures that the amount of data read by the download buffer module 2014 each time is the same as the amount of data requested by the Blu-ray data read / interrupt module 2012, thus avoiding problems such as video list file parsing failure or abnormal file playback in Blu-ray multimedia files.

[0099] In some examples, SMBstream / HTTPstream / ... implements data reading, redirection, and other functions based on different protocol types. This module can use mature third-party libraries (such as libsmbclient, libnfs, etc.) or implement its own internal download logic for data downloading, which will not be elaborated here.

[0100] In some examples, unlike ordinary network-shared videos or local videos, due to the special nature of Blu-ray sources, information such as duration and navigation functions need to be implemented internally by the Blu-ray download plugin, while ordinary sources can be directly parsed and processed by the downstream decompression module. Therefore, when the multimedia file is determined to be an .iso file, the video decompression and parsing plugin 202, upon receiving a target event, such as a seek operation, single-loop mode (single-loop event), or duration query, needs to send the event or query to the control management module 2013 in the upstream Blu-ray download plugin for processing. After receiving the target event point sent by the video decompression and parsing plugin 202, the Blu-ray download plugin also needs to obtain the actual read position (bd_pos) of the current Blu-ray multimedia file and inform the Blu-ray data read / interrupt module 2012 of the actual read position to avoid abnormal file read position judgments within the Blu-ray data read / interrupt module 2012. The Blu-ray player implements the process of video file navigation (e.g., from the current playback position 0:5:0 to 0:36:0).

[0101] As described above, the multimedia file playback method provided in this embodiment involves a Blu-ray player on a television 1 responding to a target operation on a target file by obtaining the jump time corresponding to the target operation through a Blu-ray download plugin. The Blu-ray player then converts the jump time using the Blu-ray download plugin to obtain the file position in the target file corresponding to the jump time. If the offset corresponding to the file position is within the start and end positions of the buffer, the Blu-ray player controls the Blu-ray download plugin to point the current read buffer pointer to the offset. Then, the Blu-ray download plugin reads multimedia data starting from the offset and plays the read multimedia data. This ensures that the amount of data read by the download buffer module 2014 each time is the same as the amount of data requested by the Blu-ray data read / interrupt module 2012, avoiding problems such as video list file parsing failure or abnormal file playback in Blu-ray multimedia files.

[0102] In some feasible examples, combining Figure 6 ,like Figure 8 As shown, the multimedia file playback method provided in this embodiment of the disclosure further includes: S20.

[0103] S20. If the offset is not within the start and end positions of the buffer, control the Blu-ray download plugin to obtain the corresponding multimedia data starting from the offset and play the obtained multimedia data.

[0104] As can be seen from the above, the multimedia file playback method provided in this embodiment of the present disclosure, when the Blu-ray player of the TV 1 is not within the start and end positions of the buffer, controls the Blu-ray download plugin to obtain the corresponding multimedia data starting from the offset and plays the obtained multimedia data. This can ensure that the amount of data read by the download buffer module 2014 each time is the same as the amount of data requested by the Blu-ray data reading / interruption module 2012, avoiding problems such as failure to parse the video list file of the Blu-ray multimedia file or abnormal file playback.

[0105] In some feasible examples, combining Figure 4 ,like Figure 9 As shown, the multimedia file playback method provided in this embodiment of the disclosure further includes: S21.

[0106] S21. In response to the stop playback operation of the target file, control the Blu-ray download plugin to interrupt data block reading and stop acquiring multimedia data.

[0107] As can be seen from the above, in the multimedia file playback method provided in this embodiment, the Blu-ray player responds to the stop playback operation of the target file by controlling the Blu-ray download plugin to interrupt data block reading and stop acquiring multimedia data. This avoids the problem that the Blu-ray player continues to occupy network resources when it is not playing the target file, which would prevent the Blu-ray player from continuing to play other multimedia files in a timely manner due to the occupation of network resources.

[0108] In some feasible examples, combining Figure 4 ,like Figure 10 As shown, the above S15 can be specifically implemented through the following S150-S152.

[0109] S150. Control the Blu-ray download plugin to read data in the buffer according to the preset data block. If the offset of the preset data block is within the start and end positions of the buffer, control the Blu-ray download plugin to point the current reading buffer pointer to the position corresponding to the difference between the end position and the offset.

[0110] In some examples, the Blu-ray player controls the Blu-ray data reading / interruption module 2012 in the Blu-ray download plugin to read data from the buffer in the download buffer module 2014 according to preset data blocks. The download buffer module 2014 determines that the offset of the preset data block is within the start and end positions of the buffer, and controls the Blu-ray download plugin to point the current read buffer pointer to the position corresponding to the difference between the end position and the offset.

[0111] S151. Control the Blu-ray download plugin to read the target amount of multimedia data at the current read buffer pointer position.

[0112] In some examples, the download buffer module 2014 of the Blu-ray download plugin in the Blu-ray player reads the target amount of multimedia data at the current read buffer pointer position and sends it to the Blu-ray data read / interrupt module 2012.

[0113] S152. If the target data volume is less than or equal to the actual data volume corresponding to the difference between the termination position and the current read buffer pointer position, control the Blu-ray download plugin to read the target data volume of multimedia data from the buffer and play the read multimedia data.

[0114] In some examples, when the target data amount is less than or equal to the actual data amount corresponding to the difference between the termination position and the current read buffer pointer position, the download buffer module 2014 reads the target data amount of multimedia data from the buffer and sends the read target data amount of multimedia data to the Blu-ray data read / interrupt module 2012.

[0115] In some examples, such as Figure 7 As shown, `bdiobuf` is a generic download buffer requested by the Blu-ray plugin, residing in the heap of memory. Its size is indicated by the `buffer_caps` member, for example, 640KB. `buffer_start` indicates the starting position of the download buffer in memory; `buffer_ptr` indicates the position of the data actually read by the Blu-ray plugin in the download buffer; `buffer_end` represents the pointer offset between the actual returned data size (`buffer_size`) requested from servers such as HTTP / File / FTP / SMB / NFS and `buffer_caps`. Since the size requested by the network server may differ from the actual returned size, `buffer_end`... The offset between `fer_end` and `buffer_start`, i.e., `buffer_size`, may be less than `buffer_caps`; `pos` represents the actual position of the data that has been downloaded from the server in the Blu-ray file. For example, if a request for 655360 bytes is made to the Blu-ray file at position 2048 in the WebDAV server, and the server actually returns 4096 bytes, then the value of `pos` is 2048 + 4096 = 6144 bytes, and `buffer_size` = `buffer_end` – `buffer_start` = 4096. If the Blu-ray plugin requests to read 2048 bytes at this time, since the 4096 bytes contained in the download buffer satisfy the requested data, `buffer_ptr` can be directly shifted right by 2048 bytes.

[0116] As described above, the multimedia file playback method provided in this embodiment involves the Blu-ray player of the television 1 controlling the Blu-ray download plugin to read data from the buffer according to preset data blocks. If the offset of the preset data block is within the start and end positions of the buffer, the Blu-ray download plugin is controlled to point the current reading buffer pointer to the position corresponding to the difference between the end position and the offset. The Blu-ray player controls the Blu-ray download plugin to read multimedia data of the target data amount at the position of the current reading buffer pointer. If the target data amount is less than or equal to the actual data amount corresponding to the difference between the end position and the position of the current reading buffer pointer, the Blu-ray download plugin is controlled to read multimedia data of the target data amount from the buffer, thereby avoiding problems such as video list file parsing failure or abnormal file playback of Blu-ray multimedia files.

[0117] In some feasible examples, combining Figure 10 ,like Figure 11 As shown, the multimedia file playback method provided in this embodiment of the disclosure further includes: S22 and S23.

[0118] S22. If the target data volume is greater than the actual data volume corresponding to the difference between the termination position and the current read buffer pointer position, read the multimedia data of the actual data volume, set the current read buffer pointer position and the termination position as the starting position, and determine the data volume difference between the target data volume and the actual data volume.

[0119] In some examples, the download buffer module 2014 targets a larger amount of data than the actual amount of data corresponding to the difference between the termination position and the current read buffer pointer position. It then reads the multimedia data corresponding to the actual amount of data, sets both the current read buffer pointer position and the termination position as the starting position, and determines the difference between the target data amount and the actual data amount.

[0120] S23. Control the Blu-ray download plugin to obtain multimedia data based on the difference in data volume, and play the obtained multimedia data.

[0121] In some examples, the download buffer module 2014 acquires the multimedia data of the data volume difference and sends the buffered multimedia data to the Blu-ray data read / interrupt module 2012, which then sends the buffered multimedia data to the video decapsulation and parsing plugin 202.

[0122] As described above, the multimedia file playback method provided in this embodiment involves the Blu-ray player of television 1 reading multimedia data when the target data volume is greater than the actual data volume corresponding to the difference between the termination position and the current read buffer pointer position. The current read buffer pointer position and the termination position are set as the starting position, and the difference between the target data volume and the actual data volume is determined. The Blu-ray download plugin is then controlled to acquire the multimedia data corresponding to this difference and play the acquired multimedia data. Therefore, when the download buffer module has not cached a sufficient amount of multimedia data, the Blu-ray player can first read the cached multimedia data and then acquire the remaining multimedia data through the download buffer module 2014, thus ensuring normal playback of Blu-ray multimedia files.

[0123] In some feasible examples, combining Figure 10 ,like Figure 12 As shown, the multimedia file playback method provided in this embodiment of the disclosure further includes: S24.

[0124] S24. If the offset of the preset data block is not within the start and end positions of the buffer, set the current read buffer pointer position and the end position as the start position, and control the Blu-ray download plugin to obtain the corresponding multimedia data from the offset and play the obtained multimedia data.

[0125] As described above, the multimedia file playback method provided in this embodiment of the present disclosure allows the Blu-ray player on the television 1 to set the current read buffer pointer position and the end position as the starting position when the offset of the preset data block is not within the start and end positions of the buffer. The Blu-ray download plugin is then controlled to acquire the corresponding multimedia data starting from the offset and play the acquired multimedia data. Therefore, when the download buffer module has not cached a sufficient amount of multimedia data, the Blu-ray player can clear the buffered data in the download buffer module 2014 by setting the current read buffer pointer position and the end position as the starting position, and then re-acquire the corresponding multimedia data starting from the offset and play the acquired multimedia data, thus ensuring normal playback of Blu-ray multimedia files.

[0126] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0127] This application embodiment can divide the display device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0128] like Figure 13 As shown in the diagram, an embodiment of this application provides a schematic diagram of a display device. It includes a controller 101 and a display 102, with the controller 101 including a control module 1010.

[0129] Display 102 is configured to display the display interface of a Blu-ray player;

[0130] Controller 101 includes a control module 1010 for a Blu-ray player; controller 101 is configured to:

[0131] In response to the selection operation of a Blu-ray multimedia file, the control module 1010 creates a Blu-ray download plugin; wherein the Blu-ray multimedia file is not mounted.

[0132] The control module 1010 obtains a specified file of the Blu-ray multimedia file through the Blu-ray download plugin; the specified file contains at least two video list files, which include any one of the following: shooting highlights file, subtitle file, Blu-ray video file, audio file, or other video file.

[0133] The control module 1010 parses the specified file through the Blu-ray download plugin to obtain at least two video list files of the Blu-ray multimedia file;

[0134] In response to the start playback operation of the target file, the control module 1010 obtains the multimedia data corresponding to the target file through the Blu-ray download plugin; wherein, the target file includes any video list file;

[0135] The control module 1010 decodes the multimedia data and plays the decoded multimedia data.

[0136] In some feasible examples, in response to a selection operation on a Blu-ray multimedia file, the control module 1010 obtains the Uniform Resource Identifier (URI) of the Blu-ray multimedia file; based on the URI, the control module 1010 determines the file format of the Blu-ray multimedia file and the protocol type corresponding to the URI; and if the file format is the target file format and the protocol type is a preset protocol, the control module 1010 creates a Blu-ray download plugin.

[0137] In some feasible examples, the control module 1010, in response to a target operation on a target file, obtains the jump time corresponding to the target operation through the Blu-ray download plugin; wherein the target operation includes either a fast-forward operation or a rewind operation; the control module 1010 converts the jump time through the Blu-ray download plugin to obtain the file position in the target file corresponding to the jump time; if the offset corresponding to the file position is within the start and end positions of the buffer, the control module 1010 controls the Blu-ray download plugin to point the current read buffer pointer to the offset; the control module 1010 controls the Blu-ray download plugin to read multimedia data starting from the offset and play the read multimedia data.

[0138] In some feasible examples, when the offset is not within the start and end positions of the buffer, the control module 1010 controls the Blu-ray download plugin to acquire the corresponding multimedia data starting from the offset and play the acquired multimedia data.

[0139] In some implementable examples, the control module 1010, in response to a stop playback operation on the target file, controls the Blu-ray download plugin to interrupt data block reading and stop acquiring multimedia data.

[0140] In some feasible examples, the control module 1010 controls the Blu-ray download plugin to read data from the buffer according to preset data blocks. If the offset of the preset data block is within the start and end positions of the buffer, the control module 1010 controls the Blu-ray download plugin to point the current read buffer pointer to the position corresponding to the difference between the end position and the offset. The control module 1010 controls the Blu-ray download plugin to read the target amount of multimedia data at the position of the current read buffer pointer. If the target amount of multimedia data is less than or equal to the actual amount of multimedia data corresponding to the difference between the end position and the position of the current read buffer pointer, the control module 1010 controls the Blu-ray download plugin to read the target amount of multimedia data from the buffer and play the read multimedia data.

[0141] In some feasible examples, if the target data volume is greater than the actual data volume corresponding to the difference between the termination position and the current read buffer pointer position, the control module 1010 reads the multimedia data of the actual data volume, sets the current read buffer pointer position and the termination position as the starting position, and determines the data volume difference between the target data volume and the actual data volume; the control module 1010 controls the Blu-ray download plugin to obtain the multimedia data of the data volume difference and plays the obtained multimedia data.

[0142] In some feasible examples, if the offset of the preset data block is not within the start and end positions of the buffer, the control module 1010 sets the current read buffer pointer position and the end position as the start position, and controls the Blu-ray download plugin to acquire the corresponding multimedia data from the offset and play the acquired multimedia data.

[0143] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.

[0144] Of course, the electronic devices provided in this application embodiment include, but are not limited to, the modules described above. For example, the electronic device may also include a memory 103. The memory 103 can be used to store the program code of the electronic device, and can also be used to store data generated by the electronic device during operation, such as data in write requests.

[0145] As an example, combined Figure 3 The protocol type identification module 2010, Blu-ray list parsing / selection module 2011, Blu-ray data reading / interruption module 2012, control management module 2013, protocol instance module 2015, video decapsulation and parsing plugin 202, video decoding plugin 204, video synchronous rendering plugin 205, audio decoding plugin 206, and audio synchronous rendering plugin 207 in TV set 1 perform the same functions as the control module 1010 in controller 101. The display plugin 208 performs the same functions as the display 102. The download buffer module 2014 in TV set 1 performs the same functions as the communicator. The storage unit 209 performs the same functions as the memory 103.

[0146] like Figure 14As shown, this application embodiment also provides a chip system that can be applied to the display device in the foregoing embodiments. The chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 can be the processor in the aforementioned display device. The processor 1501 and the interface circuit 1502 can be interconnected via a line. The processor 1501 can receive and execute computer instructions from the memory of the aforementioned display device through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the display device can perform the various steps performed by the display device in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in this application embodiment.

[0147] This application also provides a computer-readable storage medium for storing computer instructions for operating the aforementioned display device.

[0148] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for playing multimedia files, characterized in that, include: In response to the selection operation of a Blu-ray multimedia file, a Blu-ray download plugin is created; wherein the Blu-ray multimedia file is not mounted. The Blu-ray download plugin obtains a specified file of the Blu-ray multimedia file; wherein, the specified file contains at least two video list files, and the video list files include any one of the following: behind-the-scenes footage files, subtitle files, Blu-ray video files, audio files, and other video files; The specified file is parsed using the Blu-ray download plugin to obtain at least two video list files of the Blu-ray multimedia file; In response to the start playback operation of the target file, the multimedia data corresponding to the target file is obtained through the Blu-ray download plugin; wherein, the target file includes any of the video list files; The multimedia data is decoded and then played back.

2. The method for playing multimedia files according to claim 1, characterized in that, The creation of a Blu-ray download plugin in response to a selection operation of a Blu-ray multimedia file includes: Obtain the Uniform Resource Identifier (URL) of the Blu-ray multimedia file; Based on the Uniform Resource Identifier, the file format of the Blu-ray multimedia file and the protocol type corresponding to the Uniform Resource Identifier are determined; A Blu-ray download plugin is created when the file format is the target file format and the protocol type is a preset protocol.

3. The method for playing multimedia files according to claim 1, characterized in that, The method further includes: In response to a target operation on the target file, the jump time corresponding to the target operation is obtained through the Blu-ray download plugin; wherein, the target operation includes either a fast forward operation or a rewind operation; The jump time is converted using the Blu-ray download plugin to obtain the file position in the target file corresponding to the jump time; If the offset corresponding to the file position is within the start and end positions of the buffer, the Blu-ray download plugin is controlled to point the current read buffer pointer to the offset. The Blu-ray download plugin is controlled to read multimedia data starting from the offset and play the read multimedia data.

4. The method for playing multimedia files according to claim 3, characterized in that, The method further includes: If the offset is not within the start and end positions of the buffer, the Blu-ray download plugin is controlled to acquire the corresponding multimedia data starting from the offset and play the acquired multimedia data.

5. The method for playing multimedia files according to claim 1, characterized in that, The method further includes: In response to the stop playback operation of the target file, the Blu-ray download plugin is controlled to interrupt the reading of data blocks and stop acquiring the multimedia data.

6. The method for playing multimedia files according to claim 1, characterized in that, Decoding the multimedia data and playing the decoded multimedia data includes: The Blu-ray download plugin is controlled to read data in the buffer according to preset data blocks. If the offset of the preset data block is within the start and end positions of the buffer, the Blu-ray download plugin is controlled to point the current reading buffer pointer to the position corresponding to the difference between the end position and the offset. The Blu-ray download plugin is controlled to read the target amount of multimedia data at the current read buffer pointer position; If the target data volume is less than or equal to the actual data volume corresponding to the difference between the termination position and the current read buffer pointer position, the Blu-ray download plugin is controlled to read the multimedia data of the target data volume from the buffer and play the read multimedia data.

7. The method for playing multimedia files according to claim 6, characterized in that, The method further includes: If the target data volume is greater than the actual data volume corresponding to the difference between the termination position and the current read buffer pointer position, read the multimedia data of the actual data volume, set the current read buffer pointer position and the termination position as the starting position, and determine the data volume difference between the target data volume and the actual data volume; The Blu-ray download plugin is controlled to acquire multimedia data based on the difference in data volume and to play the acquired multimedia data.

8. The method for playing multimedia files according to claim 6, characterized in that, The method further includes: If the offset of the preset data block is not within the start and end positions of the buffer, the current read buffer pointer position and the end position are set as the start position, and the Blu-ray download plugin is controlled to acquire the corresponding multimedia data starting from the offset and play the acquired multimedia data.

9. A display device, characterized in that, include: The monitor is configured to display the Blu-ray player's interface; The controller includes the control module of the Blu-ray player; The controller is configured as follows: The control module creates a Blu-ray download plugin in response to a selection operation of a Blu-ray multimedia file; wherein the Blu-ray multimedia file is not mounted. The control module obtains a specified file of the Blu-ray multimedia file through the Blu-ray download plugin; wherein, the specified file contains at least two video list files, and the video list files include any one of the following: shooting highlights file, subtitle file, Blu-ray video file, audio file, and other video files; The control module parses the specified file through the Blu-ray download plugin to obtain at least two video list files of the Blu-ray multimedia file; In response to a start playback operation on a target file, the control module acquires the multimedia data corresponding to the target file through the Blu-ray download plugin; wherein, the target file includes any of the video list files; The control module decodes the multimedia data and plays the decoded multimedia data.

10. A computer-readable storage medium, characterized in that, include: The computer-readable storage medium stores a computer program that, when executed by a computing device, causes the computing device to implement the multimedia file playback method according to any one of claims 1-8.