Advertisement playing method and device, terminal, storage medium and program product

By using ad pop-ups to display ads independently within the application, the problem of ads interfering with user experience is solved, and the ad exposure time is extended while the user experience is improved.

CN121746002APending Publication Date: 2026-03-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Displaying ads in an application can easily disrupt user experience, leading to a decreased user experience and shorter ad exposure time.

Method used

During the ad playback process in the application, the ad is displayed independently of the application interface using an ad floating window, allowing the ad to play continuously in the floating window and avoiding synchronous display with the application interface.

Benefits of technology

It reduces the interference of ads on application usage, extends ad exposure time, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121746002A_ABST
    Figure CN121746002A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an advertisement playing method and device, a terminal, a storage medium and a program product, and belongs to the technical field of human-computer interaction. The method comprises the steps that under the condition that a first application program needs to play an advertisement, a first advertisement floating window corresponding to the first application program is displayed, and the first advertisement floating window is independent of an application interface of the first application program; and playing the first advertisement in the first advertisement floating window. By adopting the technical scheme provided by the embodiment of the invention, the exposure time of the advertisement can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of human-computer interaction technology, and in particular to an advertising playback method, device, terminal, storage medium, and program product. Background Technology

[0002] Applications may display splash screen ads during startup, or insert ads within the application interface. Ad display can easily disrupt user interaction with the application, leading to a degraded user experience. Most users will choose to skip ads, resulting in shorter ad exposure time. Summary of the Invention

[0003] This application provides an advertising playback method, apparatus, terminal, storage medium, and program product. The technical solution is as follows:

[0004] On one hand, embodiments of this application provide an advertisement playback method, the method comprising:

[0005] When the first application needs to play an advertisement, a first advertisement floating window corresponding to the first application is displayed, and the first advertisement floating window is independent of the application interface of the first application.

[0006] Play the first advertisement in the first advertising pop-up window.

[0007] On the other hand, embodiments of this application provide an advertising playback device, which includes:

[0008] The display module is used to display a first advertising floating window corresponding to the first application when the first application needs to play an advertisement. The first advertising floating window is independent of the application interface of the first application.

[0009] The playback module is used to play the first advertisement in the first advertisement floating window.

[0010] On the other hand, embodiments of this application provide a terminal, the terminal including a processor and a memory, the memory storing at least one computer instruction, the at least one computer instruction being loaded and executed by the processor to implement the advertising playback method as described above.

[0011] On the other hand, embodiments of this application provide a computer-readable storage medium storing at least one computer instruction, which is loaded and executed by a processor to implement the advertising playback method as described above.

[0012] On the other hand, embodiments of this application provide a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium; a processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the terminal to implement the advertising playback method as described above.

[0013] In this embodiment, the terminal decouples the application's advertisements from the application, allowing the application's advertisements to play independently in the ad pop-up window without needing to be displayed synchronously with the application's interface. This reduces the interference caused by advertisements to the user's use of the application. In addition, since the application's advertisements can still play in the ad pop-up window, it also helps to extend the exposure time of the advertisements. Attached Figure Description

[0014] Figure 1 This is a flowchart of an advertising playback method provided in an exemplary embodiment of this application;

[0015] Figure 2 A comparative schematic diagram of an exemplary embodiment of the present application is shown;

[0016] Figure 3 This is an exemplary example of the splash screen ad playback process provided in this application;

[0017] Figure 4 This is a schematic diagram illustrating the implementation of an advertising playback process in an application switching scenario, provided by an exemplary embodiment of this application.

[0018] Figure 5 This is a schematic diagram illustrating the advertising playback process in an application switching scenario, provided by another exemplary embodiment of this application.

[0019] Figure 6 This is another exemplary embodiment of the present application, illustrating the implementation of the advertisement playback process in an application switching scenario;

[0020] Figure 7 This is a schematic diagram illustrating the implementation of the advertisement playback process in an application switching scenario, provided in another exemplary embodiment of this application.

[0021] Figure 8 This is a schematic diagram illustrating the display method of an advertising floating window during application switching, provided by an exemplary embodiment of this application.

[0022] Figure 9 This is a schematic diagram illustrating an implementation of an advertisement playback process in a desktop return scenario, provided by an exemplary embodiment of this application.

[0023] Figure 10This is a schematic diagram illustrating the implementation of an advertisement playback process in a multi-task management interface scenario provided by an exemplary embodiment of this application;

[0024] Figure 11 This is a schematic diagram of a multitasking management interface provided in an exemplary embodiment of this application;

[0025] Figure 12 This is a schematic diagram illustrating an implementation of the application interface return process provided in an exemplary embodiment of this application;

[0026] Figure 13 This is a flowchart of an exemplary embodiment of the advertisement collapse process provided in this application;

[0027] Figure 14 This is a flowchart of the buoy stopping display process provided in an exemplary embodiment of this application;

[0028] Figure 15 This is a schematic diagram illustrating an exemplary embodiment of the buoy prompting process provided in this application;

[0029] Figure 16 This is a schematic diagram illustrating an exemplary embodiment of the notification bar prompting process provided in this application;

[0030] Figure 17 This is a schematic diagram of the structure of an advertising playback device provided in an exemplary embodiment of this application;

[0031] Figure 18 This is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0033] The application's ads come in various formats, including full-screen ads and video ads. Video ads can also include overlay ads and corner ads.

[0034] For example, full-screen ads display static images, multi-frame animations, Flash effects, or other advertising content in full-screen mode for approximately 3 seconds when the application starts. Video ads are displayed on video playback platforms. Pre-roll ads can be short video ads that play before the video begins. Corner ads appear transparently on the side of the video playback window and have dynamic effects. Pre-roll ads, corner ads, and full-screen ads all allow users to choose to skip them.

[0035] Advertising can negatively impact user experience when using an application, thus diminishing the user experience. For example, if a user switches applications while an ad is playing, the ad will pause and only resume playing after the user has finished watching the ad.

[0036] To mitigate the impact of ad playback on application usage, this application provides an ad playback method. This method reduces the impact of ads on application usage by displaying ads in an ad pop-up window. When the application is running in the background, the ad can play independently of the application interface within the ad pop-up window, extending the ad's exposure time. This method can be applied to terminals such as smartphones, smart car systems, smartwatches, tablets, and personal computers—terminals with application interface display capabilities.

[0037] See Figure 1 , Figure 1 This is a flowchart illustrating an exemplary embodiment of an advertising playback method provided in this application. The embodiment uses the application of this method to the aforementioned terminal as an example, and the method includes the following steps.

[0038] Step 101: If the first application needs to play an advertisement, display the first advertisement floating window corresponding to the first application. The first advertisement floating window is independent of the application interface of the first application.

[0039] In some embodiments, a first advertising floating window is used to play advertisements required by a first application. In related technologies, the terminal plays advertisements within the application interface according to the program settings of the first application. The first advertising floating window can display advertisements played within the application interface of the first application within the floating window, which helps alleviate the problem of advertisement playback obstructing the application interface. Furthermore, the advertisements can be played outside the application interface, extending the advertisement exposure time.

[0040] Optionally, the first advertising floating window can be displayed in a preset position, or it can be displayed in a position that has little impact on the application interface, or it can be displayed in a position that can be reached with one hand, depending on the display situation of the application interface.

[0041] In one possible implementation, the display position of the first advertising floating window can be preset in a corner or side of the terminal screen, such as the upper right corner.

