Display device and media asset track switching method

By creating a media asset track index in the display device and switching to the preliminary data, the problem of lagging and excessive memory usage when switching media asset tracks is solved, and the memory usage efficiency of the device and the smoothness of track switching are improved.

CN118784901APending Publication Date: 2024-10-15VIDAA (NETHERLANDS) INT HLDG BV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410865086.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

When the display device switches media asset tracks, the display device freezes due to not pre-caching, which affects the user's viewing experience. When there are a large number of media asset data tracks, the memory required for caching takes up too much, affecting the normal operation of the device.

Method used

By parsing the media asset track when playing the target media asset, creating a track index, and controlling the display and audio output device to cancel the display or playback of the target data and switch to the prepared data according to the user's track switching instructions, thus reducing the need for data on multiple tracks. Cache, improve memory usage efficiency and track cutting smoothness.

Benefits of technology

It effectively reduces the memory usage when switching media tracks, improves the memory usage efficiency of the display device and the smoothness of track switching, and avoids device operation problems caused by excessive cache.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784901A_ABST
    Figure CN118784901A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display device and a media asset track switching method, and the method comprises the steps: when playing a target media asset, analyzing a media asset track of the target media asset, creating a track index of the media asset track according to the playing progress of the target media asset, responding to a first track switching instruction of a user, and switching the target media asset track according to the track index. Controlling the display to cancel the display of the media asset picture corresponding to the target video data, and displaying the media asset picture corresponding to the track switching video data; and in response to a second track switching instruction input by the user, controlling the audio output device to cancel playing of the target audio data and play track switching audio data according to the track index. According to the method, by creating the track index, when the display device switches the media asset track of the target media asset, the target media asset continues to be played at the current playing progress according to the track index, memory occupation during data caching of multiple tracks is reduced, and the memory use efficiency and track switching fluency of the display device are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display devices, and in particular to a display device and a media resource switching method. Background Art

[0002] Users can watch media programs through display devices. The media data corresponding to the media programs may include multiple media tracks, such as video tracks, audio tracks, or subtitle tracks. Users can switch different media tracks on the display device to adjust the viewing effect of the media programs.

[0003] When the display device switches tracks, there may be a freeze due to lack of pre-caching, which affects the user's viewing experience. In order to reduce freezes, the display device can pre-cache the data of the media track so that when switching the media track, the pre-cached data of the switched media track is played first, thereby improving the smoothness of video playback when switching tracks. However, when there are a large number of media tracks of media data, the display device needs to occupy a large amount of device memory to perform caching for each media track, affecting the normal operation of the display device. Summary of the invention

[0004] Some embodiments of the present application provide a display device and a media resource switching method to solve the problem of excessive memory usage when the display device plays and caches media resource data.

[0005] In a first aspect, some embodiments of the present application provide a display device, including a display, an audio output device, and a controller, wherein the display is configured to display a media playback screen, the audio output device is configured to play audio data, and the controller is configured to:

[0006] When playing the target media asset, parsing the media asset track of the target media asset, the media track includes a video track and an audio track, the video track includes the target video data currently being played and at least one item of prepared video data, and the audio track includes the target audio data currently being played and at least one item of prepared audio data;

[0007] Creating a track index of the media asset track according to the playback progress of the target media asset;

[0008] In response to a first track switching instruction input by a user, according to the track index, controlling the display to cancel displaying the media picture corresponding to the target video data, and displaying the media picture corresponding to the track switching video data, the track switching video data being the prepared video data selected by the first track switching instruction;

[0009] In response to a second track cutting instruction input by the user, the audio output device is controlled to cancel playing the target audio data according to the track index, and to play the track cutting audio data, where the track cutting audio data is the prepared audio data selected by the second track cutting instruction.

[0010] In some embodiments, the media asset track further includes a subtitle track, the subtitle track includes currently displayed target subtitle data and at least one item of prepared subtitle data, and the controller is further configured to:

[0011] In response to a third track switching instruction input by a user, obtaining a time positioning position of the target subtitle data;

[0012] According to the track index, the display is controlled to cancel displaying the subtitle picture corresponding to the target subtitle data, and, according to the time positioning position, the subtitle picture corresponding to the track-cut subtitle data is displayed, and the track-cut subtitle data is the prepared subtitle data selected by the third track-cutting instruction.

[0013] In some embodiments, the controller executes creating a track index of the media asset track, and is configured to:

[0014] Obtaining the current playback time according to the playback progress;

[0015] Determining, according to the current playback time, a track switching time of the prepared video data and the prepared audio data based on the playback progress;

[0016] The track index is generated according to the track cutting time.

[0017] In some embodiments, the controller generates the track index according to the track cutting time, and is configured to:

[0018] generating an index data interval according to the track switching time, wherein the central time point of the index data interval is the track switching time;

[0019] The track index is generated according to the index data interval.

[0020] In some embodiments, the controller generates an index data interval according to the track cutting time, and is configured to:

[0021] Obtaining video uniformity parameters of the prepared video data;

[0022] Generating a first index depth according to the video uniformity parameter;

[0023] According to the track switching time, a first index data interval is configured with the first index depth, and the first index data interval is an index data interval of the preliminary video data.

[0024] In some embodiments, the controller generates an index data interval according to the track cutting time, and is configured to:

[0025] Acquire audio uniformity parameters of the prepared audio data;

