Intelligent set top box and advertisement playing method

By parsing the configuration file and playback priority ratio in the smart set-top box, and selecting advertisements to be played every time it is turned on, the problem of low advertisement update frequency in the existing technology is solved, and the user experience and server efficiency are improved.

CN118828085APending Publication Date: 2024-10-22HISENSE BROADBAND MULTIMEDIA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310425608.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing smart set-top boxes have low advertising update frequency when turned on, resulting in a boring user experience, and high-frequency updates increase the number of server interactions and bandwidth pressure.

Method used

The smart set-top box supports multi-ad delivery and multi-ad storage, parses the configuration file to obtain the number of ads and playback priority ratio, selects the ads to be played each time it is turned on, and uses playback algorithms to increase the diversity of ads.

Benefits of technology

It increases the diversity of startup advertisements, improves users' viewing interest, and reduces the number of server interactions and bandwidth pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828085A_ABST
    Figure CN118828085A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent set top box and an advertisement playing method, and the method comprises the steps: responding to a power-on request, analyzing a configuration file to extract configuration information, and the configuration information comprises the total number of advertisements, the power-on playing number and at least two playing priority proportions; an initial advertisement serial number is obtained, a broadcast advertisement serial number is calculated according to the initial advertisement serial number, and the initial advertisement serial number is a serial number corresponding to a current last broadcast advertisement; and calling an advertisement file corresponding to the broadcast advertisement serial number as a current advertisement, and judging whether to broadcast the current advertisement or not according to the sum of the broadcast times of the advertisement, the preset broadcast number of the current advertisement and the broadcast priority proportion corresponding to the current advertisement. And after the current advertisement is played, recording the played number of the current advertisement. According to the method, the diversity of startup advertisements of the intelligent set top box is increased, and the watching interest of audiences is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a smart set-top box and an advertisement playing method. Background Art

[0002] Interactive Internet TV uses computers or set-top boxes and TVs to receive video-on-demand programs, video broadcasts, and surf the Internet. Interactive Internet TV can adapt well to the trend of today's rapid Internet development, fully and effectively utilize network resources, and has good interactivity, and is widely used in operator networks. Summary of the invention

[0003] The present application provides a smart set-top box and an advertisement playing method to improve the diversity of startup advertisements.

[0004] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:

[0005] On the one hand, the present application provides a smart set-top box, including a controller, storing preset advertisements, configuration files, and advertisement files; and configured to:

[0006] In response to a power-on request, parsing the configuration file to extract configuration information, wherein the configuration information includes: a total number of advertisements, a number of advertisements played upon power-on, and at least two playback priority ratios;

[0007] Obtaining a starting advertisement sequence number, and calculating a played advertisement sequence number according to the starting advertisement sequence number, wherein the starting advertisement sequence number is the sequence number corresponding to the last currently played advertisement;

[0008] Retrieving the advertisement file corresponding to the advertisement sequence number as the current advertisement, and judging whether to play the current advertisement according to the total number of times the advertisement has been played, the preset number, the number of times the current advertisement has been played, and the playback priority ratio corresponding to the current advertisement, wherein the preset threshold is the sum of all the playback priority ratios;

[0009] After playing the current advertisement, the number of times the current advertisement has been played is recorded.

[0010] On the other hand, the present application provides an advertisement playing method, comprising: in response to a power-on request, parsing the configuration file to extract configuration information, wherein the configuration information includes: a total number of advertisements, a number of advertisements played upon power-on, and at least two playback priority ratios;

[0011] Obtaining a starting advertisement sequence number, and calculating a played advertisement sequence number according to the starting advertisement sequence number, wherein the starting advertisement sequence number is the sequence number corresponding to the last currently played advertisement;

[0012] Retrieving the advertisement file corresponding to the advertisement sequence number as the current advertisement, and determining whether to play the current advertisement according to the total number of times the advertisement has been played, the preset number, the number of times the current advertisement has been played, and the playback priority ratio corresponding to the current advertisement;

[0013] After playing the current advertisement, the number of times the current advertisement has been played is recorded.

[0014] Compared with the prior art, the present invention has the following advantages:

[0015] The present application discloses a smart set-top box and an advertisement playing method, the method comprising: in response to a power-on request, parsing the configuration file to extract configuration information, wherein the configuration information comprises: the total number of advertisements, the number of advertisements played at power-on, and at least two play priority ratios; obtaining the starting advertisement sequence number, and calculating the play advertisement sequence number according to the starting advertisement sequence number, wherein the starting advertisement sequence number is the sequence number corresponding to the current last played advertisement; calling the advertisement file corresponding to the play advertisement sequence number as the current advertisement, and judging whether to play the current advertisement according to the sum of the number of times the advertisement has been played, the preset number, the number of times the current advertisement has been played, and the play priority ratio corresponding to the current advertisement. After playing the current advertisement, the number of times the current advertisement has been played is recorded. The present application uses the characteristics of the smart set-top box supporting the issuance and storage of multiple advertisements, and parses the issued configuration file to parse the number of advertisements stored in the smart set-top box and the number of advertisements that need to be played each time the machine is turned on; then, according to the play priority number of each advertisement in the configuration file and the number of times the advertisement has been played, the advertisement currently played at power-on is selected. The above method increases the diversity of the startup advertisements of the smart set-top box, which helps to increase the interest of the audience in watching. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0017] Figure 1 is a schematic diagram of a usage scenario of a set-top box according to an embodiment;

