Display device and advertisement data playing method

By dynamically allocating storage space and a priority scoring mechanism, memory and disk storage are rationally allocated, solving the problem of slow advertising playback in display devices and achieving efficient advertising data access and stable delivery.

CN120602725APending Publication Date: 2025-09-05VIDAA (NETHERLANDS) INT HLDG LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510690662.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

During the advertising delivery process, existing display devices are limited by the single cache mode and elimination algorithm, resulting in excessive memory resource occupation and low cache hit rate, which affects the speed and stability of advertising playback.

Method used

By dynamically allocating storage space, generating priority scores based on the characteristics and access frequency of advertising data and resource type weights, reasonably allocating memory and disk storage, promptly removing low-priority data blocks, downloading recent advertising data in advance and monitoring changes in the cloud, and dynamically synchronizing local caches.

Benefits of technology

It improves the access speed and cache hit rate of advertising data, reduces the delay of advertising playback, and ensures the stability and reliability of advertising delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602725A_ABST
    Figure CN120602725A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a display device and an advertisement data playing method. According to the method, storage positions are dynamically allocated according to advertisement data characteristics, memory occupation is reduced, and the access speed of key data is increased; a priority score is generated by calculating the access frequency, the resource type weight and the final access time of the advertisement data, and a low-score data block is preferentially removed when the storage space is insufficient, so that the cache hit rate of high-frequency / hot advertisements is ensured; by downloading recent advertisement data to the local in advance, real-time downloading delay during playing is avoided, large file advertisements are stored in blocks, cached parts are read preferentially during playing, meanwhile, remaining data blocks are downloaded in the background, and rapid playing of the advertisement data is achieved. In addition, cloud advertisement data change is monitored, local cache is dynamically synchronized, data timeliness is ensured, a local index table is quickly queried before the advertisement is played, direct playing or playing while playing is selected according to cache integrity, waiting time is shortened, and the problem that the advertisement playing speed is low is solved.
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 advertising data. Background Art

[0002] Display devices such as televisions can play various video media and display advertising data. For example, cloud servers can provide a data source for advertising data and send it to the TV, enabling precise advertising delivery and playback. While playing video and other media, the TV can receive advertising data from the cloud server and perform the corresponding playback operations. The cloud server is responsible for sending the cloud advertising data to the TV to display the advertising content. During this advertising delivery process, the TV uses a specific caching mode to store advertising data and manages the advertising content in the cache based on a specific elimination algorithm.

[0003] For example, during current ad delivery, the single caching mode used by TVs causes large files to occupy excessive memory when stored. This is primarily due to a lack of flexible caching strategies tailored to the characteristics of different data and usage scenarios. This leads to excessive memory usage when processing large ad files, impacting the overall system efficiency. Secondly, the elimination algorithm only considers a single dimension, either time or popularity, resulting in a low cache hit rate. Furthermore, without distinguishing between the storage characteristics of memory and disk, critical data is easily lost, impacting the stability and reliability of ad delivery.

[0004] In summary, the current advertising delivery process will cause problems such as ad loading delays, long user waiting times, and low cache hit rates, which in turn affect the ad playback speed. Summary of the Invention

[0005] The present application provides a display device and a method for playing advertisement data to solve the problem of slow advertisement playing speed.

[0006] In a first aspect, some embodiments of the present application provide a display device, including.

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

[0008] A communication device configured to establish a communication connection with a server; the server stores cloud advertising data;

[0009] The controller is configured as:

[0010] Receiving cloud advertising data sent by the server, and comparing the cloud advertising data with the local advertising cache index table;

[0011] If the comparison result shows that the cloud advertising data contains new advertising content, determining a local storage space according to the new advertising content, and storing the new advertising content to obtain local advertising data;

[0012] Calculating a priority score of a data block corresponding to the local advertisement data in the storage space; the priority score is used to represent an access frequency of the local advertisement data in the data block;

[0013] detecting that the usage rate of the storage space exceeds a preset ratio and that the priority score is lower than a score threshold, removing the corresponding data block in the storage space;

[0014] In response to a play instruction of a to-be-played advertisement in the local advertisement data, obtaining a cache status of the to-be-played advertisement in the storage space;

[0015] A playing mode of the advertisement to be played is determined according to the buffer status, and the display is controlled to play the advertisement to be played according to the playing mode.

[0016] The above technical solution has the following advantages or beneficial effects: the display device dynamically allocates storage locations according to the characteristics of the advertising data, reduces memory usage and improves the access speed of key data; generates a priority score by calculating the access frequency, resource type weight and last access time of the advertising data, and the low-scoring data blocks are removed first when the storage space is insufficient, thereby ensuring the cache hit rate of high-frequency / popular advertisements; by downloading recent advertising data to the local in advance, real-time download delays during playback are avoided, large file advertisements are stored in blocks, and the cached parts are read first during playback, while the remaining data blocks are downloaded in the background, thereby achieving rapid start-up of the advertising data. The display device also monitors changes in cloud advertising data, dynamically synchronizes the local cache to ensure data timeliness, quickly queries the local index table before playing the advertisement, and chooses direct playback or downloading and playing simultaneously based on the cache completeness, thereby reducing waiting time and solving the problem of slow advertising playback.

[0017] In some embodiments, the storage space includes a hot memory space and a cold disk space. The controller determines a local storage space based on the newly added advertisement content and stores the newly added advertisement content to obtain local advertisement data. The controller is specifically configured as follows:

[0018] Obtaining the data capacity of the newly added advertisement content;

[0019] When the data capacity is less than or equal to the capacity threshold, all the newly added advertisement contents are stored in the storage space to obtain local advertisement data;

[0020] When the data capacity is greater than a capacity threshold, obtaining a weight factor of the newly added advertisement content;

[0021] In response to the weight factor being greater than a weight threshold, storing the video file header of the newly added advertisement content in the cold space of the disk to obtain local advertisement data;

[0022] In response to the weight factor being less than or equal to a weight threshold, the non-header data of the newly added advertisement content is stored in the memory hot zone space to obtain local advertisement data.

[0023] The above technical solution has the following advantages or beneficial effects: by combining the data capacity and weight factor of the advertising content, the display device can reasonably allocate the storage location of the newly added advertising content in the hot area of ​​memory and the cold area of ​​the disk, give full play to the high-speed reading and writing advantages of the memory and the large-capacity persistent storage advantages of the disk, and improve the overall utilization rate of storage resources. For important advertisements with high weight, ensure that their key parts are properly stored, and at the same time reasonably arrange the storage of non-head data in the memory to avoid wasting storage resources. In addition, this storage decision-making mechanism based on data capacity and weight factor enables the system to dynamically adapt to different types of advertising content and advertising delivery strategies. When new advertising content arrives, the system can automatically adjust the storage method and location according to its characteristics and importance without manual intervention.

[0024] In some embodiments, before the step of calculating the priority score of the data block corresponding to the local advertisement data in the storage space, the controller is further configured to:

[0025] Obtaining access frequency corresponding to the local advertising data;

[0026] Obtaining a resource type weight corresponding to the local advertisement data;

[0027] A product operation is performed on the access frequency and the resource type weight to obtain a popularity value corresponding to the local advertisement data.

[0028] The above technical solution has the following advantages or beneficial effects: the popularity value obtained by multiplying the two factors of access frequency and resource type weight takes into account both the actual usage of the advertisement and its business value, and can more accurately evaluate the comprehensive popularity of the advertising data.