[0042] In another possible implementation, the first advertising pop-up can be positioned around key content within the application interface. For example, if the key content of a video application's interface is the video content, the first advertising pop-up can be displayed around the video content to avoid obscuring it. Similarly, if the key content of a news application's interface is a news headline, the first advertising pop-up can be displayed around the news headline content to avoid obscuring it.

[0043] In another possible implementation, the first advertising pop-up window can be displayed on the side of the center or bottom of the terminal screen. For example, the first advertising pop-up window is displayed on the side or bottom of the center of the screen that can be reached by the thumb when the device is held in the right or left hand.

[0044] Optionally, the size of the first advertising floating window can be adjusted. For example, the terminal receives zoom operations on the first advertising floating window, shrinking or enlarging it.

[0045] Optionally, the display position of the first advertising floating window can be changed. For example, the terminal receives a drag operation on the first advertising floating window and determines the drag endpoint as the display position of the first advertising floating window.

[0046] In some embodiments, when different applications need to play advertisements, each application has its own corresponding ad pop-up, and the ad pop-up is independent of the application's interface.

[0047] In related technologies, advertisements and application interfaces influence each other. For example, when switching application interfaces, advertisements playing within the application interface will stop playing. Also, advertisements playing within the application interface may obscure the application interface or preempt the display time of interface content, affecting the user's experience of the application.

[0048] In this embodiment, the first advertising floating window is independent of the application interface of the first application, meaning that the display of advertisements in the first application and the display of the application interface do not interfere with each other. The first advertising floating window is no longer restricted by the display state of the application interface, thus mitigating the impact on the application interface display. Even when the application interface is switched or exited, the first advertisement can still continue to play within the floating window. The display of the first advertisement behind the first advertising floating window also reduces interference with the display of application content within the application interface.

[0049] Step 102: Play the first advertisement in the first advertisement pop-up window.

[0050] In some embodiments, the first advertisement is an advertisement that can be played in a first advertisement floating window. Optionally, the first advertisement may include full-screen advertisements, video advertisements, etc., and the embodiments of this application do not limit the type of advertisement for the first advertisement.

[0051] Optionally, the terminal may display a first advertisement floating window playing the first advertisement on top of the application interface of the first application, or the terminal may display the first advertisement floating window playing the first advertisement on top of other interfaces.

[0052] In an exemplary example, Figure 2 A comparative schematic diagram of an exemplary embodiment of this application's advertisement playback is shown. (As shown...) Figure 2 As shown in (a), in the related technology, when the terminal screen switches from the application interface to the multitasking management interface 200, the application A interface is displayed as a static screen, that is, the advertisements in the application A interface are paused. The multitasking management interface 200 displays the application interfaces of multiple running applications. Figure 2 As shown in (b), in this embodiment of the application, when the terminal screen switches from the application A interface to the multi-task management interface 200, the terminal displays a first advertising floating window 202 for playing the first advertisement 201 on the upper layer of the multi-task management interface 200.

[0053] In this embodiment, the terminal decouples the application's advertisements from the application, allowing the application's advertisements to play independently in the ad pop-up window without needing to be displayed synchronously with the application's interface. This reduces the interference caused by advertisements to the user's use of the application. In addition, since the application's advertisements can still play in the ad pop-up window, it also helps to extend the exposure time of the advertisements.

[0054] In some embodiments, while the terminal is playing the first advertisement in the first advertising floating window, the application interface of the first application is displayed in the main window. Here, the main window refers to the main window on the terminal screen, such as a full-screen window.

[0055] In one possible implementation, when the terminal opens or switches to the first application, and the first application needs to play a splash screen advertisement, the terminal displays the application interface of the first application in the main window and plays the first advertisement in the first advertisement floating window.

[0056] In an exemplary example, such as Figure 3 As shown, when application A is launched, application A needs to play a splash screen ad. At this time, the terminal can collapse the splash screen ad into the first ad floating window 301 in the upper right corner of application A's homepage and play it there, while directly displaying application A's homepage interface in the main window. This allows users to quickly enter application A's homepage interface and use application A without waiting for the splash screen ad to finish playing, improving the user experience. Furthermore, because the splash screen ad is played within a collapsed floating window, users do not need to skip the ad, thus increasing the ad's exposure time.

[0057] In other embodiments, when the terminal needs to play an advertisement in the first application and switches out of the application interface of the first application, the first advertisement floating window remains displayed on other interfaces because it is independent of the application interface of the first application.

[0058] Optionally, when the first advertisement is playing in the first advertisement pop-up window, the terminal can display the application interfaces of other applications, the desktop, or a multi-tasking management interface. The multi-tasking management interface can be used to switch between displaying the application interfaces of different applications.

[0059] Specifically, the first advertising pop-up includes at least one of the following display scenarios:

[0060] Scenario 1: If the first advertisement has not finished playing and an application switching operation is received, the system switches to display the application interface of the second application indicated by the application switching operation. The first advertisement floating window remains displayed during the display of the application interface of the second application.

[0061] In some embodiments, the second application differs from the first application. Optionally, the second application may be ad-free.

[0062] In an exemplary example, Figure 4 This is a schematic diagram illustrating the advertising playback process in an application switching scenario, provided by an exemplary embodiment of this application. This example uses the splash screen ad 401 of application A as an example, and there are no ads playing on the interface of application B. Before the splash screen ad 401 of application A has finished playing, the terminal switches from displaying the splash screen ad 401 of application A to displaying the main interface 402 of application B. A first advertising window 403 is displayed on the main interface 402 of application B to show the splash screen ad 401 of application A.

[0063] It should be noted that when jumping from the main interface 402 of application B to another application interface of application B, and the splash screen advertisement 401 of application A has not finished playing, the terminal can continue to display the first advertisement window 403 and the splash screen advertisement 401 of application A.

[0064] Optionally, the second application can also play advertisements. If the second application needs to play advertisements, the terminal can perform the following steps:

[0065] Step 1: When the second application needs to play an advertisement, display the second advertisement floating window corresponding to the second application. The second advertisement floating window is independent of the application interface of the second application.

[0066] In some embodiments, the second advertising pop-up is used to play advertisements that the second application needs to play. The second advertising pop-up can display advertisements that play within the application interface of the second application within the pop-up window, which helps to alleviate the problem of advertisement playback obscuring the application interface, and also helps the advertisements to play outside the application interface, thus extending the advertisement exposure time.

[0067] Optionally, the second advertising floating window can be displayed in a preset position, or it can be displayed in a position that has little impact on the application interface, or it can be displayed in a position that can be reached with one hand, depending on the display situation of the application interface.

[0068] In some embodiments, when the second application needs to play an advertisement, since the first advertisement has not finished playing, there are both a first advertisement floating window and a second advertisement floating window. The terminal can keep the first advertisement floating window displayed on the application interface of the second application and also display the second advertisement floating window.

[0069] In one possible implementation, a first advertising pop-up is displayed on top of the application interface of the first application, or the application interface of the first application contains a first advertisement that needs to be played. If the terminal receives an application switching operation (instructing a switch to the application interface of a second application) before the first advertisement has finished playing, and the second application needs to play an advertisement, then the first and second advertising pop-ups are displayed on top of the application interface of the second application. Upon receiving subsequent application switching operations, the terminal continues to display additional advertising pop-ups.

[0070] For example, such as Figure 5 As shown in the example, this example uses application A playing a splash screen ad as an illustration, and application B also plays a splash screen ad. Before the splash screen ad in application A has finished playing, the terminal switches from displaying application A to application B, and displays the first ad window 501 and the second ad window 502 on the main interface of application B to display the splash screen ads of application A and application B.