[0018] Figure 2 A structural diagram of a smart set-top box provided according to some embodiments of the present disclosure;

[0019] Figure 3 A diagram of an operating system of a smart set-top box provided according to some embodiments of the present disclosure;

[0020] Figure 4 A signaling diagram of a startup advertisement playback interaction process provided according to some embodiments of the present disclosure;

[0021] Figure 5 A flow chart of a startup advertisement playing method provided according to some embodiments of the present disclosure;

[0022] Figure 6 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 1 ;

[0023] Figure 7 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 2 ;

[0024] Figure 8 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 3 ;

[0025] Fig. 9 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 3 ;

[0026] Fig.10 Another method for playing a startup advertisement is provided according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] To facilitate the explanation of the technical solution of the application, some concepts involved in the application are first explained below.

[0028] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

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

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

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

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

[0033] Figure 1 Schematic diagram of a usage scenario of a set-top box according to an embodiment. Figure 1 As shown, the set-top box 100 is a device that connects the display device 200 and the server 400. It can convert the compressed digital signal into TV content and display it on the display device.

[0034] The display device 200 performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control apparatus 500 .

[0035] In some embodiments, the control device 500 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and at least one of other short-range communication methods, to control the display device 200 wirelessly or wired. The user may control the display device 200 by inputting user commands through at least one of buttons on the remote controller, voice input, and control panel input.

[0036] In some embodiments, the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a laptop computer, an AR / VR device, etc.

[0037] In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using a Java layer of an application running on the smart device.

[0038] In some embodiments, the smart device 300 and the display device may also be used to communicate data.

[0039] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 500 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.

[0040] In some embodiments, the set-top box also carries out data communication with the server 400. The set-top box 100 can be allowed to communicate and connect via a local area network (LAN), a wireless local area network (WLAN) and other networks. The server 400 can provide various contents and interactions to the set-top box 100. The server 400 can be a cluster or a plurality of clusters, and can include one or more classes of servers.

[0041] In some embodiments, the software steps executed by a step execution subject can be migrated to another step execution subject in data communication with it as needed for execution. Exemplarily, the software steps executed by a server can be migrated to a display device in data communication with it as needed for execution, and vice versa.

[0042] The control device 500 can also be connected to the set-top box 100 for communication. Usually, the control device and the set-top box communicate via an infrared protocol, and the set-top box receives the communication signal from the control device to complete the user's remote control operation.

[0043] The smart set-top box 100 may be externally arranged on the outside of the display device housing, or may be built inside the display device.

[0044] Boot ads are the content played during the boot-up phase of a smart terminal (such as a smart set-top box). Boot ads are usually pre-set ad content inside the smart terminal. After the smart terminal is connected to the server network, if the server upgrades the ad content, the server will send new ad pictures or videos to the smart terminal, and the ad content of the smart terminal will be updated. In this way, the smart terminal will play the updated ad content the next time it is turned on. However, the above update process has the following problems: 1. If the preset ad is not updated, the smart terminal will always play the preset ad, and the same ad will be played every time it is turned on, which makes people feel very boring. 2. The ad content of the smart terminal is updated, and the smart terminal will always play the updated ad until the ad is updated again, and then it will be updated to a new ad. Before the next update, the ad content played by the smart terminal remains unchanged, which will also make users feel boring. However, if the video is updated at a high frequency, the server needs to send ads multiple times, which increases the number of interactions between the smart terminal and the server, increases the traffic pressure of the server bandwidth, and increases the frequency and amount of data written by the smart terminal.

[0045] In order to solve the above problems, the present invention uses the characteristics of the smart set-top box supporting the issuance and storage of multiple advertisements, and can select the number of the current startup advertisement according to the playback selection algorithm during each startup of the smart set-top box. The playback selection algorithm refers to parsing the issued configuration file to parse out the number of advertisements stored in the smart set-top box and the number of advertisements that need to be played each time the box is turned on; then, the advertisement to be played at the current startup is selected according to the delivery time period of each advertisement in the configuration file, the proportion of the number of advertisements delivered, and the current playback data of the advertisement. The above method increases the diversity of the startup advertisements of the smart set-top box, which helps to improve the audience's interest in watching.

[0046] Figure 2 FIG. 1 is a structural diagram of a smart set-top box provided according to some embodiments of the present disclosure. Figure 2 As shown, the present disclosure provides a smart set-top box, comprising:

