Display device and video resource playing method

By introducing playback control components into display devices based on Linux system, managing and coordinating the status and resource use of playback services, the resource conflict problem of display devices when playing video resources is solved, and resource usage efficiency and operation fluency are improved.

CN119922366APending Publication Date: 2025-05-02VIDAA (NETHERLANDS) INT HLDG LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411976314.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

Display devices based on Linux systems are prone to resource conflicts when playing video resources in the browser.

Method used

By introducing playback control components into the display device, the status of multiple playback services is managed, and the competition for system playback resources between different playback services and between different video resources is coordinated according to the current status of each playback service and the priority of video resources.

Benefits of technology

It effectively avoids resource conflicts, improves the efficiency of playback resources, and ensures the smoothness of the display device operating system in video resource playback and other operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922366A_ABST
    Figure CN119922366A_ABST
Patent Text Reader

Abstract

The invention relates to a display device and a video resource playing method, and belongs to the technical field of display, and the display device comprises a display, a memory and a processor. The processor is configured to run a system program in the memory, and receive a playing request initiated for a target video resource based on the playing control component; the target video resource is one of a plurality of video resources in the currently displayed user interface; if the priority of the video resource played by the playing service in the idle state or in the playing state of each playing service managed by the playing control component is lower than the priority of the target video resource, sending a playing instruction to the target playing service based on the playing control component so as to play the target video resource; the target playing service is one of the multiple playing services and corresponds to a display area where the target video resource is located; otherwise, refusing to respond to the playing request based on the playing control component. The display device can improve the use efficiency of playing resources and avoid resource conflicts.
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 method for playing video resources. Background Art

[0002] For display devices based on Linux systems, the browser is used as a core component of the user interface to carry a variety of interactive functions, including media playback. In the related art, for the above display devices, when playing video resources in the browser, resource conflicts are prone to occur. Summary of the invention

[0003] The present application provides a method for avoiding resource conflicts when playing video resources in a browser for a display device based on a Linux system.

[0004] In a first aspect, some embodiments provide a display device, including:

[0005] a display configured to display a user interface;

[0006] The memory is configured to store a Linux-based system program, wherein the system program includes a playback control component, a resource management component, and a plurality of playback services; the plurality of playback services correspond to a plurality of display areas for video resources in a user interface, respectively, and the playback services are used for playing video resources; the resource management component is used to allocate and recycle the playback resources of the system according to the requests of each playback service;

[0007] The processor is configured to run a system program, and receive a play request initiated for a target video resource based on a play control component; the user interface currently displayed by the display includes multiple video resources, and the target video resource is one of the multiple video resources; the play request carries priority information corresponding to the target video resource;

[0008] Obtain the current status of each playback service among multiple playback services managed by the playback control component, and the priority information corresponding to the video resources played by the playback service whose current status is the playing state;

[0009] If the current state of each playback service is an idle state, or the priority of the video resource played by the playback service whose current state is a playing state is lower than the priority of the target video resource, a playback instruction is sent to the target playback service based on the playback control component; the target playback service is one of the multiple playback services and corresponds to the display area where the target video resource is located, and the playback instruction is used to instruct the target playback service to play the target video resource;

[0010] If the priority of the video resource played by the playback service in the current playing state is not lower than the priority of the target video resource, the playback control component refuses to respond to the playback request.

[0011] When there is a demand for playing the target video resource, the above-mentioned display device determines the current state of each playback service through the playback control component in the display device. When the priority of the video resource played by the playback service in the idle state or the playback state is lower than the priority corresponding to the target video resource, the display device instructs the corresponding playback service to play the target video resource through the playback control component. This realizes the unified management of each playback service based on the playback control component, and each playback service then requests the system playback resource in the display device. The playback control component can coordinate the competition for the system playback resource between different playback services and different video resources, which helps to improve the efficiency of the use of playback resources and avoid resource conflicts. At the same time, since multiple playback services correspond to multiple display areas of multiple video resources in the user interface, this realizes the playback management of video resources in different display areas in the user interface, and different playback management can be performed for video resources in different display areas, which helps to improve the linkage efficiency between the user interface and the playback service and the system playback resource, thereby helping to improve the smoothness of the display device operating system in operations such as video resource playback.

[0012] In a second aspect, some embodiments further provide a method for playing a video resource, which is applied to a display device based on a Linux system, and the method includes:

[0013] Based on the playback control component in the system program in the display device, a playback request initiated for a target video resource is received; the user interface currently displayed by the display device includes multiple video resources, and the target video resource is one of the multiple video resources; the playback request carries priority information corresponding to the target video resource;

[0014] Obtain the current status of each of the multiple playback services managed by the playback control component, and the priority information corresponding to the video resources played by the playback service whose current status is the playing state; the multiple playback services correspond to the multiple display areas for the video resources in the user interface, and the playback services are used for playing the video resources;

[0015] If the current state of each playback service is an idle state, or the priority of the video resource played by the playback service whose current state is a playing state is lower than the priority of the target video resource, a playback instruction is sent to the target playback service based on the playback control component; the target playback service is one of the multiple playback services and corresponds to the display area where the target video resource is located, and the playback instruction is used to instruct the target playback service to play the target video resource;

[0016] If the priority of the video resource played by the playback service in the current playing state is not lower than the priority of the target video resource, the playback control component refuses to respond to the playback request.

[0017] The display device using the above-mentioned video resource playback method manages the status of multiple playback services through the playback control component in the display device. When the target video needs to be played in the user interface, the playback control component is based on the current status of each playback service and the priority of the corresponding video resource. When the priority of the video resource played by the playback service in the idle state or the playback state is lower than the priority corresponding to the target video resource, the corresponding playback service is instructed to play the target video resource. Otherwise, the playback control component rejects the playback request initiated by the user interface for the target video. This realizes the unified management of multiple playback services based on the playback control component, and coordinates the competition for system playback resources between different playback services and different video resources, which helps to improve the efficiency of the use of playback resources and avoid resource conflicts. At the same time, since multiple playback services correspond to multiple display areas of multiple video resources in the user interface, this realizes the playback management of video resources in different display areas in the user interface, and different playback management can be performed for video resources in different display areas, which helps to improve the linkage efficiency between the user interface and the playback service and the system playback resources, thereby helping to improve the fluency of the display device operating system in operations such as video resource playback. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] 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 any creative work.

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

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

