Playing method and device of paster advertisement, computer equipment and storage medium

By obtaining and filtering patch ads with historical interruption in the patch ad playback process, the problem of media content access burden caused by users' avoidance of advertisements is solved, and system performance and stability are improved.

CN119599734AActive Publication Date: 2025-03-11CCTV INT NETWORK CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411610318.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-03-11
Estimated Expiration
2044-11-12

AI Technical Summary

Technical Problem

Users avoid or reduce the playback time of patch advertisements through restart or quick refresh, resulting in the display device accessing media resource content multiple times, increasing the playback burden and cost, and affecting system performance and stability.

Method used

When entering the patch ad playback process, a patch advertisement with play interrupted playback within the historical moment is obtained, and the patch advertisement is played when a specific preset condition is met (that is, the time difference between the playback interrupt time and the current playback time is less than the set time threshold, and the time threshold is less than the total playback time of the patch ad).

Benefits of technology

By prioritizing the acquisition and screening of patch advertisements with certain timeliness, we ensure the effectiveness of advertisements, and reduce the burden on media content access by users when evading advertisements, and improve system performance and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599734A_ABST
    Figure CN119599734A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a playing method and device of a paster advertisement, computer equipment and a computer storage medium, and relates to the technical field of advertisement playing. The method comprises the following steps: in response to entering a playing process of a paster advertisement corresponding to target media content, obtaining a first target paster advertisement which generates playing interruption in a historical moment; when the first target paster advertisement meets a first preset condition, playing the first target paster advertisement; wherein the first preset condition is that the time difference between the playing interruption moment of the first target paster advertisement and the current playing moment is smaller than a first time threshold value, and the first time threshold value is smaller than the total playing duration of the first target paster advertisement. According to the method and the device, a user can be prevented from repeatedly initiating a process of accessing the media resource content by the display equipment in modes of restarting, quick refreshing and the like, so that the operation burden and the cost of a related playing system are reduced, and the system performance and the stability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of advertisement playing, and in particular, to a method for playing a patch advertisement, a device for playing a patch advertisement, a computer device, and a computer storage medium. Background Art

[0002] With the rapid development of display devices, audio-visual media displayed on display devices such as computers, mobile phones, tablets, and televisions have also shown explosive growth momentum, gradually becoming mainstream mass media. Players on display devices often insert patch ads before, after, or during the playback of audio-visual media resources to bring profits to audio-visual operators. Among them, the "film" in patch ads generally refers to audio-visual patches. For example, video ads ranging from 5s to 60s are inserted into video media resources for display.

[0003] In related technical solutions, users usually take certain measures to avoid or reduce the playing time of patch ads, for example, by restarting or quickly refreshing the media resource content to avoid playing patch ads. However, the above restarting and quickly refreshing methods require the display device to repeatedly initiate access to the media resource content, which causes a huge playback burden and cost, and further affects system performance and stability. Summary of the invention

[0004] The embodiments of the present application provide a method for playing patch advertisements, a device for playing patch advertisements, a computer device, and a computer storage medium, thereby overcoming, at least to a certain extent, the technical problem that, due to the limitations and defects of related technologies, the display device repeatedly initiates access to media resource content, thereby causing a huge playback burden and cost, and further affecting system performance and stability.

[0005] A first aspect of an embodiment of the present application provides a method for playing a patch advertisement, the method comprising: in response to entering a playback process of a patch advertisement corresponding to target media content, obtaining a first target patch advertisement that generates a playback interruption within a historical moment; when the first target patch advertisement meets a first preset condition, playing the first target patch advertisement; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a first time threshold, and the first time threshold is less than the total playback duration of the first target patch advertisement.

[0006] According to a second aspect of an embodiment of the present application, a device for playing patch advertisements is provided, the device comprising: an advertisement acquisition module, for obtaining a first target patch advertisement that has been interrupted in a historical moment in response to entering a playback process of a patch advertisement corresponding to target media content; an advertisement playback module, for playing the first target patch advertisement when the first target patch advertisement meets a first preset condition; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a first time threshold, and the first time threshold is less than the total playback duration of the first target patch advertisement.

[0007] According to a third aspect of an embodiment of the present application, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any of the above methods for playing patch advertisements are implemented.

[0008] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for playing patch advertisements as described in any one of the above items are implemented.

[0009] According to a fifth aspect of the embodiments of the present application, a computer program product is provided, including a computer program, which is executed by a processor to implement the steps of any one of the above methods for playing patch advertisements.

[0010] The technical solution of this application has the following beneficial effects:

[0011] Through the patch advertisement playback method, in response to entering the playback process of the patch advertisement corresponding to the target media content, the first target patch advertisement that has been interrupted in the historical moment is obtained; when the first target patch advertisement meets the first preset condition, the first target patch advertisement is played; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement. When entering the patch advertisement playback process, this method gives priority to obtaining patch advertisement resources that have been interrupted in the historical moment, and selects patch advertisements with a certain timeliness from the patch advertisement resources that have been interrupted in the historical moment through the set first preset condition for continued playback. On the one hand, the above method ensures that the selected patch advertisements that have been interrupted in the historical moment will not become invalid or be removed from the shelves, thereby ensuring the effectiveness of the patch advertisements. On the other hand, the above method can largely solve the technical problem that users repeatedly refresh and restart the playback page to deliberately avoid patch ads or reduce the playback time of patch ads, which increases the additional burden and cost of accessing media content, thereby affecting system stability and system performance, thereby achieving the technical effect of reducing the huge burden and cost of accessing media content and ensuring the performance and stability of the audio-visual media playback system. In addition, the above method can also greatly reduce the repetition rate and cost of audio-visual operations and advertising. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0013] Figure 1 An architectural diagram of a patch broadcasting playback system provided by one embodiment of the present application;

[0014] Figure 2 A flowchart of a method for playing a patch advertisement provided by an embodiment of the present application;

[0015] Figure 3 A flow chart of a method for storing a first target patch advertisement whose playback is interrupted within a historical moment provided by an embodiment of the present application;

[0016] Figure 4 A flowchart of another method for storing a first target patch advertisement interrupted during a historical moment provided by an embodiment of the present application;

[0017] Figure 5 A flowchart of a second method for playing a patch advertisement provided by an embodiment of the present application;

[0018] Figure 6A flowchart of a third method for playing a patch advertisement provided by an embodiment of the present application;

[0019] Figure 7 A schematic diagram of the structure of a device for playing patch advertisements provided in one embodiment of the present application;

[0020] Figure 8 A schematic diagram of the computer device structure provided for one embodiment of the present application. DETAILED DESCRIPTION

[0021] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present application will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present application.

[0022] In addition, the accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0023] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.

[0024] In the relevant technical background, with the rapid development of display devices, the audio-visual media displayed by display devices such as computers, mobile phones, tablets, and televisions have also shown an explosive growth momentum, thus gradually becoming the mainstream mass media. The player on the display device often inserts patch ads before, after, or during the playback of audio-visual media resource content (usually referred to as pre-stick, post-stick, and mid-stick) to bring profits to audio-visual operators. Among them, the "patch" in the patch ad generally refers to audio-visual patches, which can be divided into video, audio patches, and Band-Aids. Taking the media resource content as video as an example, the former is to insert video ads ranging from 5s to 60s into the video resource content. The latter is to place advertising elements such as large pictures, barrages, and animated pictures in the media resource content that is being played or paused, mostly in the form of dynamic pictures that pop up and occupy a smaller area.