[0047] The communicator 110 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or a near field communication protocol chip, and an infrared receiver.

[0048] The smart set-top box can establish the sending and receiving of control signals and data signals with the server through the communicator.

[0049] The user interface 120 may be used to receive external control signals.

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

[0051] The sound collector can be a microphone, also called a "microphone" or "microphone". The sound collector receives the user's voice and converts the sound signal into an electrical signal. The smart set-top box can be provided with at least one microphone. In other embodiments, the smart set-top box can be provided with two microphones, which can not only collect sound signals but also realize the noise reduction function. In other embodiments, the smart set-top box 100 can also be provided with three, four or more microphones to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.

[0052] In addition, the microphone may be built into the smart set-top box, or the microphone may be connected to the smart set-top box by wire or wirelessly. Of course, the embodiment of the present application does not limit the position of the microphone on the smart set-top box. Alternatively, the smart set-top box may not include a microphone, that is, the microphone is not provided in the set-top box. The smart set-top box may be connected to an external microphone (also referred to as a microphone) via an interface (such as a USB interface). The external microphone may be fixed to the set-top box via an external fixing (such as a camera bracket with a clip).

[0053] The smart set-top box can receive external control signals through the user interface and can also receive external sound signals through the detector.

[0054] After the smart set-top box receives the external sound signal through the detector, the controller parses and processes the sound signal. In some embodiments of the present disclosure, the power-on request information can be received by the user, or the controller can parse and process the sound signal after the detector receives the external sound signal.

[0055] The controller 140 controls the operation of the smart set-top box and responds to user operations through various software control programs stored in the memory. The controller controls the overall operation of the smart set-top box.

[0056] Exemplarily, the controller includes a central processing unit (CPU), an audio processor, a RAM (Random Access Memory, RAM), a ROM (Read-Only Memory, ROM), at least one of a first interface to an nth interface for input or output, a communication bus, etc.

[0057] Figure 3 FIG. 1 is an operating system diagram of a smart set-top box provided according to some embodiments of the present disclosure. In some examples, the operating system of the smart set-top box is an Android system, for example, Figure 3 As shown, the smart set-top box can be logically divided into an application layer (Applications layer), a kernel layer and a hardware layer.

[0058] Among them, Figure 3 As shown, the hardware layer 11 may include Figure 2 The controller, communicator, and detector shown in the figure. The application layer 13 includes one or more applications. The application can be a system application or a third-party application. For example, the application layer includes a speech recognition application, which can provide a speech interaction interface and service for realizing the connection between the smart set-top box and the server.

[0059] The kernel layer 12 serves as software middleware between the hardware layer 11 and the application layer 12 and is used to manage and control hardware and software resources.

[0060] In some examples, the kernel layer includes a detector driver, and the detector driver is used to send the voice data collected by the detector to the voice recognition application. Exemplarily, when the voice recognition application in the smart set-top box is started and the smart set-top box establishes a communication connection with the server, the detector driver is used to send the voice data of the user input collected by the detector to the voice recognition application. Afterwards, the voice recognition application converts the voice data into control information.

[0061] In some embodiments of the present disclosure, the controller controls the playing of the startup advertisement in response to the startup request.

[0062] In response to the power-on request, the controller parses the configuration file to extract configuration information. The configuration information includes: the total number of advertisements, the number of advertisements played at power-on, the type of advertisement, the name of the advertisement, the priority ratio of the advertisement, and the verification value of the advertisement. The starting advertisement sequence number is obtained, and the sequence number of the advertisement to be played is calculated according to the starting advertisement sequence number. The advertisement corresponding to the sequence number of the advertisement to be played is retrieved as the current advertisement, and it is determined whether the current advertisement is to be played. If it is to be played, the graphics processor and the audio processor are called to play the advertisement file.

[0063] Figure 4 The signaling diagram of the startup advertisement playback interaction process provided according to some embodiments of the present disclosure is shown in FIG4. As shown in FIG4, the startup advertisement playback interaction process includes: when the device is powered on for the first time, the user initiates a startup request to the smart set-top box. The smart set-top box responds to the startup request, plays a preset advertisement, and sends a startup advertisement request to the server. The server responds to the startup request and determines whether to send new advertisement content.

[0064] For example, the server responds to the startup advertisement request and determines whether to send new advertisement content according to the advertisement version number and the set-top box model currently stored in the set-top box. The server sets a variety of set-top box models and the latest advertisement version numbers corresponding to the set-top box models. First, the server searches for the latest advertisement version number corresponding to the set-top box according to the model of the current set-top box, and then compares the latest advertisement version number with the advertisement version number stored in the current set-top box. If the latest advertisement version number is different from the advertisement version number stored in the current set-top box, the server sends new advertisement content; if the latest advertisement version number is the same as the advertisement version number stored in the current set-top box, the server does not send new advertisement content.

[0065] In some embodiments of the present disclosure, the new advertisement content sent by the server is an advertisement file and a configuration file.