[0021] Figure 3 A schematic diagram of the hardware configuration of a control device provided in some embodiments of the present application;

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

[0023] Figure 5 A flowchart of a processor of a display device provided in some embodiments of the present application being configured to execute steps;

[0024] Figure 6Another flowchart diagram of a processor of a display device provided in some embodiments of the present application being configured to execute steps;

[0025] Figure 7 A principle framework diagram of video resource playback of a display device provided in some embodiments of the present application;

[0026] Figure 8 A basic flow chart of video resource playback of a display device provided in some embodiments of the present application;

[0027] Fig. 9 Another basic flow chart of video resource playback of a display device provided in some embodiments of the present application;

[0028] Fig.10 A timing diagram of video resource playback of a display device provided in some embodiments of the present application;

[0029] Fig.11 Another timing diagram of video resource playback of a display device provided in some embodiments of the present application;

[0030] Fig.12 A user interface diagram of a display device provided in some embodiments of the present application;

[0031] Fig.13 Another user interface diagram of a display device provided for some embodiments of the present application. DETAILED DESCRIPTION

[0032] 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.

[0033] 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.

[0034] 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 are interchangeable under appropriate circumstances. The term "plurality" referred to herein may refer to two or more unless otherwise specified.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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 , the user can operate the display device 200 through touch operation, the mobile terminal 300 and the control device 100. For example, the control device 100 can be a remote controller, a stylus pen, a handle, etc.

[0039] 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.

[0040] 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.

[0041] 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.

[0042] 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.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] 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.

[0050] 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).

[0051] 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.

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

[0053] Figure 3 Some embodiments of the present application provide Figure 1 The hardware configuration diagram of the control device in the figure. Figure 3 As shown, the control device 100 may include: a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.

[0054] The control device 100 is configured to control the display device 200 , and can receive user input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200 .

[0055] In some embodiments, the control device 100 may be a smart device, for example, the control device 100 may be installed with various applications for controlling the display device 200 according to user needs.

[0056] In some embodiments, Figure 1 As shown, the mobile terminal 300 or other intelligent electronic devices can play a similar function as the control device 100 after installing the application for controlling the display device 200 .

[0057] The controller 110 includes a processor 112, a RAM 113, a ROM 114, a communication interface 130, and a communication bus. The controller 110 is used to control the operation and operation of the control device 100, as well as the communication and cooperation between the internal components and the external and internal data processing functions.

[0058] The communication interface 130 implements communication of control signals and data signals with the display device 200 under the control of the controller 110. The communication interface 130 may include at least one of other near field communication modules such as a WiFi chip 131, a Bluetooth module 132, and an NFC module 133.

[0059] The user input / output interface 140 , wherein the input interface includes at least one of other input interfaces such as a microphone 141 , a touch panel 142 , a sensor 143 , and a button 144 .

[0060] In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input / output interface 140. The control device 100 is configured with a communication interface 130, such as a WiFi, Bluetooth, NFC or other module, which can encode the user input command through the WiFi protocol, Bluetooth protocol, or NFC protocol and send it to the display device 200.

[0061] The memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 100 under the control of the controller. The memory 190 can store various control signal instructions input by the user.

[0062] The power supply 180 is used to provide operating power support for each component of the control device 100 under the control of the controller.

[0063] 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 may provide a user interface (control the display device), allow the user to interact with the display device 200, and support the running of various application programs.

[0064] 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.

[0065] The operating system can be divided into different modules or layers according to the functions implemented.

[0066] For example, Figure 4 As shown, Figure 4 Some embodiments of the present application provide Figure 1 Schematic diagram of software configuration in the display device. In some embodiments, the system of the display device 200 can be divided into three layers, namely, application layer, middleware layer and hardware layer from top to bottom.

[0067] The application layer mainly includes commonly used applications on TV and application frameworks. Common applications are mainly applications developed based on browsers, such as HTML5 APPs and native applications.

[0068] 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).

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

[0070] 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.

[0071] The hardware layer mainly includes the hardware abstraction layer (HAL) interface, hardware and drivers. The HAL interface is a 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.

[0072] 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.

[0073] As mentioned above, in the Linux system environment, the linkage efficiency between the browser and the underlying player of the display device is poor. The traditional player calling method relies on direct interfaces (APIs) and lacks global management, which easily leads to resource conflicts, resource waste, playback interruptions, etc. The present application provides a display device and a playback method for video resources. Based on different display areas in the user interface, multiple playback services are divided to be responsible for the playback of different video resources. At the same time, a playback control component is constructed to manage and coordinate the use and competition of each playback service for the playback resources of the display device system, thereby avoiding resource conflicts and improving resource utilization efficiency. The following is an explanation by way of embodiments.

[0074] In one embodiment, a display device is provided, including: a display configured to display a user interface; a memory configured to store a Linux-based system program, the system program including a playback control component, a resource management component and multiple playback services; the multiple playback services correspond to multiple display areas for video resources in the user interface, respectively, and the playback services are used for playing video resources; the resource management component is used to allocate and recycle the system's playback resources according to the requests of each playback service; and a processor.

[0075] In some embodiments, the display device may refer to the above description of the display device 200, and the specific components of the display device may also refer to the above description of the specific components of the display device 200. For example, the display may refer to the above description of the display 260 in the display device 200.

[0076] The processor in the display device is described below, which can be configured to run the system program and execute steps S501 to S504:

[0077] Step S501: receiving a play request initiated for a target video resource based on a play control component; the user interface currently displayed by the display includes multiple video resources, and the target video resource is one of the multiple video resources; the play request carries priority information corresponding to the target video resource.

[0078] For understanding of the system program, reference may be made to the description of the operating system that can be run in the display device 200. For example, the system program may also be divided into different modules or levels, which may be referred to in Figure 4 .

[0079] In some embodiments, when there is a need to play multiple video resources, for example, video resource B needs to be played while video resource A is being played, since the system resources required to play the videos are limited, there will be competition for the system resources required to play the videos. A corresponding priority can be assigned to each video resource, and competition can be coordinated and conflicts can be avoided based on the priority.