[0029] In some embodiments, the controller calculates the priority score of the data block corresponding to the local advertisement data in the storage space, and is specifically configured to:

[0030] Obtaining a first weight corresponding to the heat value;

[0031] Reading the current time, and obtaining the last access time corresponding to the local advertisement data from the local advertisement cache index table;

[0032] Performing a difference operation on the current time and the last access time to obtain a time factor;

[0033] Obtaining a second weight corresponding to the time factor;

[0034] Performing a product operation on the first weight and the heat value to obtain a first value;

[0035] performing a product operation on the second weight and the time factor to obtain a second value;

[0036] A difference operation is performed on the first value and the second value to obtain a priority score of the data block corresponding to the local advertisement data.

[0037] The above technical solution has the following advantages or beneficial effects: by comprehensively considering the heat and time factors of advertising data through the dual factors of heat and time, on the one hand, data blocks with high heat are retained, ensuring the priority delivery and rapid response of high-frequency and popular advertisements; on the other hand, by introducing the time factor, data blocks that have not been accessed for a long time can be eliminated in time to prevent storage space from being occupied by idle data, effectively improving the utilization rate of storage space, and also helping to improve the cache hit rate and optimize the overall performance of advertising delivery and playback.

[0038] In some embodiments, when the priority score is lower than a score threshold, the controller removes the corresponding data block from the storage space, and is specifically configured to:

[0039] Obtaining the priority score;

[0040] comparing the priority score to the score threshold;

[0041] When the priority score is lower than the score threshold, the data block corresponding to the local advertisement data is removed from the hot-spot space of the memory and / or the cold-spot space of the disk.

[0042] The above technical solution has the following advantages or beneficial effects: By promptly removing data blocks with low priority scores, it effectively prevents excessive storage space usage, avoiding problems such as the inability to cache new ad data or ad playback delays due to insufficient storage space. Furthermore, a priority score-based elimination strategy ensures stable storage and fast access to high-priority ad data, further improving cache hit rates, ensuring efficient and smooth ad delivery, and enhancing the stability and reliability of the entire ad delivery and video start acceleration system.

[0043] In some embodiments, after the step of comparing the cloud advertising data with the local advertising cache index table, the controller is further configured to:

[0044] Obtaining a data identifier of the cloud advertising data; the data identifier is used to represent one of a new addition state, a removal state, and an update state of the cloud advertising data;

[0045] If the data identifier indicates the newly added state, determining that the cloud advertising data contains newly added advertising content, and adding the cloud advertising data to a download task list to cache the cloud advertising data in the local advertising cache index table;

[0046] If the data identifier indicates the removal state, deleting the corresponding node information in the local advertisement cache index table, and performing cache recovery on the storage space according to the deleted node information;

[0047] If the data identifier represents the update status, update information of the updated cloud advertisement data is obtained, and the local advertisement cache index table is updated according to the update information.

[0048] The above technical solution has the following advantages or beneficial effects: by accurately identifying and processing the addition, removal, and update status of cloud-based advertising data, the display device can ensure the timeliness, accuracy, and effectiveness of the local advertising cache, thereby providing data protection for key performance indicators such as fast playback of advertising data, improved cache hit rate, and storage space optimization.

[0049] In some embodiments, the controller obtains the cache status of the to-be-played advertisement in the storage space, and is specifically configured to:

[0050] Identifying whether the advertisement to be played is stored in the local advertisement cache index table;

[0051] If the advertisement to be played is stored in the local advertisement cache index table, determining that the cache status of the advertisement to be played in the local advertisement cache index table is a cached status;

[0052] If the advertisement to be played is not stored in the local advertisement cache index table, it is determined that the cache status of the advertisement to be played in the local advertisement cache index table is a cache-non-existent status.

[0053] The above technical solution has the following advantages or beneficial effects: the display device can quickly query and return the cache status of the advertisement to be played based on the local advertisement cache index table, including detailed information such as whether the advertisement data has been fully cached, the storage location of the cached data block, the integrity of the data block, and the last update time. After receiving the cache status information, the display device can analyze and process this information to provide a data basis for subsequently determining the appropriate playback method.

[0054] In some embodiments, the controller determines a playback mode of the advertisement to be played according to the buffer status, and controls the display to play the advertisement to be played according to the playback mode, and is specifically configured to:

[0055] If the cache status of the advertisement to be played in the local advertisement cache index table is a cached state, reading the cache data corresponding to the advertisement to be played in the storage space, and playing the advertisement to be played based on the cache data; and sending a first download request to the server to request the server to download the remaining data blocks of the advertisement to be played except the cached data according to the first download request; and controlling the display to play the remaining data blocks during the process of downloading the remaining data blocks;

[0056] When the cache status of the advertisement to be played in the local advertisement cache index table is a non-cache status, a second download request is sent to the server to apply to the server for downloading the complete advertisement to be played according to the second download request; and, during the process of downloading the advertisement to be played, the display is controlled to play the advertisement to be played.

[0057] The above technical solution has the following advantages or beneficial effects: When the ad to be played is cached in the local ad cache index table, the display device can quickly read the corresponding cached data to play the ad, significantly shortening the ad start time and achieving a fast ad response, both meeting the need for fast start and ensuring the integrity of the ad content. When the ad to be played is not cached in the local ad cache index table, the display device can download and play it simultaneously, providing complete playback of the ad data while reducing user waiting time.

[0058] In some embodiments, after controlling the display to play the advertisement in the playback mode, the controller is further configured to:

[0059] Monitoring changes in the cloud advertising data;

[0060] When the cloud advertising data changes, generating an update instruction;

[0061] The local advertisement cache index table is updated according to the update instruction.

[0062] The above technical solution has the following advantages or beneficial effects: through this real-time monitoring and synchronization mechanism, the local advertising cache index table can dynamically reflect the actual situation of the cloud advertising data, so that the locally cached advertising data is always highly consistent with the cloud data, thereby providing an accurate and up-to-date data basis for the precise delivery, efficient management and fast playback of advertisements.

[0063] In a second aspect, some embodiments of the present application provide a method for playing advertising data, which can be applied to the display device of the first aspect. The method includes:

[0064] Receiving cloud advertising data sent by the server, and comparing the cloud advertising data with the local advertising cache index table;

[0065] If the comparison result shows that the cloud advertising data contains new advertising content, determining a local storage space according to the new advertising content, and storing the new advertising content to obtain local advertising data;

[0066] Calculating a priority score of a data block corresponding to the local advertisement data in the storage space; the priority score is used to represent an access frequency of the local advertisement data in the data block;

[0067] detecting that the usage rate of the storage space exceeds a preset ratio and that the priority score is lower than a score threshold, removing the corresponding data block in the storage space;

[0068] In response to a play instruction of a to-be-played advertisement in the local advertisement data, obtaining a cache status of the to-be-played advertisement in the storage space;

[0069] A playing mode of the advertisement to be played is determined according to the buffer status, and the display is controlled to play the advertisement to be played according to the playing mode.