[0071] To prevent the number of ad pop-ups from increasing indefinitely, occupying the terminal screen, and obscuring the application interface, the terminal can optionally set a threshold for the number of ad pop-ups to limit their total number. Specifically, if a second application needs to play an ad and the total number of ad pop-ups has not reached the threshold, the terminal displays the second ad pop-up corresponding to the second application. If a second application needs to play an ad and the total number of ad pop-ups has reached the threshold, the terminal continues to display the first ad pop-up corresponding to the first application and does not add any more second ad pop-ups corresponding to the second application.

[0072] For example, the quantity threshold is 2. Figure 6As shown, when switching from the application interface of application A to the application interface of application B, the terminal displays the first advertising floating window 601 of application A and the second advertising floating window 602 of application B on the application interface of application B. Then, the terminal switches from application B to display application C, which needs to play advertisements (application C has advertisements). Since the total number of advertising floating windows is 2, reaching the quantity threshold, the terminal continues to display the first advertising floating window 601 and the second advertising floating window 602 on the application interface of application C, and no longer adds a third advertising floating window corresponding to application C.

[0073] In addition, to avoid displaying too many ad pop-ups that obscure the application interface, the terminal can also not limit the total number of ad pop-ups, but instead sort and display the ad pop-ups corresponding to different applications. When the terminal receives a swipe operation on an ad pop-up, it switches to display the ad pop-ups according to their sorting order.

[0074] Optionally, the advertising pop-ups can be sorted according to the frequency of user usage of the application, or according to the historical display order of the application. This application embodiment does not limit the specific arrangement.

[0075] In one possible implementation, when switching from a first application to a second application, and the second application requires the playback of an advertisement, the terminal displays a second ad pop-up window before the first ad pop-up window. The terminal first displays the second ad pop-up window, and then displays the first ad pop-up window upon receiving a swipe operation on the second ad pop-up window.

[0076] For example, such as Figure 7 As shown, when switching from the application interface of application A to the application interface of application B, the terminal displays the second advertising floating window 701 of application B on the upper layer of the application interface of application B. The splash screen advertising floating window 702 of application A is arranged after the second advertising floating window 701. When a sliding operation is received on the second advertising floating window 701, the terminal displays the splash screen advertising floating window 702.

[0077] Furthermore, in the display scenario of switching from application C to application A and then to application B, the terminal determines that the advertising floating window of application C is arranged after the splash screen advertising floating window 702 according to the historical display order of the application interface. When the terminal receives a sliding operation on the splash screen advertising floating window 702, it can display the advertising floating window of application C.

[0078] Step 2: Play the second advertisement in the second advertising pop-up window.

[0079] In some embodiments, the second advertisement is an advertisement that the second application needs to play. Optionally, the second advertisement may include splash screen advertisements, interstitial advertisements, native advertisements, etc., and the embodiments of this application do not limit the type of advertisement for the second advertisement.

[0080] Optionally, the application switching operation can be implemented through a multi-task management interface. In one possible implementation, the terminal first receives a call-out operation to the multi-task management interface, displays the multi-task management interface, and then, upon receiving a trigger operation on the application interface of the second application in the multi-task management interface, switches to displaying the application interface of the second application.

[0081] For example, such as Figure 8 As shown, the terminal first displays the splash screen ad for application A, then enters the multitasking management interface, and displays the splash screen ad for application A within the first advertising floating window 801. When a swipe operation is received on the application A interface within the multitasking management interface, the terminal displays the application B interface. When a trigger operation is received on the application B interface, the terminal displays the application B interface in full screen. During this process, the splash screen ad for application A within the first advertising floating window 801 remains displayed.

[0082] Optionally, the application switching operation can also be a quick switching operation, such as a swipe operation at the bottom of the screen. For example, when the terminal receives a swipe operation at the bottom of the screen, it switches from displaying the application interface of the first application to displaying the application interface of the second application, and the first advertising floating window continues to display the first advertisement during the switching process.

[0083] Scenario 2: Before the first advertisement has finished playing and a desktop return operation is received, the first advertisement floating window is displayed on the top layer of the desktop.

[0084] Optionally, the desktop return operation can be an exit operation of the application interface of the first application. For example, swiping up on the application interface to quickly return to the desktop. Or, returning to the desktop through multiple application interface return operations. Optionally, the desktop return operation can also be a trigger operation of the desktop return control. For example, if there is a shortcut control menu at the bottom of the terminal screen, triggering the desktop return control in the shortcut control menu can return to the desktop. The embodiments of this application do not limit the specific operation method of the desktop return operation.

[0085] In an exemplary example, Figure 9 This is a schematic diagram illustrating the advertising playback process in a desktop return scenario, provided by an exemplary embodiment of this application. This example uses the splash screen advertisement 401 of application A as an example. Before the splash screen advertisement of application A has finished playing, the terminal switches from displaying the application A splash screen advertisement to displaying the desktop, where a first advertising window 901 is displayed on the upper layer of the desktop to show the application A splash screen advertisement.

[0086] Since the implementation of the scenario where the terminal switches from the first application to the desktop is similar to that of switching to a second application without ads, this scenario will not be described in detail.

[0087] Scenario 3: If the first advertisement has not finished playing and a multitasking management interface is called up, the multitasking management interface is switched to be displayed. The first advertisement floating window remains displayed during the display of the multitasking management interface.

[0088] In some embodiments, the multitasking management interface is used to manage running applications. Upon receiving a trigger operation on an application interface within the multitasking management interface, the terminal can switch from a first application to another application. Specifically, the first advertisement floating window remains displayed until the first advertisement in the first application has finished playing. Figure 8 As shown, this scenario will not be elaborated further. This application does not limit the specific method of calling up the multi-task management interface.

[0089] In an exemplary example, Figure 10 This is a schematic diagram illustrating the advertising playback process in a multi-task management interface scenario provided by an exemplary embodiment of this application. The terminal exits from the application A interface and enters the multi-task management interface 1000. The first advertising floating window 1001 is displayed on the upper layer of the multi-task management interface 1000, and the opening screen advertisement of application A is displayed in the first advertising floating window 1001.

[0090] Optionally, if at least two applications need to play ads, the multitasking management interface can display ad pop-ups for at least two applications.

[0091] like Figure 11 As shown in (a), when application A needs to play an advertisement, the first advertisement floating window 1101 of application A is displayed in the multi-task management interface 1100. Figure 11 As shown in (b), when applications A and B need to play advertisements, the first advertisement floating window 1101 of application A and the second advertisement floating window 1102 of application B are displayed on the multitasking management interface 1100.

[0092] Optionally, the advertising pop-ups within the multitasking management interface can be displayed in a sorted manner. Optionally, the advertising pop-ups can be sorted according to the user's frequency of application usage, or according to the historical display order of the applications. For example, the terminal can display the advertising pop-ups corresponding to the applications from right to left according to the historical display order of the applications. This application embodiment does not limit the specific arrangement method.

[0093] Applications A and B both need to display advertisements. The terminal switches from displaying application A to showing application B, and then switches back to displaying the multitasking management interface. For example... Figure 11 As shown in (b), in the multitasking management interface 1100, the first advertising floating window 1101 of application A and the second advertising floating window 1102 of application B are displayed from right to left.

[0094] Optionally, if the terminal sets a threshold for the number of ad pop-ups, the number of pop-ups from at least two applications displayed in the multitasking management interface will not exceed the threshold. If the terminal does not limit the total number of ad pop-ups, the ad pop-ups in the multitasking management interface can switch displays upon receiving a swipe operation.