[0080] The number of the playback control components may be one or more. The playback control components may be components for directly and / or indirectly controlling the operation of video resources, and the operation of video resources may include playing, stopping, increasing the video volume, decreasing the video volume, etc. In some embodiments, the playback control components may be used to coordinate the competition of different video resources for the system resources required for playing the video.

[0081] In some embodiments, the target video resource and the corresponding playback request may be determined based on the position of the focus displayed in the user interface and / or the category of each video resource in the user interface. The category of each video resource may include an advertisement video category, a film and television category, etc. For example, it may also include an emergency alarm category for reminding the user when an earthquake occurs, etc., which is not limited here.

[0082] Step S502: obtaining the current status of each of the multiple playback services managed by the playback control component, and the priority information corresponding to the video resources played by the playback service whose current status is the playing state.

[0083] The playback service may be a service responsible for performing specific operations on one or more video resources. The operations here may be broadly understood and may include playing, stopping, increasing the video volume, and decreasing the video volume. The playback service may interact with the resource management component, for example, requesting the resource management component to allocate playback resources, such as decoding resources.

[0084] Exemplarily, the playback service may be managed by the playback control component, and the competition among different video resources for the system resources required for playing the video may be coordinated according to the current state of the playback service and the priority information corresponding to the video resources.

[0085] Step S503: If the current state of each playback service is idle, or the priority of the video resources played by the playback service that is currently in the playing state is lower than the priority of the target video resources, a playback instruction is sent to the target playback service based on the playback control component; the target playback service is one of multiple playback services and corresponds to the display area where the target video resource is located, and the playback instruction is used to instruct the target playback service to play the target video resource.

[0086] The display area can be from the user's observation perspective, that is, the area displayed to the user by the display device through the display; the display area can be a regular area, such as a rectangle, a square, or an irregular area; the display area can be fixed, or a floating area of ​​variable size, etc. For example, the display area in the display can include four equally divided display areas, namely, the top, bottom, left, and right, and the display area where the target video resource is located can be the lower left display area.

[0087] In some embodiments, different playback services may correspond to different display areas; and the priorities of video resources corresponding to different display areas may be different.

[0088] In some embodiments, the priority level of the video resource may be determined according to the display area where the video resource is located.

[0089] In some embodiments, the priority can be determined comprehensively from the video resource itself and the playback service corresponding to the video resource. Exemplarily, different priorities can correspond to different playback services, and different priorities can correspond to different video resources corresponding to the same playback service. For example, playback service A corresponds to video resources C and D, and playback service B corresponds to video resource E. Assuming that the priority of playback service A is higher than that of playback service B, it can be obtained that the priority of video resource E is lower than that of video resources C and D; assuming that video resource C belongs to the video of the advertising category and video resource D belongs to the film and television category, it can be obtained that the priority of video resource D is lower than that of video resource C, and the corresponding priority order can be that video resource C is better than video resource D, and video resource D is better than video resource E. For another example, if video resource E belongs to the video of the emergency alert category, then the priority of video resource E and / or the priority of the corresponding playback service B can be the highest. In one embodiment, the priority between different playback services can be determined according to the display area corresponding to different playback services. For example, the playback service with the largest display area has the highest priority.

[0090] Step S504: If the priority of the video resource being played by the playback service in the current playing state is not lower than the priority of the target video resource, the playback control component refuses to respond to the playback request.

[0091] Exemplarily, the refusal to respond to the play request based on the play control component can be processed inside the processor and does not need to be reflected in the user interface.

[0092] When there is a demand for playing the target video resource, the above-mentioned display device determines the current state of each playback service through the playback control component in the display device. When the priority of the video resource played by the playback service in the idle state or the playback state is lower than the priority corresponding to the target video resource, the display device instructs the corresponding playback service to play the target video resource through the playback control component. This realizes the unified management of each playback service based on the playback control component, and each playback service then requests the system playback resource in the display device. The playback control component can coordinate the competition for the system playback resource between different playback services and different video resources, which helps to improve the efficiency of the use of playback resources and avoid resource conflicts. At the same time, since multiple playback services correspond to multiple display areas of multiple video resources in the user interface, this realizes the playback management of video resources in different display areas in the user interface, and different playback management can be performed for video resources in different display areas, which helps to improve the linkage efficiency between the user interface and the playback service and the system playback resource, thereby helping to improve the smoothness of the display device operating system in operations such as video resource playback.

[0093] In one of the embodiments, the process of the processor in the aforementioned embodiment running the system program also includes: if the playback control component determines that the current state of each playback service is an idle state, after sending a playback instruction to the target playback service, updating the state of the target playback service to a playing state; or, if the playback control component determines that the priority of the video resource played by the playback service whose current state is a playing state is lower than the priority of the target video resource, after sending a playback instruction to the target playback service, updating the state of the playback service whose current state is a playing state to an idle state, and updating the state of the target playback service to a playing state.

[0094] Exemplarily, based on the playback control component, if the target video resource is played, the current state of the related playback service can be updated. As mentioned above, there are two situations for playing the target video resource: one is that the current state of each playback service is idle, so the target video resource can be played. In this case, the playback service corresponding to the target video resource can be updated, that is, the current state of the target playback service is updated to the playing state; the other is that the priority of the video resource played by the playback service in the playing state is lower than the priority of the target video resource, so the target video resource can be played. In this case, it is necessary to update the current state of the target playback service to the playing state, and also to update the state of the playback service whose current state is the playing state to the idle state.

[0095] After sending a playback instruction to the target playback service, by timely updating the current status of the target playback service and the status of the playback service that is currently in the playback state, this can ensure that the current status of each playback service managed by the playback control component is consistent with the actual status, thereby providing a more accurate judgment basis for the playback control component to decide whether to play the video resource.

[0096] In one embodiment, the multiple playback services managed by the playback control component in the above embodiment also include a playback service corresponding to the source signal; the source signal is a broadcast television signal based on broadcast television network access. Figure 6 As shown, the process of the processor running the system program in the above embodiment also includes executing steps S601 to S602:

[0097] Step S601: Based on the playback control component, a playback request for a source signal is received.

[0098] In some embodiments, a display area corresponding to the source signal is provided in the user interface, and the user selects the display area through a remote control, voice command, touch operation, etc., so as to send a play instruction for the source signal to the display device. Accordingly, based on the play control component, a play request for the source signal from the user interface can be received.