[0025] In a sense, pre-roll ads are a replica of traditional TV ads in the streaming media era, and are deeply integrated into the commercial model of audio-visual media. Video media targets video viewers and inserts pre-roll ads to realize traffic monetization, thus becoming one of the important profit methods for audio-visual operators and advertising investors.

[0026] However, users usually take certain measures to intentionally avoid or reduce the playing time of patch ads, for example, by restarting or quickly refreshing the media resource content to avoid the playing of patch ads. However, the above restarting, quickly refreshing, etc., on the one hand, requires the display device to repeatedly initiate access to the media resource content, thereby placing a huge playback burden and cost on the player or server of the display device, thereby affecting the performance of the audio-visual media playback system; and frequent access may even cause the system to crash, affecting system stability. On the other hand, users' intentional avoidance of patch ads or reducing the playing time of patch ads will cause huge economic losses to audio-visual operators and advertising investors, thereby affecting the development of audio-visual media.

[0027] The exemplary embodiment of the present application takes the above-mentioned problems into consideration and proposes a method for playing patch ads, which can be applied to any application scenario where patch ads need to be played. When entering the patch ad playback process, the method gives priority to obtaining patch ad resources that have been interrupted at historical moments, and selects patch ads with a certain timeliness from the patch ad resources that have been interrupted at historical moments through the set first preset condition for continued playback. On the one hand, the above method ensures that the patch ads that have been screened out for interruption at historical moments will not become invalid or be removed from the shelves, thereby ensuring the effectiveness of the patch ads. On the other hand, the above method can largely solve the technical problem that users deliberately avoid patch ads or reduce the playback time of patch ads by repeatedly refreshing and restarting the playback page, which leads to an increase in the additional burden and cost of accessing media content, thereby affecting the stability and performance of the system, thereby achieving the technical effect of reducing the huge burden and cost of accessing media content and ensuring the performance and stability of the playback system of audio-visual media. In addition, the above method can also greatly reduce the repetition rate and cost of audio-visual operations and advertising delivery.

[0028] The following will be combined Figure 1 , the method and device for playing patch advertisements proposed in this application are applied to Figure 1 The embodiment is described in the system architecture of the exemplary application environment shown.

[0029] like Figure 1 As shown, a schematic diagram of an application scenario provided by an embodiment of the present application, in which a display device 101, a server 102 and a player 103 may be included, wherein the player 103 may be a software for storing video or audio files in the form of digital signals, or may be an electronic device product with the function of playing video or audio files, which is used to play high-definition video content and / or play audio content. It is usually connected to a TV or other display device (display device 101), and transmits the picture and sound to the display device 101 for the user to watch by reading the video and audio files in the storage medium (such as a hard disk, a USB flash drive, an optical disk, etc.) or a network streaming media service. And the player 103 can be integrated in the display device 101 or in different devices, and the embodiment of the present application does not impose any special restrictions on this.

[0030] Among them, the display device 101 can be an independent display device, such as a display screen, or a display device integrated with other systems. For example, it can be a mobile phone, a tablet computer (PAD), a laptop computer, a desktop computer, a smart TV, a smart car device, a smart wearable device, a smart TV, a broadcasting device (such as a radio) and an aircraft. The display device 101 presents the audio-visual media content to be played and the audio-visual media content playback functions in the form of a target application or an audio-visual list. For example, when the display device 101 is a mobile phone, a video application is installed on it, and the corresponding audio-visual media content list to be played is displayed by running the video application for the user to choose; when the display device 101 is a TV, the video media content list to be played can be directly displayed for the user to choose. It should be explained that the above-mentioned target application involved in the embodiment of the present application can be a software client, or a client such as a web page or a small program. The server 102 is a server corresponding to the software or a web page, a small program, etc., and does not limit the specific type of the client.

[0031] The server 102 is the corresponding background server of the display device 101, and is used to provide corresponding background services for it. For example, the server 102 provides the display device 101 with processing services for patch advertisements, etc. It can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, i.e., content delivery networks (CDN), as well as big data and artificial intelligence platforms, but is not limited to these.

[0032] It should be noted that the method for playing patch advertisements in the embodiment of the present application can be executed by the display device 101 or the server 102 alone, or by the server 102 and the display device 101 together. In actual application, specific configurations can be made according to the situation, and the present application does not make specific limitations here. When the method for playing patch advertisements provided in the embodiment of the present application is executed by the server 102 or the display device 101 alone, the above Figure 1 The application scenario shown may also include only a single device, the server 102 or the display device 101, or the server 102 and the display device 101 may be considered to be the same device. Of course, in actual application, when the method for playing the patch advertisement provided in the embodiment of the present application is jointly executed by the server 102 and the display device 101, the server 102 and the display device 101 may also be the same device, that is, the server 102 and the display device 101 may be different functional modules of the same device, or virtual devices virtualized from the same physical device.

[0033] The server 102 and the display device 101 may each include one or more processors, memories, and an interactive I / O interface, etc. In addition, the server 102 may also be configured with a database, which may be used to store patch advertisements that are interrupted during playback, audio-visual media content that is interrupted during playback, etc. The memories of the server 102 and the display device 101 may also store program instructions that need to be executed in the patch advertisement playback method provided in the embodiment of the present application, and these program instructions, when executed by the processor, can be used to implement the patch advertisement playback process provided in the embodiment of the present application.

[0034] In the embodiment of the present application, the display device 101, the player 103 and the server 102 can be directly or indirectly connected to each other through one or more networks 104. The network 104 can be a wired network or a wireless network. For example, the wireless network can be a mobile cellular network or a wireless fidelity (Wireless-Fidelity, WIFI) network. Of course, it can also be other possible networks, which are not limited in the embodiment of the present application. It should be noted that Figure 1 The figure is only an example. In fact, the number of display devices and servers is not limited and is not specifically limited in the embodiments of the present application.

[0035] For example, in an exemplary embodiment, a user may display media resource content through the display device 101, and the server 102 provides the advertising resources of the patch advertisement to be played. In response to entering the playback process of the patch advertisement corresponding to the target media content, the player 103 obtains the first target patch advertisement that has been interrupted in the historical moment; when the first target patch advertisement meets the first preset condition, the player plays the first target patch advertisement on the screen display of the display device 101; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

[0036] Below, in combination with the application scenarios described above, the method provided by the exemplary embodiment of the present application is described with reference to the accompanying drawings. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present application, and the implementation of the present application is not limited in this respect. It should be noted that the following method can be executed by the above display device, player or server, or by the display device and the server together. Here, it is specifically shown by taking the display device or server as an example.

[0037] See also Figure 2 As shown, it is a schematic diagram of the playing process of the patch advertisement provided in the embodiment of the present application. The method can be executed by a computer device. The computer device is Figure 1 Taking the player shown in FIG. 1 as an example, the specific implementation process of the method is as follows: Step 201 to Step 202:

[0038] Step 201: In response to entering a playback process of a patch advertisement corresponding to target media content, a first target patch advertisement that has a playback interruption within a historical moment is obtained.