[0026] generating a second index depth according to the audio uniformity parameter;

[0027] According to the track switching time, a second index data interval is configured with the second index depth, and the second index data interval is an index data interval of the preliminary audio data.

[0028] In some embodiments, the controller is configured to display the subtitle screen corresponding to the track-cut subtitle data according to the time positioning position:

[0029] Obtaining a positioned subtitle segment at the time positioning position;

[0030] Acquire a subtitle set to be cut from the cut-track subtitle data according to the subtitle parameters of the cut-track subtitle data and the positioned subtitle segment;

[0031] The display is controlled to use the subtitle position corresponding to the subtitle set to be switched as the switching start point, cancel the display of the target subtitle data, and display the subtitle picture corresponding to the switching subtitle data.

[0032] In some embodiments, the controller is further configured to:

[0033] Obtaining the network playback status of the target media asset, where the network playback status is a smooth playback status or a stuck playback status;

[0034] When the network playback state is a stuck playback state, caching the subtitle set to be switched;

[0035] A subtitle index is generated according to the subtitle set to be switched, and, according to the subtitle index, the display is controlled to display a subtitle picture corresponding to the switched subtitle data.

[0036] In some embodiments, the display device further includes a memory, the memory is configured to cache the target media asset, and the controller executes obtaining the network playback status of the target media asset, and is configured to:

[0037] Obtaining a cache margin of the memory;

[0038] If the buffer margin is less than or equal to the buffer margin threshold, marking the network playback state as a smooth playback state;

[0039] If the buffer margin is greater than the buffer margin threshold, the network playback state is marked as a stuck playback state.

[0040] In a second aspect, some embodiments of the present application further provide a media resource switching method, which is applied to the display device described in the first aspect, and the method includes:

[0041] When playing the target media asset, parsing the media asset track of the target media asset, the media track includes a video track and an audio track, the video track includes the target video data currently being played and at least one item of prepared video data, and the audio track includes the target audio data currently being played and at least one item of prepared audio data;

[0042] Creating a track index of the media asset track according to the playback progress of the target media asset;

[0043] In response to a first track switching instruction input by a user, according to the track index, controlling the display to cancel displaying the media picture corresponding to the target video data, and displaying the media picture corresponding to the track switching video data, the track switching video data being the prepared video data selected by the first track switching instruction;

[0044] In response to a second track cutting instruction input by the user, the audio output device is controlled to cancel playing the target audio data according to the track index, and to play the track cutting audio data, where the track cutting audio data is the prepared audio data selected by the second track cutting instruction.

[0045] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and a media track switching method. When playing the target media, the method parses the media track of the target media, and creates a track index of the media track according to the playback progress of the target media. In response to the user's first track switching instruction, the display is controlled to cancel the display of the media screen corresponding to the target video data according to the track index, and display the media screen corresponding to the track-switched video data; in response to the user's second track switching instruction, the audio output device is controlled to cancel the playback of the target audio data according to the track index, and play the track-switched audio data. The method creates a track index, and when the display device switches the media track of the target media, it continues to play the target media at the current playback progress according to the track index, thereby reducing the memory usage when caching data for multiple tracks and improving the memory usage efficiency and track switching smoothness of the display device. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1A schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application;

[0048] Figure 2 A schematic diagram of the hardware configuration of a display device provided in some embodiments of the present application;

[0049] Figure 3 A schematic diagram of software configuration of a display device provided in some embodiments of the present application;

[0050] Figure 4 A schematic diagram of a media track for a display device to play a target media asset provided in some embodiments of the present application;

[0051] Figure 5 A schematic diagram of a video track of a display device parsing a target media asset provided in some embodiments of the present application;

[0052] Figure 6 A schematic diagram of cutting tracks of a display device provided in some embodiments of the present application;

[0053] Figure 7 A schematic diagram of creating a track index for a display device provided in some embodiments of the present application;

[0054] Figure 8 A schematic diagram of a display device switching a video track in response to a first track switching instruction in some embodiments of the present application;

[0055] Fig. 9 A schematic diagram of a display device switching an audio track in response to a second track switching instruction in some embodiments of the present application;

[0056] Fig.10 This is a screen diagram showing track controls on a display device in some embodiments of the present application;

[0057] Fig.11 A schematic diagram of a process of displaying a device switching tracks according to a track switching time in some embodiments of the present application;

[0058] Fig.12 A flowchart for configuring an index data interval for a display device in some embodiments of the present application;

[0059] Fig.13 A schematic diagram of a display device switching a subtitle track in response to a third track switching instruction in some embodiments of the present application;

[0060] Fig.14 This is a flowchart of a display device completing switching of subtitle tracks in some embodiments of the present application. DETAILED DESCRIPTION

[0061] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.

[0062] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0063] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0064] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0065] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0066] In the embodiment of the present application, the display device 200 generally refers to a device with image display and data processing capabilities. For example, the display device 200 includes but is not limited to a smart TV, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.

[0067] Figure 1 This is a schematic diagram of an operation scenario between a display device and a control device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , a user can operate the display device 200 through touch operation, the mobile terminal 300 and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that can be recognized and responded to by the display device 200. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.

[0068] The mobile terminal 300 can be used as a control device for performing human-computer interaction between the user and the display device 200. The mobile terminal 300 can also be used as a communication device for establishing a communication connection with the display device 200 and performing data interaction. In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to achieve a synchronous display function.