[0099] S602: If the current state of each playback service managed by the playback control component is idle, or the priority of the video resource played by the playback service whose current state is playing is lower than the priority of the source signal, the playback control component sends a source signal playback instruction to the playback service corresponding to the source signal; the source signal playback instruction is used to instruct the playback service corresponding to the source signal to play the video resource corresponding to the source signal.

[0100] In some possible embodiments, the video resource corresponding to the source signal may be an external signal source input, which is different from the video resource applied in the display device system in terms of source and nature. Therefore, an independent playback service may be set for the source signal to achieve dedicated management and control thereof.

[0101] In some embodiments, the priority between the source signal and the video resource played by the playback service currently in the playing state may be determined by referring to the above-mentioned method for determining the priority.

[0102] Exemplarily, the priority of the source signal may be higher than the priority of the video resources belonging to the film and television category, and may be lower than the priority of the video resources belonging to the advertisement category.

[0103] Since there are playback services corresponding to source signals, the playback control component can also manage the playback of video resources corresponding to source signals. When receiving a playback request for a source signal, it determines whether to play the video resources corresponding to the source signal according to the current status and corresponding priority of each playback service. This enables the playback control component to more comprehensively manage the use of system playback resources in the display device and coordinate resource competition more comprehensively.

[0104] In one of the embodiments, the process of the processor running the system program in the aforementioned embodiment also includes: when the display device displays the first user interface after being powered on, initializing the playback control component, the playback service corresponding to the source signal, and multiple playback services corresponding to the first user interface; when the display device switches to the currently displayed user interface, initializing the playback service corresponding to the currently displayed user interface.

[0105] Exemplarily, the first user interface may be an initial interface or a default interface in the display device system, and the first user interface may include an interface corresponding to the active signal.

[0106] In some embodiments, the currently displayed user interface may be an operating interface of a video application in a display device system.

[0107] For example, when the display device is powered on, the display device displays the first user interface to the user through the display, and at the same time, the system background initializes the playback control component, the playback service corresponding to the source signal and the first user interface to prepare for the subsequent playback management of the video resource. When the display device switches to the currently displayed user interface, the playback service corresponding to the currently displayed user interface can be initialized.

[0108] When the display device is powered on and the first user interface is displayed, the playback service corresponding to the source signal is initialized to support the playback of the video resources corresponding to the source signal; multiple playback services corresponding to the first user interface are initialized to support the playback of multiple video resources in the first user interface; and the playback control component is initialized to automatically manage the playback of multiple video resources in the first user interface and the playback of the video resources corresponding to the source signal when the device is powered on. At the same time, when the display device switches to the currently displayed user interface, the corresponding playback service is initialized accordingly to ensure that the playback control component manages the playback of each video resource in the currently displayed user interface.

[0109] In one of the embodiments, the process of the processor in the aforementioned embodiment running the system program further includes: based on the registration mechanism, binding each initialized playback service with the playback control component, so that the playback control component uniformly manages the status of multiple playback services.

[0110] In some embodiments, the playback service may register a listener in the playback control component, and the playback service receives a playback instruction, a playback stop instruction, etc. from the playback control component through the listener.

[0111] In some embodiments, the playback control component can record and change the current state of each playback service, and each playback service can monitor its corresponding current state through the listener registered in the playback control component. When the playback control component changes the current state of the playback service, the changed playback service will monitor the corresponding change and take corresponding actions. For example, the playback control component manages playback services A, B, and C, all of which are currently in an idle state. When the playback control component changes the current state of playback service A to a playing state, playback service A can receive the corresponding playback instruction through monitoring, thereby playing the corresponding video resource.

[0112] Through the registration mechanism, the playback control component can centrally manage the status of multiple playback services; unified management can avoid confusion and conflict, which helps to achieve more comprehensive and accurate playback management of various video resources and improve resource utilization efficiency.

[0113] In one of the embodiments, the process of the processor running the system program in the aforementioned embodiment also includes: when the playback control component receives a message that the currently displayed user interface has exited, the playback task of each playback service corresponding to the currently displayed user interface is terminated based on the playback control component, and the status of each playback service is updated to an idle state.

[0114] Since the currently displayed user interface is exited, the corresponding video resource playback demand disappears. By terminating the playback tasks of each playback service, the occupied system resources can be released in time to avoid resource waste. At the same time, by updating the status of each playback service to an idle state, it helps to ensure the accuracy of the playback control component in managing each playback service.

[0115] As described above, the playback service may be responsible for pausing playback of video resources and other operations. Accordingly, in one embodiment, the processor in the aforementioned embodiment, while running the system program, also includes: based on the playback control component, receiving a playback operation request for a target video resource; the playback operation request includes an exit operation request, a pause operation request, a fast forward operation request, a fast rewind operation request, a speed operation request, a volume adjustment request or a brightness adjustment request; and, based on the playback operation request, sending a corresponding playback operation instruction to the target playback service; the playback operation instruction is used to instruct the target playback service to perform a corresponding operation on the target video resource.

[0116] Based on the playback operation request, the playback control component can manage the playback operation of the target playback service on the target video resource; since the playback operation request may include an exit operation request, a pause operation request, a fast-forward operation request, etc., it is possible to support multiple playback operations on the target video resource being played on the basis of coordinating the competition of video resources for the system playback resources in the display device, so as to adjust the playback of the target video resource.

[0117] In one of the embodiments, the system program in the aforementioned embodiment also includes a signal playback service, and the signal playback service is used to create and instantiate a new playback service; the processor in the aforementioned embodiment runs the system program process, and also includes: in response to a new playback request initiated for a new target video resource displayed on the display, based on the playback control component, receiving a new playback request; the new target video resource is a video resource in a new user interface displayed on the display; based on the playback control component, determining the current state of each playback service, and in the case where there is an idle state and a playback service matching the new target video resource, using the playback service as a new target playback service, and sending a playback instruction to the new target playback service to instruct the new target playback service to play the new target video resource; and, in the case where there is no idle state and a playback service matching the new target video resource, creating a new target playback service for the new target video resource based on the signal playback service, and sending a playback instruction to the new target playback service to instruct the new target playback service to play the new target video resource.