[0070] The above technical solution has the following advantages or beneficial effects: the method dynamically allocates storage locations according to the characteristics of advertising data, reduces memory usage and improves the access speed of key data; generates priority scores by calculating the access frequency, resource type weight and last access time of advertising data, and low-scoring data blocks are removed first when storage space is insufficient, ensuring the cache hit rate of high-frequency / popular advertisements; by downloading recent advertising data to the local computer in advance, real-time download delays during playback are avoided, large file advertisements are stored in blocks, and the cached parts are read first during playback, while the remaining data blocks are downloaded in the background, so as to achieve rapid playback of advertising data. The method also monitors changes in cloud advertising data, dynamically synchronizes local caches to ensure data timeliness, quickly queries the local index table before playing advertisements, and chooses direct playback or downloading and playing based on the completeness of the cache, thereby reducing waiting time and solving the problem of slow advertising playback.

[0071] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and a method for playing advertising data, the method including: dynamically allocating storage locations according to the characteristics of the advertising data, reducing memory usage and improving the access speed of key data; generating a priority score by calculating the access frequency, resource type weight and last access time of the advertising data, and removing low-scoring data blocks in priority when storage space is insufficient, thereby ensuring the cache hit rate of high-frequency / popular advertisements; avoiding real-time download delays during playback by downloading recent advertising data locally in advance, storing large file advertisements in blocks, and giving priority to reading the cached parts during playback, while downloading the remaining data blocks in the background, thereby achieving rapid start-up of advertising data. The method also monitors changes in cloud advertising data, dynamically synchronizes the local cache to ensure data timeliness, quickly queries the local index table before playing the advertisement, and selects direct playback or downloading and playing simultaneously based on the cache completeness, thereby reducing waiting time and solving the problem of slow advertising playback. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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 any creative work.

[0073] 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;

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

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

[0076] Figure 4 A flowchart of a method for playing advertisement data on a display device provided in some embodiments of the present application;

[0077] Figure 5 A schematic diagram of the timing of scheduling and sending advertisement data provided in some embodiments of the present application;

[0078] Figure 6 A schematic diagram of the structure of cloud advertising data provided in some embodiments of the present application;

[0079] Figure 7 A schematic diagram of the structure of a local advertisement cache index table provided in some embodiments of the present application;

[0080] Figure 8A schematic diagram of storage space division provided in some embodiments of the present application;

[0081] Figure 9 A schematic diagram of a flow chart of a display device determining a cache status of a to-be-played advertisement in a local advertisement cache index table provided in some embodiments of the present application;

[0082] Figure 10 A schematic diagram of a system structure for executing an advertisement data playback method on a display device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0083] The following embodiments are described in detail, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numbers in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following embodiments are not intended to represent all possible implementations consistent with the present application. They are merely examples of systems and methods consistent with certain aspects of the present application, as detailed in the claims.

[0084] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.

[0085] In the specification and claims of this application and the accompanying drawings, the terms "first," "second," "third," etc. are used to distinguish similar or similar objects or entities, and are not necessarily intended to limit a particular order or sequence, unless otherwise noted. It should be understood that the terms used in this manner are interchangeable under appropriate circumstances.

[0086] The terms "comprise," "include," and "have," 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.

[0087] 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 functionality associated with that element.

[0088] In the embodiments of the present application, the display device 200 generally refers to a device capable of displaying images and processing data. 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.

[0089] Figure 1This 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, a user can operate the display device 200 through touch operation, the mobile terminal 300, and the control device 100. The control device 100 is used to receive operation instructions input by the user and convert the operation instructions into control instructions that the display device 200 can recognize and respond to. For example, the control device 100 can be a remote control, a stylus pen, a handle, etc.

[0090] The mobile terminal 300 can function as a control device for performing human-computer interaction between a user and the display device 200. The mobile terminal 300 can also function as a communication device for establishing a communication connection with the display device 200 and exchanging data. In some embodiments, the mobile terminal 300 can install software applications with the display device 200, enabling connection and communication via a network communication protocol, enabling one-to-one control operations and data communication. Audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 for synchronized display.

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

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

[0093] 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 TV, Internet Protocol television (IPTV), etc.

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

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

[0096] In some embodiments, detector 230 is used to collect signals from the external environment or external interactions. For example, detector 230 may include a light receiver, such as a sensor for collecting ambient light intensity; or an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or a sound collector, such as a microphone, for receiving external sounds.

[0097] In some embodiments, the display 260 includes a display component for presenting images and a driver component for driving image display. The display 260 is configured to receive image signals output from the controller 250 for display. For example, the display 260 can be used to display video content, image content, menu control interface components, and user control UI interfaces.

[0098] In some embodiments, the communication device 220 is a component used to communicate with an external device or server 400 according to various communication protocol types. The display device 200 can be provided with multiple communication devices 220 depending on the supported communication methods. For example, if the display device 200 supports wireless network communication, the display device 200 can be provided with a communication device 220 including WiFi functionality. If the display device 200 supports Bluetooth connection communication, the display device 200 needs to be provided with a communication device 220 including Bluetooth functionality.

[0099] The communication device 220 can establish a communication connection between the display device 200 and an external device or server 400 via a wireless or wired connection. A wired connection can connect the display device 200 to an external device via a data cable, an interface, or other components. A wireless connection can connect the display device 200 to an external device via a wireless signal or wireless network. The display device 200 can establish a connection with an external device directly or indirectly through a gateway, router, or connection device.

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

[0101] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 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.

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

[0103] In some embodiments, the audio output device 270 may be a local speaker of the display device 200, or an external audio output device connected to the display device 200. For the external audio output device connected to the display device 200, the display device 200 may further be provided with an external audio output terminal, through which the audio output device may be connected to the display device 200 to output the sound of the display device 200.

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

[0105] To facilitate user interaction, in some embodiments, the display device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources of the display device 200. The operating system can control the display device to provide a user interface. For example, the operating system can directly control the display device to provide a user interface, or it can provide a user interface by running an application program. The operating system also allows the user to interact with the display device 200.

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

[0107] The operating system can be divided into different modules or layers according to the functions implemented, e.g. Figure 3 As shown, in some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (abbreviated as "application layer"), the middleware layer, and the hardware layer.

[0108] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run applications and interact with the user based on the applications. The application layer can host at least one application, which can include built-in window programs, system settings programs, clock programs, and the like, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the examples above.

[0109] The framework layer provides applications with an application programming interface (API) and programming framework. The application framework layer includes predefined functions. The application framework layer acts as a processing center, determining the actions taken by applications in the application layer. Through the API, applications can access system resources and services during execution.

[0110] like Figure 3 As shown, Figure 3 Some embodiments of this 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.

[0111] The application layer mainly includes commonly used applications on the TV and the application framework. Common applications are mainly browser-based applications, such as HTML5 apps, and native apps.

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

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

[0114] The middleware layer includes various TV protocols, multimedia protocols, and system components. Middleware uses the basic services (functions) provided by system software to connect various parts of the application system or different applications on the network, enabling resource and function sharing.

[0115] The hardware layer primarily includes the Hardware Abstraction Layer (HAL) interface, hardware, and drivers. The HAL interface is a unified interface for all TV chipsets, with each chip implementing its own logic. Drivers primarily include audio drivers, display drivers, Bluetooth drivers, camera drivers, Wi-Fi drivers, USB drivers, HDMI drivers, sensor drivers (such as fingerprint sensors, temperature sensors, and pressure sensors), and power drivers.

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