[0069] In some embodiments, the mobile terminal 300 or other electronic devices may also simulate the functions of the control device 100 by running an application program for controlling the display device 200 .

[0070] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0071] The display device 200 may provide a broadcast receiving television function, and may also additionally provide an intelligent network television function with a computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), and the like.

[0072] Figure 2 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.

[0073] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface.

[0074] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0075] In some embodiments, the display 260 includes a display function component for presenting a picture, and a driving component for driving an image display. The display 260 is used to receive an image signal output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, and components of a menu control interface and a user control UI interface.

[0076] In some embodiments, the communication device 220 is a component for communicating with an external device or server 400 according to various communication protocol types. The display device 200 may be provided with a plurality of communication devices 220 according to different supported communication modes. For example, when the display device 200 supports wireless network communication, the display device 200 may be provided with a communication device 220 including a WiFi function. When the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including a Bluetooth function.

[0077] The communication device 220 can enable the display device 200 to communicate with the external device or server 400 by wireless or wired connection. Among them, the wired connection can connect the display device 200 with the external device through components such as data cables and interfaces. The wireless connection can connect the display device 200 with the external device through wireless signals or wireless networks. The display device 200 can establish a connection relationship with the external device directly, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.

[0078] In some embodiments, the controller 250 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first interface to an nth interface for input / output. The controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.

[0079] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0080] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).

[0081] In some embodiments, the audio output device 270 may be a local speaker of the display device 200, or may be an external audio output device of the display device 200. In particular, for the external audio output device of the display device 200, the display device 200 may also be provided with an external audio output terminal, and the audio output device may be connected to the display device 200 through the external audio output terminal to output the sound of the display device 200.

[0082] In some embodiments, the user input interface 280 may be used to receive instructions from a user.

[0083] In order to perform user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200. The operating system can control the display device to provide a user interface, for example, the operating system can directly control the display device to provide a user interface, or can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.

[0084] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device.

[0085] The operating system can be divided into different modules or layers according to the functions implemented, such as Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the system library layer and the kernel layer.

[0086] In some embodiments, the application layer is used to provide services and interfaces for applications so that the display device 200 can run applications and interact with users based on the applications. At least one application can be run in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. that come with the operating system; they can also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.

[0087] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.

[0088] like Figure 3 As shown, Figure 3 A software configuration diagram of a display device provided for some embodiments of the present application. In some embodiments, the system of the display device 200 can be divided into three layers, namely, an application layer, a middleware layer, and a hardware layer from top to bottom.

[0089] The application layer mainly includes applications on the TV and the application framework. Among them, applications are mainly applications developed based on the browser, such as HTML5 APPs and native applications.

[0090] The Application Framework is a complete program model that has all the basic functions required by standard application software, such as file access, data exchange, etc., as well as the user interfaces of these functions (toolbars, status bars, menus, dialog boxes).

[0091] Native apps can support online or offline, message push or local resource access.

[0092] The middleware layer includes various TV protocols, multimedia protocols, system components and other middleware. The middleware can use the basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, and can achieve the purpose of resource sharing and function sharing.

[0093] The hardware layer mainly includes HAL interface, hardware and driver. Among them, HAL interface is the unified interface for all TV chips to connect, and the specific logic is implemented by each chip. Drivers mainly include: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0094] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the display device 200 in the embodiment of the present application. Depending on factors such as the function of the display device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.

[0095] Based on the above display device 200, in some embodiments, the display device 200 can display a specific user interface in response to a control instruction input by a user. Among the user interfaces that the display device 200 can display, some user interfaces may include display controls for displaying specific content. For example, the display controls may be used to display media asset data. The user may move the focus to the location of the display control through the control device 100 and send a selection instruction to the display device 200 to run the display control.

[0096] The display device 200 can display a media asset playlist on a user interface. The media asset playlist includes at least one media asset. The media asset may include multiple types, such as media asset video, media asset audio, media asset picture or media asset text, etc. The user can choose to play the corresponding media asset.

[0097] Figure 4 This is a schematic diagram of a display device playing media data in an embodiment of the present application. Figure 4 , the media asset data includes a media asset track, which is used to play different types of playback sources of the same media asset, for example Figure 5 As shown, for video media, it can include playback sources of multiple resolutions, such as 480p, 720p, 1080p, 2k, 4k or 8k, etc., and a playback source of one resolution can be played through one video track. For another example, for audio media, it can include playback sources of multiple languages, such as Chinese, Russian, English, French, etc., and a playback source of one language can be played through one audio track. For another example, corresponding to playback sources of different languages, video media can also include multiple subtitle media, and one subtitle media can be displayed through one subtitle track. In the process of display device 200 playing media video, video track, audio track and subtitle track are output synchronously, and the corresponding output content forms the playback effect of video media. For example, when the video track plays video media with a resolution of 720p, the audio track plays audio media in Chinese, and the subtitle track displays subtitle media in Chinese, at this time, the display device 200 plays media data with a resolution of 720, Chinese audio, and Chinese subtitles.

[0098] Corresponding to the playback of media asset data, the display device 200 may include a video parsing module, an audio parsing module, and a subtitle parsing module. The video parsing module may parse the track data of the video media asset track and play the playback picture corresponding to the track data. The audio parsing module may parse the track data of the audio media asset track and play the audio data corresponding to the track data. The subtitle parsing module may parse the track data of the subtitle media asset track and display the subtitle data corresponding to the track data. When the display device 200 plays the media asset data, the video parsing module, the audio parsing module, and the subtitle parsing module parse one type of track data respectively, that is, the parsing of one video track, one audio track, and one subtitle track is maintained at the same time.