[0118] In some possible embodiments, the currently displayed user interface and the new user interface may correspond to the same or different applications in the display device system. For example, the display may be split into two parts, the new user interface and the currently displayed user interface each occupying one part.

[0119] In some possible embodiments, the competition for playback resources may be for multiple video resources in the same user interface, or for video resources in different user interfaces. When a video resource is being played, new video resources are no longer allowed to be played. For example, user interface A is playing video resource a, and at the same time a new playback request for video resource b in a new user interface B appears. At this time, the playback control component is required to determine whether to play video resource b. If video resource b is being played, the playback of the video resource will be stopped.

[0120] In some possible embodiments, the playback service and playback control components may be based on the system in the display device, and may correspond to the underlying program of the system, and thus may correspond to different user interfaces, thereby realizing cross-application and cross-interface management of video resource playback. Based on this, the same playback service may correspond to different user interfaces, and then different video resources in different user interfaces may require the use of the same playback service - that is, for a new target video resource, there is a lack of a matching and idle playback service. In this regard, a signal playback service can be used to create a new target playback service to achieve playback of the new target video resource. During playback

[0121] In some possible embodiments, for a new target video resource, if there is a playback service that matches it and is in an idle state or a new target playback service is created, and there is also a playback service in a playing state, a priority comparison can be performed. If the priority of the new target video resource is higher than the priority of the video resource played by the playback service in the playing state, the new target video resource can be played, and the video resource played by the playback service in the playing state can be stopped.

[0122] In some possible embodiments, if it is determined that there is an idle playback service but it does not match the new target video resource, the playback service may be changed to match the new target video resource.

[0123] In some possible embodiments, for a new target video resource, if the playback service that matches it is in the playing state, and at the same time, the priority of the new target video resource is higher than the priority of the video resource played by the playback service, then the playback service can be used directly to play the new target video resource.

[0124] Since the playback service and playback control component can correspond to multiple user interfaces, there may be a lack of playback services that match and are in an idle state for the playback of new target video resources. Through the signal playback service, a new target playback service is created for the new target video resource, thereby achieving the playback of the new target video resource. This enables the playback management of video resources to cross user interfaces and is applicable to the entire operating system of the display device, achieving global video resource playback management in the system, thereby further improving the efficiency of the use of playback resources.

[0125] In one of the embodiments, the process of the processor in the aforementioned embodiment running the system program also includes: when the display area corresponding to the target playback service moves out of the window of the display, based on the playback control component, receiving a stop playback request for the target video resource; and, based on the playback control component, sending a stop playback instruction to the target playback service; the stop playback instruction is used to instruct the target playback service to stop playing the target video resource, and update the state of the target playback service to an idle state, and send a request to the resource management component to recycle the corresponding system resources.

[0126] The window of the display may be from the user's perspective, that is, the area visible to the user through the display.

[0127] In some embodiments, the display area corresponding to the target playback service is moved out of the display window, and at least half of the display area may be moved out of the display window.

[0128] By determining whether to stop playing the corresponding video resource based on whether the display area is in the display window, it is possible to timely recover system resources and ensure resource utilization efficiency without affecting user viewing due to stopping the playback of the video resource.

[0129] In one embodiment, a method for playing a video resource is provided, which is applied to a display device based on a Linux system, and the method includes:

[0130] Based on the playback control component of the system program in the display device, a playback request initiated for a target video resource is received; the user interface currently displayed by the display device includes multiple video resources, and the target video resource is one of the multiple video resources; the playback request carries priority information corresponding to the target video resource;

[0131] Obtain the current status of each of the multiple playback services managed by the playback control component, and the priority information corresponding to the video resources played by the playback service whose current status is the playing state; the multiple playback services correspond to the multiple display areas for the video resources in the user interface, and the playback services are used for playing the video resources;

[0132] If the current state of each playback service is an idle state, or the priority of the video resource played by the playback service whose current state is a playing state is lower than the priority of the target video resource, a playback instruction is sent to the target playback service based on the playback control component; the target playback service is one of the multiple playback services and corresponds to the display area where the target video resource is located, and the playback instruction is used to instruct the target playback service to play the target video resource;

[0133] If the priority of the video resource played by the playback service in the current playing state is not lower than the priority of the target video resource, the playback control component refuses to respond to the playback request.

[0134] The display device using the above-mentioned video resource playback method manages the status of multiple playback services through the playback control component in the display device. When the target video needs to be played in the user interface, the playback control component is based on the current status of each playback service and the priority of the corresponding video resource. When the priority of the video resource played by the playback service in the idle state or the playback state is lower than the priority corresponding to the target video resource, the corresponding playback service is instructed to play the target video resource. Otherwise, the playback control component rejects the playback request initiated by the user interface for the target video. This realizes the unified management of multiple playback services based on the playback control component, and coordinates the competition for system playback resources between different playback services and different video resources, which helps to improve the efficiency of the use of playback resources and avoid resource conflicts. At the same time, since multiple playback services correspond to multiple display areas of multiple video resources in the user interface, this realizes the playback management of video resources in different display areas in the user interface, and different playback management can be performed for video resources in different display areas, which helps to improve the linkage efficiency between the user interface and the playback service and the system playback resources, thereby helping to improve the fluency of the display device operating system in operations such as video resource playback.

[0135] In one embodiment, a display device is provided, in which the above-mentioned Linux-based system can be installed, and a subsystem for video resource playback can be provided in the system - a multi-scenario intelligent media control and scheduling system. The following example is taken as the above-mentioned display device. In order to solve the problem of multi-module playback priority management in smart TVs that starts a browser through the Linux operating system and uses the UI to drive the underlying player, a stable and smooth media playback experience is provided. The technical solution of the present application is based on the global playback controller (i.e., the aforementioned playback control component), coordinates the playback behavior through the state machine and the module registration mechanism, and meets the dynamic switching requirements in multi-tasking scenarios. The following will be explained from four aspects: basic functions, usage scenarios, principle block diagrams, and basic processes.

[0136] First, basic functions:

[0137] 1. Modular playback control: supports different playback modules (i.e. the aforementioned playback services), such as 3D ads, Banner ads, Recent areas, and waterfall content, and performs unified scheduling through the global controller.

[0138] 2. Dynamic priority management: Dynamic priority switching mechanism based on state machine ensures that high-priority modules interrupt low-priority modules when playing.