[0095] In this embodiment, since the first advertising floating window is independent of the application interface of the first application, the first advertising floating window can remain displayed on top of the application interface, desktop, and multitasking management interface of the second application, so that the advertising playback will not be paused due to interface switching. Users can wait for the advertising playback to end after switching interfaces, which helps to reduce the impact of advertising playback on the user's use of the application.

[0096] In addition to the first application, other applications can also independently display their corresponding second ad floating windows and play the second advertisement. That is, at least two applications in the terminal that need to play advertisements can display their respective corresponding ad floating windows independent of the application interface, enabling the terminal to support multiple ad floating window display scenarios and improving the richness of ad floating window display scenarios.

[0097] In addition, since the total number of applications used by a user is limited, the terminal does not need to display corresponding ad pop-ups for every application that meets the conditions opened by the user. Therefore, the terminal can also limit the total number of ad pop-ups in multi-pop-up scenarios, alleviating the display interference problem caused by too many ad pop-ups on the terminal screen.

[0098] In some embodiments, the terminal can stop displaying the first advertisement floating window after the first advertisement has finished playing. At the moment the first advertisement finishes playing, the first advertisement floating window may be displayed on top of the application interface of the first application or on top of the application interface of the second application. For different application interfaces, the terminal may adopt different display methods when stopping the display of the first advertisement floating window.

[0099] In some embodiments, if the advertisement has not finished playing, the current terminal screen may be in the application interface, desktop, or multitasking management interface of the second application. The first advertisement floating window may display a return prompt after the advertisement has finished playing, reminding the user to return to the application interface of the first application after the advertisement has finished playing.

[0100] Before the first advertisement finishes playing, the terminal may not receive any interface switching operation and may continue to display the first advertisement floating window on top of the first application's application interface. Alternatively, it may return to the first application's application interface after an interface switch. When the current interface is the first application's application interface, the terminal does not need to provide the user with a return prompt to the first application interface. The terminal can automatically stop displaying the first advertisement floating window to avoid the first advertisement floating window affecting the interface display. That is, when the first advertisement finishes playing and the current interface is the first application's application interface, the terminal stops displaying the first advertisement floating window.

[0101] In one possible application scenario, full-screen ads display when entering an application's interface, which can easily interfere with the terminal's display of the application interface. The terminal can switch the full-screen ad to play within a first ad floating window, allowing the application interface to load immediately without waiting for the full-screen ad to finish playing. Once the full-screen ad in the first ad floating window above the first application interface finishes playing, the terminal can automatically close the first ad floating window.

[0102] Optionally, if the first advertisement has finished playing and the current interface is not the application interface of the first application, the terminal displays a first return prompt in the first advertisement floating window, which is used to prompt the user to return to the first application.

[0103] In one possible implementation, when the first return prompt is displayed in the first advertising floating window, the terminal returns to the application interface of the first application from the application interface of the second application, or the multi-task management interface, or the desktop when it receives a trigger operation on the first advertising floating window, and continues to display the first return prompt when it does not receive a trigger operation on the first advertising floating window.

[0104] Optionally, the terminal may stop displaying the first advertising floating window if the display duration of the first return prompt reaches a first duration threshold and no trigger operation is received for the first advertising floating window.

[0105] Specifically, if the display duration of the first return prompt reaches a first duration threshold and no trigger operation is received for the first advertising floating window, the terminal can determine that there is currently no need to return to the application interface of the first application. By stopping the display of the first advertising floating window, the terminal can effectively avoid the first advertising floating window obscuring the terminal screen. Optionally, the first return prompt can be displayed using text, images, or icons, such as displaying "Open Application" or displaying a return icon. This application does not limit the form of the first return prompt.

[0106] Furthermore, if the display duration of the first return prompt has not reached the first duration threshold, and a trigger operation on the first advertising floating window is received, the terminal switches to displaying the application interface of the first application. Since the first advertisement in the first advertising floating window has finished playing, the terminal stops displaying the first advertising floating window.

[0107] In an exemplary example, such as Figure 12 As shown, the terminal displays a splash screen advertisement for application A, then enters the multitasking management interface. A first advertising floating window 1201 is displayed on top of the multitasking management interface, containing the splash screen advertisement for application A. When the splash screen advertisement finishes playing, the terminal displays "Open application" within the first advertising floating window 1201, prompting the user to return to application A. Upon receiving a click on the first advertising floating window 1201, the terminal switches to displaying the application interface of application A.

[0108] In this embodiment, the terminal can stop displaying the floating window after the advertisement has finished playing, effectively preventing the first advertisement floating window from obscuring the terminal screen.

[0109] In cases where the current screen is not the application's interface, the terminal can display a return prompt within the ad pop-up, indicating that the ad playback has ended and the user can return to the application screen. Since the user may not currently need to return to the application screen, the terminal stops displaying the ad pop-up when the prompt duration reaches a first time threshold, avoiding interference with the terminal's screen display. If the first time threshold has not been reached, triggering the ad pop-up allows the user to return to the application screen, improving interface return efficiency.

[0110] When the current interface is the application interface of the first application, since the user does not need to return to the interface, the terminal stops displaying the first advertising pop-up window of the first application to reduce display interference.

[0111] In some embodiments, if the first advertisement in the first advertising window has not finished playing, the first advertising window may obscure the terminal screen and affect user operation. The terminal can provide a function to collapse the first advertising window.

[0112] See Figure 13 , Figure 13 This is a flowchart of an exemplary embodiment of the advertisement collapse process provided in this application. The process includes the following steps.

[0113] Step 1301: If the first advertisement has not finished playing, stop displaying the first advertisement floating window in response to the collapse operation of the first advertisement floating window.

[0114] Optionally, the operation of collapsing the first advertising floating window may include a sliding operation, a control triggering operation, a shortcut gesture operation, etc. This step does not limit the specific operation method of collapsing the first advertising floating window.

[0115] In some embodiments, the terminal can use different display methods to represent the collapsed state of the first advertising floating window in response to different collapse operations. For example, when an upward swipe operation is received, the terminal displays the collapsed state of the first advertising floating window in the notification bar; when a right swipe operation is received, the terminal displays the collapsed state of the first advertising floating window on the side of the screen. The notification bar can be a field on the screen used to display information such as time, battery level, and network status.

[0116] Step 1302: Display the countdown timer for the first advertisement.

[0117] In some embodiments, the ad countdown timer is used to represent the remaining playback time of the first ad. After the terminal collapses the first ad pop-up window, it reminds the user to return to the application interface in time by displaying the ad countdown timer for the first ad.

[0118] Optionally, the countdown timer for the first advertisement may not be available. If the terminal is able to obtain the countdown timer for the first advertisement, it will stop displaying the first advertisement floating window and then display the countdown timer for the first advertisement. If the terminal is unable to obtain the countdown timer for the first advertisement, it will not display the countdown timer.

[0119] In some embodiments, upon receiving different collapse operations, the terminal displays the countdown timer for the first advertisement using different display methods. Specifically, these include the following two methods:

[0120] Method 1: When the collapse operation is set to the first collapse operation, the countdown timer for the first advertisement is displayed in the float corresponding to the first advertisement floating window.

[0121] The first collapse operation is used to trigger the display of the float corresponding to the first advertising floating window.