[0039] Step 202: When the first target patch advertisement meets a first preset condition, play the first target patch advertisement; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

[0040] In the technical solutions provided in some embodiments of the present application, in response to entering the playback process of the patch advertisement corresponding to the target media content, the first target patch advertisement that has been interrupted in the historical moment is obtained; when the first target patch advertisement meets the first preset condition, the first target patch advertisement is played; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement. When entering the playback process of the patch advertisement, this method gives priority to obtaining the patch advertisement resources that have been interrupted in the historical moment, and filters out the patch advertisements with a certain timeliness from the patch advertisement resources that have been interrupted in the historical moment through the set first preset condition for continued playback. On the one hand, the above method ensures that the patch advertisements that have been interrupted in the historical moment will not become invalid or be removed from the shelves, thereby ensuring the effectiveness of the patch advertisements. On the other hand, the above method can largely solve the technical problem that users repeatedly refresh and restart the playback page to deliberately avoid patch ads or reduce the playback time of patch ads, which increases the additional burden and cost of accessing media content, thereby affecting system stability and system performance, thereby achieving the technical effect of reducing the huge burden and cost of accessing media content and ensuring the performance and stability of the audio-visual media playback system. In addition, the above method can also greatly reduce the repetition rate and cost of audio-visual operations and advertising.

[0041] The following will be combined with specific embodiments to Figure 2 The specific implementation methods of each step in the embodiment shown are described in detail:

[0042] In step 201, in response to entering the playback process of the patch advertisement corresponding to the target media content, the first target patch advertisement that has been interrupted in playback within a historical moment is obtained.

[0043] Among them, the patch advertisements include the pre-roll advertisements (referred to as pre-roll advertisements) that are played preferentially before the main film of the media content starts playing, the insert advertisements (referred to as mid-roll advertisements) that are inserted during the main film playing, and the post-roll advertisements (referred to as post-roll advertisements) that are played after the main film playing ends. The target media content can be video content, audio content, etc. In this embodiment, the patch advertisements in step 201 are pre-roll advertisements, mid-roll advertisements, or post-roll advertisements for the target media content.

[0044] For the same patch advertisement, it can be composed of one sub-patch advertisement or a combination of multiple sub-patch advertisements. For example, the total duration of a patch advertisement is 60 seconds, the first sub-patch advertisement is a brand of liquor advertisement (playing duration is 20 seconds), and the second sub-patch advertisement is a brand of black tea advertisement (playing duration is 30 seconds). The above different sub-patch advertisements can be in the same audio-visual advertisement file (such as an mp4 file or an m3u8 file), or in multiple independent audio-visual advertisement files.

[0045] The first target patch advertisement is a patch advertisement that generates a playback interruption event at a historical moment, and the playback interruption refers to an interruption caused by the patch advertisement exiting the playback before the playback is completed.

[0046] Exemplarily, the above-mentioned playback interruption event can be triggered based on the following embodiments: when the player is playing a patch advertisement at a certain historical moment, if the patch advertisement is interrupted due to operations such as refreshing, closing, replaying of media content, and switching of media content on the page where the player is located, the advertising resources corresponding to the first target patch advertisement whose playback is interrupted are stored in a preset location for the player to retrieve later.

[0047] It should be explained that the above-mentioned replay of media content refers to the replay of media content, such as the operation in which the user clicks a control such as "replay" or jumps to another page and then returns to the current playback page to play again, and the identifier of the replayed media resource remains unchanged. The above-mentioned switching of media content includes: switching from one media channel to another media channel, or switching from one on-demand video to another on-demand video.

[0048] In an optional embodiment of the present application, in response to the current playback time of the patch advertisement, a determination is made based on the configuration information of the patch advertisement whether to enter the playback process of the patch advertisement, and a determination result is obtained; if the determination result is to enter the playback process of the patch advertisement, a first target patch advertisement is obtained; if the determination result is not to enter the playback process of the patch advertisement, the media content continues to be played.

[0049] The configuration information of the patch advertisement is the configuration parameters pre-added for the patch advertisement, or the configuration parameters of the player at the time of playing the patch advertisement.

[0050] Exemplarily, when the player is at the time of playing a patch advertisement, it can determine in advance whether it needs to enter the playback process of the patch advertisement based on the configuration information of the patch advertisement. Taking the H5 player as an example, it can be controlled by the playback page variable. For example, when the H5 player is at the time of playing a pre-roll advertisement, it can be controlled by the playback page variable isPreAd. If isPreAd=true, the player determines to enter the playback process of the pre-roll advertisement; conversely, if isPreAd=false, the player determines not to enter the playback process of the pre-roll advertisement.

[0051] If the judgment result is that the patch advertisement playback process is entered (for example, isPreAd=true), the first target patch advertisement that interrupts the playback is obtained; otherwise, if the judgment result is that the patch advertisement playback process is not entered (for example, isPreAd=false), the media content continues to be played. For example, if the patch advertisement is a pre-roll advertisement, after judging that the pre-roll advertisement playback process is not entered, the player can control the media content to start playing.

[0052] In this embodiment, whether to enter the patch advertisement playing process is determined by the configuration information of the patch advertisement, so that the logic of the system operation can be enhanced.

[0053] Based on any of the above embodiments, if the player enters the patch advertisement playback process, the player cannot play the patch advertisement. For example, the following embodiments cannot play the patch advertisement:

[0054] In an optional embodiment of the present disclosure, if there is no first target patch advertisement whose playback is interrupted within a historical moment, or there is a first target patch advertisement whose playback is interrupted within a historical moment, but the advertising resources corresponding to the first target patch advertisement are empty, it can be determined that the first target patch advertisement does not meet the first preset condition at this time, and thus the first target patch advertisement will not be played, so that the player can continue to determine the content to be played.

[0055] For example, after the player enters the patch advertisement playback process, if no advertising resources of the patch advertisement that was interrupted at any historical moment are detected, or if a corresponding patch advertisement that was interrupted is detected but the advertising resources of the patch advertisement are empty, the playback of the first target patch advertisement that was interrupted will not be realized, and the player can control the target media content to continue to play or play the second target patch advertisement. Whether the player continues to play the target media content or plays the second target patch advertisement can be determined according to the following embodiments, which will not be described here.

[0056] It needs to be explained that, with regard to the case where the player determines to continue playing the target media content, since the patch ads can be divided into pre-patch, mid-patch and post-patch ads, the corresponding media content may be in the stage of not yet played, in the process of playing or at the end of playing, the process of the above-mentioned player controlling the continued playback of the media content corresponds to the pre-patch, mid-patch and post-patch ads respectively: start playing the media content, continue playing from the interruption position of the media content, and end playing of the media content.

[0057] In an optional embodiment, the advertising resources corresponding to the first target patch advertisement in the above embodiment include: the address information of the first target patch advertisement, the playback duration information, the playback interruption time, the playback order identifier of each sub-patch advertisement corresponding to the first target patch advertisement, and one or more of the mapping relationship between the first target patch advertisement and the media content; the mapping relationship between the first target patch advertisement and the media content includes: the identification information of the media content, the interface identifier of the player, and the advertising category identifier of the first target patch advertisement.