[0139] 3. Intelligent playback monitoring and switching: Dynamically adjust the playback status (i.e. the current status of the aforementioned playback service) through monitoring commands to achieve seamless playback or terminate playback.

[0140] 4. Resource optimization management: reduce resource waste during playback switching and ensure system stability.

[0141] 5. Playback process control: supports full-process management including playback request, status update, and playback termination.

[0142] Second, usage scenarios:

[0143] 1. Startup ads: 3D ads are played first when the TV starts, and other modules are prohibited from playing.

[0144] 2. Multi-module switching: When users browse banner ads, if there is playable content in the Recent area, it will intelligently determine whether to play it.

[0145] 3. Dynamic interruption: If a 3D ad is detected during the banner carousel, the current playback will be terminated immediately and switched to the 3D ad.

[0146] 4. User exit scenario: When the page is exited, all playback tasks are automatically stopped to release resources.

[0147] Third, the basic principle block diagram:

[0148] See also Figure 7 As shown, a principle block diagram of the technical solution of this application is provided. The description of the principle block diagram is as follows:

[0149] 1. Global playback controller (i.e., playback control component): As the core module, it is responsible for managing playback status and priority scheduling.

[0150] 2. UI module: interact with users, send playback requests and receive playback status feedback.

[0151] 3. Playback module (i.e., playback service): includes 3D ads, banner ads, recent area, waterfall content, etc. It is bound to the global playback controller through the registration mechanism.

[0152] 4. State machine logic: implements the judgment and switching of the current state of the playback service to ensure that the playback behavior follows the priority rules.

[0153] 5. System Resource Manager: responsible for scheduling playback and executing playback module behaviors.

[0154] Third, the basic process:

[0155] like Figure 8 As shown, the basic process of a possible video resource playback method is provided. The basic process is further described below:

[0156] 1. Page loading and initialization: The browser starts and loads the Launcher page. Initialize the global playback controller and set the default state to none. Each playback module (3D advertisement, Banner, Recent, waterfall) is registered to the controller and ready for playback.

[0157] 2. Play request processing: The module initiates a play request (passing the module identifier and index value). After receiving the request, the global play controller determines the current status and priority: if the new request has a higher priority, the play status is updated and play is allowed; otherwise, the play request is rejected.

[0158] 3. Playback status monitoring: The module registers a playback status monitor and receives status change instructions from the global controller. It performs corresponding operations (such as starting or stopping playback) according to the instructions.

[0159] 4. Page exit and playback termination: When the page is exited, a stop playback request is sent to the global controller. The global controller terminates all playback tasks and releases resources, restoring the system to an idle state.

[0160] After the above explanation from four aspects of basic functions, usage scenarios, principle block diagram and basic process, the following will explain the hardware or system solution for function implementation, the connection relationship of the components, the function and working principle.

[0161] Part 1: Hardware or system solution for function realization

[0162] 1. Principle framework

[0163] The core implementation of the smart TV software architecture based on the Linux operating system relies on the following system components:

[0164] UI module (browser): initiates playback requests and receives playback status feedback through the user interaction interface, providing an entry for playback control.

[0165] Global playback controller: The core management module uses a state machine model to handle playback priority, state switching, and module registration, and coordinate different playback behaviors.

[0166] Playback module: includes multiple playback areas, such as 3D advertising module, Banner advertising module, Recent area module, waterfall content module, etc., responsible for specific media content playback.

[0167] System Resource Manager: used to allocate and recycle playback resources to ensure stable system operation.

[0168] Media decoder (hardware support): relies on hardware acceleration for video decoding and provides underlying support for the playback module.

[0169] 2. System configuration plan

[0170] like Fig. 9 As shown, a possible logical structure of the system is provided, which illustrates the interaction between the system components such as the UI module, the global playback controller, the playback module, and the system resource manager. Of course, the system structure scheme can also be referred to the relevant parts of the previous text.

[0171] Part II: Connection, function and working principle of components

[0172] First, the connection and function of the components:

[0173] 1. About UI module

[0174] Connection relationship: As the user operation entrance, connect to the global playback controller, initiate playback requests or monitor playback feedback.

[0175] Function: We define a set of standard playback control interfaces, including play request, pause request, stop request, etc. These interfaces encapsulate relevant information of playback requests, such as module identification, priority, playback content, etc., through a specific message format (JSON).

[0176] 2. About the global playback controller

[0177] Connection relationship: Receive requests from the UI module, manage the registration information of each playback module, and coordinate resource usage through the system resource manager.

[0178] Function: Use state machine logic to determine the playback behavior based on priority and status, dynamically update the status and feedback the results. When the global playback controller is initialized, it will not interact with the UI layer, but it will interact with the UI layer through the observer mode to ensure that it can subscribe and correctly publish to the other party and establish a communication channel. In this process, the global playback controller will open its own API to the UI layer so that the UI layer can accurately send the playback request to it.

[0179] 3. About the playback module

[0180] Connection relationship: connected to the global playback controller, responsible for specific media playback operations, and receives status instructions to play or stop.

[0181] Function: Implement specific content playback (such as video decoding, display control), and adjust playback behavior according to the controller's commands. In addition to video playback, playback is usually independent in the case of a signal source (i.e., source signal). This is because the signal source usually represents an external signal source input, such as cable TV, satellite TV, etc., which differs from the playback content of other applications in terms of source and nature. Therefore, we need to set up an independent playback module for the signal source (i.e., the playback service corresponding to the source signal) to open up the entire process so that it can be specifically managed and controlled.

[0182] Separate instructions for signal control:

[0183] (1) In terms of priority, the signal source playback module usually has a higher priority. This is because the signal source usually represents the user's main viewing content, such as TV programs, sports events, etc. In order to ensure that users can watch these contents smoothly, we need to ensure that the signal source playback module has priority in resource allocation and playback control.

[0184] (2) However, this does not mean that the signal source playback module cannot be interrupted or replaced. In some cases, such as when the user actively switches channels or turns off the signal source, the global playback controller can still receive playback requests from the UI layer and make corresponding adjustments or switches to the signal source playback module.