[0122] In some embodiments, the floating ads for different applications can display their corresponding icons after being collapsed. Optionally, the terminal can distinguish the icons corresponding to the advertising windows of different applications by displaying the application name or displaying an icon color consistent with the application.

[0123] Optionally, if the countdown to the advertisement has not ended, the terminal can respond to the triggering operation of the float to restore the display of the first advertisement floating window, so that the first advertisement floating window resumes playing the first advertisement and increases the exposure rate of the first advertisement.

[0124] In some embodiments, when the countdown timer for the advertisement in the floating icon ends, the icon may also display a return prompt, and stop displaying the icon if the user does not intend to return to the application interface. Specifically, such as Figure 14 As shown, the process of stopping the buoy's display may include the following steps:

[0125] Step 1401: When the advertisement countdown ends and the current interface is not the application interface of the first application, a second return prompt is displayed in the floating icon. The second return prompt is used to prompt the user to return to the first application.

[0126] Optionally, the current interface may be a multitasking management interface, the application interface of a second application, or the desktop. Displaying a second return prompt can remind the user to return to the first application promptly after the first advertisement ends.

[0127] In one possible implementation, upon receiving a trigger operation on a buoy displaying a second return prompt, the terminal displays the application interface of the first application and stops displaying the buoy.

[0128] Optionally, the second return prompt has the same function as the first return prompt, and the content of the second return prompt can be the same as that of the first return prompt. For example, if the first return prompt displays "Open application," the second return prompt can also display "Open application." Furthermore, since the second return prompt is displayed in the floating area, it has less display space compared to the first return prompt. Therefore, the terminal can use a simpler prompting method than the first return prompt, such as displaying an arrow icon representing the return interface.

[0129] Step 1402: If the display duration of the second return prompt reaches the second duration threshold and no trigger operation is received for the float, stop displaying the float.

[0130] Step 1403: If the display duration of the second return prompt has not reached the second duration threshold and a trigger operation on the float is received, switch to displaying the application interface of the first application.

[0131] If the display duration of the second return prompt reaches the second duration threshold and no trigger operation is received on the float, the terminal can determine that the user does not intend to return to the first application. Continuing to display the float may interfere with the display of other interfaces. Stopping the display of the float can effectively alleviate the display interference caused by the float.

[0132] Optionally, the second return prompt has the same prompting function as the first return prompt, and the terminal can set the second duration threshold to be the same as the first duration threshold.

[0133] Optionally, since the second return prompt is displayed after the user closes the floating window, the terminal can determine that the user is less likely to return to the first application by triggering the floating icon after the second return prompt is displayed compared to when the first return prompt is displayed without closing the floating window. Therefore, the second duration threshold can be less than the first duration threshold.

[0134] Step 1404: Stop displaying the buoy.

[0135] After the application interface of the first application is displayed, the advertisement has finished playing, and the terminal no longer needs to display prompts via the floating icon, thus stopping the display of the floating icon.

[0136] In an exemplary example, such as Figure 15 As shown, when an application with a single ad is present, the terminal maintains the display of the application A's splash screen ad in a single first ad floating window 1501 within the multitasking management interface. The first ad floating window 1501 includes a close control, allowing users to close it. When exiting application A and returning to the desktop, the terminal receives a right swipe operation on the first ad floating window 1501, displaying a floating icon 1502 on the desktop with a 10-second ad countdown. When the ad countdown ends, the terminal displays "Open" in the floating icon 1502, indicating that the ad playback is complete and users can return to application A.

[0137] When float 1502 is triggered, the terminal displays application A interface. If the display duration of float 1502 exceeds n seconds, the terminal stops displaying float 1502, where n is a positive integer.

[0138] Method 2: When the collapse operation is set to the second collapse operation, display the countdown timer for the first advertisement in the notification bar.

[0139] In some embodiments, the notification bar is a notification bar at the top of the terminal used to preview message notifications. The countdown timer for the first advertisement in the notification bar can be displayed in the notification bar along with notification messages from other applications within the terminal system.

[0140] The second collapse operation differs from the first collapse operation. In one possible implementation, when the terminal receives an upward swipe operation on the first advertising floating window, it displays the advertising countdown of the first advertisement in the notification bar; when it receives a right swipe operation on the first advertising floating window, it displays the advertising countdown of the first advertisement in the floating icon.

[0141] In another possible implementation, the terminal receives a drag operation on the first advertising floating window. If the drag endpoint is the notification bar, the countdown timer for the first advertisement is displayed in the notification bar. If the drag endpoint is the floating cursor display position, the countdown timer for the first advertisement is displayed in the floating cursor display position. Specifically, the terminal can display the floating cursor display position when it receives a drag operation on the first advertising floating window, display the floating cursor at the floating cursor display position when the drag endpoint is the floating cursor display position, and stop displaying the floating cursor display position when the drag endpoint is the notification bar.

[0142] Optionally, other different collapse operations can be used to distinguish between the second collapse operation and the first collapse operation, which will not be described in detail in the embodiments of this application.

[0143] Optionally, to differentiate the ad countdowns for different applications, the terminal can display the application icon in the notification bar and show the ad countdown on the application icon.

[0144] In an exemplary example, such as Figure 16 As shown, when an application with a single playing advertisement is present, the terminal maintains the display of the application A splash screen advertisement in a single first advertisement floating window 1601 within the multitasking management interface. A close control is displayed in the first advertisement floating window 1601, allowing the user to close it. When exiting the application A interface and entering the desktop or other pages, the terminal displays the application A icon 1603 in the top notification bar 1602, with an advertisement countdown timer of 10 seconds displayed in the application A icon 1603. Once the advertisement playback is complete, the advertisement countdown timer stops displaying in the application A icon 1603.

[0145] Optionally, when the ad countdown ends, the device can display only the app icon that does not include the ad countdown in the notification bar. Upon receiving an open request for the notification bar, the device displays detailed notification information within the notification bar.

[0146] In one possible implementation, when the notification bar is open, the terminal displays a floating window restore control within the notification bar. Upon receiving a trigger operation on the floating window restore control, the terminal restores the display of the first advertising floating window.

[0147] In another possible implementation, when the advertisement countdown ends and the current interface is not the application interface of the first application, the terminal displays a third return prompt in the opened notification bar, which prompts the user to return to the first application. If the display duration of the third return prompt reaches a third duration threshold and no trigger operation is received for the third return prompt, the terminal stops displaying the third return prompt. If the display duration of the third return prompt reaches the third duration threshold and a trigger operation is received for the third return prompt, the terminal switches to displaying the application interface of the first application and then stops displaying the third return prompt. The content of the third return prompt can be the same as the second return prompt, and the third duration threshold can be the same as the second duration threshold.

[0148] In this embodiment, when the first advertising floating window is collapsed, a countdown timer is displayed to remind the user of the remaining playback time of the advertisement, allowing the user to return to the application interface of the first application in a timely manner, thus improving operational convenience. By responding to the collapse operation to collapse the first advertising floating window, the problem of the first advertising floating window obstructing the terminal screen can be alleviated, and the interference of the floating window on the display of other interfaces can be reduced.

[0149] This application also provides two ways to display the advertisement countdown. That is, after the terminal stops displaying the first advertisement floating window, it can trigger the display of the advertisement countdown in the floating bar or notification bar through different collapse operations. This enriches the way the floating window can be collapsed and the way the countdown can be displayed, which is conducive to users taking collapse operations according to actual needs and improving the convenience of operation.