[0066] For example, in some embodiments of the present disclosure, the advertisement request may also include: current advertisement update time and set-top box model, where the current advertisement update time is the time when the set-top box has updated the advertisement the most recently. In response to the startup advertisement request, the server determines whether to send new advertisement content according to the current advertisement update time and set-top box model stored in the current set-top box.

[0067] The server searches for the corresponding advertisement delivery record based on the current advertisement update time and the set-top box model to determine whether to deliver the advertisement. If the advertisement update time in the advertisement delivery record is earlier than the current advertisement update time, the server does not deliver new advertisement content. If the advertisement update time in the advertisement delivery record is not earlier than the current advertisement update time, the server delivers new advertisement content.

[0068] The server sends new advertising content to the smart set-top box, and the smart set-top box plays advertisements according to the configuration file. The specific advertisement playing method can refer to the startup advertisement playing method in this application.

[0069] When it is not the first time to start the device, the user initiates a start-up request to the smart set-top box. The smart set-top box responds to the start-up request, plays advertisements according to the configuration file, and sends a start-up advertisement request to the server. The server responds to the start-up request and determines whether to send new advertisement content.

[0070] In a specific implementation, the present disclosure further provides a storage medium, wherein the storage medium may store a program, and when the program is executed, the program may include some or all of the steps of each embodiment of the boot advertisement playback method provided by the present invention. The storage medium may be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0071] Figure 5 FIG. 1 is a flow chart of a method for playing a startup advertisement according to some embodiments of the present disclosure. Figure 5 As shown, the startup advertisement playing method provided by the present application includes:

[0072] S100: In response to a power-on request, parse the configuration file to extract configuration information, wherein the configuration information includes: total number of advertisements, number of advertisements played upon power-on, advertisement type, advertisement name, play priority ratio, and advertisement verification value.

[0073] The startup play number is the number of ads that need to be played. The startup play number can be 0, 1, 2 or any other integer value. If the startup play number is 0, it means that no ads need to be played at this startup; if the startup play number is 1, it means that 1 ad needs to be played at this startup; if the startup play number is 2, it means that 2 ads need to be played at this startup.

[0074] In some embodiments of the present disclosure, in order to achieve advertisement diversity, the configuration information includes two or more advertisement names and the advertisement types, play priority ratios, and advertisement verification values ​​corresponding to the advertisement names.

[0075] For example, the configuration information includes: first advertisement type, first advertisement name, first playback priority ratio, first advertisement check value, second advertisement type, second advertisement name, second playback priority ratio, second advertisement check value. Or the configuration information includes: first advertisement type, first advertisement name, first playback priority ratio, first advertisement check value, second advertisement type, second advertisement name, second playback priority ratio, second advertisement check value, third advertisement type, third advertisement name, third playback priority ratio, third advertisement check value. Among them, the sum of the playback priority ratios of all advertisements is the preset threshold. The preset threshold can be 100.

[0076] For example, the configuration information includes: first advertisement type, first advertisement name, first playback priority ratio, first advertisement check value, second advertisement type, second advertisement name, second playback priority ratio, and second advertisement check value. Among them, the sum of the first playback priority ratio and the second playback priority ratio is 100. For example, the first playback priority ratio is 40 and the second playback priority ratio is 60, or the first playback priority ratio is 30 and the second playback priority ratio is 70.

[0077] For example, the configuration information includes: first advertisement type, first advertisement name, first playback priority ratio, first advertisement check value, second advertisement type, second advertisement name, second playback priority ratio, second advertisement check value, third advertisement type, third advertisement name, third playback priority ratio, and third advertisement check value. Among them, the sum of the first playback priority ratio, the second playback priority ratio, and the third playback priority ratio is 100. For example, the first playback priority ratio is 0.4, the second playback priority ratio is 30, and the third playback priority ratio is 30, or the first playback priority ratio is 30, the second playback priority ratio is 50, and the third playback priority ratio is 20.

[0078] For example, the preset threshold value may be 1000. First advertisement type, first advertisement name, first playback priority ratio, first advertisement check value, second advertisement type, second advertisement name, second playback priority ratio, second advertisement check value. Wherein: the sum of the first playback priority ratio and the second playback priority ratio is 1000. For example, the first playback priority ratio is 400 and the second playback priority ratio is 600, or the first playback priority ratio is 300 and the second playback priority ratio is 700.

[0079] S200: Obtain the starting advertisement sequence number, and calculate the advertisement sequence number according to the starting advertisement sequence number. The starting advertisement sequence number is the sequence number corresponding to the currently played advertisement. For example, the starting advertisement sequence number may be the sequence number of the advertisement last played during the previous startup process, and the starting advertisement sequence number may be the sequence number of the advertisement played during the current startup process.

[0080] In some embodiments of the present disclosure, the played advertisement sequence number may be calculated according to the starting advertisement sequence number by: played advertisement sequence number = starting advertisement sequence number + 1.