[0185] (3) In the case of signal source, the way to initiate a play request is similar to the playback control in other applications. Users can still interact with the global playback controller through the UI layer and send requests such as play, pause, and stop. The global playback controller will process and control the signal source playback module accordingly based on the current system status and priority rules.

[0186] 4. About System Explorer

[0187] Connection relationship: Provide hardware decoding support for the playback module, and collaborate with the decoder to complete resource allocation and management.

[0188] Function: Ensure that hardware resources (such as memory, CPU, decoder) are used efficiently in multi-tasking scenarios to avoid resource conflicts.

[0189] Second, working principle:

[0190] Basic working principle: The playback request is initiated from the UI module, passing the module ID and priority to the global playback controller. The controller determines the current state and request priority, decides whether to update the state and send feedback. The playback module performs specific playback actions according to the controller instructions, and dynamically responds to state changes through the monitoring mechanism. The system resource manager schedules decoder resources to provide underlying support for the playback module. Fig.10 As shown, a timing diagram is provided to assist in explaining the above working principle.

[0191] In addition, for multi-player scenarios where multiple service modules are switched, such as Fig.11 As shown, the playback of new video resources can be achieved by building a signal playback module.

[0192] In some possible embodiments, when the user selects the second video, the global playback controller will request the signal playback module to switch the video playback module. If there is an idle module available, the signal playback module will assign it as the new current playback module and stop the playback of the old module.

[0193] In some embodiments, if there is no idle module but the current module can be reused, for example, if the video application supports playing multiple videos in the same module without completely stopping and reinitializing, the signal playback module will instruct the current module to stop the current playback and prepare to play a new video.

[0194] The following is a specific example of possible video resource playback:

[0195] Combined with Fig.12 As shown in the figure, the box corresponding to "recent" is highlighted, which means that the display focus is in this box by default. At this time, there will be a preview scene, and the corresponding video resources, such as the video resources of the source signal, can be played.

[0196] The top banner ad will also appear in the playback scene. If the banner ad meets the playback conditions, the playback state machine is requested. The state machine returns the playback result and plays the corresponding ad video, while interrupting the playback of the video resource in the box corresponding to "Recent".

[0197] The display focus can be moved, such as moving downward. If the moving distance, range, or final position does not meet the preset conditions, the state machine will not be triggered and the advertising video can continue to play. When the preset conditions are met, for example, the top banner ad moves out of the display window, such as Fig.13 As shown, the state machine can be triggered to stop playing the corresponding advertising video.

[0198] In some embodiments, a single global playback controller can be split into multiple distributed control nodes, and each playback module (such as 3D ads, Banner, Recent, etc.) has an independent playback controller node. The global state manager is responsible for coordinating the communication and priority judgment between these nodes. This has the following effects: reducing the risk of single point failures and improving system reliability. Supporting modular expansion, new playback modules (such as a new video recommendation area) can be dynamically added according to product requirements. Reduce the complexity of a single controller, and each module can be independently developed and debugged.

[0199] In some embodiments, controller nodes can achieve asynchronous communication through message queues or event buses, such as MQTT, Kafka, etc., to further improve performance and flexibility.

[0200] In some embodiments, dynamic priority management based on a rule engine can be used. For example, the priority judgment logic of the global controller is replaced with a dynamic decision-making system based on a rule engine. Developers can define playback priorities by configuring rules without hard-coding priority logic. This has the following effects: Provide highly flexible priority management capabilities to support complex business scenarios, such as giving priority to holiday ads. Implement dynamic loading of rules to facilitate adjustment of priority logic at runtime without restarting the system. Reduce development costs and reduce coupling of controller logic.

[0201] In some embodiments, an AI-based priority prediction model may be used to automatically adjust the playback order based on user behavior and historical data to further enhance the user experience.

[0202] In some embodiments, a preloading and resource prediction mechanism can be introduced to add resource preloading and usage prediction functions to the system resource manager. Before the playback request is initiated, the decoding resources that may be needed are allocated in advance to avoid jamming during playback. This has the following effects: Improve system response speed and reduce first playback delay. Avoid frequent resource scheduling operations and reduce decoder load. Adapt to scenarios with poor network conditions to ensure smooth content playback.

[0203] In some embodiments, the preloading mechanism can be combined with a cloud-based content delivery network (CDN) to further optimize content loading speed using edge computing resources.

[0204] According to different display areas, multiple playback modules (i.e., multiple playback services) are divided and uniformly scheduled through the global controller (i.e., playback control component). Based on the status and priority of the playback service, the playback control component ensures that the playback service with high priority interrupts the playback service with low priority. The playback service dynamically adjusts the playback status by listening to the commands of the playback control component to achieve seamless playback or termination. The management of each playback service by the playback control component can reduce resource waste during playback switching and ensure system stability. At the same time, the above management can cover the management of the entire process of playback requests, status updates, playback termination, etc. of video resources.

[0205] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0206] Based on the same inventive concept, the embodiment of the present application also provides a video resource playback device for implementing the video resource playback method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiment of the playback device for one or more video resources provided below can refer to the limitations on the video resource playback method above, and will not be repeated here.

[0207] In an exemplary embodiment, a video resource playback device is provided, which is applied to a display device based on a Linux system and includes:

[0208] The user interface module is used to display the user interface and multiple video resources, and send a playback request initiated for the target video resource to the playback control component; the playback request carries the priority information corresponding to the target video resource; the target video resource is one of the multiple video resources.

[0209] A playback control component is used to receive a playback request initiated for a target video resource; obtain the current state of each playback service among multiple playback services managed by the playback control component, and the priority information corresponding to the video resource played by the playback service whose current state is the playback state; if the current state of each playback service is an idle state, or the priority of the video resource played by the playback service whose current state is the playback state is lower than the priority of the target video resource, send a playback instruction to the target playback service; the target playback service is one of the multiple playback services and corresponds to the display area where the target video resource is located; if the priority of the video resource played by the playback service whose current state is the playback state is not lower than the priority of the target video resource, refuse to respond to the playback request.

[0210] The playback service module includes multiple playback services, which correspond to multiple display areas for video resources in the user interface, and are used for playing video resources. Based on the target playback service, it receives the playback instructions issued by the playback control component and plays the target video resources.

[0211] Each module in the above-mentioned video resource playback device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0212] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above embodiments when executing the computer program.