[0058] Exemplarily, the address information of the first target patch advertisement can be used to quickly find the storage location of the first target patch advertisement; the advertising resources of the patch advertisement that generates a play interruption event include the play interruption time, and the advertising resources of the patch advertisement that does not generate a play interruption event do not include the play interruption time.

[0059] Among them, for the above-mentioned playback interruption time, the time when the first target patch advertisement is interrupted due to operations such as refreshing, closing, replaying of media content and switching of media content on the page where the player is located can be used as the playback interruption time of the first target patch advertisement.

[0060] One embodiment of the advertising resource components shown in the above embodiment will be described below in conjunction with the following Table 1 and Table 2.

[0061] Example 1: Table 1 is one of the components when the first target patch advertisement includes a sub-patch advertisement, as shown in the following Table 1:

[0062] Table 1

[0063] adURL adDuration lastPlayTimestamp ... https: / / www.xxx.com / preAd.m3u8 45 1756275875 ...

[0064] In the above Table 1, adURL is the address information of the first target patch advertisement; adDuration is the playback duration information of the first target patch advertisement, and its unit is usually seconds, and 45 indicates that the advertisement playback duration is 45 seconds; lastPlayTimestamp is the timestamp representation of the playback interruption time.

[0065] Example 2: Table 2 is one of the components when the first target patch advertisement includes multiple sub-patch advertisements, as shown in the following Table 2:

[0066] Table 2

[0067] pOrder adURL adDuration lastPlayTimestamp ... 1 https: / / www.xxx.com / preAd01.m3u8 15 1756275875 ... 2 https: / / www.xxx.com / preAd02.m3u8 10 1756275875 3 https: / / www.xxx.com / preAd03.m3u8 15 1756275875

[0068] In the above Table 2, pOrder is the play order identifier of each sub-patch advertisement in the first target patch advertisement, which is used to characterize the play order of each sub-patch advertisement. The play order identifier is usually the same as the play order of the first target patch advertisement when it is played normally. For example, "https: / / www.xxx.com / preAd01.m3u8" is the first patch advertisement played in the first target patch advertisement. When a play interruption occurs, its corresponding play order identifier is "1", and correspondingly, "2" represents the second sub-patch advertisement played, and so on. adURL is the address information of each sub-patch advertisement; adDuration is the play duration information of each sub-patch advertisement, and its unit is usually seconds. The corresponding play duration information of the first target patch advertisement is the sum of the play durations of the above sub-patch advertisements, that is, 15+10+15=40 seconds; lastPlayTimestamp is the timestamp representation of the corresponding play interruption moment of each sub-patch advertisement.

[0069] It can be seen from Table 2 that for the same first target patch advertisement, there are at least two independent audio-visual advertisement files (that is, there are at least two sub-patch advertisements in the first target patch advertisement). If the playback is interrupted, the playback interruption time corresponding to each sub-patch advertisement is the same. For example, the lastPlayTimestamp corresponding to the above-mentioned sub-patch advertisements is the same, which is 1756275875.

[0070] The mapping relationship between the first target patch advertisement and the media content includes one or more of the identification information of the media content, the interface identification of the player, and the advertisement category identification of the first target patch advertisement.

[0071] The identification information of the media content can be the channel identification (Identity Document, ID) for live media, or the Globally Unique Identifier (GUID) for on-demand media. The player interface identification can be the Uniform Resource Locator (URL) of the page where the player is located for an H5 player.

[0072] The advertisement category identifier of the first target patch advertisement refers to the identification information of the advertisement category corresponding to the patch advertisement, and the advertisement category may be, for example, finance category advertisement, sports category advertisement, and daily necessities category advertisement. Different live channels or different on-demand contents (i.e., different media contents) may correspond to the same or different categories of patch advertisements, which may be determined based on the business requirements and configuration of the audio-visual operator.

[0073] In this embodiment, by setting the mapping relationship between the first target patch advertisement and the media content in the advertisement resource of the first target patch advertisement, the patch advertisement corresponding to the currently played media content can be screened out from the advertisement resources of the patch advertisements that were interrupted at many historical moments. For example, the media content configured for a certain TV channel A is a certain financial advertisement, and the media content configured for a certain TV channel B is a certain sports advertisement. If the first target patch advertisement that was interrupted and stored contains a financial advertisement and a sports advertisement, then when playing TV channel A, based on the mapping relationship between the first target patch advertisement and the media content set in the advertisement resource, the financial advertisement matching TV channel A can be obtained first for playback.

[0074] Based on the above embodiment, when executing step 201 in response to entering the playback process of the patch advertisement corresponding to the target media content, when obtaining the first target patch advertisement whose playback was interrupted in the historical moment, it is also necessary to pre-store the first target patch advertisement whose playback was interrupted in the historical moment.

[0075] The following will be combined Figure 3 The process of storing the first target patch advertisement whose playback is interrupted in a historical moment is exemplified.

[0076] Figure 3 A flowchart of a method for storing a first target patch advertisement that is interrupted in a historical moment is provided for one embodiment of the present application, wherein the historical moment includes a first historical moment and a second historical moment, and the time span from the second historical moment to the current playback moment is greater than the time span from the first historical moment to the current playback moment, that is, the second historical moment is earlier than the first historical moment. The specific implementation process of the method is as follows: Steps 301 to 305:

[0077] In an optional embodiment, in response to the playback interruption of the first patch advertisement corresponding to the target media content at the first historical moment, in step 301, it is determined whether the playback time of the first patch advertisement is less than a second time threshold.

[0078] Among them, the second time threshold can be a specific time value, or a play ratio value (i.e., played time / total play time). For example, if there is a patch advertisement with a total play time of 20 seconds, the second time threshold can be configured as 10 seconds or 50%. If the first patch advertisement is interrupted when playing for 5 seconds, at this time, the played time of the first patch advertisement of 5 seconds is less than the second time threshold (10 seconds), or the played time of the first patch advertisement of 5 / 20 is less than the second time threshold (50%), then the following step 302 can be executed to execute the following step 303 or 304. On the contrary, if the first patch advertisement is interrupted when playing for 15 seconds, at this time, the played time of the first patch advertisement of 15 seconds is greater than the second time threshold (10 seconds), or the played time of the first patch advertisement of 15 / 20 is greater than the second time threshold (50%), then the following step 302 can be executed to execute the following step 305 or end.

[0079] It should be understood that, in one embodiment, after the player responds in step 201 to entering the playback process of the patch advertisement corresponding to the target media content, when the patch advertisement currently being played is interrupted, the patch advertisement currently being interrupted is the first patch advertisement that was interrupted at the first historical moment.

[0080] In an optional embodiment of the present application, if the playing time of the first patch advertisement is less than the second time threshold, step 302 is executed to determine whether there is a second patch advertisement.

[0081] The second patch advertisement is a patch advertisement that generates a playback interruption for the target media content at the second historical moment, that is, a patch advertisement that generates a playback interruption at an earlier moment than the first historical moment when the player is playing the target media content.

[0082] If it exists, then step 303 is executed to replace the second patch advertisement based on the first patch advertisement. Through step 303, only the replaced first patch advertisement can be stored, so that the stored patch advertisement is the patch advertisement with the latest timeliness. Otherwise, if it does not exist, step 304 is executed to directly store the first patch advertisement.