[0081] For example, define a variable m, m records the serial number of the last ad played at startup, and uses the serial number of the last ad played as the reference for the starting ad traversal next startup. For example, if the ads played at startup are No. 1, No. 2, and No. 3, then the next time you start, you will start traversing from No. 4, so that the ads played each time are different.

[0082] First, the advertisement number for the initial query is known, which is m plus 1. Then, we traverse all advertisement numbers and start from those with the advertisement number equal to m+1 to determine whether to play this advertisement.

[0083] When the starting advertisement sequence number is equal to the total number of advertisements, the starting advertisement sequence number is recorded as 0, and the next advertisement is traversed starting from the advertisement with sequence number 1.

[0084] S300: Retrieve the advertisement corresponding to the advertisement sequence number as the current advertisement, and determine whether the current advertisement is to be played.

[0085] Figure 6 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 1 ,like Figure 6 As shown, in order to improve the accuracy of advertisement playing, judging whether the current advertisement is being played includes:

[0086] S310: If the total number of times the advertisement has been played is greater than a preset threshold, the current advertisement is not played, and the playback starts from the first advertisement again.

[0087] Re-traversing and playing from the first advertisement includes: changing the starting advertisement sequence number to 0, and changing the number of advertisements played to 0.

[0088] For example, the preset threshold is 100, the current number of times the first advertisement has been played is 30, and the current number of times the second advertisement has been played is 70, then the starting advertisement sequence number is changed to 0, and the number of advertisements played is all changed to 0, the played advertisement sequence number is 1, and the process goes to S320.

[0089] If the total number of times an ad has been played is greater than or equal to the preset threshold, the current ad will not be played and the first ad will be played again. If the total number of times an ad has been played is greater than or equal to the preset threshold, it means that the number of times the current ad has been played is greater than the playback priority ratio corresponding to the current ad, indicating that the playback volume (including the number of times different ads have been played and the proportion) within this period of time has been reached.

[0090] S320: If the total number of times the advertisement has been played is less than or equal to a preset threshold, and the number of times the current advertisement has been played is less than or equal to the play priority ratio corresponding to the current advertisement, the current advertisement is played or the process proceeds to S340.

[0091] S330: If the total number of times the advertisement has been played is less than or equal to a preset threshold, and the number of times the current advertisement has been played is greater than the playback priority ratio corresponding to the current advertisement, the starting advertisement sequence number is increased by 1, the current advertisement is not played, and S310 is repeated.

[0092] Figure 7 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 2 , Figure 8 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 3 ,like Figure 7 and Figure 8 As shown, in order to improve the accuracy of advertisement playing, judging whether the current advertisement is being played also includes:

[0093] S340: Acquire the current system time. When the current system time is within the playing period of the current advertisement, play the current advertisement. When the current system time is not within the playing period of the current advertisement, select the next advertisement as the current advertisement.

[0094] In some embodiments of the present disclosure, in order to make the advertisement contents played in different time periods different and improve the diversity of startup advertisements, the configuration information further includes: a playing time period.

[0095] For example, the configuration information includes: first advertisement type, first advertisement name, first play priority ratio, first play time period, first advertisement check value, second advertisement type, second advertisement name, second play priority ratio, second play time period, and second advertisement check value. The play time periods of different advertisements can be personalized according to user preferences to play different advertisements in different time periods.

[0096] The play time period may be divided into 24 hours, and may be one time period, such as the first play time period of 8:00-16:00; or may be two or more time periods, such as the first play time period of 8:00-10:00 and 12:00-14:00.

[0097] The broadcast time period can also be divided on a weekly basis, which can be one time period, such as the first broadcast time period is Monday 8:00-16:00; or two or more time periods, such as the first broadcast time period is Monday 8:00-10:00 and 12:00-14:00.

[0098] For example, the configuration information stored in the register includes: first advertisement type, first advertisement name, first play priority ratio, first play time period, first advertisement check value, second advertisement type, second advertisement name, second play priority ratio, second play time period, second advertisement check value. Among them, sequence number 1 (first advertisement), sequence number 2 (second advertisement), and sequence number 3 (third advertisement). The advertisement file contains data information of the first advertisement, the second advertisement, and the third advertisement.

[0099] The starting ad number is 1, the playing ad number is 2, and the ad corresponding to the playing ad number (the second ad) is retrieved as the current ad. The second play period is 8:00-10:00, and the current system time is 9:30. The current system time is within the play period of the current ad, and the next step is performed. If the second play period is 8:00-10:00, and the current system time is 11:30, the current system time is not within the play period of the current ad, the starting ad number is changed to 2, the playing ad number is 3, and S310 is repeated.

[0100] In some embodiments of the present application, the smart set-top box sets an advertisement folder and a preset folder, wherein the advertisement folder contains configuration files and advertisement files; the preset folder contains advertisements preset by the set-top box. The advertisement folder contains files sent by the server.