[0213] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above embodiments are implemented.

[0214] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above embodiments when executed by a processor.

[0215] In one embodiment, a processor is provided, which is used to execute a computer program to implement the steps in the above method embodiments.

[0216] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0217] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0218] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A display device, characterized in that: include: a display configured to display a user interface; A memory configured to store a Linux-based system program, wherein the system program includes a playback control component, a resource management component, and a plurality of playback services; The plurality of playback services correspond to the plurality of display areas of the plurality of video resources in the user interface, respectively, and the playback services are used for playing the video resources; The resource management component is used to allocate and recycle the playback resources of the system according to the request of each playback service; A processor configured to run the system program and receive a playback request initiated for a target video resource based on the playback control component; The user interface currently displayed by the display includes multiple video resources, and the target video resource is one of the multiple video resources; the play request carries priority information corresponding to the target video resource; Acquire the current status of each of the multiple playback services managed by the playback control component, and the priority information corresponding to the video resources played by the playback service whose current status is the playing state; If the current state of each of the playback services is an idle state, or the priority of the video resource played by the playback service whose current state is a playing state is lower than the priority of the target video resource, sending a playback instruction to the target playback service based on the playback control component; The target playback service is one of the multiple playback services and corresponds to the display area where the target video resource is located, and the playback instruction is used to instruct the target playback service to play the target video resource; If the priority of the video resource played by the playback service, which is currently in the playing state, is not lower than the priority of the target video resource, the playback request is rejected based on the playback control component.

2. The display device according to claim 1, further characterized in that: The process in which the processor runs the system program also includes: If the playback control component determines that the current state of each of the playback services is an idle state, after sending the playback instruction to the target playback service, the state of the target playback service is updated to a playing state; or, If the playback control component determines that the priority of the video resource played by the playback service whose current state is the playing state is lower than the priority of the target video resource, after sending the playback instruction to the target playback service, the state of the playback service whose current state is the playing state is updated to the idle state, and the state of the target playback service is updated to the playing state.

3. The display device according to claim 1, further characterized in that: The multiple playback services managed by the playback control component also include a playback service corresponding to a source signal; the source signal is a broadcast television signal based on a broadcast television network access; The process in which the processor runs the system program also includes: Based on the playback control component, receiving a playback request for the source signal; If the current state of each of the playback services managed by the playback control component is an idle state, or the priority of the video resources played by the playback service whose current state is a playing state is lower than the priority of the source signal, a source signal playback instruction is sent to the playback service corresponding to the source signal based on the playback control component; the source signal playback instruction is used to instruct the playback service corresponding to the source signal to play the video resources corresponding to the source signal.

4. The display device according to claim 1, further characterized in that: The process in which the processor runs the system program also includes: When the display device displays a first user interface after being powered on, initializing the playback control component, the playback service corresponding to the source signal, and multiple playback services corresponding to the first user interface; When the display device switches to the currently displayed user interface, the playback service corresponding to the currently displayed user interface is initialized.

5. The display device according to claim 4, further characterized in that: The process in which the processor runs the system program also includes: Based on the registration mechanism, each of the initialized playback services is bound to the playback control component, so that the playback control component uniformly manages the status of multiple playback services.

6. The display device according to claim 4, further characterized in that: The process in which the processor runs the system program also includes: When the playback control component receives a message indicating that the currently displayed user interface has exited, the playback control component terminates the playback tasks of each of the playback services corresponding to the currently displayed user interface, and updates the status of each of the playback services to an idle status.

7. The display device according to claim 1, further characterized in that: The process in which the processor runs the system program also includes: Based on the playback control component, receiving a playback operation request for the target video resource; the playback operation request includes an exit operation request, a pause operation request, a fast forward operation request, a fast rewind operation request, a speed operation request, a volume adjustment request or a brightness adjustment request; and, According to the playback operation request, a corresponding playback operation instruction is sent to the target playback service; the playback operation instruction is used to instruct the target playback service to perform a corresponding operation on the target video resource.

8. The display device according to claim 1, further characterized in that: The system program also includes a signal playing service, and the signal playing service is used to create and instantiate a new playing service; The process in which the processor runs the system program also includes: In response to a new play request initiated for a new target video resource displayed on the display, receiving the new play request based on the play control component; the new target video resource is a video resource in a new user interface displayed on the display; Determine the current state of each of the playback services based on the playback control component, and if there is a playback service in an idle state and matching the new target video resource, use the playback service as a new target playback service, and send a playback instruction to the new target playback service to instruct the new target playback service to play the new target video resource; and In the absence of an idle playback service that matches the new target video resource, a new target playback service is created for the new target video resource based on the signal playback service, and a playback instruction is sent to the new target playback service to instruct the new target playback service to play the new target video resource.

9. The display device according to any one of claims 1 to 8, further characterized in that: The process in which the processor runs the system program also includes: In the case where the display area corresponding to the target playback service moves out of the window of the display, based on the playback control component, receiving a request to stop playback for the target video resource; and Based on the playback control component, a stop playback instruction is sent to the target playback service; the stop playback instruction is used to instruct the target playback service to stop playing the target video resource, update the state of the target playback service to an idle state, and send a request to reclaim corresponding system resources to the resource management component.

10. A method for playing video resources, characterized in that: Applied to a display device based on a Linux system, the method comprises: Based on the playback control component in the system program in the display device, a playback request initiated for a target video resource is received; the user interface currently displayed by the display device includes multiple video resources, and the target video resource is one of the multiple video resources; the playback request carries priority information corresponding to the target video resource; Acquire the current status of each of the multiple playback services managed by the playback control component, and the priority information corresponding to the video resources played by the playback service whose current status is the playing state; the multiple playback services correspond to the multiple display areas of the multiple video resources in the user interface, respectively, and the playback services are used for playing the video resources; If the current state of each of the playback services is an idle state, or the priority of the video resource played by the playback service whose current state is a playing state is lower than the priority of the target video resource, sending a playback instruction to the target playback service based on the playback control component; the target playback service is one of the multiple playback services and corresponds to the display area where the target video resource is located, and the playback instruction is used to instruct the target playback service to play the target video resource; If the priority of the video resource played by the playback service, which is currently in the playing state, is not lower than the priority of the target video resource, the playback request is rejected based on the playback control component.