[0150] Specifically, even when the floating window collapses and the advertisement countdown ends, the terminal can still display a return prompt, allowing users to quickly return to the primary application and improving interface navigation efficiency. When the user does not need to return to the primary application, the terminal can also stop displaying the floating icon, reducing its interference with other interface displays.

[0151] It should be noted that since the first advertisement displayed in the first advertisement floating window is provided by the first application, the terminal stops displaying the first advertisement floating window if the first advertisement has not finished playing and the first application is closed.

[0152] If the first application is closed, it needs to be restarted to use it again. The circumstances under which the first application is closed include receiving a close command, crashing due to a malfunction, or other applications closing.

[0153] Optionally, in addition to displaying the first return prompt and the first advertisement, the first advertisement floating window can also display a skip control for skipping the advertisement. To ensure that the exposure duration of the first advertisement meets the advertiser's expected performance requirements, the terminal will only allow skipping the first advertisement if the advertisement skipping conditions are met.

[0154] Regarding ad skipping conditions, in some embodiments, when the first application needs to play an ad, the terminal detects whether the first ad is configured to skip a timeout. For example, if the total duration of the first ad is 100 seconds, the first application allows skipping the ad after 20 seconds of playback. If the first ad is configured to skip a timeout, and the playback time of the first ad in the ad pop-up window reaches the skip timeout, the terminal displays a skip control in the ad pop-up window. If the first ad is not configured to skip a timeout, the terminal does not display a skip control.

[0155] In one possible implementation, if the first advertisement has not finished playing and the advertisement skipping condition is met, the terminal displays a skip control in the first advertisement floating window. Then, in response to the triggering operation of the skip control in the first advertisement floating window, the terminal controls the first application to skip playing the first advertisement and stops displaying the first advertisement floating window. The terminal determines whether to display the skip control by determining whether the advertisement's playback duration meets the advertisement skipping condition.

[0156] For example, if the total playback time of the first advertisement is 100 seconds, the terminal determines that the advertisement skipping condition is met when the playback time of the first advertisement reaches 30 seconds.

[0157] Optionally, a close control can be set in the first advertising floating window to close it. The terminal can close the first advertising floating window in response to the triggering operation of the close control in the first advertising floating window.

[0158] In one possible implementation, upon receiving a trigger operation on the close control of the first advertising floating window, the terminal determines that the user intends to skip the first advertisement. Closing the first advertising floating window is equivalent to receiving an advertisement skip operation. After closing the first advertising floating window, the terminal no longer displays the first advertisement in the application interface.

[0159] like Figure 16 As shown, if the splash screen ad of application A has not finished playing, the terminal displays a close control 1604 in the first ad floating window 1601 to close the first ad floating window 1601.

[0160] Considering that the first advertisement in the first application may not be skippable, in another possible implementation, when the terminal receives a trigger operation on the close control in the first advertisement floating window, it determines that the user has no need for the function provided by the technical solution in the above embodiment, the terminal closes the first advertisement floating window, and then plays the first advertisement using the advertisement playback method built into the first application (for example, the full-screen advertisement is restored to full-screen display after the first advertisement floating window is closed).

[0161] In cases where the current interface is not the application interface of the first application, for the first advertisement that cannot be skipped, the application interface of the first application can stop the first advertisement when the floating window is closed, and the terminal can also stop the first advertisement in the first application when exiting the application interface, that is, the playback progress of the first advertisement in the first advertisement floating window is not recorded; when the terminal displays the application interface of the first application, the terminal continues to play the first advertisement from the time the first advertisement was stopped.

[0162] In this embodiment, the first advertising floating window can stop displaying when the first application exits, which helps to avoid the first advertising floating window overexposing the first advertisement and affecting the user's use of the terminal.

[0163] The first ad pop-up has an ad skip function, allowing users to skip the ad if the skipping conditions are met, thus improving the convenience of ad skipping. Furthermore, ad skipping requires meeting certain skipping conditions, preventing ads from being displayed for too short a time.

[0164] In addition, the first ad pop-up can also provide a close control so that users can close the first ad pop-up and revert to the application's own ad playback method. In other words, users can choose whether to use the first ad pop-up to play ads, which helps to enrich the ad playback methods and improve the flexibility of interactive operations.

[0165] In some embodiments, the first advertisement played in the first advertising floating window may include a splash screen advertisement, an interstitial advertisement, and a native advertisement. A splash screen advertisement refers to an advertisement displayed full-screen when the application is launched or switched to the application interface; an interstitial advertisement refers to an advertisement inserted into the application interface, such as a pre-roll ad inserted before a video to be played, or a badge ad displayed on the side of the video window; a native advertisement refers to an advertisement integrated into the interface content, such as an advertisement embedded in a video program via voice-over.

[0166] Different ad types correspond to different first ad pop-up window display settings, including the following three:

[0167] Scenario 1: When the first application is opened or switched to, and the conditions for playing the splash screen ad are met, the first ad floating window corresponding to the application interface of the first application is displayed. The first ad floating window is used to play the splash screen ad.

[0168] In some embodiments, when the terminal opens or switches to the first application, the terminal needs to load the application interface, and the terminal displays a splash screen advertisement during the application interface loading process. After the application interface has finished loading, the splash screen advertisement will interfere with the display of the application interface.

[0169] Optionally, the terminal can determine that the conditions for playing the splash screen ad are met after the application interface finishes loading, thereby displaying the application interface and the first ad floating window corresponding to the application interface of the first application to play the splash screen ad.

[0170] In an exemplary example, such as Figure 3 As shown, when entering the application A interface, the terminal first displays the application A's splash screen advertisement in full screen, and then enters the application's main page, that is, displays the application A homepage, and collapses the splash screen advertisement into the first advertisement floating window 301 in the upper right corner of the application A homepage.

[0171] By displaying splash screen ads in the first ad pop-up window, the waiting time to enter the application interface can be shortened, and users do not need to choose to skip the splash screen ads, which helps to extend the exposure time of the splash screen ads.

[0172] Optionally, the terminal can also determine that the splash screen ad playback conditions are met if the expected playback duration of the splash screen ad exceeds a duration threshold, and display the splash screen ad in the first ad floating window; if the expected playback duration of the splash screen ad does not reach the duration threshold, the terminal determines that the splash screen ad playback conditions are not met. The terminal can display splash screen ads with excessively long playback times in the first ad floating window to avoid affecting the application interface display, and not display splash screen ads with short playback times in the first ad floating window, which helps to simplify the ad playback logic.

[0173] Scenario 2: When the first application is running and the conditions for inserting an advertisement are met, a first advertisement floating window corresponding to the application interface of the first application is displayed. The first advertisement floating window is used to play the inserted advertisement, which is an advertisement interspersed among the application content provided by the first application.

[0174] In related technologies, inserted advertisements are played between application content provided in the application interface during application runtime. For example, the application interface may contain an ad insertion control to display inserted advertisements. Alternatively, inserted advertisements may be inserted at fixed points in time during the playback of application content within the application interface.

[0175] To avoid inserting advertisements from interfering with the display of application content—for example, pre-roll ads can cause video content to play delayed—optionally, the terminal can determine that the conditions for inserting an advertisement are met if the playback duration exceeds a duration threshold. This allows the inserted advertisement to be displayed in the first ad pop-up window, reducing interference with the application interface. For instance, after the terminal displays the pre-roll ad in the first ad pop-up window, the playback wait time for video content within the application interface is shortened.