[0101] Fig. 9 A process for determining whether a current advertisement is being played provided in some embodiments of the present disclosure Figure 3 ,like Fig. 9 As shown, in some embodiments of the present application, in some embodiments of the present disclosure, in order to avoid errors in the playback screen due to incorrect advertising information during the advertising playback process, it is necessary to calculate the number of valid advertisements, record the number of valid advertisements, and delete the advertising content of invalid advertisements, that is, delete the corresponding data information in the advertisement file. Or record the number of valid advertisements, and mark the advertisement file for invalid advertisements, and skip the advertisement during playback.

[0102] Determining whether the current advertisement is being played also includes:

[0103] S350: Check the current advertisement. If the advertisement is valid, play it; if the advertisement is invalid, do not play it.

[0104] In some embodiments, verifying the current advertisement includes: extracting an advertisement verification value corresponding to the current advertisement in the configuration information, calculating a summary value corresponding to the advertisement information in the current advertisement file, and comparing the summary value with the advertisement verification value. If the summary value is consistent with the advertisement verification value, the advertisement is valid; if the summary value is inconsistent with the advertisement verification value, the advertisement is invalid.

[0105] In some embodiments, if an advertisement is invalid, it will not be played, and the data corresponding to the invalid advertisement will be deleted, and the number of valid advertisements will be reduced by 1.

[0106] For example, the total number of advertisements is 5, the starting advertisement number is 1, and the played advertisement number is 2. The advertisement corresponding to the played advertisement number (the second advertisement) is retrieved as the current advertisement. The second playback period is 8:00-10:00, and the current system time is 9:30, which is within the playback period of the current advertisement. The second advertisement verification value is extracted, and the second summary value is calculated based on the second advertisement file. If the second advertisement verification value is the same as the second summary value, the second advertisement is played. If the second advertisement verification value is different from the second summary value, the second advertisement file is deleted. After deleting the second advertisement file, the number of valid advertisements is modified to 4.

[0107] In some embodiments of the present disclosure, the number of valid advertisements may be stored in the controller or in a register located outside the controller. When the controller receives new advertisement content, the controller modifies the number of valid advertisements to be the same as the total number of advertisements. When a verification failure occurs, the number of valid advertisements is modified accordingly.

[0108] In some embodiments of the present disclosure, for the convenience of playback, the number of valid advertisements is usually greater than or equal to the number of startup playbacks. For example, the number of valid advertisements is 5 and the number of startup playbacks is 3.

[0109] When the number of valid ads is less than the number of ads played at startup, the system preset ads are extracted for playback, and the preset ad files are extracted to play the ad sequence number that failed the verification. For example, the number of valid ads is 2, the number of ads played at startup is 3, and the ad with sequence number 1 has failed the verification, but the number of times the ad with sequence number 1 has been played is less than the playback priority ratio corresponding to the ad with sequence number 1. In this case, when the configuration file needs to play the ad with sequence number 1, the preset ad is retrieved and played.

[0110] In some embodiments of the present disclosure, the comparison between the number of valid advertisements and the number of advertisements played upon startup may be performed before obtaining the starting advertisement sequence number, or may be performed after verifying the current advertisement.

[0111] For example: before obtaining the starting advertisement sequence number, if the number of valid advertisements is greater than or equal to the number of advertisements played upon startup, proceed to the next step, i.e., obtaining the starting advertisement sequence number, and calculating the advertisement sequence number to be played based on the starting advertisement sequence number.

[0112] If the number of valid advertisements is less than the number of advertisements to be played at startup, the preset advertisement file will be played.

[0113] For example, after the current advertisement is verified, if the number of valid advertisements is greater than or equal to the number of advertisements played upon startup, the next step is to obtain the starting advertisement sequence number and calculate the advertisement sequence number to be played based on the starting advertisement sequence number.

[0114] If the number of valid advertisements is less than the number of advertisements played at startup, the preset advertisement file will be played.

[0115] For example, if the number of valid advertisements is less than the number of advertisements to be played at startup, the startup advertisement request may be resent to the server.

[0116] To avoid network delays during the first boot, which may cause the ad playback to freeze, the set-top box plays the preset ads when it is first powered on and sends a boot ad request to the server. For non-first boots, the set-top box plays ads based on the ad files and configuration information stored in the current register.

[0117] The set-top box has built-in preset ads, and plays the preset ads when it is turned on for the first time. After the set-top box is turned on, it sends a startup ad request to the server. The ad request contains: the current ad version number stored in the current set-top box and the set-top box model.

[0118] The server responds to the startup advertisement request and determines whether to send new advertisement content.

[0119] For example, the server responds to the startup advertisement request and determines whether to send new advertisement content according to the advertisement version number and the set-top box model currently stored in the set-top box. The server sets a variety of set-top box models and the latest advertisement version numbers corresponding to the set-top box models. First, the server searches for the latest advertisement version number corresponding to the set-top box according to the model of the current set-top box, and then compares the latest advertisement version number with the advertisement version number stored in the current set-top box. If the latest advertisement version number is different from the advertisement version number stored in the current set-top box, the server sends new advertisement content; if the latest advertisement version number is the same as the advertisement version number stored in the current set-top box, the server does not send new advertisement content.