[0083] When executing the storage of the first patch advertisement, in an optional embodiment of the present application, the first patch advertisement is stored in the browser where the player is located or in the client where the player is located.

[0084] Exemplarily, the first patch advertisement can be stored in the cookie or localStorage of the browser where the player is located. It should be explained that the browser's cookies and localStorage are two different front-end data storage methods, each with different characteristics and uses. For example, Cookies are small pieces of data stored in the browser, usually used to store user session information or website status information. Cookies are stored in the form of key-value pairs (key=value) and can be accompanied by attributes such as expiration time (expires), path (path), domain name (domain), etc. LocalStorage is part of the Web Storage API, which allows websites to store data persistently in the browser. Compared with Cookies, localStorage has a larger storage capacity, and the specific storage method can be determined according to actual conditions.

[0085] The first patch advertisement may also be stored in the client where the player is located. For example, the client may be an application running on a terminal device. Thus, when it is determined to play the first patch advertisement, the advertisement resource of the first patch advertisement is directly obtained from the local cache of the client where the player is located for playing.

[0086] In this embodiment, the first patch advertisement whose playback is interrupted at the first historical moment is stored in the local cache of the browser where the player is located or the client where the player is located, so that when the page where the player is located is refreshed or closed, the advertising resources of the first patch advertisement whose playback is interrupted at the first historical moment will not be lost due to the refresh or close operation, so that the first patch advertisement can be played again later, avoiding the user from intentionally avoiding or reducing the playback time of the patch advertisement through operations such as page refresh or close. When determining to play the first patch advertisement, it is not necessary to obtain the advertising resources from the server of the advertisement, but directly read and play the advertisement from the browser where the player is located or the client where the player is located, thereby improving the efficiency of advertisement playback.

[0087] In another optional embodiment of the present application, the first patch advertisement is stored in a variable form.

[0088] Exemplarily, storing the first patch advertisement in the form of a variable can cope with the scenario where the player's playback page is not refreshed, closed, or redirected, and patch advertisement resources are only stored and obtained on the same page.

[0089] Based on the above method of storing patch ads, the patch ad resources whose playback is interrupted can be stored on the device where the player is located, without having to be obtained from a dedicated ad server, making playback faster and more efficient without occupying the resources of the ad server, thereby quickly, efficiently and reliably realizing the storage and acquisition of patch ad resources whose playback is interrupted within historical moments.

[0090] In this embodiment, patch ads are time-sensitive, so when storing patch ads, it is necessary to update and replace them, and it is also necessary to ensure that at most only one patch ad resource corresponding to the target media content that is interrupted at the second historical moment can be stored, otherwise too many patch ads will be interrupted and the target media content will not be able to play normally.

[0091] In another optional embodiment of the present application, if the played time of the first patch advertisement is not less than (i.e., greater than or equal to) the second time threshold, step 302 is still executed to determine whether there is a second patch advertisement. When there is a second patch advertisement that generates a playback interruption for the target media content at the second historical moment, step 305 is executed to delete the second patch advertisement. Otherwise, no operation needs to be performed.

[0092] For example, if the playing time of the first patch advertisement is greater than or equal to the second time threshold, it can be considered that the first patch advertisement has been played and the stored second patch advertisement is no longer necessary. In this case, it can be deleted or cleaned up to improve the user experience.

[0093] In the above Figure 3 In the embodiment shown, the first patch advertisement is a processing process executed when a playback interruption event occurs. If the playback of the first patch advertisement is not interrupted and ends smoothly, that is, the playback time of the first patch advertisement is equal to the total playback time of the first patch advertisement, it can be implemented based on the following embodiments:

[0094] In an optional embodiment of the present application, in response to an instruction to end playback of the first patch advertisement, the second patch advertisement is deleted.

[0095] For example, if the first patch advertisement at the first historical moment has been played, then the advertising resources of the second patch advertisement whose playing is interrupted at the second historical moment corresponding to the target media content are unnecessary and can be deleted.

[0096] Through this embodiment, it can be ensured that only the patch advertisements whose playback is interrupted within the time limit are stored, and the storage area is cleared in time after the first patch advertisement has been played. This can ensure that the playback logic can improve the system stability while releasing storage resources in time to improve the storage resource utilization.

[0097] In the above Figure 3 Based on the embodiment shown in the figure, when the first patch advertisement contains multiple sub-patch advertisements, Figure 4 , for the case where the first patch advertisement contains multiple sub-patch advertisements, a process of storing the first target patch advertisement whose playback was interrupted within a historical moment is implemented.

[0098] Figure 4 Another method flow chart of storing the first target patch advertisement interrupted during the historical moment provided by an embodiment of the present application, referring to Figure 4 As shown, the specific implementation process of this method is as follows:

[0099] In an optional embodiment of the present application, the first patch advertisement includes a first sub-patch advertisement and a second sub-patch advertisement, and the playback order of the first sub-patch advertisement is before the playback order of the second sub-patch advertisement, that is, when the first patch advertisement is played, the first sub-patch advertisement will be played first, and then the second sub-patch advertisement will be played.

[0100] In an optional embodiment of the present application, in response to the playback interruption of the first patch advertisement corresponding to the target media content at the first historical moment, when the above step 301 determines whether the playback time of the first patch advertisement is less than the second time threshold, step 401 can be executed to determine whether the playback time of the first sub-patch advertisement is less than the second time threshold.

[0101] If the playing time of the first sub-patch advertisement is less than the second time threshold, step 402 is executed to store the first sub-patch advertisement and the second sub-patch advertisement, so as to execute step 302->step 303 (at this time, step 303 is to replace the second sub-patch advertisement based on the first sub-patch advertisement and the second sub-patch advertisement) or step 302->step 304 (at this time, step 304 is to directly store the first sub-patch advertisement and the second sub-patch advertisement).

[0102] On the contrary, if the playing time of the first sub-patch advertisement is greater than or equal to the second time threshold, step 403 is executed to determine whether the playing time of the second sub-patch advertisement is less than the second time threshold.

[0103] If the playing time of the second sub-patch advertisement is less than the second time threshold, step 404 is executed to store the second sub-patch advertisement, and then step 302->step 303 is executed (in this case, step 303 is to replace the second patch advertisement based on the second sub-patch advertisement) or step 302->step 304 (in this case, step 304 is to directly store the second sub-patch advertisement).

[0104] If the playing time of the second sub-patch advertisement is also greater than or equal to the second time threshold, the first patch advertisement does not need to be stored. At this time, step 302 -> step 305 can be directly executed or step 302 -> end can be executed.

[0105] For example, taking the second time threshold as the playback ratio, if the second time threshold is configured as 50%, and in a patch advertisement playback process, 3 independent patch advertisement files need to be played (i.e., the patch advertisement consists of 3 sub-patch advertisements). Assume that when the patch advertisement is interrupted, the first sub-patch advertisement a has been played (i.e., the playback progress is 100%), and the time progress of the second sub-patch advertisement b is 60%. At this time, the time progress of the third sub-patch advertisement c must be 0, then it can be determined that both sub-patch advertisement a and sub-patch advertisement b are greater than the second time threshold (50%), and only the playback time of sub-patch advertisement c is less than the second time threshold, then only sub-patch advertisement c is retained and stored.