[0176] Optionally, if the occupancy rate of the inserted advertisement on the terminal screen exceeds the occupancy rate threshold, and the inserted advertisement interferes with the display of the application interface, the terminal determines that the conditions for inserting the advertisement are met, and then displays the inserted advertisement in the first advertisement floating window corresponding to the application interface of the first application.

[0177] Scenario 3: When the first application is running and native ads are detected, a first ad floating window corresponding to the application interface of the first application is displayed. The first ad floating window is used to play native ads, which are ads embedded in the application content provided by the first application.

[0178] In some embodiments, native ads are integrated with application content and incorporated into the application content. For example, a video application can play video content, which includes native ads that are integrated with the video content and added during the video creation process.

[0179] In one possible implementation, the terminal can use a large artificial intelligence model to identify the application content screen. If the application content screen contains advertising elements, such as advertising icons, advertising products, advertising keywords, etc., it can determine that there is native advertising in the application interface. Subsequently, the terminal extracts the native advertising from the application content and displays it in the first advertising floating window. This allows the terminal to continue playing the native advertising when switching application interfaces, extending the playback time of the native advertising and preventing users from skipping the native advertising by operating the application content, thus reducing the exposure rate of the native advertising.

[0180] In another possible implementation, the terminal can identify pre-marked advertising playback time points in the video content. When the video playback time reaches the advertising playback time point, the terminal displays a first advertising floating window and plays native advertisements from the video content within the first advertising floating window.

[0181] In this embodiment, the terminal sets different display conditions for the first advertising floating window according to different advertising types, so that the first advertising floating window can be applied to a variety of different advertising playback scenarios, enriching the display mode of the first advertising floating window and improving its practicality.

[0182] See Figure 17 , Figure 17 This is a schematic diagram of the structure of an advertising playback device provided in an exemplary embodiment of this application. The device includes the following modules.

[0183] Display module 1701 is used to display a first advertising floating window corresponding to the first application when the first application needs to play an advertisement. The first advertising floating window is independent of the application interface of the first application.

[0184] The playback module 1702 is used to play the first advertisement in the first advertisement floating window.

[0185] Optionally, the display module 1701 is further configured to:

[0186] While the first advertisement is playing in the first advertisement floating window, the application interface of the first application is displayed in the main window.

[0187] Optionally, the display module 1701 is also used in at least one of the following situations:

[0188] If the first advertisement has not finished playing and an application switching operation is received, the application interface of the second application indicated by the application switching operation is switched to be displayed, wherein the first advertisement floating window remains displayed during the display of the application interface of the second application;

[0189] If the first advertisement has not finished playing and a desktop return operation is received, the first advertisement floating window is displayed on the top layer of the desktop;

[0190] If the first advertisement has not finished playing and a multitasking management interface call-out operation is received, the multitasking management interface is switched to be displayed, wherein the first advertisement floating window remains displayed during the display of the multitasking management interface.

[0191] Optionally, the display module 1701 is further configured to:

[0192] When the second application needs to play an advertisement, a second advertisement floating window corresponding to the second application is displayed, and the second advertisement floating window is independent of the application interface of the second application.

[0193] Play the second advertisement in the second advertising pop-up window.

[0194] Optionally, the display module 1701 is further configured to:

[0195] If the second application needs to play an advertisement, and the total number of ad pop-ups has not reached the threshold, then the second ad pop-up corresponding to the second application will be displayed.

[0196] Optionally, the device further includes a stop display module for:

[0197] Once the first advertisement has finished playing, stop displaying the first advertisement pop-up window.

[0198] Optionally, the stop display module is further configured to:

[0199] Once the first advertisement has finished playing and the current interface is the application interface of the first application, stop displaying the first advertisement floating window.

[0200] Optionally, the display module 1701 is further configured to:

[0201] When the first advertisement finishes playing and the current interface is not the application interface of the first application, a first return prompt is displayed in the first advertisement floating window. The first return prompt is used to prompt the user to return to the first application.

[0202] The stop display module is also used for:

[0203] If the display duration of the first return prompt reaches the first duration threshold and no trigger operation is received for the first advertising floating window, the display of the first advertising floating window will stop.

[0204] Optionally, the display module 1701 is further configured to:

[0205] If the display duration of the first return prompt has not reached the first duration threshold, and a trigger operation on the first advertising floating window is received, the application interface of the first application will be switched to be displayed.

[0206] The stop display module is also used for:

[0207] Stop displaying the first advertising pop-up.

[0208] Optionally, the stop display module is further configured to:

[0209] If the first advertisement has not finished playing, in response to the collapse operation of the first advertisement floating window, the display of the first advertisement floating window will stop;

[0210] The display module 1701 is also used for:

[0211] Display the countdown timer for the first advertisement.

[0212] Optionally, the display module 1701 is further configured to:

[0213] When the collapse operation is the first collapse operation, the countdown timer for the first advertisement is displayed in the float corresponding to the first advertisement floating window;

[0214] When the collapse operation is the second collapse operation, the countdown timer for the first advertisement is displayed in the notification bar.

[0215] Optionally, the display module 1701 is further configured to:

[0216] In response to the triggering operation on the buoy, the first advertising floating window is restored to display.

[0217] Optionally, the display module 1701 is further configured to:

[0218] When the countdown to the advertisement ends and the current interface is not the application interface of the first application, a second return prompt is displayed in the floating icon. The second return prompt is used to prompt the user to return to the first application.

[0219] The stop display module is also used for:

[0220] If the display duration of the second return prompt reaches the second duration threshold and no trigger operation is received for the buoy, the display of the buoy will stop.

[0221] The display module 1701 is also used for:

[0222] If the display duration of the second return prompt has not reached the second duration threshold, and a trigger operation on the buoy is received, the application interface of the first application will be switched to be displayed.

[0223] The stop display module is also used for:

[0224] Stop displaying the buoy.

[0225] Optionally, the stop display module is further configured to:

[0226] If the first advertisement has not finished playing and the first application is closed, stop displaying the first advertisement pop-up window.

[0227] Optionally, the display module 1701 is further configured to:

[0228] If the first advertisement has not finished playing and the conditions for skipping the advertisement are met, a skip control is displayed in the first advertisement floating window;

[0229] In response to the triggering operation of the skip control in the first advertising floating window, the first application is controlled to skip playing the first advertisement and stop displaying the first advertising floating window.

[0230] Optionally, the first advertising pop-up window is equipped with a close control;

[0231] The stop display module is also used for:

[0232] In response to the triggering operation of the close control in the first advertising floating window, the first advertising floating window is closed.

[0233] Optionally, the display module 1701 is also used in at least one of the following situations:

[0234] When the first application is opened or switched to, and the conditions for playing the splash screen ad are met, the first ad floating window corresponding to the application interface of the first application is displayed, and the first ad floating window is used to play the splash screen ad.

[0235] When the first application is running and the conditions for inserting an advertisement are met, the first advertisement floating window corresponding to the application interface of the first application is displayed. The first advertisement floating window is used to play the inserted advertisement, which is an advertisement interspersed between the application content provided by the first application.

[0236] When the first application is running and native advertisements are detected, the first advertisement floating window corresponding to the application interface of the first application is displayed. The first advertisement floating window is used to play the native advertisement, which is an advertisement embedded in the application content provided by the first application.

[0237] In summary, in this embodiment of the application, the terminal decouples the application's advertisements from the application, allowing the application's advertisements to play independently in the ad pop-up window without needing to be displayed synchronously with the application's interface. This reduces the interference caused by advertisements to the user's use of the application. In addition, since the application's advertisements can still play in the ad pop-up window, it also helps to extend the exposure time of the advertisements.