[0120] In some embodiments of the present disclosure, the new advertisement content sent by the server is an advertisement file and a configuration file.

[0121] For example, in some embodiments of the present disclosure, the advertisement request may also include: current advertisement update time and set-top box model, where the current advertisement update time is the time when the set-top box has updated the advertisement the most recently. In response to the startup advertisement request, the server determines whether to send new advertisement content according to the current advertisement update time and set-top box model stored in the current set-top box.

[0122] The server searches for the corresponding advertisement delivery record based on the current advertisement update time and the set-top box model to determine whether to deliver the advertisement. If the advertisement update time in the advertisement delivery record is earlier than the current advertisement update time, the server does not deliver new advertisement content. If the advertisement update time in the advertisement delivery record is not earlier than the current advertisement update time, the server delivers new advertisement content.

[0123] Fig.10 Another method for playing a startup advertisement is provided according to some embodiments of the present disclosure. Fig.10 As shown, the startup advertisement playing method provided by the present application includes:

[0124] S100: In response to a power-on request, parse the configuration file to extract configuration information, wherein the configuration information includes: total number of advertisements, number of advertisements played upon power-on, advertisement type, advertisement name, play priority ratio, and advertisement verification value.

[0125] S200: Obtain a starting advertisement sequence number, and calculate a played advertisement sequence number based on the starting advertisement sequence number, where the starting advertisement sequence number is the sequence number corresponding to the currently played advertisement.

[0126] S500: Retrieve the advertisement corresponding to the advertisement sequence number as the current advertisement, and determine whether to play the current advertisement according to the total number of times the advertisement has been played and a preset number, the number of times the current advertisement has been played and the playback priority ratio corresponding to the current advertisement.

[0127] When the total number of times the advertisement has been played is less than or equal to the preset threshold, and the number of times the current advertisement has been played is less than or equal to the playback priority ratio corresponding to the current advertisement, the current advertisement is played.

[0128] When the number of times an advertisement has been played is greater than a preset threshold, or the number of times the current advertisement has been played is greater than the playback priority ratio corresponding to the current advertisement, the starting advertisement sequence number is increased by 1.

[0129] If the number of times an ad has been played is greater than or equal to the preset threshold, the starting ad number is incremented by 1. If the number of times the current ad has been played is greater than the play priority ratio corresponding to the current ad, the starting ad number is incremented by 1 so that the ad corresponding to the next number is the current ad.

[0130] In some embodiments of the present disclosure, if the number of times an advertisement has been played is greater than a preset threshold, the starting advertisement sequence number is changed to 0 and the number of times the advertisement has been played is changed to 0.

[0131] When the number of times the current ad has been played is greater than the play priority ratio corresponding to the current ad, it means that the current ad has reached the maximum number of times played within this cycle and does not need to be played. The starting ad number is increased by 1 so that the ad corresponding to the next number is the current ad.

[0132] S600: After playing the current advertisement, record the number of times the current advertisement has been played. The sum of the number of times the advertisement has been played is the sum of the number of times the current advertisement has been played corresponding to all advertisements.

[0133] In the boot-up advertisement playback method provided in the present disclosure, the playback priority ratio of each advertisement is defined in the configuration file, and then the total number of times the current advertisement has been played and the number of times the advertisement has been played are recorded. When the total number of times the advertisement has been played is less than a preset threshold, and the number of times the current advertisement has been played is less than the playback priority ratio corresponding to the current advertisement, the current advertisement is played. When the number of times the advertisement has been played is greater than or equal to the preset threshold, the starting advertisement sequence number is changed to 0 and the number of times the advertisement has been played is changed to 0. When the number of times the current advertisement has been played is greater than the playback priority ratio corresponding to the current advertisement, the starting advertisement sequence number is increased by 1. Each time the machine is turned on, by selecting the advertisement sequence number and the number of advertisements to be played, the diversity of the boot-up advertisements can be improved without the server re-issuing the advertisements each time. On this basis, by defining the playback priority ratio of each advertisement, the exposure rate of different advertisements can be controlled, and the diversity of boot-up advertisements can be further improved.

[0134] Since the above embodiments are all described by citing and combining with other embodiments, different embodiments have the same parts, and the same and similar parts between the embodiments in this specification can be referred to each other, and will not be elaborated in detail here.

[0135] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the disclosure of the present application. The present application is intended to cover any variation, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the content of the claims.