[0117] Display device 200 is an intelligent device capable of presenting a user interface and supporting user interaction. For example, a smart TV is based on Internet application technology, features an open operating system and chip, and boasts an open application platform. It enables two-way human-computer interaction and integrates multiple functions, including audio, video, entertainment, and data, to meet diverse and personalized user needs. The display device can present different media recommendation screens, each containing multiple media options for the user to select and play.

[0118] In some embodiments, the television can play various video media and can also play advertising data. Server 400, such as a cloud server, can provide a data source for advertising data and send the advertising data to the television to achieve accurate advertising delivery and playback.

[0119] While playing videos and other media, the TV can receive advertising data from cloud servers and perform corresponding playback operations. The cloud server is responsible for sending the cloud advertising data to the TV to display the advertising content. During this advertising delivery process, the TV uses a specific caching mode to store advertising data and manages the cached advertising content based on a specific elimination algorithm.

[0120] For example, during current ad delivery, the single caching model used by TVs results in excessive memory usage when storing large files. This is primarily due to a lack of flexible caching strategies tailored to the characteristics of different data and usage scenarios. This results in excessive memory usage when processing large ad files, impacting overall system efficiency. Secondly, the elimination algorithm considers only a single dimension, time or popularity, resulting in a low cache hit rate. This is because it fails to comprehensively consider the various attributes of ad data and factors such as user behavior, making it impossible to accurately determine which ad data truly needs to be retained or cached first. Consequently, cache resources are not properly utilized, frequently requiring ad data to be re-downloaded. Furthermore, due to a lack of ad schedule awareness, ad content still needs to be downloaded in real time during the start phase, resulting in slow ad insertion and long user wait times. Furthermore, there is no awareness of ads removed from the ad schedule, preventing the timely release of system resources occupied by expired ads. Furthermore, the lack of differentiation between memory and disk storage characteristics makes critical data susceptible to loss. Because storage locations are not properly allocated based on factors such as data importance and frequency of use, critical data cannot be effectively protected in the event of anomalies, impacting the stability and reliability of ad delivery.

[0121] In summary, the current advertising delivery process will cause problems such as ad loading delays, long user waiting times, and low cache hit rates, which in turn affect the ad playback speed.

[0122] Based on the above scenario, some embodiments of the present application provide a display device 200, which includes a display 260, a communication device 220, and a controller 250. The display 260 is configured to display a user interface, the communication device 220 is configured to establish a communication connection with a server 400, and the server 400 stores cloud-based advertising data. The controller 250 causes the display device 200 to execute a method for playing advertising data by running specific computer-executable instructions.

[0123] In order to facilitate the understanding of the technical solutions in some embodiments of the present application, each step is described in detail below in conjunction with some specific embodiments and drawings. Figure 4 A flow chart of a method for playing advertisement data on a display device provided in some embodiments of the present application, such as Figure 4 As shown, in some embodiments, when the display device 200 executes the method for playing advertisement data, the following steps may be included:

[0124] Step S1: the display device 200 receives cloud advertising data sent by the server 400, and compares the cloud advertising data with the local advertising cache index table.

[0125] Figure 5 A timing diagram of the scheduling of advertisement data delivery provided in some embodiments of the present application, such as Figure 5 As shown, in some embodiments, to achieve a complete closed-loop process from the cloud sending advertising schedule data to the display device terminal for playback, the display device 200 may be deployed with an advertising management module, a cache management module, a data download module, and a playback module. The display device 200 may establish a stable data connection channel with the cloud server via the communication device 220 to receive cloud advertising data containing rich advertising information sent by the server.

[0126] Figure 6 This is a schematic diagram of the structure of cloud advertising data provided in some embodiments of the present application, such as Figure 6 As shown, in some embodiments, the display device 200 can be connected to the cloud advertising scheduling management platform in the cloud server. The cloud advertising data can include key information such as the unique identification ID of the advertisement, the network download address URL of the advertisement data, the size of the advertisement file, the type of advertisement (such as picture, video, etc.), the weight of the advertisement data (the larger the weight value, the higher the priority of the advertisement data), and the schedule time (such as the advertisement data is planned to be delivered in the next week). These data can lay the foundation for subsequent advertisement data delivery and caching operations. Therefore, the advertisement schedule can reflect the increase or decrease or change events of the cloud advertisement data sent by the cloud to the TV end. Afterwards, the TV end can update the local advertisement data accordingly.

[0127] In some embodiments, the display device 200 can obtain in advance a list of advertisements that will be played in the near future (e.g., the past day) and preload them during off-peak hours. By obtaining the recent advertisement list in advance, the display device 200 can know in advance the content of the advertisements that will be delivered and their scheduling information, including the type, size, priority, etc. of the advertisements. This allows the system to allocate and schedule resources in advance based on the attributes of the advertisements and the preset delivery strategy, ensuring that the advertisements can be delivered accurately at the scheduled time, avoiding delivery delays caused by temporary downloading and loading of advertisement data, and improving the timeliness and accuracy of advertisement delivery.

[0128] In some embodiments, the display device 200 may retrieve a local advertisement cache index table, which records in detail various information of the locally stored advertisement data. Figure 7 A schematic diagram of the structure of the local advertisement cache index table provided in some embodiments of the present application, such as Figure 7As shown, the local advertising cache index table is mainly used by the TV side to record the index information and details of all cached advertising data, for example, the detailed information of the advertising data resources in the corresponding advertising schedule such as Resource1, Resource2, Resource3, etc. (including ID, URL, Size, Type, Priority, etc.), which are uniquely identified and indexed by the ID of the advertising data. In addition, the local advertising cache index table also contains a DataList for representing the storage location of the data block. The DataList can be an index for caching advertising data in blocks. The DataList can also contain header data Header and node Data. Each Data node contains a unique index ID of the data block, a size range of the data block dataRange, such as 0 to 1MB; the storage location of the data block (if the storage location is memory, it is the memory address, if the storage location is disk, it is the file path) storageLocation, the most recent access time accessTime, the cumulative number of accesses accessCount and the resource type weight Priority.

[0129] In some embodiments, after determining the cloud advertising data and the local advertising cache index table, the display device 200 can compare the cloud advertising data with the advertising data in the local advertising cache index table item by item. For example, the consistency and difference between the two in terms of advertising content, version, parameters, etc. can be analyzed, so as to accurately identify the new, updated or removed advertising content in the cloud advertising data compared with the local cache. In this way, by receiving the latest advertising data from the cloud and comparing it with the local cache index in real time, it can be ensured that the display device 200 can grasp the dynamic changes of the advertising data in the first place, and provide a data basis for subsequent targeted advertising cache updates, optimizations and efficient playback operations, so that the display device 200 can keep up with the adjustment of the cloud advertising delivery strategy and ensure the timeliness and accuracy of advertising delivery.

[0130] In some embodiments, after the display device 200 compares the cloud advertising data with the local advertising cache index table, the following process can be executed. The display device 200 can obtain the data identifier of the cloud advertising data, and the data identifier is used to represent one of the new status, removed status, and updated status of the cloud advertising data; if the data identifier represents the new status, it is determined that there is new advertising content in the cloud advertising data, and the cloud advertising data is added to the download task list to cache the cloud advertising data in the local advertising cache index table; if the data identifier represents the removed status, the corresponding node information in the local advertising cache index table is deleted, and the storage space is cached according to the deleted node information; if the data identifier represents the updated status, the updated information of the cloud advertising data is obtained, and the local advertising cache index table is updated according to the updated information.