[0106] In this embodiment, the patch ads that have been played or have been longer than the second time threshold are not stored, so as to free up more storage space, and there is no need to repeatedly play them as patch ad resources that interrupt playback, thereby avoiding repeated playback of patch ads within a certain period of time and improving user experience. It also avoids visual fatigue of users when watching ads, thereby reducing the technical problem of a sharp increase in system playback pressure caused by taking circumvention measures and improving system stability.

[0107] It should be explained that the number of the first sub-patch advertisement and the second sub-patch advertisement contained in the above-mentioned first patch advertisement is only exemplary, and can also be any other number value greater than 2 sub-patch advertisements, and the embodiments of the present application do not impose any special restrictions on this. And when storing patch advertisement resources that are interrupted in any of the above-mentioned embodiments, the patch advertisement resources can be stored in the browser where the player is located, or stored in the form of variables, so as to facilitate the storage and acquisition of patch advertisement resources that are interrupted in the historical moment in time in a fast, efficient and reliable manner.

[0108] Furthermore, in the above embodiment, the first target patch advertisement is stored, and after the first target patch advertisement whose playback is interrupted in the historical moment is obtained in response to entering the playback process of the patch advertisement corresponding to the target media content in step 201, step 202 can be executed. That is, in step 202, if the first target patch advertisement meets the first preset condition, the first target patch advertisement is played, and the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

[0109] Exemplarily, after successfully obtaining the first target interstitial advertisement in step 201, the interruption moment of playing the first target interstitial advertisement can be obtained, so as to compare the time difference between the interruption moment (T1) of playing the first target interstitial advertisement and the current playing moment (T2) (which can be characterized as an absolute value, i.e., |T1 - T2|) with the first time threshold (t1). Thus, when |T1 - T2| < t1, the first target interstitial advertisement is played.

[0110] Among them, the first time threshold (t1) < the total playing duration (t2) of the first target interstitial advertisement. By setting the condition of t1 < t2, it is considered that users usually do not wait for an advertisement to play for a certain duration and then take measures such as refreshing the page to avoid playing the interstitial advertisement.

[0111] Through the embodiment of step 202 above, it is possible to prevent users from deliberately using operations such as refreshing the playing page (operations generated in a short time) to avoid playing the interstitial advertisement, especially for application scenarios where the presence or absence of interstitial advertisements occurs randomly. In this regard, the first time threshold (t1) can usually be set to a relatively small value according to advertising requirements and actual experience, such as any value between 5 - 10 seconds. In this way, the player can determine that operations such as refreshing the page by the user in a short time are behaviors of the user using page refresh and other means to avoid interstitial advertisements. In this regard, the interstitial advertisement interrupted due to page refresh can be triggered to continue playing without being affected by the user's refresh operation. On the one hand, this method avoids users' deliberate avoidance of interstitial advertisements and recovers the economic losses of video and audio operators and advertising investors. On the other hand, when users find that they cannot avoid interstitial advertisements, they will not repeatedly trigger operations such as refreshing and restarting the playing page, thereby reducing the playing pressure and cost and ensuring system stability.

[0112] In addition, for the scenario where the presence or absence of the above interstitial advertisement occurs randomly, it usually means that according to the advertising strategy of the media content operator, at the same moment of the same user, an interstitial advertisement may or may not be played. That is, there is a certain probability of playing the interstitial advertisement. When a user encounters an interstitial advertisement being played, the user may refresh the page to "draw" the "prize" of not playing the interstitial advertisement next time to avoid the advertisement.

[0113] Further, on the basis of the above embodiment, there is also an embodiment opposite to the above step 202. The following will be combined with Figure 5 to exemplarily illustrate the process of the second method for playing interstitial advertisements.

[0114] Figure 5 is a flowchart of the second method for playing interstitial advertisements provided by an embodiment of the present application. Refer to Figure 5Based on the above steps 201 and 202, the method may include the following steps 501 to 504:

[0115] Step 501: In response to entering a playback process of a patch advertisement corresponding to target media content, a first target patch advertisement that has a playback interruption within a historical moment is obtained.

[0116] Step 502: Determine whether the first target patch advertisement meets a first preset condition.

[0117] Among them, the first preset condition is that the time difference between the playback interruption time of the first target patch advertisement and the current playback time is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

[0118] If the first target patch advertisement meets the first preset condition, step 503 is executed to play the first target patch advertisement.

[0119] In an optional embodiment of the present application, if the first target patch advertisement does not meet the first preset condition, step 504 is executed to obtain the second target patch advertisement, and step 505 is executed to determine whether the first target patch advertisement and the second target patch advertisement meet the second preset condition.

[0120] If the conditions are met, step 506 is executed to play the second target patch advertisement.

[0121] The second target patch advertisement is a patch advertisement resource provided to the current playback instance (current playback process) according to conventional configuration, and refers to the target patch advertisement to be played, which is different from the first target patch advertisement that caused the playback interruption at the historical moment.

[0122] Exemplarily, the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement. If the first target patch advertisement does not meet the above first preset condition, for example, the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is greater than or equal to the first time threshold, the first target patch advertisement representing the playback interruption at the historical moment may be invalid or removed from the shelves, so it is necessary to obtain the second target patch advertisement, and determine whether the first target patch advertisement and the second target patch advertisement meet the second preset condition, so as to play the second target patch advertisement when the second preset condition is met.

[0123] It should be noted that this embodiment is implemented under the condition that the advertising resources corresponding to the second target patch advertisement exist and are not empty. It is conceivable that if the advertising resources corresponding to the second target patch advertisement are empty, the second target patch advertisement cannot be played.

[0124] In an optional embodiment, the second preset condition includes one or more of the following combinations:

[0125] 1) The total playback time of the second target patch advertisement is greater than or equal to the total playback time of the first target patch advertisement; 2) The patch advertisement corresponding to the target media content is pre-set as the second target patch advertisement; 3) The advertising resources of the first target patch advertisement are empty; 4) The playback priority of the second target patch advertisement is greater than the playback priority of the first target patch advertisement.

[0126] Each of the above-mentioned preset conditions will be described separately below in conjunction with specific embodiments, as follows:

[0127] 1) In an optional embodiment, if the first target patch advertisement and the second target patch advertisement satisfy that the total play time of the second target patch advertisement is greater than or equal to the total play time of the first target patch advertisement, the second target patch advertisement is played.

[0128] Exemplarily, the second preset condition set in this embodiment can prevent the user from closing the playback page, then opening the same playback page again after a period of time and playing it again to avoid the patch advertisement. It should be noted that, if the advertising system does not pre-set the patch advertisement played at the current playback time as the second target patch advertisement, if the total playback time of the second target patch advertisement is less than the total playback time of the first target patch advertisement, the first target patch advertisement will be played.

[0129] In this embodiment, by acquiring the advertising resources of the second target patch advertisement and comparing the total playback time of the second target patch advertisement with the total playback time of the first target patch advertisement, patch advertisement resources with a longer total playback time are played, which can reduce the above operations of the user to a certain extent.

[0130] 2) In an optional embodiment, if the first target patch advertisement and the second target patch advertisement satisfy the system's preset target media content corresponding patch advertisement as the second target patch advertisement, the second target patch advertisement is played.