[0099] Based on the above scenario, Figure 6 As shown, during the process of the display device 200 playing video media, the user can input a track switching instruction according to the media track. The track switching instruction is used to switch the current media track to other media tracks to play video media. For example, when the display device 200 plays media data with a resolution of 720p, the user sends a track switching instruction to switch the display device 200 from a video track with a resolution of 720p to a video track with a resolution of 1080p, thereby improving the clarity of the playback source. Alternatively, the user can also switch video and audio tracks of different languages ​​through the track switching instruction to watch video media in different languages.

[0100] The user needs to generate a track switching instruction based on a media track that is compatible with the media data. For example, when the media data only includes video tracks with a resolution of 480p and a resolution of 720p, it means that the media data only supports the clarity of 480p and 720p. At this time, the user cannot generate a video media track that switches to a resolution of 1080p or higher.

[0101] In order to provide users with more playback options, media data may include multiple media tracks, so that users can switch the playback source of media videos according to the media tracks to achieve the desired playback effect. However, since media videos need to be loaded and played, during the track switching process, it is easy to encounter the problem of track switching jamming due to untimely loading. For example, when the display device 200 switches from a media track with a resolution of 720p to a video track with a resolution of 1080p, since the media data with a resolution of 1080p is not loaded in time, it takes a period of loading before the media video can be played with a video track with a resolution of 1080p, which affects the smoothness of the track switching.

[0102] To this end, the display device 200 can preload all media tracks in the media data in advance, and load the corresponding media data regardless of whether the media track is played, so as to improve the smoothness of the track switching. However, this preloading method will occupy part of the memory of the display device 200 by caching data, and the occupied memory is proportional to the number of media tracks, that is, the more media tracks, the more device memory is occupied. For media data including a large number of media tracks, when caching the data of each media track, the occupied device memory is large, thereby affecting the operating efficiency of the display device 200.

[0103] Some embodiments of the present application provide a display device and a media track switching method to solve the problem that the display device 200 occupies too much memory when caching media data in order to improve the smoothness of switching media tracks. The display device 200 should at least include a display 260, an audio output device 270 and a controller 250, wherein the display 260 is configured to display a media playback screen, the audio output device 270 is configured to play audio data, and the controller 250 is configured to execute a media track switching method. Figure 7 A schematic diagram of a process of creating a track index for a display device provided in an embodiment of the present application, Figure 8 A flowchart of switching video tracks of a display device provided in an embodiment of the present application, Fig. 9 A schematic diagram of a flow chart of switching audio tracks of a display device provided in an embodiment of the present application. Figure 7-Figure 9 As shown, the method includes the following contents:

[0104] S100: When playing the target media asset, parsing the media asset track of the target media asset.

[0105] After responding to the start instruction of the display control, the display device 200 may display a media asset list interface, which includes multiple media asset data. The user may send a selection instruction to the display device 200 to select and play a target media asset from the multiple media asset data.

[0106] After selecting the target media asset, Figure 7 As shown, the controller 250 can parse the media track of the target media asset. The media track should include at least a video track and an audio track to provide playback images and playback sounds for the target media asset. The video track and the audio track should maintain the same playback progress to improve the audio and video synchronization of the target media asset.

[0107] The target media may include multiple video tracks and multiple audio tracks, wherein the video track includes the target video data currently being played and at least one item of prepared video data, collectively referred to as media video data, and the target video data and the prepared video data are media video data of the video track, respectively. The prepared video data is the media video data that can be switched in the target media. For example, when the display device 200 plays the target video data at a resolution of 480p, the media data at a resolution of 480p is the target video data. When the target media can also be played through a video track with a resolution of 720p and a video track with a resolution of 1080p, the video data corresponding to the video track with a resolution of 720p and the video track with a resolution of 1080p is the prepared video data. The audio track includes the target audio data currently being played and at least one item of prepared audio data, collectively referred to as media audio data, and the target audio data and the prepared audio data are media audio data of their respective audio tracks, respectively. Among them, the target audio data is the audio data currently being played by the audio output device 270, and the prepared audio data is the media audio data that can be switched.

[0108] In some embodiments, the controller 250 can also set a default video track and a default audio track for the target media. After responding to a selection instruction, if the target media includes at least two video tracks and corresponding at least two audio tracks, the display device 200 can play the target media according to the default video track and the default audio track.

[0109] S200: Creating a track index of the media asset track according to the playback progress of the target media asset.

[0110] During the process of playing media data, the controller 250 can record the playback progress of the target media, and the playback progress can be displayed in the form of playback time points or percentages. For example, the total playback time of the target media is 50 minutes, and the current playback time is 5 minutes. The controller 250 can obtain the playback progress of the target media based on the total playback time and the current playback time.