[0131] Exemplary, continue to combine Figure 5 , the advertising management module can receive the cloud advertising data issued by the cloud advertising scheduling management platform, and parse the cloud advertising data to determine its update status. When the data identifier indicates that the cloud advertising data is in a new state, it is determined that there is new advertising content in the cloud, and it can be added to the download task list and cached in the local advertising cache index table. In other words, if there is new advertising scheduling content, new node information can be added to the local advertising cache index table, and a download task list can be generated. The advertising data added to the download task list may not be played immediately, such as idle sequential download can be started. In this way, the local advertising cache can introduce new advertising materials in a timely manner and enrich advertising delivery resources. The advertising data stored in the local advertising cache index table can be the advertising scheduling data previously downloaded from the cloud server, and the data stored in the index table is not necessarily complete. The corresponding advertising data can be completed later during the playback process. Therefore, the pre-cached advertising data may only be a fragment.

[0132] When the data identifier indicates that the cloud advertising data is in a removed state, the display device 200 can delete the corresponding node information in the local advertising cache index table, and perform cache recovery on the storage space based on the deleted node information. For example, the display device 200 can retrieve the local advertising cache index table, and find the Resource numbered IDx, delete the Resource node and delete all resources (including storage space, such as memory and disk) associated with it in the DataList. That is, if there is removed advertising schedule content, the display device 200 will delete the node information in the cache index table and perform cache recovery based on the cache index table. In this way, it can ensure that the locally cached advertising data is highly consistent with the cloud advertising delivery strategy, and promptly clean up advertising content that is no longer needed to be delivered, avoiding outdated or invalid advertising data in the local cache, and preventing interference with subsequent advertising delivery and cache management.

[0133] When the data identifier indicates that the cloud advertising data is in an updated state, the display device 200 can obtain the updated information of the cloud advertising data and synchronously update the local advertising cache index table according to the updated information. For example, the display device 200 can retrieve the local advertising cache index table, find the Resource numbered IDx, and update the weight Priority of the node (the higher the weight, the less likely the data block corresponding to the advertising data will be eliminated). In this way, it can ensure that the locally cached advertising content is consistent with the latest version released by the cloud, and timely correct the erroneous information in the advertisement, update the advertising material or adjust the advertising delivery parameters, etc., to ensure that users obtain accurate, complete and current advertising content that complies with the current delivery strategy when watching advertisements.

[0134] By accurately identifying and processing the addition, removal, and update status of cloud advertising data, the display device 200 can ensure the timeliness, accuracy, and effectiveness of the local advertising cache, thereby providing data protection for key performance indicators such as fast playback of advertising data, improved cache hit rate, and storage space optimization.

[0135] In some embodiments, the display device 200 may monitor changes in cloud advertising data, generate an update instruction when the cloud advertising data changes, and update the local advertising cache index table according to the update instruction.

[0136] For example, the display device 200 can monitor changes in cloud advertising data and generate update instructions when the data changes, and then update the local advertising cache index table based on the instructions to ensure that the local advertising cache system is aware of the latest dynamics of the cloud advertising data in a timely manner, including status changes such as addition, removal, and update. Through this real-time monitoring and synchronization mechanism, the local advertising cache index table can dynamically reflect the actual situation of the cloud advertising data, so that the locally cached advertising data is always highly consistent with the cloud data, thereby providing an accurate and up-to-date data basis for the precise delivery, efficient management, and fast playback of advertisements. After step S1 is completed, the following step S2 can be executed.

[0137] Step S2: When the comparison result shows that there is new advertising content in the cloud advertising data, the display device 200 determines a local storage space according to the new advertising content, and stores the new advertising content to obtain local advertising data.

[0138] When the comparison result clearly shows that there is new advertising content in the cloud advertising data, the display device 200 can start planning a suitable storage location in the local storage space based on the specific attribute information of the new advertising content.

[0139] See also Figure 8In some embodiments, the storage space may include a memory hot zone space and a disk cold zone space. The display device 200 determines the local storage space based on the newly added advertising content, and stores the newly added advertising content to obtain local advertising data, which can be achieved in the following manner. The display device 200 can obtain the data capacity of the newly added advertising content, and when the data capacity is less than or equal to the capacity threshold, store all the newly added advertising content in the storage space to obtain local advertising data; when the data capacity is greater than the capacity threshold, obtain the weight factor of the newly added advertising content, and in response to the weight factor being greater than the weight threshold, store the video file header of the newly added advertising content in the disk cold zone space to obtain local advertising data; in response to the weight factor being less than or equal to the weight threshold, store the non-header data of the newly added advertising content in the memory hot zone space to obtain local advertising data.

[0140] For example, for new advertising content with a data capacity less than or equal to the capacity threshold, all of it is stored in the storage space, and complete local advertising data can be obtained. This processing method is mainly for some smaller advertising files, such as picture ads or small video ads. The complete storage of these small advertising files can ensure that they can be quickly loaded and responded to during playback without the need for additional network requests or data splicing operations, thereby improving the efficiency of advertising delivery and user experience. For example, some simple picture ads usually have a file size of less than a few MB. After being fully stored, they can be displayed instantly when the user triggers playback, reducing the user's waiting time. For example, small files such as picture ads (such as less than 3MB) can be stored in full to ensure instant response to high-frequency access materials.

[0141] When the data capacity of the newly added advertising content exceeds the capacity threshold, differentiated storage processing is further performed based on its weight factor. For important advertisements whose weight factors are greater than the weight threshold, the video file header is stored in the cold zone of the disk. The video file header usually contains key index information (such as the moov box of MP4). Storing it in the cold zone of the disk can ensure that the key index data can be quickly read during playback, thereby achieving rapid start of the advertisement. At the same time, since the cold zone of the disk has the characteristic of data persistence, even if the device loses power, this important index data will not be lost, which can ensure the reliability of advertisement playback. In addition, the non-header data of the newly added advertising content can be stored in the hot zone of the memory. The high-speed reading characteristics of the hot zone of the memory enable this non-header data to be quickly loaded during playback, improving the smoothness and overall performance of advertisement playback. For example, for large files such as video advertisements, they can be stored in blocks (for example, blocks of 3MB), and the header containing video index information (such as the MP4 moov box) is stored first to improve resource utilization. The display device 200 can establish a block index table in the block cache mode to support on-demand loading of specified data blocks. This differentiated storage strategy of storing small files intact and large files in blocks fully utilizes the different advantages of memory and disk to achieve the rational allocation and utilization of storage resources, ensuring that advertisements can be started quickly and the playback process is smooth.

[0142] Continue to combine Figure 5 That is, when there is newly added advertising data, the display device 200, such as the cache management module, can process the download task sequentially and determine whether to cache the entire data or cache the data in blocks according to the resource type of the advertising data, such as the data capacity and weight. The data download module can start downloading the advertising data according to the resource URL address and the data range to be downloaded, and provide feedback to the cache management module when the download is complete. When storing advertising data, the data capacity and weight factor can be combined to determine whether to store it in memory or on disk. Afterwards, the local advertising cache index table can be updated, including the last access time, number of accesses, etc. By combining the data capacity and weight factor of the advertising content, the display device can reasonably allocate the storage location of the newly added advertising content in the hot area of ​​memory and the cold area of ​​disk, giving full play to the high-speed reading and writing advantages of memory and the large-capacity persistent storage advantages of disk, and improving the overall utilization of storage resources. For important advertisements with high weight, ensure that their key parts (such as video file headers) are properly stored, and at the same time, reasonably arrange the storage of non-header data in memory to avoid waste of storage resources. At the same time, this storage decision mechanism based on data capacity and weight factor enables the system to dynamically adapt to different types of advertising content and advertising delivery strategies. When new advertising content arrives, the system can automatically adjust the storage method and location based on its characteristics and importance without manual intervention. After step S2 is completed, the following step S3 can be executed.