[0136] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. A smart set-top box, characterized in that: include: A controller, storing preset advertisements, configuration files, and advertisement files; The controller is configured to: In response to a power-on request, parsing the configuration file to extract configuration information, wherein the configuration information includes: a total number of advertisements, a number of advertisements played upon power-on, and at least two playback priority ratios; Obtaining a starting advertisement sequence number, and calculating a played advertisement sequence number according to the starting advertisement sequence number, wherein the starting advertisement sequence number is the sequence number corresponding to the last currently played advertisement; Retrieving the advertisement file corresponding to the advertisement sequence number as the current advertisement, and judging whether to play the current advertisement according to the total number of times the advertisement has been played, the preset number, the number of times the current advertisement has been played, and the playback priority ratio corresponding to the current advertisement, wherein the preset threshold is the sum of all the playback priority ratios; After playing the current advertisement, the number of times the current advertisement has been played is recorded.

2. The smart set-top box according to claim 1, characterized in that: When determining whether to play the current advertisement, the controller is further configured to: When the total number of times the advertisement has been played is less than or equal to the preset threshold, and the number of times the current advertisement has been played is less than or equal to the playback priority ratio corresponding to the current advertisement, the current advertisement is played; If the number of times an ad has been played exceeds the preset threshold, the starting ad number is changed to 0, and the number of times the ad has been played is changed to 0; If the number of times the current ad has been played is greater than the play priority ratio corresponding to the current ad, the starting ad number is incremented by 1.

3. The smart set-top box according to claim 2, characterized in that: Before playing the current advertisement, the controller is further configured to: The configuration information includes an advertisement verification value, and the advertisement verification value is extracted; Calculate the summary value corresponding to the advertisement information of the current advertisement file; The summary value is the same as the advertisement verification value, and the current advertisement is played; If the summary value is different from the advertisement verification value, the advertisement information of the current advertisement file is deleted, and the number of valid advertisements is recorded.

4. The smart set-top box according to claim 2, characterized in that: Before playing the current advertisement, the controller is further configured to: Obtain the playing time period of the current advertisement and the current system time; When the current system time is within the playing period of the current advertisement, the current advertisement is played; When the current system time is not within the playing period of the current advertisement, the next advertisement is selected as the current advertisement.

5. The smart set-top box according to claim 3, characterized in that: Before playing the current advertisement, the controller is further configured as follows: the configuration information includes a playing period; Obtain the current system time and the playing time period of the current advertisement; When the current system time is within the playing period of the current advertisement, the current advertisement is played; When the current system time is not within the playing period of the current advertisement, the next advertisement is selected as the current advertisement.

6. The smart set-top box according to claim 1, characterized in that: Before obtaining the starting advertisement sequence number, the controller is further configured to: Get the number of valid advertisements; The number of valid advertisements is greater than or equal to the number of advertisements played at startup, a starting advertisement sequence number is obtained, and a playback advertisement sequence number is calculated according to the starting advertisement sequence number; If the number of valid advertisements is less than the number of advertisements to be played upon startup, the preset advertisements are played.

7. The smart set-top box according to claim 3, characterized in that: After deleting the advertisement information of the current advertisement file and recording the number of valid advertisements, the controller is further configured to: The number of valid advertisements is greater than or equal to the number of advertisements played at startup, a starting advertisement sequence number is obtained, and a playback advertisement sequence number is calculated according to the starting advertisement sequence number; If the number of valid advertisements is less than the number of advertisements to be played upon startup, the preset advertisements are played.

8. An advertisement playing method, characterized in that: include: In response to a power-on request, parsing a configuration file to extract configuration information, wherein the configuration information includes: a total number of advertisements, a number of advertisements played upon power-on, and at least two playback priority ratios; Obtaining a starting advertisement sequence number, and calculating a played advertisement sequence number according to the starting advertisement sequence number, wherein the starting advertisement sequence number is the sequence number corresponding to the last currently played advertisement; Retrieving the advertisement file corresponding to the advertisement sequence number as the current advertisement, and determining whether to play the current advertisement according to the total number of times the advertisement has been played, a preset threshold, the number of times the current advertisement has been played, and the playback priority ratio corresponding to the current advertisement, wherein the preset threshold is the sum of all the playback priority ratios; After playing the current advertisement, the number of times the current advertisement has been played is recorded.

9. The advertisement playing method according to claim 8, characterized in that: The determining whether to play the current advertisement includes: When the total number of times the advertisement has been played is less than or equal to the preset threshold, and the number of times the current advertisement has been played is less than or equal to the playback priority ratio corresponding to the current advertisement, the current advertisement is played; If the number of times an ad has been played exceeds the preset threshold, the starting ad number is changed to 0, and the number of times the ad has been played is changed to 0; If the number of times the current ad has been played is greater than the play priority ratio corresponding to the current ad, the starting ad number is incremented by 1.

10. The advertisement playing method according to claim 9, characterized in that: Before playing the current advertisement, the method further includes: obtaining the current system time and obtaining the playing time period of the current advertisement; When the current system time is within the playing period of the current advertisement, the current advertisement is played; When the current system time is not within the playing period of the current advertisement, the next advertisement is selected as the current advertisement.