[0111] After obtaining the playback progress, the controller 250 can create a track index for the media track according to the playback progress. Since the display device 200 is synchronously playing the target video data and the target audio data, the controller 250 does not perform an index creation operation on the media track corresponding to the target video data and the target audio data to improve the efficiency of index creation. In the process of creating a track index, the controller 250 can obtain the video track corresponding to the prepared video data, perform progress positioning on the video track according to the playback progress, and create a track index based on the positioning position. The controller 250 can also obtain the audio track corresponding to the prepared audio data, perform progress positioning on the audio track, and create a track index based on the positioning position. Figure 7As shown, in order to facilitate the distinction between the track index of the video track and the track index of the audio track, the embodiment of the present application defines the track index of the video track as the first track index and the track index of the audio track as the second track index.

[0112] S300: In response to a first track switching instruction input by a user, according to the track index, controlling the display to cancel displaying the media picture corresponding to the target video data, and displaying the media picture corresponding to the track switching video data.

[0113] During the process of the display device 200 playing the target media, the user can switch different media tracks by inputting a track switching command. The display device 200 can generate a track switching control according to the prepared video data and the prepared audio data, and the user can move the focus to the track switching control through the control device 100 to evoke the track switching interface, which includes option areas corresponding to the prepared video data and the prepared audio data, so as to provide the user with track switching options.

[0114] In some embodiments, based on the prepared video data and the prepared audio data, the track switching control may include a video track switching control and an audio track switching control, wherein the video track switching control may be categorized and named according to the function of the video track, such as Fig.10 As shown, for prepared video data of different resolutions, a resolution track control can be generated. Audio track controls can be categorized and named according to the functions of the audio tracks. For example, for prepared audio data of different languages, a language track control can be generated, and for prepared audio data of different sound effects, a sound effect track control can be generated.

[0115] See also Figure 8 , the user can input the first track switching instruction to switch different video tracks to play the target media. After the controller 250 responds to the first track switching instruction, it can expand the video track switching interface and determine the track switching video data according to the video track specified by the first track switching instruction. The track switching video data is the prepared video data selected by the first track switching instruction.

[0116] After determining the cut-track video data, the controller 250 can switch the media track according to the track index, and read the first track index of the cut-track video data to switch the target video data to the cut-track video data. Moreover, since the first track index is created according to the playback progress, the display device 200 can continue to play the target media with the cut-track video track according to the playback progress, thereby reducing the device memory occupied by pre-caching each video track in the media track, thereby improving the memory utilization efficiency of the display device 200.

[0117] During the process of switching video tracks, the controller 250 controls the display 260 to cancel the display of the media screen corresponding to the target video data to cut off the video track of the target video data, and then displays the media screen corresponding to the switched video data to continue broadcasting the target media through the video track after the switch, thereby completing the switching between video tracks.

[0118] S400: In response to a second track switching instruction input by a user, according to the track index, controlling the audio output device to cancel playing of the target audio data, and playing the track switching audio data.

[0119] Since the media asset track also includes the audio track, see Fig. 9 The user can input a second track switching instruction, and according to the second track index, the target audio data is switched to the track switching audio data for playback, thereby switching different audio tracks to play the target media assets, and the track switching audio data is the prepared audio data selected by the second track switching instruction.

[0120] Based on the above scenario, taking the user switching the audio tracks of different audio languages ​​through the second switching instruction as an exemplary explanation, when the display device 200 is playing the target media asset with the English audio track, the user wants to switch to playing the target media asset with the Chinese audio. At this time, the media asset audio data of the English audio is the target audio data, and the media asset audio data of the Chinese audio is the track-cutting audio data. The user can generate a second track-cutting instruction according to the audio track corresponding to the Chinese audio. The controller 250 responds to the second track-cutting instruction, expands the audio track-cutting interface, determines that the media asset audio data of the Chinese audio is the track-cutting audio data, and obtains the second track index of the track-cutting audio data. According to the second track index, the audio track of the English audio is switched to the audio track of the Chinese audio, and based on the playback progress, the target media asset is continued to be played with the media asset track audio of the Chinese audio, that is, the track-cutting audio data is played to complete the switching of the audio track. This embodiment switches different audio tracks through the second track index, reduces the device memory occupied by pre-caching each audio track in the media asset track, and improves the memory usage efficiency of the display device 200.

[0121] In some embodiments, in the process of creating a track index of a media asset track based on the playback progress, the controller 250 is also configured to obtain the current playback time according to the playback progress, and the playback progress represents the progress of the duration of the target media asset from the time point of starting playback to the current playback time point and the total duration of the target media asset, thereby determining the current playback time according to the current playback time point. Since the media asset track includes a video track and an audio track, after obtaining the current playback time, the prepared video data of the video track and the media asset audio data of the audio track can be obtained, and the track switching time of the prepared video data and the prepared audio data based on the playback progress can be determined according to the current playback time. The track switching time is used to represent the time when the current playback time of the target media asset is mapped to the prepared video data and the prepared audio data in the media asset track.

[0122] The controller 250 can generate a track index according to the track switching time. Since the track index includes a first track index and a second track index, the track switching time includes a first track switching time and a second track switching time, wherein the first track switching time is the time when the current playback time of the target media asset is mapped to the prepared video data, and the second track switching time is the time when the current playback time of the target media asset is mapped to the prepared audio data. The controller 250 can generate a first track index according to the first track switching time, and generate a second track index according to the second track switching time.