[0131] The advertisement system pre-sets the patch advertisement played at the current playing time as the second target patch advertisement, and then needs to play the second target patch advertisement. The second target patch advertisement is usually provided by a dedicated advertisement server.

[0132] Exemplarily, when the player obtains the second target patch advertisement, the player may be notified of whether the patch advertisement corresponding to the target media content is designated as the second target patch advertisement, and the player may also be notified of whether the first target patch advertisement is invalid or removed.

[0133] 3) In an optional embodiment, if the first target patch advertisement and the second target patch advertisement satisfy the requirement that the advertisement resource of the first target patch advertisement is empty, the second target patch advertisement is played.

[0134] For example, if the ad resource is not obtained or is empty, the duration can be considered to be 0, and the ad resource with a duration of 0 will obviously not be played. Therefore, when the ad resource of the first target patch ad is empty, or the total play duration of the ad resource of the first target patch ad is 0, that is, the ad resource of the first target patch ad is not obtained or is empty, only the second target patch ad can be played.

[0135] 4) In an optional embodiment, if the first target patch advertisement and the second target patch advertisement satisfy the requirement that the playing priority of the second target patch advertisement is greater than the playing priority of the first target patch advertisement, the second target patch advertisement is played.

[0136] Exemplarily, when the play priority of the second target patch advertisement is greater than the play priority of the first target patch advertisement, the second target patch advertisement is played.

[0137] Of course, in an optional embodiment, if the first target patch advertisement and the second target patch advertisement satisfy a combination of two or more of the above conditions, the second target patch advertisement is played.

[0138] Based on the above embodiment, the present application embodiment also provides a third method for playing patch advertisements. Figure 5 Based on the embodiment shown, the following will be combined Figure 6 The process of the third method for playing patch advertisements is exemplified.

[0139] Figure 6 A flowchart schematically shows a third method for playing a patch advertisement in this exemplary embodiment, see Figure 6 , the method includes steps 501 to 507:

[0140] Step 501: In response to entering a playback process of a patch advertisement corresponding to target media content, a first target patch advertisement that has a playback interruption within a historical moment is obtained.

[0141] Step 502: Determine whether the first target patch advertisement meets a first preset condition.

[0142] Among them, the first preset condition is that the time difference between the playback interruption time of the first target patch advertisement and the current playback time is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

[0143] If the first target patch advertisement meets the first preset condition, step 503 is executed to play the first target patch advertisement.

[0144] If the first target patch advertisement does not meet the first preset condition, step 504 is executed to obtain the second target patch advertisement, and step 505 is executed to determine whether the first target patch advertisement and the second target patch advertisement meet the second preset condition.

[0145] The second preset condition may include one or more of the following combinations:

[0146] 1) The total playback time of the second target patch advertisement is greater than or equal to the total playback time of the first target patch advertisement; 2) The patch advertisement corresponding to the target media content is pre-set as the second target patch advertisement; 3) The advertising resources of the first target patch advertisement are empty; 4) The playback priority of the second target patch advertisement is greater than the playback priority of the first target patch advertisement.

[0147] If the conditions are met, step 506 is executed to play the second target patch advertisement.

[0148] If the first target patch advertisement and the second target patch advertisement do not satisfy the second preset condition, step 507 is executed to determine whether the first target patch advertisement satisfies the third preset condition.

[0149] The third preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the third time threshold, and the third time threshold is less than the total playback time of the first target patch advertisement. The third time threshold can be set to a smaller value according to advertising needs and actual experience, such as any value between 10 and 30 seconds, which is different from the value of the first time threshold.

[0150] If the first target patch advertisement meets the third preset condition, step 503 is executed to play the first target patch advertisement.

[0151] In this embodiment, by setting the third time threshold, users can be prevented from deliberately avoiding patch ads or reducing the playing time of patch ads by refreshing the page, especially in scenarios where the presence or absence of patch ads occurs randomly, thereby recovering economic losses for media operators and advertising investors and avoiding users from avoiding ads or reducing the playing time of ads by refreshing the page, thereby reducing the extra burden and cost of accessing media content.

[0152] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0153] To implement the above patch advertisement playback method, please refer to Figure 7 An embodiment of the present application provides a device for playing patch advertisements. The device 700 for playing patch advertisements may include: an advertisement acquisition module 701 and an advertisement playing module 702 .

[0154] The advertisement acquisition module 701 is used to acquire the first target patch advertisement that has been interrupted in the historical moment in response to entering the playback process of the patch advertisement corresponding to the target media content;

[0155] The advertisement playing module 702 is used to play the first target patch advertisement when the first target patch advertisement meets the first preset condition; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than the first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

[0156] In an optional embodiment of the present application, the advertisement acquisition module 701 may also be used to acquire a second target patch advertisement if the first target patch advertisement does not meet the first preset condition, and play the second target patch advertisement when the first target patch advertisement and the second target patch advertisement meet the second preset condition; the second preset condition includes one or more of the following:

[0157] The total playing time of the second target patch advertisement is greater than or equal to the total playing time of the first target patch advertisement;

[0158] The patch advertisement corresponding to the target media content is preset as the second target patch advertisement;

[0159] The advertising resources of the first target patch ad are empty;

[0160] The play priority of the second target patch advertisement is greater than the play priority of the first target patch advertisement.

[0161] In an optional embodiment of the present application, the device also includes a judgment module, which is used to judge whether the first target patch advertisement meets the third preset condition when the first target patch advertisement and the second target patch advertisement do not meet the second preset condition; the advertisement playing module 702 can also be used to play the first target patch advertisement if the first target patch advertisement meets the third preset condition; wherein the third preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a third time threshold, and the third time threshold is less than the total playback time of the first target patch advertisement.

[0162] In an optional embodiment of the present application, the judgment module can also be used to respond to the current playback time of the patch advertisement and determine whether to enter the playback process of the patch advertisement according to the configuration information of the patch advertisement to obtain a judgment result; the advertisement acquisition module 701 is used to obtain the first target patch advertisement if the judgment result is to enter the playback process of the patch advertisement; or, if the judgment result is not to enter the playback process of the patch advertisement, continue to play the target media content.

[0163] In an optional embodiment of the present application, the advertisement playing module 702 may also be used to continue playing the target media content if there is no first target patch advertisement whose playing is interrupted in the historical moment, or the advertisement resource corresponding to the first target patch advertisement is empty.

[0164] In an optional embodiment of the present application, the advertising resources corresponding to the first target patch advertisement include one or more of the address information of the first target patch advertisement, the playback duration information, the playback interruption time, the playback order identifier of each sub-patch advertisement corresponding to the first target patch advertisement, and the mapping relationship between the first target patch advertisement and the media content; the mapping relationship between the first target patch advertisement and the media content includes one or more of the identification information of the media content, the interface identifier of the player, and the advertising category identifier of the first target patch advertisement.