[0238] See Figure 18 , Figure 18 This is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. The terminal may include one or more of the following components: a processor 1801 and a memory 1802.

[0239] Optionally, the processor 1801 connects to various parts of the electronic device using various interfaces and lines. It performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1802, and by calling data stored in the memory 1802. Optionally, the processor 1801 can be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 1801 can integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and baseband chip. Specifically, the CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content displayed on the touchscreen; the NPU implements artificial intelligence (AI) functions; and the baseband chip handles wireless communication. It is understandable that the aforementioned baseband chip may not be integrated into the processor 1801, but may be implemented as a separate chip.

[0240] The memory 1802 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 1802 may include a non-transitory computer-readable storage medium. The memory 1802 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 1802 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data created according to the use of the electronic device (such as audio data, telephone directory, etc.).

[0241] In addition, those skilled in the art will understand that the structure of the terminal shown in the above figures does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0242] This application also provides a computer-readable storage medium storing at least one computer instruction, which is loaded and executed by a processor to implement the advertising playback method provided in the above embodiments.

[0243] Optionally, the computer-readable storage medium may include ROM, RAM, solid-state drives (SSDs), or optical discs. The RAM may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).

[0244] This application also provides a computer program product, which includes computer instructions stored in a computer-readable storage medium; a terminal's processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to implement the advertising playback method provided in the above embodiments.

[0245] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program guiding the relevant hardware to be implemented. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0246] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. An advertising playback method, characterized in that, The method includes: When the first application needs to play an advertisement, a first advertisement floating window corresponding to the first application is displayed, and the first advertisement floating window is independent of the application interface of the first application. Play the first advertisement in the first advertising pop-up window.

2. The method according to claim 1, characterized in that, The method further includes: While the first advertisement is playing in the first advertisement floating window, the application interface of the first application is displayed in the main window.

3. The method according to claim 1, characterized in that, The method further includes: Once the first advertisement has finished playing, stop displaying the first advertisement pop-up window.

4. The method according to claim 3, characterized in that, The step of stopping the display of the first advertisement floating window after the first advertisement has finished playing includes: Once the first advertisement has finished playing and the current interface is the application interface of the first application, stop displaying the first advertisement floating window.

5. The method according to claim 4, characterized in that, The method further includes: When the first advertisement finishes playing and the current interface is not the application interface of the first application, a first return prompt is displayed in the first advertisement floating window. The first return prompt is used to prompt the user to return to the first application. If the display duration of the first return prompt reaches the first duration threshold and no trigger operation is received for the first advertising floating window, the display of the first advertising floating window will stop.

6. The method according to claim 5, characterized in that, The method further includes: If the display duration of the first return prompt has not reached the first duration threshold, and a trigger operation on the first advertising floating window is received, the application interface of the first application will be switched to be displayed. Stop displaying the first advertising pop-up.

7. The method according to claim 1, characterized in that, The method further includes: If the first advertisement has not finished playing, in response to the collapse operation of the first advertisement floating window, the display of the first advertisement floating window will stop; Display the countdown timer for the first advertisement.

8. The method according to claim 7, characterized in that, The countdown timer for displaying the first advertisement includes: When the collapse operation is the first collapse operation, the countdown timer for the first advertisement is displayed in the float corresponding to the first advertisement floating window; When the collapse operation is the second collapse operation, the countdown timer for the first advertisement is displayed in the notification bar.

9. The method according to claim 8, characterized in that, When the countdown timer for the first advertisement is displayed in the float corresponding to the first advertisement floating window, the method further includes: In response to the triggering operation on the buoy, the first advertising floating window is restored to display.

10. The method according to claim 8, characterized in that, When the countdown timer for the first advertisement is displayed in the float corresponding to the first advertisement floating window, the method further includes: When the countdown to the advertisement ends and the current interface is not the application interface of the first application, a second return prompt is displayed in the floating icon. The second return prompt is used to prompt the user to return to the first application. If the display duration of the second return prompt reaches the second duration threshold and no trigger operation is received for the buoy, the display of the buoy will stop. If the display duration of the second return prompt has not reached the second duration threshold, and a trigger operation on the buoy is received, the application interface of the first application is switched to be displayed; and the display of the buoy is stopped.

11. The method according to claim 1, characterized in that, The method further includes: If the first advertisement has not finished playing and the first application is closed, stop displaying the first advertisement pop-up window.

12. The method according to claim 1, characterized in that, The method further includes: If the first advertisement has not finished playing and the conditions for skipping the advertisement are met, a skip control is displayed in the first advertisement floating window; In response to the triggering operation of the skip control in the first advertising floating window, the first application is controlled to skip playing the first advertisement and stop displaying the first advertising floating window.

13. The method according to claim 1, characterized in that, The first advertising pop-up window has a close control; The method further includes: In response to the triggering operation of the close control in the first advertising floating window, the first advertising floating window is closed.

14. The method according to claim 1, characterized in that, When the first application needs to play an advertisement, displaying a first advertisement floating window corresponding to the first application includes at least one of the following: When the first application is opened or switched to, and the conditions for playing the splash screen ad are met, the first ad floating window corresponding to the application interface of the first application is displayed, and the first ad floating window is used to play the splash screen ad. When the first application is running and the conditions for inserting an advertisement are met, the first advertisement floating window corresponding to the application interface of the first application is displayed. The first advertisement floating window is used to play the inserted advertisement, which is an advertisement interspersed between the application content provided by the first application. When the first application is running and native advertisements are detected, the first advertisement floating window corresponding to the application interface of the first application is displayed. The first advertisement floating window is used to play the native advertisement, which is an advertisement embedded in the application content provided by the first application.

15. The method according to claim 1, characterized in that, The method further includes at least one of the following: If the first advertisement has not finished playing and an application switching operation is received, the application interface of the second application indicated by the application switching operation is switched to be displayed, wherein the first advertisement floating window remains displayed during the display of the application interface of the second application; If the first advertisement has not finished playing and a desktop return operation is received, the first advertisement floating window is displayed on the top layer of the desktop; If the first advertisement has not finished playing and a multitasking management interface call-out operation is received, the multitasking management interface is switched to be displayed, wherein the first advertisement floating window remains displayed during the display of the multitasking management interface.

16. The method according to claim 15, characterized in that, When switching to the application interface of the second application indicated by the application switching operation, the method further includes: When the second application needs to play an advertisement, a second advertisement floating window corresponding to the second application is displayed, and the second advertisement floating window is independent of the application interface of the second application. Play the second advertisement in the second advertising pop-up window.

17. The method according to claim 16, characterized in that, The step of displaying a second ad pop-up window corresponding to the second application when the second application needs to play an ad includes: If the second application needs to play an advertisement, and the total number of ad pop-ups has not reached the threshold, then the second ad pop-up corresponding to the second application will be displayed.

18. An advertising playback device, characterized in that, The device includes: The display module is used to display a first advertising floating window corresponding to the first application when the first application needs to play an advertisement. The first advertising floating window is independent of the application interface of the first application. The playback module is used to play the first advertisement in the first advertisement floating window.

19. A terminal, characterized in that, The terminal includes a processor and a memory, the memory storing at least one computer instruction, which is loaded and executed by the processor to implement the advertising playback method as described in any one of claims 1 to 17.

20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer instruction, which is loaded and executed by a processor to implement the advertising playback method as described in any one of claims 1 to 17.

21. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; the processor of the terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to implement the advertising playback method as described in any one of claims 1 to 17.