[0123] During the process of the controller 250 responding to the track switching instruction, the target media asset is still in the playback state, which leads to the problem of asynchronous track switching during the track switching process, affecting the playback smoothness of the target media asset after the track switching. Taking the track switching process of media video data as an example, after the controller 250 responds to the track switching instruction at the 5th second, the 5th second is used as the track switching time of the first track index. However, the display device 200 continues to play the target media asset during the process of responding to the track switching instruction. When the target media asset is played to the 7th second, the controller 250 completes the response to start the track switching, that is, switches from the 7th second of the target video data to the 5th second of the track switching video data. The display device 200 plays the video content from the 5th second to the 7th second twice, resulting in an unsmooth track switching effect.

[0124] It should be noted that the track switching process of media audio data is the same as the track switching process of media video data in the above-mentioned technical scenario. The only difference is that the media types of media audio data and media video data are different. For the convenience of description, the subsequent embodiments all use media video data to exemplify the track switching process of the display device 200. It should be understood that the track switching process of the corresponding media audio data can be implemented based on the same technical solution. Therefore, the embodiments of the present application will not be repeated.

[0125] Based on the above technical scenario, the controller 250 can generate an index data interval according to the track switching time, and generate a first track index according to the prepared video data corresponding to the index data interval, and generate a second track index according to the prepared audio data corresponding to the index data interval, wherein the center time point of the index data interval is the track switching time. In this embodiment, the track index generated by the controller 250 according to the index data interval can cover more data in the target media asset, thereby improving the smoothness of video playback during track switching.

[0126] Using the above example, Fig.11 As shown, when the track switching time is the 5th second, the controller 250 can generate an index data interval according to the track switching time, for example, the index data interval can be from the 3rd second to the 7th second. The index data interval covers more target video data, so when the controller 250 switches the track at the 5th second, even if the display device 200 continues to play the target video data to the 7th second, the controller 250 can also search for the track switching video data at the 7th second in the index data interval, thereby switching the target video data at the 7th second to the track switching video data at the 7th second, thereby improving the smoothness of video playback during track switching.

[0127] In some embodiments, the controller 250 may also introduce the index depth of the media track when generating the index data interval. The index depth is used to indicate the index range of the index data interval. For example, when the index depth is 1 second, in the above embodiment, the maximum index value of the index data interval is the sum of the track cutting time and the index depth, and the minimum index value is the difference between the track cutting time and the index depth, that is, the index data interval is from the 4th second to the 6th second.

[0128] Since different media tracks occupy different amounts of memory, for example, media video data with a resolution of 720p is clearer than media video data with a resolution of 480p, and accordingly, the amount of memory occupied by media video data with a resolution of 720p is greater than that of media video data with a resolution of 480p. Therefore, when switching from a low-resolution video track to a high-resolution video track to play the target media, the increase in the memory of the picture frame may cause cache delays, affecting the smoothness of video playback.

[0129] To this end, in some embodiments, the controller 250 can obtain media uniformity parameters of the prepared media data, wherein the prepared media data is a general term for the prepared video data and the prepared audio data, and may represent only the prepared video data or only the prepared audio data, or both the prepared video data and the prepared audio data.

[0130] The media parameters are used to represent the memory parameters of each frame in video tracks with different memory usage. The amount of memory occupied by media data in different media tracks is not the same. For example, the amount of memory occupied by media video data with a large resolution is larger than the amount of memory occupied by media video data with a small resolution. Correspondingly, the media parameters of different media data are also different. The media uniformity parameter is used to represent the memory alignment between different media tracks. The controller 250 can calculate the parameter difference between different media tracks based on the media uniformity parameter. When the parameter difference is greater than or equal to the parameter difference threshold, it means that there is a media track that cannot be covered in the current index data interval. When switching to the media track, the media data of the media track needs to be temporarily loaded, resulting in a freeze.

[0131] To this end, the controller 250 can traverse the maximum parameter value of the uniform parameter of the media asset and generate an index depth according to the maximum parameter value. The maximum depth value represents the index data length of the media asset track that occupies the largest amount of memory, and the corresponding generated index depth can adapt to all the prepared media asset data. After obtaining the index depth, the index data interval can be configured according to the index depth.

[0132] See also Fig.12 , taking media video data as an example, the controller 250 can obtain the video uniformity parameters of the prepared video data according to the video track with the maximum resolution. When the time to respond to the track switching instruction is 2 seconds, the user switches the current video track to the video track with the maximum resolution when playing to the 5th second, and the time to complete the track switching is the 7th second of the playback. At this time, the first index data interval is from 3 seconds to 7 seconds. After completing the track switching, the controller 250 also needs to cache the media video data from the 8th second and thereafter, resulting in a freeze. To this end, the first index depth can be set to 3 seconds according to the video uniformity parameters, and at this time, the first index data interval is from the 2nd second to the 8th second. After the controller 250 completes the track switching at the 7th second, the media video data of the 8th second can be directly played according to the first track index, and when playing at the 8th second, the subsequent media data video can be cached to improve the flow of the video track switching. Moreover, compared with caching the media video data from the 2nd second to the 8th second, the method of creating the first track index can reduce the device memory occupied and improve the memory usage of the display device 200.

[0133] In some embodiments, the media audio data can also configure the index data interval according to the audio uniformity parameter. During this process, the controller 250 can obtain the audio uniformity parameter according to the prepared audio data that occupies the largest amount of memory, and generate a second index depth according to the audio uniformity parameter. The second index depth is used to represent the index data length of the second index data interval. The controller 250 configures the second index data interval with the second index depth according to the track cutting time, wherein the second index data interval is the index data interval of the prepared audio data.