[0165] In an optional embodiment of the present application, the historical moment includes a first historical moment and a second historical moment, and the time span from the second historical moment to the current playback moment is greater than the time span from the first historical moment to the current playback moment; the device also includes a storage module and a judgment module, which can also be used to respond to the first patch advertisement corresponding to the target media content generating a playback interruption at the first historical moment, and judge whether the playback time of the first patch advertisement is less than a second time threshold; the judgment module can also be used to judge whether there is a second patch advertisement that generates a playback interruption for the target media content at the second historical moment if the playback time of the first patch advertisement is less than the second time threshold; the storage module is used to replace the second patch advertisement based on the first patch advertisement if it exists, so as to store the replaced first patch advertisement; or, if it does not exist, to store the first patch advertisement.

[0166] In an optional embodiment of the present application, the device also includes a deletion module, which is used to delete the second patch advertisement if the playback time of the first patch advertisement is greater than or equal to the second time threshold, and if there is a second patch advertisement that generates a playback interruption for the target media content at the second historical moment.

[0167] In an optional embodiment of the present application, the deletion module is further configured to delete the second patch advertisement in response to a playback end instruction of the first patch advertisement.

[0168] In an optional embodiment of the present application, a first patch advertisement includes a first sub-patch advertisement and a second sub-patch advertisement, and the playback order of the first sub-patch advertisement is before the playback order of the second sub-patch advertisement; the judgment module is used to judge whether the playback time of the first sub-patch advertisement is less than a second time threshold, and to judge whether the playback time of the second sub-patch advertisement is less than the second time threshold; the storage module is also used to store the first sub-patch advertisement and the second sub-patch advertisement if the playback time of the first sub-patch advertisement is less than the second time threshold; or, the storage module is also used to store the second sub-patch advertisement if the playback time of the first sub-patch advertisement is greater than or equal to the second time threshold, and the playback time of the second sub-patch advertisement is less than the second time threshold.

[0169] In an optional embodiment of the present application, the storage module is further used to store the first patch advertisement in the browser where the player is located or in the client where the player is located; or, store the first patch advertisement in the form of a variable.

[0170] For the specific definition of the above-mentioned patch advertisement playback device, please refer to the definition of the patch advertisement playback method mentioned above, which will not be repeated here. Each module in the above-mentioned patch advertisement playback device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0171] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 8As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for playing patch advertisements as described above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the method for playing patch advertisements as described above is implemented.

[0172] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above-mentioned method for playing patch advertisements can be implemented.

[0173] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0174] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0177] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0178] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for playing a patch advertisement, characterized in that: include: In response to entering a playback process of a patch advertisement corresponding to the target media content, obtaining a first target patch advertisement that has a playback interruption within a historical moment; When the first target patch advertisement meets a first preset condition, the first target patch advertisement is played; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

2. The method according to claim 1, characterized in that The method further comprises: If the first target patch advertisement does not meet the first preset condition, a second target patch advertisement is obtained, and when the first target patch advertisement and the second target patch advertisement meet a second preset condition, the second target patch advertisement is played; the second preset condition includes one or more of the following: The total playing time of the second target patch advertisement is greater than or equal to the total playing time of the first target patch advertisement; Presetting the patch advertisement corresponding to the target media content as the second target patch advertisement; The advertising resources of the first target patch advertisement are empty; The playing priority of the second target patch advertisement is greater than the playing priority of the first target patch advertisement.

3. The method according to claim 2, characterized in that The method further comprises: When the first target patch advertisement and the second target patch advertisement do not satisfy the second preset condition, determining whether the first target patch advertisement satisfies a third preset condition; If the first target patch advertisement meets the third preset condition, the first target patch advertisement is played; wherein the third preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a third time threshold, and the third time threshold is less than the total playback time of the first target patch advertisement.

4. The method according to claim 1, characterized in that: The method further comprises: In response to the current playing time of the patch advertisement, judging whether to enter the playing process of the patch advertisement according to the configuration information of the patch advertisement, and obtaining a judgment result; If the judgment result is to enter the playing process of the patch advertisement, then obtain the first target patch advertisement; or, if the judgment result is not to enter the playing process of the patch advertisement, then continue to play the target media content; If there is no first target patch advertisement whose playing is interrupted in the historical moment, or the advertisement resource corresponding to the first target patch advertisement is empty, it is determined that the first target patch advertisement does not meet the first preset condition.

5. The method according to claim 4, characterized in that The advertisement resource corresponding to the first target patch advertisement includes one or more of address information, play duration information, play interruption time of the first target patch advertisement, play sequence identifiers of each sub-patch advertisement corresponding to the first target patch advertisement, and a mapping relationship between the first target patch advertisement and media content; The mapping relationship between the first target patch advertisement and the media content includes one or more of identification information of the media content, an identification of an interface where a player is located, and an advertisement category identification of the first target patch advertisement.

6. The method according to claim 1, characterized in that The historical moment includes a first historical moment and a second historical moment, and the time span from the second historical moment to the current playback moment is greater than the time span from the first historical moment to the current playback moment, and the method further includes: In response to a playback interruption of a first patch advertisement corresponding to the target media content at the first historical moment, determining whether a playback duration of the first patch advertisement is less than a second time threshold; If the played time of the first patch advertisement is less than the second time threshold, determining whether there is a second patch advertisement that causes a playback interruption for the target media content at the second historical moment; If it exists, the second patch advertisement is replaced based on the first patch advertisement to store the replaced first patch advertisement; or if it does not exist, the first patch advertisement is stored; if the played time of the first patch advertisement is greater than or equal to the second time threshold, when there is a second patch advertisement that generates a playback interruption for the target media content at the second historical moment, the second patch advertisement is deleted; In response to a play end instruction of the first patch advertisement, the second patch advertisement is deleted.

7. The method according to claim 6, characterized in that The first patch advertisement includes a first sub-patch advertisement and a second sub-patch advertisement, and the first sub-patch advertisement is played before the second sub-patch advertisement; The determining whether the playing time of the first patch advertisement is less than a second time threshold includes: Determine whether the playing time of the first sub-patch advertisement is less than the second time threshold, and determine whether the playing time of the second sub-patch advertisement is less than the second time threshold; The method further comprises: If the playing time of the first sub-patch advertisement is less than the second time threshold, storing the first sub-patch advertisement and the second sub-patch advertisement; Alternatively, if the played time of the first sub-patch advertisement is greater than or equal to the second time threshold, and the played time of the second sub-patch advertisement is less than the second time threshold, the second sub-patch advertisement is stored.

8. A device for playing patch advertisements, characterized in that: include: An advertisement acquisition module, configured to, in response to entering a playback process of a patch advertisement corresponding to target media content, acquire a first target patch advertisement that has had its playback interrupted within a historical moment; The advertisement playing module is used to play the first target patch advertisement when the first target patch advertisement meets the first preset condition; wherein the first preset condition is that the time difference between the playback interruption moment of the first target patch advertisement and the current playback moment is less than a first time threshold, and the first time threshold is less than the total playback time of the first target patch advertisement.

9. A computer device comprising: The method comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that the processor implements the steps of the method for playing patch advertisements as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for playing patch advertisements according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for playing advertisement by smart terminal and the smart terminal

    CN105872667A

  • Method and apparatus for realizing advertisement skipping

    CN105915998A

  • Advertisement display method and device

    CN106060599A

  • Advertisement playing method and device based on user selection, equipment and storage medium

    CN115907867A

  • Advertisement placement method, advertisement server and system

    WO2017197821A1