[0143] Step S3: the display device 200 calculates the priority score of the data block corresponding to the local advertisement data in the storage space; the priority score is used to represent the access frequency of the local advertisement data in the data block.

[0144] In some embodiments, the display device 200 can calculate the priority scores of the data blocks corresponding to the local advertising data in the storage space based on a preset dual-factor dynamic elimination algorithm of heat and time, and accurately calculate the priority score of each data block, thereby providing a quantitative basis for subsequent data block elimination decisions.

[0145] In some embodiments, before calculating the priority score of the data block corresponding to the local advertising data in the storage space, the display device 200 can obtain the access frequency corresponding to the local advertising data and the resource type weight corresponding to the local advertising data, and then perform a multiplication operation on the access frequency and the resource type weight to obtain the heat value corresponding to the local advertising data.

[0146] For example, by obtaining the access frequency and resource type weight of local advertising data and multiplying the two to obtain a heat value, the popularity and importance of the advertising data in the local area can be comprehensively reflected. Among them, the resource type weight can be pre-configured on the server side. For example, the resource type weight of paid conversion advertising = 2, and the resource type weight of ordinary advertising = 1, then the heat value corresponding to the local advertising data = access frequency (number of times) × resource type weight. In this way, the access frequency can reflect the number of times the advertising data is actually accessed by users, and is a direct indicator of the popularity of the advertisement; the resource type weight gives it different priorities according to the nature of the advertisement (such as paid conversion advertising, ordinary advertising, etc.), reflecting the relative importance of the advertisement in the business. The heat value obtained by multiplying these two factors takes into account both the actual usage of the advertisement and its business value, and can more accurately evaluate the comprehensive heat of the advertising data.

[0147] In some embodiments, when the display device 200 calculates the priority score of the data block corresponding to the local advertising data in the storage space, it can first obtain the first weight corresponding to the heat value, read the current time, and obtain the last access time corresponding to the local advertising data from the local advertising cache index table; perform a difference operation on the current time and the last access time to obtain a time factor; then obtain a second weight corresponding to the time factor, perform a product operation on the first weight and the heat value to obtain a first numerical value; perform a product operation on the second weight and the time factor to obtain a second numerical value; perform a difference operation on the first numerical value and the second numerical value to obtain the priority score of the data block corresponding to the local advertising data.

[0148] Exemplarily, the calculation formula for the priority score can be: advertising data priority score = first weight α × popularity value - second weight β × (current time - last access time). Among them, the popularity value can be obtained by multiplying the access frequency (number of times) by the resource type weight (for example: the weight of paid conversion advertising is 2, and the weight of ordinary advertising is 1), which is used to quantify the popularity of advertising data. α and β are weight coefficients that can be dynamically configured and adjusted in the cloud according to actual operational needs to flexibly balance the proportion of popularity and time factors in the priority score calculation. The display device obtains dynamic information such as the access time and number of accesses of the data block in real time, and combines the weight coefficient parameters received from the cloud to accurately calculate the priority score of each data block, thereby providing a quantitative basis for subsequent data block elimination decisions. By comprehensively considering the popularity and time factors of advertising data, the popularity of high-frequency data blocks is retained, ensuring the priority delivery and rapid response of high-frequency, popular ads. Furthermore, by introducing the time factor, data blocks that have not been accessed for a long time can be promptly eliminated, preventing storage space from being occupied by idle data, effectively improving storage space utilization, and also helping to improve cache hit rates and optimize the overall performance of ad delivery and playback. After step S3 is completed, step S4 can be executed.

[0149] Step S4: when it is detected that the usage rate of the storage space exceeds a preset ratio and the priority score is lower than a score threshold, the display device 200 removes the corresponding data block in the storage space.

[0150] After completing the priority score calculation, the display device 200 can monitor the usage of the local storage space in real time. When it is detected that the usage rate of the storage space exceeds a preset ratio, such as a 90% threshold, the data block elimination mechanism can be activated. In some embodiments, the display device 200 can remove the corresponding data blocks in the storage space as follows. The display device 200 can first obtain the priority score and compare the priority score with the score threshold. If the priority score is lower than the score threshold, the data block corresponding to the local advertising data is removed from the hot memory space and / or the cold disk space.

[0151] Exemplary, continue to combine Figure 5, the display device 200 can check the cache space of the disk and memory. If the space is about to be full, the priority scores of the data blocks can be recalculated and arranged. When performing data cleaning, the data blocks with the lowest scores can be deleted to free up the corresponding storage space. For example, the score threshold can be set to 20%. The display device 200 can filter out the 20% data blocks with the lowest scores in order from low to high based on the calculated priority scores, and perform removal operations to release the corresponding storage space. That is, the elimination strategy of the data blocks can be that when the preset cache usage rate of the storage space exceeds 90%, the 20% data blocks with the lowest scores are eliminated according to priority. When the advertising data resources are removed from the schedule, the data blocks are also automatically removed from the hot zone of the memory and the cold zone of the disk. In this way, by timely removing the data blocks with low priority scores, it is possible to effectively prevent the excessive occupation of storage space, and avoid problems such as the inability to cache new advertising data or delays in advertising playback due to insufficient storage space. At the same time, the elimination strategy based on priority scores can ensure stable storage and fast access to high-priority ad data, further improving cache hit rates, ensuring efficient and smooth ad delivery, and improving the stability and reliability of the entire ad delivery and video start acceleration system. After step S4 is completed, step S5 can be executed.

[0152] Step S5: In response to the play instruction of the advertisement to be played in the local advertisement data, the display device 200 obtains the cache status of the advertisement to be played in the storage space.

[0153] When the time point of the advertisement to be played is reached, the display device 200 can immediately respond to the play instruction of the advertisement to be played and obtain the cache status information of the advertisement to be played in the local storage space. In some embodiments, the display device 200 can obtain the cache status of the advertisement to be played in the storage space in the following manner. Figure 9 The display device 200 can first identify whether there are advertisements to be played stored in the local advertisement cache index table. If there are advertisements to be played stored in the local advertisement cache index table, it can be determined that the cache status of the advertisements to be played in the local advertisement cache index table is a cached status. If there are no advertisements to be played stored in the local advertisement cache index table, it can be determined that the cache status of the advertisements to be played in the local advertisement cache index table is a cached status that does not exist.

[0154] For example, the cache management module can quickly query and return the cache status of the advertisement to be played based on the local advertisement cache index table, including detailed information such as whether the advertisement data has been fully cached, the storage location of the cached data block (hot memory area or cold disk area), the integrity of the data block, and the last update time. After receiving the cache status information, the display device 200, such as the playback module, can analyze and process this information to provide a data basis for subsequently determining the appropriate playback method. After step S5 is completed, step S6 can be executed.