[0134] In some embodiments, the media asset track also includes a subtitle track, which includes the currently displayed target subtitle data and at least one item of prepared subtitle data, collectively referred to as media asset subtitle data. The controller 250 can control the display 260 to display the target subtitle data on the media asset playback interface, so that the user can understand the content of the media asset playback screen and the target audio data according to the target subtitle data.

[0135] like Fig.13 As shown, the user can input a third track switching instruction, and the controller 250 determines the track switching subtitle data in response to the third track switching instruction, and obtains the time positioning position of the target subtitle data. The track switching subtitle data is the prepared subtitle data selected by the third track switching instruction. The media subtitle data is different from the media video data and the media audio data. The media subtitle data includes multiple subtitle segments. The subtitle segments are displayed in the media playback screen for a preset time. For example, when the characters in the media video data speak the lines, the corresponding subtitle segments are displayed in the media playback screen. The display time of the subtitle segments can be the same as the speaking time of the characters. Therefore, when the subtitle segments are switching tracks, after determining the track switching subtitle data according to the third track switching instruction, it is necessary to determine the position of the subtitle segments according to the time positioning position. The controller 250 can control the display 260 to cancel the display of the subtitle screen corresponding to the target subtitle data according to the track index, and display the subtitle screen corresponding to the track switching subtitle data according to the time positioning position to complete the switching of the subtitle track.

[0136] In order to improve the synchronization between the character's speech and the subtitle segment, the subtitle track can be synchronized with the audio track, that is, the subtitle track can be synchronized in response to the second track switching instruction. The corresponding track switching can refer to the above embodiment. For example, when a user watches an English movie, the target subtitle data played by the subtitle track is English subtitle data, and correspondingly, the target audio data played by the audio track is English audio data. When the user switches to watching the Chinese version of the same movie, the English subtitle track is switched to the Chinese subtitle track, and the English audio track is switched to the Chinese audio track.

[0137] In some embodiments, see Fig.14, the controller 250 can obtain the positioned subtitle segment at the time positioning position, the positioned subtitle segment is the subtitle segment being played when the controller 250 responds to the third track switching instruction or the previous subtitle segment that has been played, and is used to locate the track switching position of the media asset subtitle data. The controller 250 can determine the subtitle parameters of the track switching subtitle data according to the third track switching instruction. The subtitle parameters may include the subtitle segment density. The subtitle segment density is used to indicate the number of subtitle words or the number of subtitle segments within the preset playback duration. The subtitle parameters may also include subtitle index parameters. The controller 250 can obtain the number of subtitles to be track switched based on the subtitle segment of the Children's Working Committee according to the subtitle index parameters, and select the corresponding subtitle data in the track switching subtitle data to generate a subtitle set to be track switched according to the subtitle segment density and the number of subtitles to be track switched, and control the display 260 to use the subtitle position corresponding to the subtitle set to be track switched as the track switching starting point, cancel the display of the target subtitle data, and display the subtitle screen corresponding to the track switching subtitle data.

[0138] In some embodiments, the controller 250 can also obtain the network playback status of the target media asset, which includes a smooth playback status and a stuck playback status. In the process of obtaining the network playback status, the controller 250 can also obtain the storage margin of the memory, wherein the memory is configured to cache the target media asset. If the cache margin is less than or equal to the cache margin threshold, it means that the memory has cached part of the data of the target media asset, and the network playback status is marked as a smooth playback status. If the cache margin is greater than the cache threshold margin, it means that the memory has not cached the target media asset, and the currently cached target media asset has been played, and the network playback status is marked as a stuck playback status.

[0139] When the network playback state is a stuck playback state, the subtitle set to be switched is cached. Compared with the media video data and the media audio data, the memory usage of the media subtitle data is small. Therefore, even in the state of stuck network playback, the subtitle set to be switched can be cached in the local storage. After the cache is completed, the controller 250 can generate a subtitle index based on the subtitle data to be switched. The subtitle index is a local data index, so there is no need to switch the track over the network. The controller 250 can control the display 260 to display the subtitle screen corresponding to the subtitle data to be switched based on the subtitle index to improve the smoothness of subtitle switching.

[0140] Some embodiments of the present application also provide a media resource switching method, which is applied to the display device 200 described above, and the method includes:

[0141] S100: When playing the target media asset, parsing the media asset track of the target media asset.

[0142] The media resource track includes a video track and an audio track, the video track includes the target video data currently being played and at least one item of prepared video data, and the audio track includes the target audio data currently being played and at least one item of prepared audio data;

[0143] S200: Creating a track index of the media asset track according to the playback progress of the target media asset.

[0144] S300: In response to a first track switching instruction input by a user, according to the track index, controlling the display to cancel displaying the media picture corresponding to the target video data, and displaying the media picture corresponding to the track switching video data.

[0145] Wherein, the track cutting video data is the prepared video data selected by the first track cutting instruction;

[0146] S400: In response to a second track switching instruction input by a user, according to the track index, controlling the audio output device to cancel playing of the target audio data, and playing the track switching audio data.

[0147] The track cutting audio data is the prepared audio data selected by the second track cutting instruction.

