Display device and media asset playback method
By setting the playback threshold and pause threshold in the display device, the buffering problem during media asset playback is solved, a balance between media asset data caching and download rate is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202210389046.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-13
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-04-13
AI Technical Summary
Existing display devices cannot set appropriate thresholds, resulting in frequent buffering during playback of media assets, affecting user experience.
By setting the playback threshold and pause threshold in the display device, the playback and pause of the display's video cache queue data are controlled to ensure that the cache amount of media data and the download rate are balanced to avoid buffering.
It improves the smoothness of media asset playback, improves user experience, and ensures stable playback effects despite network fluctuations.
Smart Images

Figure CN114827715B
Abstract
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 asset playback method. Background Art
[0002] A display device refers to a terminal device that can output specific display images. With the rapid development of display devices, the functions of display devices will become more and more abundant, and the performance will become more and more powerful. It can realize two-way human-computer interaction functions, integrate multiple functions such as audio and video, entertainment, and data, and is used to meet the diverse and personalized needs of users.
[0003] Users can use the player installed in the display device to watch various media resources on the network, and play the media resources by downloading the corresponding media data from the network. However, due to network fluctuations, the download rate of media data will change, which may result in the inability to play the media smoothly, resulting in playback buffering. Therefore, in order to ensure the smoothness of media playback, the display device can store the downloaded media data in the cache list to achieve the role of pre-storage, and play them uniformly, thereby ensuring the smoothness of media playback.
[0004] In order to quickly start playing media resources, a relatively small fixed threshold is set in the related art. When the data in the cache list reaches the fixed threshold, the media resource can be played. However, when the threshold is too small, frequent buffering may occur. Therefore, the existing display device cannot set a suitable threshold, cannot guarantee the smoothness of media resource playback, and provides a poor user experience. Summary of the invention
[0005] The present application provides a display device and a media playback method to solve the problem in the related art that the smoothness of media playback cannot be guaranteed, resulting in a poor user experience.
[0006] In one aspect, the present application provides a display device, including a display and a controller. The controller is configured to perform the following steps:
[0007] Responding to a user's media playback instruction, acquiring media data;
[0008] Acquire video data based on the media asset data, and store the video data in a preset video cache queue;
[0009] Determine the play threshold and pause threshold;
[0010] Based on the play threshold and the pause threshold, the display is controlled to display the video data in the video cache queue; wherein the play threshold is used to control the display to start playing the video data in the video cache queue, and the pause threshold is used to control the display to pause playing the video data in the video cache queue.
[0011] On the other hand, the present application provides a media asset playback method, applied to a display device, the method comprising:
[0012] Responding to a user's media playback instruction, acquiring media data;
[0013] Acquire video data based on the media asset data, and store the video data in a preset video cache queue;
[0014] Determine the play threshold and pause threshold;
[0015] Based on the play threshold and the pause threshold, the display is controlled to display the video data in the video cache queue; wherein the play threshold is used to control the display to start playing the video data in the video cache queue, and the pause threshold is used to control the display to pause playing the video data in the video cache queue.
[0016] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and a media playback method. In response to a user's media playback instruction, the display can obtain media data. Video data is obtained based on the media data, and the video data is stored in a preset video cache queue. The display device can determine a playback threshold and a pause threshold, and based on the playback threshold and the pause threshold, control the display to display the video data in the video cache queue. The playback threshold can control the display to start playing the video data in the preset video cache queue, and the pause threshold can control the display to pause playing the video data in the video cache queue. The display device can set different playback thresholds to adapt to the playback scenario, thereby smoothly playing the media and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1 shows a usage scenario of a display device according to some embodiments;
[0019] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0020] Figure 3 shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0021] Figure 4 shows a software configuration diagram in a display device 200 according to some embodiments;
[0022] Figure 5 A schematic diagram of a user interface in some embodiments is shown;
[0023] Figure 6 A schematic diagram showing a display device displaying a "video interface" in some embodiments is shown;
[0024] Figure 7 A schematic diagram showing application panels in some embodiments;
[0025] Figure 8 A player configuration diagram of a display device in some embodiments is shown;
[0026] Fig. 9 A flowchart of the interaction between components of a display device in some embodiments is shown;
[0027] Fig.10 A schematic diagram of a process for controlling the state of playing media assets in some embodiments is shown;
[0028] Fig.11 A schematic diagram of a process of displaying a media resource on a display device in some embodiments is shown;
[0029] Fig.12 A schematic diagram showing confirmation information of a playback threshold adjustment mode displayed in a display in some embodiments is shown;
[0030] Fig.13 A schematic diagram of a process for determining whether to re-determine a playback threshold in some embodiments is shown;
[0031] Fig.14 A schematic diagram of a process for re-determining a playback threshold in some embodiments is shown;
[0032] Fig.15 A schematic diagram of a process for obtaining a download rate of video data in some embodiments is shown;
[0033] Fig.16 A schematic diagram showing a related art method for setting a playback threshold is shown;
[0034] Fig.17 A schematic diagram showing setting a playback threshold in some embodiments is shown;
[0035] Fig.18 A schematic diagram showing setting a playback threshold in some embodiments is shown;
[0036] Fig.19 A schematic diagram showing setting a playback threshold in some embodiments is shown;
[0037] Fig. 20 A flow chart of an embodiment of a method for playing media assets is shown. DETAILED DESCRIPTION
[0038] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0039] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the claims attached to this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation method separately. It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementation methods described below, and is not intended to limit the implementation methods of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] Figure 1 shows a usage scenario of a display device according to some embodiments, such as Figure 1As shown, the user can operate the display device 200 through the mobile terminal 300 and the control device 100. The control device 100 can be a remote controller, and the communication between the remote controller 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 instructions through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200. In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices can also be used to control the display device 200.
[0044] In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and realize connection communication through the 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 realize the synchronous display function. The display device 200 also communicates data with the server 400 through various communication methods. The display device 200 can be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. The server 400 can provide various content and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, or a projection display device. In addition to providing a broadcast receiving television function, the display device 200 can also provide an intelligent network TV function that provides a computer support function.
[0045] Figure 2 FIG. 1 shows a hardware configuration block diagram of a control device 100 according to some embodiments. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play the role of an interactive intermediary between the user and the display device 200. The communication interface 130 is used to communicate with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button or an alternative module.
[0046] Figure 3 FIG. 2 shows a hardware configuration block diagram of a display device 200 according to some embodiments. Figure 3The display device 200 shown includes at least one of a tuner 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, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The display is used to display a user interface. The user interface can be a specific target image, such as various media resources obtained from a network signal source, including videos, pictures, and other content. The user interface can also be some UI interfaces of the display device. The user can watch media resources and other content in the display. The tuner 210 receives broadcast and television signals by wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast and television signals, such as and EPG data signals. The detector 230 is used to collect signals of the external environment or interact with the outside. 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.
[0047] In some embodiments, 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. The user can 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). Alternatively, the user can input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0048] In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form that the user can receive. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include at least one of the visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0049] Figure 4 FIG. 4 shows a software configuration diagram of a display device 200 according to some embodiments, such as Figure 4 As shown in FIG. 1 , the system is divided into four layers, from top to bottom, namely, the application layer (Applications layer), the application framework layer (Application Framework layer), the Android runtime and system library layer (System runtime library layer), and the kernel layer. The kernel layer includes at least one of the following drivers: 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.
[0050] Users can use the player installed in the display device to watch various media resources on the network, and play the media resources on the display by downloading the corresponding media data from the network. Since the network may fluctuate due to instability in actual applications, the download rate of media data will also change accordingly. When the download rate is high, the display device can quickly obtain the media data, thereby ensuring that the media can be played smoothly on the display. However, when the download rate is slow, the display device cannot quickly obtain the media data, resulting in playback buffering. In order to play the media smoothly, the display device can store the downloaded media data in a cache list to achieve the role of pre-storage. When the media data in the cache list reaches the threshold, it can be played uniformly to ensure the smoothness of media playback.
[0051] In the related art, a fixed threshold is generally set for the cache list. For example, setting a smaller fixed threshold can ensure that the display device can quickly start playing the media so that the user can watch it as soon as possible. However, if the threshold is too small, it may cause the display device to buffer frequently, affecting the user's viewing experience. However, if the threshold is set higher, although it can ensure that buffering occurs less frequently, it will take a longer time to play the media, and the user will need to wait, which will also result in a poor experience. Therefore, the related art cannot set a suitable threshold to ensure the smoothness of media playback, giving the user a poor experience.
[0052] In some embodiments, when the user controls the display device to turn on, the controller can control the display to display a user interface. Figure 5Schematic diagrams of user interfaces in some embodiments are shown. The user interface includes a first navigation bar 500, a second navigation bar 510, a function bar 520, and a content display area 530. The function bar 520 includes multiple function controls such as "watch history", "my favorites" and "my apps". Among them, the content displayed in the content display area 530 will change with the changes in the selected controls in the first navigation bar 500 and the second navigation bar 510. When on the application panel page, the user can trigger entry into the corresponding application panel by clicking on the "my apps" control to input a display instruction for the application panel page. It should be noted that the user can also input a selection operation for the function control in other ways to trigger entry into the application panel. For example, use a voice control function or a search function to control entry into the application panel page.
[0053] In some embodiments, the user can select a control in the second navigation bar 510 to control the display device to enter the interface under the corresponding category to watch online media. For example, the user can directly select the "Movies and TV" entry option, and control the focus cursor to move to the selected "Movies and TV" entry option through the control device or terminal device, thereby triggering the display device to display the "Movies and TV interface". Figure 6 A schematic diagram of a display device displaying a "film interface" in some embodiments is shown. The "film interface" may include multiple film and television classification entry options, and the user may click on any entry option, for example, clicking on the "movie" entry option triggers the display device to display the "movie" entry interface, and may select a specific movie media asset for playback.
[0054] In some embodiments, for Figure 5 In the user interface shown, the user can select the "My Application" control to trigger the display device to display the application panel. The user can view the application programs installed on the display device through the application panel, that is, the functions supported by the display device. Figure 7 A schematic diagram of an application panel in some embodiments is shown. The application panel includes three controls: "Network Media", "Cable TV" and "Video Chat". Among them, the user can control the display device to open the player by touching the "Network Media" control. The user can select a certain media in the player to watch it.
[0055] Figure 8 FIG. 4 shows a player configuration diagram of a display device in some embodiments. Figure 8As shown, the player may include a network protocol parsing and downloading module, a demultiplexing module, a decoding module and an output module. Among them, the network protocol parsing and downloading module can determine the transmission protocol between the display device and the server, so as to download the media data from the server. The demultiplexing module can demultiplex the downloaded media data to obtain the video data and audio data contained in the media data, and may also include subtitle data, etc. The decoding module includes an audio decoding unit and a video decoding unit. Among them, the audio decoding unit is used to decode the audio data, and the video decoding unit is used to decode the video data. The output module includes an audio output unit and a video output unit. The audio output unit transmits the decoded audio data to the audio device for playback, and the video output unit transmits the decoded video data to the display for display.
[0056] Fig. 9 A flowchart of the interactions among components of a display device in some embodiments is shown.
[0057] In some embodiments, when a user selects a specific media asset and controls the display device to play it, it is considered that the user has sent a media asset play instruction to the display device. In response to the media asset play instruction, the display device can determine the target media asset selected by the user and start to obtain the media asset data of the target media asset so that the target media asset can be played in real time. The controller can obtain the media asset data in real time.
[0058] Specifically, the network protocol parsing and downloading module in the display device is used to parse the network protocol and download the media data, which can be the code stream data of the target media. The media data can be streaming media data. Streaming media technology refers to a technology that compresses a series of media data and transmits them in segments in the form of streams in the network to achieve real-time transmission of audio and video for viewing.
[0059] The controller can control the network protocol parsing and downloading module to communicate with the server that provides the target media asset. The network protocol parsing and downloading module can determine the network transmission protocol between the two parties, and then send a media asset acquisition request to the server according to the network. The network transmission protocol can be the RTP protocol (Real-time Transport Protocol). RTP can carry TS data streams to ensure efficient and real-time data transmission. Therefore, it is widely used in streaming media related telephone, video conferencing, television, one-touch communication and entertainment services. RTP describes the standard data packet format for transmitting audio and video on the Internet, that is, the format of the RTP data packet in this article.
[0060] After determining the network transmission protocol, the network protocol parsing and downloading module can send an RTSP (Real Time Stresming Protocol) request to the server to obtain media data. RTSP is used to control the transmission of real-time data. RTSP can control multiple data transmission sessions. During an RTSP session, multiple reliable transmission connections to the server can be opened or closed to issue RTSP requests.
[0061] After receiving the RTSP request, the server can first determine the target media, and then generate the media data of the target media. Specifically, since the media data generally includes video data and audio data, the server can composite the audio data and video data to obtain the corresponding media data. It can be composited into a TS (Transport Stresm) data stream, and then add the RTP protocol header to obtain the media data in the form of RTP packets. At this time, an RSTP session has been established between the network protocol parsing and downloading module and the server. Through this session, the server can send the media data in the form of RTP packets to the network protocol parsing and downloading module at a certain rate. The display device can play the target media according to the media data.
[0062] In some embodiments, a storage area may be pre-set in the network protocol parsing and downloading module. After the media asset data is acquired, the media asset data may be first stored in the pre-set storage area for subsequent processing.
[0063] Considering that the acquired media data incorporates video data and audio data, in order to play the target media normally, the two data need to be processed separately. The controller can acquire video data and audio data based on the media data, and can demultiplex the media data to obtain the two data.
[0064] The display device may be provided with a demultiplexing module, which can demultiplex the media data. Specifically, the controller may control the network protocol parsing and downloading module to send the media data to the demultiplexing module, and specifically, the media data in the storage area may be sent to the demultiplexing module.
[0065] In some embodiments, the controller may control the demultiplexing module to perform demultiplexing processing on the media data, decapsulate the media data to obtain video data and audio data, and may also include subtitle data and the like.
[0066] After acquiring the video data and audio data, the two data can be decoded separately to obtain decoded data that the display device can present to the user, and the display device can further directly play the two decoded data. It should be noted that the speed of demultiplexing the media asset stream data and the speed of decoding the audio and video data are generally not completely matched, resulting in the two processes not being able to be carried out in real time and coherently. Therefore, after demultiplexing the media asset data, the obtained video data and audio data can be stored first to ensure that subsequent decoding can be carried out coherently.
[0067] Specifically, a video cache queue and an audio cache queue may be pre-set to store video data and audio data, respectively. A display device may be provided with a cache module separately, in which a video cache queue and an audio cache queue are provided. The video cache queue and the audio cache queue may also be directly stored in the storage area of the network protocol parsing and downloading module, which is not limited in the embodiments of the present application. Generally speaking, the video data stored in the video cache queue and the audio data stored in the audio cache queue should have the same data volume.
[0068] In some embodiments, the display device can display a picture through a display, such as video data in a video cache queue. The display device can also be provided with an audio output interface for connecting an audio device, which can be a Bluetooth speaker, a USB speaker, etc. external to the display device. An external audio device can play sound, such as audio data in an audio cache queue. The display device can also be built with an audio device such as a speaker or a sound box. For a built-in audio device, or an external audio device, it can be used to play the audio data in the audio cache queue, which is not limited in the embodiments of the present application.
[0069] In some embodiments, for the video cache queue and the audio cache queue, the amount of data stored therein represents the amount of data that the display device can now directly use, and can be directly presented to the user after decoding the data. Therefore, the larger the amount of data in the video cache queue and the audio cache queue, the longer it is considered that the display device can play the target media asset. Generally speaking, the amount of data in the video cache queue and the audio cache queue is related to the download rate of the media asset data, and can also be considered to be related to the network speed of the display device. When the network speed of the display device is faster, the amount of data in the video cache queue and the audio cache queue will be larger, and vice versa, the amount of data in the video cache queue and the audio cache queue will naturally be smaller.
[0070] It should be noted that when the media data is downloaded slowly, if the media is still played at normal speed (i.e., one time the speed), the amount of data in the cache queue may not be enough to meet the playback volume, similar to "supply exceeds demand", causing the data in the cache queue to be quickly exhausted, the video screen will stop, and the playback buffer will not be smooth; when the media data is downloaded quickly, if the media is still played at normal speed, the amount of data in the cache queue will exceed the playback volume, similar to "supply exceeds demand", causing the data in the cache queue to accumulate quickly and occupy a large amount of memory. Only when the playback end and the cache queue achieve a relative balance can the problem of smooth media playback be better solved, similar to the balance between the input and output of water flow, so as to maintain the stability of the water level and prevent it from being too high or too low.
[0071] In order to ensure the smoothness of media playback, two thresholds can be set: the playback threshold and the pause threshold. The controller can control the state of the display device playing media based on these two thresholds. Specifically, it can control the display to display the video data in the video cache queue, and can also control the audio device to play the audio data in the audio cache queue, thereby realizing the control of the display device in terms of displaying pictures and playing sounds.
[0072] The playback threshold can be used to control the display to start playing the video data in the video cache queue, and can control the audio device to start playing the audio data in the audio cache queue, that is, the controller can control when the display device starts playing the media according to the playback threshold.
[0073] The pause threshold can display and pause the audio data in the audio cache queue, and control the audio device to pause the audio data in the audio cache queue, that is, the controller can control when the display device pauses the media asset according to the pause threshold.
[0074] Therefore, through the play threshold and the pause threshold, the controller can control the state of the display device playing the media, thereby avoiding frequent buffering when the display device plays the media, increasing the smoothness of the media playback and improving the user experience.
[0075] In some embodiments, the controller may first set a specific play threshold and a pause threshold, and then control the state of the display device playing the media asset according to the two thresholds.
[0076] The two thresholds can be set to a specific time to indicate the time consumed for playing the media asset. They can also be set to data capacity to indicate the capacity of video data or audio data, or they can be set to a natural number to indicate the specific amount of media asset data, such as a number of video frames or audio frames. In the embodiments of the present application, setting the threshold to a specific time is used as an example for explanation.
[0077] Specifically, the controller may pre-set two fixed thresholds: a first threshold and a second threshold, wherein the preset first threshold may be determined as the play threshold, and the preset second threshold may be set as the pause threshold.
[0078] It should be noted that the playback threshold is a threshold used to control the display device to start playing the media, and is used to indicate that the display device stores enough media data to play the media. Generally, it is hoped that the display device can store more media data and then play them uniformly, so as to ensure that the user can watch the media for a longer time. Therefore, the playback threshold can be set higher. The pause threshold is a threshold used to control the display device to pause the playback of the media, and is used to indicate that the display device does not store enough media data to play the media. Generally, it is hoped that the display device will pause the playback when it stores less media data, so as to avoid frequent buffering due to less stored data. Therefore, the pause threshold can be set lower.
[0079] The play threshold may be higher than the pause threshold, that is, the first threshold may be greater than the second threshold. For example, a display device plays a media resource with a frame rate of 25fps. The display device plays 25 frames of images per second. At this time, the time it takes for the display device to play each frame of the image is 40 milliseconds. Therefore, the first threshold can be set to the time required to play one frame of the image, that is, the first threshold is 40 milliseconds. The second threshold is set to the time required to play five frames of the image, that is, the second threshold is 200 milliseconds.
[0080] Fig.10 FIG. 2 is a flow chart showing a process of controlling the state of playing media assets in some embodiments. Fig.10 As shown, the controller can control the state of the display device playing media resources according to the following methods:
[0081] Since the play threshold is a threshold used to control the display device to start playing the media, the play threshold can be used to control the state of the display device playing the media in the process from not playing the media to starting to play the media. Specifically, the controller can first detect the state of the display device currently playing the media. If it is detected that the display device is not currently playing the media, including no video data being played in the display and no audio data being played in the audio device. It should be noted that the display device currently not playing the media can include the following two situations: one is that after the user inputs the media play instruction, the display device has never played the target media, that is, the action of starting the media is not detected, and the video picture of the target media has not been displayed in the display. Therefore, it can be determined whether to start playing the media according to the play threshold. The other is that the display device has started playing the target media, but buffering occurs, resulting in the display device currently being in a paused state. At this time, a fixed picture can be displayed in the display. Therefore, the play threshold can be used to determine whether to replay the media.
[0082] If the controller detects that the display device is not currently playing media, that is, no video data is being played in the display, it can further detect whether the display device stores enough media data to play the media, so as to ensure that the video data can be played continuously for a certain period of time. Specifically, the controller can detect whether the video data in the video cache queue meets the playback conditions corresponding to the playback threshold. Since the playback threshold can be set to the playback time or the number of frames, for different types of playback thresholds, respective playback conditions can be set separately.
[0083] If the playback threshold is set to the playback time, the playback condition corresponding to the playback threshold can be set to: the time consumed to play the video data in the video cache queue reaches the playback threshold. At this time, the controller can detect whether the video data in the video cache queue meets the playback condition. Specifically, the controller can count the number of frames of the video data in the video cache queue, and by multiplying the number of frames by the unit time of each frame, the time consumed to play the video data in the video cache queue can be obtained. The controller further determines whether the time is greater than or equal to the playback threshold. If the playback condition is not met, it is considered that the display device has not stored enough media data to play the media, and at this time, the display device will not play the target media. If the playback condition is met, it is considered that the display device has stored enough media data to play the media. At this time, the controller can decode the video data in the video cache queue, and control the display to start playing the decoded video data, so that the display device plays the target media.
[0084] If the playback threshold is set to the number of frames, the playback condition can be set to: the number of frames of the video data in the video cache queue reaches the playback threshold. At this time, the controller can detect whether the video data in the video cache queue meets the playback condition. If the playback condition is not met, the display device will not play the target media asset. If the playback condition is met, the display device can play the target media asset.
[0085] It should be noted that, when the display device plays the target media asset, it will play the video and audio at the same time. Therefore, if it is detected that the playing condition is met, the controller can also decode the audio data in the audio buffer queue and control the audio device to start playing the decoded audio data.
[0086] Specifically, a decoding module may be provided in the display device, and the decoding module includes a video decoding unit and an audio decoding unit. The video decoding unit is used to read and decode video data, and the audio decoding unit is used to read and decode audio data. When it is detected that the playback condition corresponding to the playback threshold is met, the controller can send the video data in the video cache queue and the audio data in the audio cache queue to the decoding module at the same time, thereby obtaining decoded video data and audio data. The controller then controls the display to display the decoded video data, and controls the audio device to play the decoded audio data. The display device plays the target media asset.
[0087] Fig.11 A schematic diagram of a process of displaying a media asset on a display device in some embodiments is shown.
[0088] Considering that the pause threshold is a threshold used to control the display device to pause playing the media, the pause threshold can be used to control the state of the display device playing the media when the display device changes from playing the media to pausing the media. Fig.11 As shown, the controller can first detect the current state of the display device playing the media. If it is detected that the display device is currently playing the media, including the video data being played in the display and the audio data being played in the audio device, then it can be determined whether to pause the playing of the media according to the pause threshold.
[0089] If the controller detects that the display device is currently playing media, that is, video data is being played in the display, it can further detect whether the display device has insufficient media data to play the media, and thus cannot guarantee that the video data can continue to play for a certain period of time. Specifically, the controller can detect whether the video data in the video cache queue meets the pause condition corresponding to the pause threshold. Since the pause threshold can also be set to the playback time or the number of frames, different types of pause thresholds can also be used to set their own pause conditions.
[0090] If the pause threshold is set to a period of time, the playback condition corresponding to the pause threshold can be set to: the time consumed by playing the video data in the video cache queue is lower than the pause threshold. At this time, the controller can detect whether the video data in the video cache queue meets the condition. Specifically, the controller can calculate the time consumed by playing the video data in the video cache queue, and further determine whether the time is less than the pause threshold. If the pause condition is not met, it is considered that the display device stores enough media data to play the media. At this time, the display device can continue to play the target media, that is, the display continues to play the video data and the audio device continues to play the audio data. If the pause condition is met, it is considered that the media data stored in the display device is less and not enough to play the media. At this time, the controller can control the display to pause playing the video data, and at the same time control the audio device to pause playing the audio data, so as to control the display device to pause playing the target media.
[0091] According to the above solution, the controller can use the play threshold and the pause threshold to control the state of the display device playing the target media asset, thereby ensuring the smoothness of the media asset playback and improving the user experience.
[0092] In some embodiments, after the user inputs the media playback instruction, the display device needs a period of processing, including the downloading, demultiplexing, decoding and other processes of the media resources. Considering that the user wants to watch the target media as soon as possible, the controller can set the playback threshold to a smaller value. Taking the display device playing the media resource with a frame rate of 25fps as an example, the time for the display device to play each frame of the image is 40 milliseconds. At this time, the first threshold, that is, the playback threshold, can be set to the time required to play two frames of images, that is, the first threshold is 80 milliseconds. The first threshold can even be set to the time to play one frame of the image, which is 40 milliseconds. At this time, the first threshold and the second threshold are the same, both 40 milliseconds. Therefore, when the time consumed by the video data in the video cache queue reaches 40 milliseconds, the media can be started to play, and when the time is less than 40 milliseconds, the media is suspended. Since the first threshold is low, the user waits less time, and the effect of fast start can be achieved. However, the low first threshold may cause frequent buffering.
[0093] If the first threshold is set higher, although frequent buffering is avoided, it will cause the user to wait for a long time. To this end, the display device provided in the embodiment of the present application can also obtain a suitable playback threshold according to the current playback scene.
[0094] The display device may be provided with a playback threshold adjustment function. When the user feels that the display device is not in a good state of playing media, such as frequent buffering, or a long waiting time before continuing to play media after buffering occurs, a playback threshold adjustment instruction may be sent to the display device to control the display device to enter a playback threshold adjustment mode. The controller may re-determine the playback threshold to control the state of the display device playing media.
[0095] In some embodiments, the user can send a playback threshold adjustment instruction to the display device by operating a designated button of the remote controller. The playback threshold adjustment instruction can also be pre-bound to a correspondence between multiple remote controller buttons, and when the user touches multiple buttons bound to the playback threshold adjustment instruction, the remote controller sends the playback threshold adjustment instruction.
[0096] In some embodiments, the user may send a playback threshold adjustment instruction to the display device by voice input, or by a preset gesture or action.
[0097] In some embodiments, when a user uses a smart device to control a display device, such as a mobile phone, the user can choose whether to enter a playback threshold adjustment mode through a preset control in the mobile phone, thereby sending a playback threshold adjustment instruction to the display device.
[0098] In some embodiments, a playback threshold adjustment mode option may be set in a UI interface of a display device, and when a user clicks on the option, the display device may be controlled to enter or exit the playback threshold adjustment mode.
[0099] In some embodiments, to prevent the user from accidentally triggering the playback threshold adjustment mode, when the controller receives a playback threshold adjustment instruction, it can control the display to display playback threshold adjustment mode confirmation information, so that the user can make a second confirmation whether to control the display device to enter the playback threshold adjustment mode. Fig.12 A schematic diagram showing confirmation information of a playback threshold adjustment mode displayed in a display in some embodiments is shown.
[0100] In some embodiments, considering that the playback threshold may be set relatively low at the beginning, which may cause frequent buffering of the display device, the display device may also generate playback threshold adjustment instructions on its own. For example, it may be configured that when it is detected that the display device starts to play the target media asset, the display device will automatically generate a playback threshold adjustment instruction.
[0101] Specifically, the controller can detect whether the display device starts playing the target media, which can be to detect whether the first frame of video data of the target media is displayed in the display. When it is detected that the display device starts playing the target media, it is considered that the playback threshold adjustment instruction has been received. At this time, the display device enters the playback threshold adjustment mode.
[0102] When the display device enters the playback threshold adjustment mode, the controller can re-determine the playback threshold to adjust the state of the display device playing the media asset.
[0103] Fig.13 A schematic diagram of a flow chart for determining whether to redefine the playback threshold in some embodiments is shown.
[0104] In some embodiments, when re-determining the playback threshold, the controller may set different playback thresholds according to different current playback scenarios, for example, taking into account the impact of the download rate of the media asset data.
[0105] like Fig.13 As shown, when redetermining the playback threshold, the controller can first detect whether the display device has played the target media at the current moment, which can be to detect whether the display has started playing video data, such as detecting whether the first frame of video data of the target media has been displayed in the display. It should be noted that what is detected here is whether the display device has started playing the target media, that is, whether the video data has started playing in the display, rather than detecting whether the video data is being played. Therefore, if the display device is in a paused playback state, for example, the display displays a frame of the target media without moving, it is also considered that the display device has played the target media.
[0106] If the display device does not start playing, it means that the target media asset has not been played yet. At this time, the play threshold can be kept unchanged and the play threshold can be kept at the first threshold, so that the display device can start playing quickly. If the display device has played the target media asset, it may be in the current playing state or in the buffering pause state after playing for a period of time. At this time, the play threshold can be changed and the controller re-determines the play threshold.
[0107] Fig.14 A schematic diagram of a process for re-determining a playback threshold in some embodiments is shown.
[0108] like Fig.14 As shown, the controller can pre-set a third threshold value, and the third threshold value is represented by P in the embodiment of the present application. The third threshold value can be a longer time, such as one second. The third threshold value will be greater than the first threshold value and the second threshold value. When it is detected that the display device starts playing the target media asset, the controller can first determine the preset third threshold value as the playback threshold value. At this time, the playback threshold value is changed from the first threshold value to the third threshold value.
[0109] The controller can further obtain the bit rate and download rate of the video data. Considering that different playback scenarios may cause the bit rate and download rate to change, the controller can determine the average bit rate and average download rate.
[0110] When determining the average bit rate and the average download rate, it is possible to determine average data within a period of time. Specifically, the controller may pre-set a detection period, which is referred to as the first period in the embodiment of the present application. The first period may be a time pre-set by a technician, such as 3 seconds or 5 seconds.
[0111] When receiving the playback threshold adjustment, the controller may start calculating from the moment the instruction is received to determine the average bit rate and the average download rate in the first period before the moment.
[0112] In some embodiments, the controller may determine the bit rate and download rate of the video data.
[0113] The bit rate refers to the number of data bits transmitted per unit time. The controller can directly obtain the average bit rate of the media data corresponding to the target media, and use the average bit rate as the bit rate of the video data.
[0114] Considering that there are multiple processing links in the whole process of the display device processing the video data contained in the target media asset, these links may affect the rate. Therefore, the controller needs to obtain the download rate of the video data.
[0115] In the embodiment of the present application, considering the influence of multiple links, the download rate of video data does not refer to the download rate of media asset data.
[0116] However, in some embodiments, the download rate of the media asset data can be used as the download rate of the video data. Specifically, the controller can obtain the first data volume of the media asset data obtained by the network protocol parsing and downloading module from the server in the first period. Based on the data volume and the first period, the controller can determine the download rate of the media asset data, which is referred to as the first rate in the embodiment of the present application, that is, the first rate is the rate of obtaining the media asset data. The controller can further determine the first rate as the download rate of the video data.
[0117] Fig.15 A schematic diagram of a process for obtaining a download rate of video data in some embodiments is shown.
[0118] In some embodiments, the download rate of the media asset data is not used alone as the download rate of the video data, but the processing of multiple links, such as the demultiplexing link and the decoding link, is considered to determine the download rate of the video data.
[0119] like Fig.15 As shown, the controller may first determine a download rate of the media asset data, that is, a first rate.
[0120] The controller may also obtain a second rate and a third rate. In the embodiment of the present application, the second rate refers to the rate at which video data is obtained, which may be the rate at which the demultiplexing module obtains data. The third rate refers to the rate at which video data in the video cache queue is decoded, which may be the rate at which the decoding module obtains data.
[0121] Specifically, the controller can obtain the second data volume of the media data sent by the network protocol parsing and downloading module to the demultiplexing module in the first cycle, and the third data volume of the video data sent by the demultiplexing module to the decoding module. The controller can determine the second rate based on the second data volume and the first cycle. The third rate can be determined based on the third data volume and the first cycle. Thus, the rate at which the media data download link, the demultiplexing module link, and the decoding module link obtain data is obtained.
[0122] The controller can determine the download rate of the video data based on the three rates.
[0123] In some embodiments, the controller may determine a maximum rate among the first rate, the second rate, and the third rate, and may determine the maximum rate as the download rate of the video data.
[0124] In some embodiments, the three rates may be processed by a weighted calculation method to obtain the download rate of the video data. Specifically, the controller may assign weights to the first rate, the second rate, and the third rate, respectively, and calculate the weight score of each rate. The controller may calculate the sum of the three weight scores and use the sum as the download rate of the video data.
[0125] In some embodiments, after determining the bit rate and download rate of the video data, the controller may replay the threshold.
[0126] Specifically, the controller may first calculate the ratio M1 of the bit rate of the video data and the download rate, which is referred to as the first ratio in the embodiment of the present application: M1 = B / S, where B represents the bit rate of the video data and S represents the download rate of the video data.
[0127] After determining the first ratio, the controller may determine whether the first ratio satisfies a preset adjustment condition.
[0128] In the embodiment of the present application, the preset adjustment condition can be set as: the first ratio does not reach the preset adjustment ratio D, that is, M1≤D. The preset adjustment ratio can be a value preset by a technician, which can be 2 or 3.
[0129] If the first ratio satisfies the preset adjustment condition, that is, the first ratio ≤ the adjustment ratio. This means that the download rate of the video data is smaller than the bit rate, and it can be considered that the real-time network speed is slow. In this case, the display device needs to cache more video data each time to play the media more smoothly, so as to reduce the number of buffering situations in the display device. At this time, the controller can adjust the playback threshold to a larger value. In the embodiment of the present application, the increased value is referred to as the fourth threshold, so the fourth threshold can be determined as the playback threshold.
[0130] In some embodiments, the controller may directly obtain the product D*P of the third threshold and the adjustment ratio, that is, the product D*P is the fourth threshold. The controller may further determine the product as a new playback threshold.
[0131] In some embodiments, the controller may obtain a ratio of the adjustment ratio to the first ratio, which is referred to as a second ratio M2 in the embodiment of the present application, that is, M2=D / M1.
[0132] The controller may obtain the product M2*P of the second ratio and the third threshold value, that is, the product M2*P is the fourth threshold value. The controller may further determine the product as a new playback threshold value.
[0133] It should be noted that the fourth threshold is greater than the third threshold.
[0134] In some embodiments, if the first ratio does not meet the preset adjustment condition, that is, the first ratio>adjustment ratio. It means that the download rate of the video data is larger than the bit rate, and it can be considered that the real-time network speed is faster. At this time, the video data stored in the video cache queue can be less, which can meet the smooth playback of the media data, and at the same time prevent excessive data accumulation from causing excessive memory usage. Therefore, the controller can adjust the playback threshold to a smaller value. In the embodiment of the present application, the reduced value is referred to as the fifth threshold, so the fifth threshold can be determined as the playback threshold. In order to ensure the overall logic, the fifth threshold needs to be greater than the second threshold, that is, to ensure that the playback threshold is greater than the pause threshold.
[0135] The controller may obtain the ratio D / P of the third threshold value and the adjustment ratio as the fifth threshold value, or may use the product M2*P of the second ratio and the third threshold value as the fifth threshold value. It should be noted that the controller may detect whether the obtained fifth threshold value is greater than the second threshold value. If not, a number greater than the second threshold value may be reset as the fifth threshold value, and the fifth threshold value may be determined as the new playback threshold value.
[0136] The controller may control the state of the display device playing the target media asset according to the re-determined playing threshold.
[0137] Fig.16 A schematic diagram of setting a playback threshold in the related art is shown. Fig.17 A schematic diagram of setting a playback threshold in some embodiments is shown.
[0138] like Fig.16 As shown, the related art sets a fixed threshold as the playback threshold, so the playback threshold will not change. Fig.17 As shown, when the user inputs a media asset playback instruction, the controller determines the first threshold as the initial playback threshold. When it is detected that the display device starts playing the target media asset, the playback threshold is changed to the third threshold, and the controller can start to determine a new playback threshold. When a new playback threshold (which may be the fourth threshold or the fifth threshold) is determined, the controller can change the playback threshold to the new playback threshold again.
[0139] In some embodiments, the controller may also dynamically adjust the playback threshold.
[0140] Specifically, a second period may be preset. After each second period, the controller may re-determine the playback threshold value to achieve dynamic adjustment to adapt to the current playback scene.
[0141] Specifically, when a playback threshold has been re-determined, the controller can control the timer to start timing. When the timing reaches a preset second period, the bit rate and download rate of the video data can be re-acquired to re-determine the playback threshold.
[0142] Fig.18 A schematic diagram of setting a playback threshold in some embodiments is shown.
[0143] In some embodiments, it can be set as follows: after receiving the playback threshold adjustment instruction input by the user, the controller starts to dynamically adjust the playback threshold. The controller can start timing from the moment when the user input instruction is received, set to t1, obtain the bit rate and download rate of the video data in the first cycle T1 before this moment, and obtain a new playback threshold. At the same time, the timing can be started from the moment t2 when the new playback threshold is obtained. When the second cycle T2 is reached, the current moment is t2+T2. At this time, the bit rate and download rate of the video data in the first cycle T1 before t2+T2 can continue to be determined, and a new playback threshold can be obtained to achieve dynamic adjustment of the playback threshold. It should be noted that the first cycle and the second cycle can be set to the same value or different values, which is not limited in the embodiments of the present application.
[0144] like Fig.18As shown, when the user inputs a media asset playback instruction, the controller determines the first threshold as the initial playback threshold. When the user inputs a playback threshold adjustment instruction, the controller can first change the playback threshold to the third threshold and start to determine a new playback threshold P1. After P1 is determined, the playback threshold is changed to P1, and the playback threshold is dynamically adjusted at the same time. The controller starts timing, and when the second cycle is reached, a new playback threshold P2 is re-determined. After P2 is determined, the playback threshold is changed to P2, and the playback threshold is continuously dynamically adjusted.
[0145] Fig.19 A schematic diagram of setting a playback threshold in some embodiments is shown.
[0146] In some embodiments, it can be set that: the controller actively performs dynamic adjustment of the playback threshold. Specifically, the controller can set the initial playback threshold to the first threshold. When it is detected that the display device starts playing the target media, that is, the first frame of video data of the target media is displayed in the display, the controller re-determines the playback threshold. After determining the playback threshold, the playback threshold is dynamically adjusted in a second cycle.
[0147] like Fig.19 As shown, when the user inputs a media asset playback instruction, the controller determines the first threshold as the initial playback threshold. When the display device starts to play the target media asset, the playback threshold can be changed to the third threshold, and the playback threshold is dynamically adjusted, and the controller starts timing. Every time the second cycle is reached, a new playback threshold can be re-determined.
[0148] In some embodiments, considering that the pause threshold is only a threshold used to control the pause of the playing of the target media asset, it can be fixed.
[0149] In some embodiments, in order to ensure the user experience, the controller can also synchronize the video data and audio data to achieve the effect of audio and video synchronization.
[0150] Specifically, when the playback conditions corresponding to the playback threshold are met, the controller can send the video data and audio data to the decoding module. Among them, the video decoding unit decodes the video data, and the audio decoding unit decodes the audio data. The controller can send the decoded video data and audio data to the audio and video synchronization module, and the audio and video synchronization module can perform audio and video synchronization processing on the two decoded data. After the audio and video synchronization processing, the controller controls the display to display the processed video data, and controls the audio device to play the processed audio data, so that the user can watch the target media normally and have a better experience.
[0151] The present application also provides a method for playing media resources. Fig. 20 As shown, the method includes:
[0152] Step 2001: Respond to a media playback instruction from a user and obtain media data in real time.
[0153] Step 2002: Acquire video data based on media asset data, and store the video data in a preset video cache queue.
[0154] Step 2003: Determine the play threshold and the pause threshold.
[0155] Step 2004: Based on the play threshold and the pause threshold, control the display to display the video data in the video cache queue, wherein the play threshold is used to control the display to start playing the video data in the preset video cache queue, and the pause threshold is used to control the display to pause playing the video data in the video cache queue.
[0156] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0157] 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.
[0158] 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.
[0159] For ease 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 intended 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: monitor; The controller is configured as: Responding to a user's media playback instruction, acquiring media data; Acquire video data based on the media asset data, and store the video data in a preset video cache queue; Determine a preset first threshold as a play threshold, and set a preset second threshold as a pause threshold; Detecting whether the display has started playing video data; If yes, obtaining the bit rate and download rate of the video data; Determine a preset third threshold as a playback threshold; The third threshold is greater than the first threshold and the second threshold; obtaining a first ratio of the download rate to the bit rate; Determine whether the first ratio is greater than a preset adjustment ratio; if so, obtain a fourth threshold based on the adjustment ratio, and determine the fourth threshold as the playback threshold, wherein the fourth threshold is greater than the third threshold; if not, obtain a fifth threshold based on the adjustment ratio, and determine the fifth threshold as the playback threshold, wherein the fifth threshold is less than the third threshold and greater than the second threshold; Based on the play threshold and the pause threshold, the display is controlled to display the video data in the video cache queue; wherein the play threshold is used to control the display to start playing the video data in the video cache queue, and the pause threshold is used to control the display to pause playing the video data in the video cache queue.
2. The display device according to claim 1, characterized in that The controller is also configured to: In the step of controlling the display to display the video data in the video buffer queue, Based on detecting that no video data is played in the display, detecting whether the video data in the video cache queue meets the playback condition corresponding to the playback threshold; If so, the video data in the video cache queue is decoded, and the display is controlled to start playing the decoded video data; if not, no processing is performed.
3. The display device according to claim 1, characterized in that The controller is also configured to: In the step of controlling the display to display the video data in the video buffer queue, Based on detecting that video data is being played in the display, detecting whether the video data in the video cache queue meets a pause condition corresponding to the pause threshold; If so, the display is controlled to pause playing the video data in the video cache queue; if not, the display is controlled to continue playing the video data.
4. The display device according to claim 2, characterized in that The controller is also configured to: In the step of obtaining the bit rate and download rate of the video data, Obtaining an average bit rate of the media asset data in a preset first period and using the average bit rate as the bit rate of the video data; Acquire a first rate, a second rate, and a third rate within the first period; wherein the first rate is a rate for acquiring media asset data, the second rate is a rate for acquiring video data, and the third rate is a rate for decoding video data in the video cache queue; The download rate is acquired according to the first rate, the second rate and the third rate.
5. The display device according to claim 4, characterized in that The controller is also configured to: In the step of acquiring the download rate according to the first rate, the second rate and the third rate, Determine a maximum value among the first rate, the second rate and the third rate as the download rate; or, Weights are assigned to the first rate, the second rate, and the third rate respectively, and the first rate, the second rate, and the third rate are processed based on a weighted calculation method to obtain the download rate.
6. The display device according to claim 2, characterized in that The controller is configured to: After executing the step of re-determining the playback threshold based on the bit rate and the download rate, The control timer starts timing, and when the timing time reaches a preset second period, the step of obtaining the bit rate and download rate of the video data is re-executed, and the timing time is reset.
7. The display device according to claim 1, characterized in that Also includes: An audio output interface, configured to connect an audio device; The controller is further configured to: in executing the step of acquiring video data based on the media asset data, Demultiplexing the media asset data to obtain audio data, and storing the audio data in a preset audio cache queue; After performing the steps of determining the play threshold and the pause threshold, Based on the play threshold and the pause threshold, the audio device is controlled to play the audio data in the audio cache queue; wherein the play threshold is used to control the audio device to start playing the audio data in the audio cache queue, and the pause threshold is used to control the audio device to pause playing the audio data in the audio cache queue.
8. A media resource playing method, applied to a display device, characterized in that: The method comprises: Responding to a user's media playback instruction, acquiring media data; Acquire video data based on the media asset data, and store the video data in a preset video cache queue; Determine a preset first threshold as a play threshold, and set a preset second threshold as a pause threshold; Detect whether the display has started playing video data; if so, obtain the bit rate and download rate of the video data; Determine a preset third threshold as a playback threshold; the third threshold is greater than the first threshold and the second threshold; obtain a first ratio of the download rate to the bit rate; Determine whether the first ratio is greater than a preset adjustment ratio; if so, obtain a fourth threshold based on the adjustment ratio, and determine the fourth threshold as the playback threshold, wherein the fourth threshold is greater than the third threshold; if not, obtain a fifth threshold based on the adjustment ratio, and determine the fifth threshold as the playback threshold, wherein the fifth threshold is less than the third threshold and greater than the second threshold; Based on the play threshold and the pause threshold, the display is controlled to display the video data in the video cache queue; wherein the play threshold is used to control the display to start playing the video data in the video cache queue, and the pause threshold is used to control the display to pause playing the video data in the video cache queue.
Citation Information
Patent Citations
Streaming media buffer play method and device and display device
CN105916058A
Multimedia play method and player
CN105979344A
Method and device for playing streaming media
CN105979346A
Download control method and device, multimedia terminal, and computer storage medium
CN109218847A
Playing block processing methods and devices for multimedia data
CN109429076A