[0155] Step S6: the display device 200 determines a playing mode for the advertisement to be played according to the buffer status, and controls the display to play the advertisement to be played according to the playing mode.

[0156] After obtaining the cache status of the advertisement to be played, the display device 200 can determine the corresponding playback mode of the advertisement to be played based on the cache status information. In some embodiments, the display device 200 determines the playback mode of the advertisement to be played based on the cache status, and controls the display to play the advertisement to be played according to the playback mode, which can be achieved in the following manner. In the case that the cache status of the advertisement to be played in the local advertisement cache index table is a cached state, the display device 200 can read the cached data corresponding to the advertisement to be played in the storage space, and play the advertisement to be played based on the cached data; and, send a first download request to the server to apply to the server for downloading the remaining data blocks of the advertisement to be played except the cached data according to the first download request; in the process of downloading the remaining data blocks, control the display to play the remaining data blocks. In the case that the cache status of the advertisement to be played in the local advertisement cache index table is a cached state, send a second download request to the server to apply to the server for downloading the complete advertisement to be played according to the second download request; and, in the process of downloading the advertisement to be played, control the display to play the advertisement to be played.

[0157] For example, when the advertisement to be played is in a cached state in the local advertisement cache index table, the display device 200 can quickly read the corresponding cached data to play the advertisement. This playback method based on cached data can significantly shorten the start time of the advertisement and achieve a fast response of the advertisement. For example, for some advertisements that have pre-cached video header information, the user can see the advertisement screen almost instantly, which greatly improves the user experience. At the same time, the display device 200 can send a first download request to the server to apply for downloading the remaining data blocks of the advertisement to be played except for the cached data. In the process of downloading the remaining data blocks, the display is controlled to continue playing the cached parts, which can ensure the continuity of the advertisement playback. As the remaining data blocks are downloaded and loaded one after another, the advertisement data can be played completely, which not only meets the demand for fast start-up, but also ensures the integrity of the advertisement content. If the advertisement to be played does not have a cached state in the local advertisement cache index table, the display device 200 sends a second download request to the server to apply for downloading the complete advertisement to be played. In this case, the display device 200 controls the display to play part of the downloaded content during the process of downloading the advertisement to be played, which is similar to the streaming media playback technology, so that the advertisement can be played instantly during the download process without waiting for the entire advertisement file to be downloaded, thereby reducing the user's waiting time and improving the efficiency of advertisement playback. In this way, when the advertisement to be played is in a cache state in the local advertisement cache index table, the display device can quickly read the corresponding cache data to play the advertisement, significantly shortening the start time of the advertisement and achieving a fast response of the advertisement, which not only meets the demand for fast start, but also ensures the integrity of the advertisement content. When the advertisement to be played is not in a cache state in the local advertisement cache index table, the display device 200 can download and play at the same time, while providing complete playback of the advertisement data, reducing the user's waiting time.

[0158] In other words, display device 200 can flexibly determine the playback mode based on the cache status, fully leveraging the advantages of local caching, significantly shortening the ad start time, and effectively improving the user viewing experience. For cached ads, fast and efficient playback is achieved, reducing user waiting time. Furthermore, for uncached or partially cached ads, smooth viewing is ensured, avoiding playback failures due to cache misses. This improves the overall stability and reliability of the ad delivery and playback system, and enhances user satisfaction with the display device's ad playback capabilities.

[0159] Figure 10 A schematic diagram of a system structure in which a display device according to some embodiments of the present application performs a method for playing advertisement data is provided. Figure 10 As shown, Figure 10In the illustrated system structure, the advertising scheduling management platform is the backend system of the cloud server, supporting advertising operations and maintenance to schedule and deliver advertisements according to the needs of different markets and customer groups. The display device 200 is deployed with the following modules: the advertising management module, which is the module on the TV side responsible for interacting with the cloud. It is responsible for obtaining advertising schedules and creating different advertising requirements based on advertising categories for pre-caching by the cache management module; the cache management module, which is the module on the TV side responsible for cache data management, issues advertising cache tasks based on advertising schedules and coordinates the migration and elimination of data blocks in the memory hot zone and disk cold zone; the data download module, which is the module on the TV side responsible for network data download, accepts download tasks from the cache management module and completes network data downloads; the memory hot zone and disk cold zone are the storage media for the TV side cache, with memory having faster access speeds and disk providing persistent storage; the playback module, which is the player on the TV side, is responsible for playing advertisement content. When playing an advertisement, it preferentially obtains the advertisement cache information from the cache management module. If a cache hit is found, it reads the data that can support fast playback from the buffer and simultaneously downloads the remaining data not in the cache to complete the complete playback of the advertisement.

[0160] It can be seen from the above technical solution that the present application provides a display device 200, which receives cloud advertising data sent by a server, and compares the cloud advertising data with a local advertising cache index table; when the comparison result shows that there is new advertising content in the cloud advertising data, determines the local storage space according to the new advertising content, and stores the new advertising content to obtain local advertising data; calculates the priority score of the data block corresponding to the local advertising data in the storage space; detects that the usage rate of the storage space exceeds a preset ratio, and when the priority score is lower than the score threshold, removes the corresponding data block in the storage space; responds to the play instruction of the advertisement to be played in the local advertising data, obtains the cache status of the advertisement to be played in the storage space; determines the play mode of the advertisement to be played according to the cache status, and controls the display to play the advertisement to be played according to the play mode. The display device 200 dynamically allocates storage locations based on the characteristics of the advertising data (such as size and weight), which can reduce memory usage and improve the access speed of key data; by calculating the access frequency, resource type weight and last access time of the advertising data, a priority score is generated, and low-scoring data blocks are removed first when storage space is insufficient, which can ensure the cache hit rate of high-frequency / popular advertisements; by downloading recent advertising data to the local in advance, real-time download delays during playback are avoided, large file advertisements are stored in blocks, and the cached part is read first during playback, while the remaining data blocks are downloaded in the background, so that the advertising data can be quickly started. The display device 200 can also monitor changes in cloud advertising data (addition / removal / update), dynamically synchronize local caches to ensure data timeliness, quickly query the local index table before playing the advertisement, and choose to play directly or download and play at the same time according to the cache completeness, thereby reducing waiting time and solving the problem of slow advertising playback.

[0161] Based on the above display device 200, some embodiments of the present application further provide a method for playing advertising data, which can be applied to the display device 200 in the above embodiment. In some embodiments, the method may include the following:

[0162] Receiving cloud advertising data sent by the server, and comparing the cloud advertising data with the local advertising cache index table;

[0163] If the comparison result shows that the cloud advertising data contains new advertising content, determining a local storage space according to the new advertising content, and storing the new advertising content to obtain local advertising data;

[0164] Calculating a priority score of a data block corresponding to the local advertisement data in the storage space; the priority score is used to represent an access frequency of the local advertisement data in the data block;

[0165] detecting that the usage rate of the storage space exceeds a preset ratio and that the priority score is lower than a score threshold, removing the corresponding data block in the storage space;

[0166] In response to a play instruction of a to-be-played advertisement in the local advertisement data, obtaining a cache status of the to-be-played advertisement in the storage space;

[0167] A playing mode of the advertisement to be played is determined according to the buffer status, and the display is controlled to play the advertisement to be played according to the playing mode.