[0148] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and a media track switching method. When playing the target media, the method parses the media track of the target media, and creates a track index of the media track according to the playback progress of the target media. In response to the user's first track switching instruction, the display is controlled to cancel the display of the media screen corresponding to the target video data according to the track index, and display the media screen corresponding to the track-switched video data; in response to the user's second track switching instruction, the audio output device is controlled to cancel the playback of the target audio data according to the track index, and play the track-switched audio data. The method creates a track index, and when the display device switches the media track of the target media, it continues to play the target media at the current playback progress according to the track index, thereby reducing the memory usage when caching data for multiple tracks and improving the memory usage efficiency and track switching smoothness of the display device.

[0149] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.

[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0151] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that: include: A display, configured to display a media playback screen; an audio output device configured to play audio data; The controller is configured as: When playing the target media asset, parsing the media asset track of the target media asset, the media track includes a video track and an audio track, the video track includes the target video data currently being played and at least one item of prepared video data, and the audio track includes the target audio data currently being played and at least one item of prepared audio data; Creating a track index of the media asset track according to the playback progress of the target media asset; In response to a first track switching instruction input by a user, according to the track index, controlling the display to cancel displaying the media picture corresponding to the target video data, and displaying the media picture corresponding to the track switching video data, the track switching video data being the prepared video data selected by the first track switching instruction; In response to a second track cutting instruction input by the user, the audio output device is controlled to cancel playing the target audio data according to the track index, and to play the track cutting audio data, where the track cutting audio data is the prepared audio data selected by the second track cutting instruction.

2. The display device according to claim 1, characterized in that The media asset track further includes a subtitle track, and the subtitle track includes currently displayed target subtitle data and at least one item of prepared subtitle data. The controller is further configured to: In response to a third track switching instruction input by a user, obtaining a time positioning position of the target subtitle data; According to the track index, the display is controlled to cancel displaying the subtitle picture corresponding to the target subtitle data, and, according to the time positioning position, the subtitle picture corresponding to the track-cut subtitle data is displayed, and the track-cut subtitle data is the prepared subtitle data selected by the third track-cutting instruction.

3. The display device according to claim 1, characterized in that The controller executes creation of a track index of the media asset track and is configured to: Obtaining the current playback time according to the playback progress; Determining, according to the current playback time, a track switching time of the prepared video data and the prepared audio data based on the playback progress; The track index is generated according to the track cutting time.

4. The display device according to claim 3, characterized in that The controller generates the track index according to the track cutting time, and is configured to: generating an index data interval according to the track switching time, wherein the central time point of the index data interval is the track switching time; The track index is generated according to the index data interval.

5. The display device according to claim 4, characterized in that The controller generates an index data interval according to the track cutting time, and is configured to: Obtaining video uniformity parameters of the prepared video data; Generating a first index depth according to the video uniformity parameter; According to the track switching time, a first index data interval is configured with the first index depth, and the first index data interval is an index data interval of the preliminary video data.

6. The display device according to claim 4, characterized in that The controller generates an index data interval according to the track cutting time, and is configured as follows: Acquire audio uniformity parameters of the prepared audio data; generating a second index depth according to the audio uniformity parameter; According to the track switching time, a second index data interval is configured with the second index depth, and the second index data interval is an index data interval of the preliminary audio data.

7. The display device according to claim 2, characterized in that The controller performs displaying the subtitle screen corresponding to the track-cut subtitle data according to the time positioning position, and is configured as follows: Obtaining a positioned subtitle segment at the time positioning position; Acquire a subtitle set to be cut from the cut-track subtitle data according to the subtitle parameters of the cut-track subtitle data and the positioned subtitle segment; The display is controlled to use the subtitle position corresponding to the subtitle set to be switched as the switching start point, cancel the display of the target subtitle data, and display the subtitle picture corresponding to the switching subtitle data.

8. The display device according to claim 7, characterized in that The controller is also configured to: Obtaining the network playback status of the target media asset, where the network playback status is a smooth playback status or a stuck playback status; When the network playback state is a stuck playback state, caching the subtitle set to be switched; A subtitle index is generated according to the subtitle set to be switched, and, according to the subtitle index, the display is controlled to display a subtitle picture corresponding to the switched subtitle data.

9. The display device according to claim 8, characterized in that The display device further includes a memory, the memory being configured to cache target media assets, and the controller executing acquisition of the network playback status of the target media assets is configured to: Obtaining a cache margin of the memory; If the buffer margin is less than or equal to the buffer margin threshold, marking the network playback state as a smooth playback state; If the buffer margin is greater than the buffer margin threshold, the network playback state is marked as a stuck playback state.

10. A media resource switching method, characterized in that: The display device according to any one of claims 1 to 9, wherein the display device comprises a display, an audio output device and a controller, the display is configured to display a media resource screen, the audio output device is configured to play audio data, and the method comprises: When playing the target media asset, parsing the media asset track of the target media asset, the media track includes a video track and an audio track, the video track includes the target video data currently being played and at least one item of prepared video data, and the audio track includes the target audio data currently being played and at least one item of prepared audio data; Creating a track index of the media asset track according to the playback progress of the target media asset; In response to a first track switching instruction input by a user, according to the track index, controlling the display to cancel displaying the media picture corresponding to the target video data, and displaying the media picture corresponding to the track switching video data, the track switching video data being the prepared video data selected by the first track switching instruction; In response to a second track cutting instruction input by the user, the audio output device is controlled to cancel playing the target audio data according to the track index, and to play the track cutting audio data, where the track cutting audio data is the prepared audio data selected by the second track cutting instruction.