[0168] The method dynamically allocates storage locations based on the characteristics of the advertising data, reducing memory usage and increasing access speeds for key data. Priority scores are generated by calculating the access frequency, resource type weight, and last access time of the advertising data. Low-scoring data blocks are removed first when storage space is insufficient, ensuring cache hit rates for high-frequency / popular ads. Delays in real-time downloads during playback are avoided by downloading recent advertising data locally in advance. Large file ads are stored in blocks, with the cached portion being read first during playback while the remaining data blocks are downloaded in the background, enabling rapid playback of the advertising data. The method also monitors changes in cloud-based advertising data, dynamically synchronizes the local cache to ensure data timeliness, and quickly queries the local index table before playing ads. Based on the completeness of the cache, direct playback or download-and-play is selected, reducing waiting time and addressing the issue of slow ad playback.

[0169] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention or certain portions of the embodiments.

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

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

Claims

1. A display device, characterized in that: include: a display configured to display a user interface; A communication device configured to establish a communication connection with a server; the server stores cloud advertising data; The controller is configured as: Receiving cloud advertising data sent by the server, and comparing the cloud advertising data with the local advertising cache index table; If the comparison result shows that the cloud advertising data contains new advertising content, determining a local storage space according to the new advertising content, and storing the new advertising content to obtain local advertising data; Calculating a priority score of a data block corresponding to the local advertisement data in the storage space; The priority score is used to represent the access frequency of the local advertisement data in the data block; detecting that the usage rate of the storage space exceeds a preset ratio and that the priority score is lower than a score threshold, removing the corresponding data block in the storage space; In response to a play instruction of a to-be-played advertisement in the local advertisement data, obtaining a cache status of the to-be-played advertisement in the storage space; A playing mode of the advertisement to be played is determined according to the buffer status, and the display is controlled to play the advertisement to be played according to the playing mode.

2. The display device according to claim 1, wherein The storage space includes a hot memory space and a cold disk space. The controller determines a local storage space according to the newly added advertisement content and stores the newly added advertisement content to obtain local advertisement data. The controller is specifically configured as follows: Obtaining the data capacity of the newly added advertisement content; When the data capacity is less than or equal to the capacity threshold, all the newly added advertisement contents are stored in the storage space to obtain local advertisement data; When the data capacity is greater than a capacity threshold, obtaining a weight factor of the newly added advertisement content; In response to the weight factor being greater than a weight threshold, storing the video file header of the newly added advertisement content in the cold space of the disk to obtain local advertisement data; In response to the weight factor being less than or equal to a weight threshold, the non-header data of the newly added advertisement content is stored in the memory hot zone space to obtain local advertisement data.

3. The display device according to claim 2, wherein Before the step of calculating the priority score of the data block corresponding to the local advertisement data in the storage space, the controller is further configured to: Obtaining access frequency corresponding to the local advertising data; Obtaining a resource type weight corresponding to the local advertisement data; A product operation is performed on the access frequency and the resource type weight to obtain a popularity value corresponding to the local advertisement data.

4. The display device according to claim 3, wherein The controller calculates the priority score of the data block corresponding to the local advertisement data in the storage space, and is specifically configured to: Obtaining a first weight corresponding to the heat value; Reading the current time, and obtaining the last access time corresponding to the local advertisement data from the local advertisement cache index table; Performing a difference operation on the current time and the last access time to obtain a time factor; Obtaining a second weight corresponding to the time factor; Performing a product operation on the first weight and the heat value to obtain a first value; performing a product operation on the second weight and the time factor to obtain a second value; A difference operation is performed on the first value and the second value to obtain a priority score of the data block corresponding to the local advertisement data.

5. The display device according to claim 2, wherein: The controller removes the corresponding data block from the storage space when the priority score is lower than the score threshold, and is specifically configured to: Obtaining the priority score; comparing the priority score to the score threshold; When the priority score is lower than the score threshold, the data block corresponding to the local advertisement data is removed from the hot-spot space of the memory and / or the cold-spot space of the disk.

6. The display device according to claim 1, wherein After the step of comparing the cloud advertising data with the local advertising cache index table, the controller is further configured to: Obtaining a data identifier of the cloud advertising data; the data identifier is used to represent one of a new addition state, a removal state, and an update state of the cloud advertising data; If the data identifier indicates the newly added state, determining that the cloud advertising data contains newly added advertising content, and adding the cloud advertising data to a download task list to cache the cloud advertising data in the local advertising cache index table; If the data identifier indicates the removal state, deleting the corresponding node information in the local advertisement cache index table, and performing cache recovery on the storage space according to the deleted node information; If the data identifier represents the update status, update information of the updated cloud advertisement data is obtained, and the local advertisement cache index table is updated according to the update information.

7. The display device according to claim 1, wherein The controller obtains the cache status of the to-be-played advertisement in the storage space, and is specifically configured to: Identifying whether the advertisement to be played is stored in the local advertisement cache index table; If the advertisement to be played is stored in the local advertisement cache index table, determining that the cache status of the advertisement to be played in the local advertisement cache index table is a cached status; If the advertisement to be played is not stored in the local advertisement cache index table, it is determined that the cache status of the advertisement to be played in the local advertisement cache index table is a cache-non-existent status.

8. The display device according to claim 7, wherein: The controller determines a playing mode of the advertisement to be played according to the buffer status, and controls the display to play the advertisement to be played according to the playing mode, and is specifically configured as follows: When the cache status of the advertisement to be played in the local advertisement cache index table is a cached state, reading cache data corresponding to the advertisement to be played in the storage space, and playing the advertisement to be played based on the cache data; and, sending a first download request to a server to apply to the server for downloading the remaining data blocks of the advertisement to be played except the buffered data according to the first download request; and controlling the display to play the remaining data blocks during the process of downloading the remaining data blocks; When the cache status of the advertisement to be played in the local advertisement cache index table is a non-cache status, a second download request is sent to the server to apply to the server for downloading the complete advertisement to be played according to the second download request; and, during the process of downloading the advertisement to be played, the display is controlled to play the advertisement to be played.

9. The display device according to claim 1, wherein After the step of controlling the display to play the advertisement to be played in the playing manner, the controller is further configured to: Monitoring changes in the cloud advertising data; When the cloud advertising data changes, generating an update instruction; The local advertisement cache index table is updated according to the update instruction.

10. A method for playing advertising data, applied to the display device according to any one of claims 1 to 9, characterized in that: The method comprises: Receiving cloud advertising data sent by the server, and comparing the cloud advertising data with the local advertising cache index table; If the comparison result shows that the cloud advertising data contains new advertising content, determining a local storage space according to the new advertising content, and storing the new advertising content to obtain local advertising data; Calculating a priority score of a data block corresponding to the local advertisement data in the storage space; the priority score is used to represent an access frequency of the local advertisement data in the data block; detecting that the usage rate of the storage space exceeds a preset ratio and that the priority score is lower than a score threshold, removing the corresponding data block in the storage space; In response to a play instruction of a to-be-played advertisement in the local advertisement data, obtaining a cache status of the to-be-played advertisement in the storage space; A playing mode of the advertisement to be played is determined according to the buffer status, and the display is controlled to play the advertisement to be played according to the playing mode.

Citation Information

Cited By

  • Policy putting method based on multi-behavior probability modeling and value weight dynamic optimization

    CN121032589A

  • A delivery strategy method based on multi-behavior probability modeling and dynamic optimization of value weight

    CN121032589B