Application interface display method and electronic equipment

By responding to user actions in the media client's application interface, a mechanism for refreshing ad content is implemented, which solves the problem of repeated ad display, improves user experience, and optimizes the utilization of ad resources.

CN121935447APending Publication Date: 2026-04-28HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-10-25
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

The current advertising push methods of media clients are relatively simple, resulting in the repeated display of the same advertising content, which affects user experience and wastes advertising space resources.

Method used

By responding to user actions within the application interface, an ad content refresh mechanism is implemented. When a user browses in reverse, the ad content is automatically refreshed to avoid repeated display. The user's intent is judged based on the scrolling speed, and ad space resources are used rationally.

Benefits of technology

It improves user experience, avoids duplicate ad displays, saves ad space resources, and increases ad utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121935447A_ABST
    Figure CN121935447A_ABST
Patent Text Reader

Abstract

The invention provides an application interface display method and electronic equipment. The method comprises the steps of displaying first advertisement content in an application interface, responding to operation of a user under the condition that the first advertisement content is located at a first version, sliding the content displayed in the application interface upwards to enable the first advertisement content to slide out of the application interface, and sliding the content displayed in the application interface downwards to enable the first advertisement content to slide out of the application interface; and displaying the second advertisement content in the application interface, wherein the second advertisement content is located at the first version. Therefore, when the user reversely browses the application interface to cause repeated exposure of the advertisement version, the advertisement content displayed by the advertisement version is refreshed, the user can be prevented from repeatedly seeing the browsed advertisement content when reversely browsing the application interface, the user experience can be improved, and meanwhile, the utilization rate of advertisement version resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information technology, and in particular to a method for displaying an application interface and an electronic device. Background Technology

[0002] Currently, media client applications use ad slots to display different types of content. While users browse these slots, the media client can display advertisements to push different ads. However, the current ad push method is relatively simple and suffers from the problem of the same ad being displayed repeatedly, affecting the user experience. Summary of the Invention

[0003] This application provides a method for displaying an application interface and an electronic device. In this method, when the same advertising space is repeatedly exposed, the displayed advertising content can be refreshed, thereby improving the utilization rate of advertising space resources.

[0004] Firstly, this application provides a method for displaying an application interface. The method includes: displaying first advertising content in the application interface, the first advertising content being located in a first ad placement. In response to a first operation, the content displayed in the application interface is slid upwards to allow the first advertising content to slide out of the application interface, and then first application content is displayed in the application interface. In response to a second operation, the content displayed in the application interface is slid downwards to allow second advertising content to be displayed in the application interface, the second advertising content being located in the first ad placement. Thus, this application refreshes the advertising content to be displayed in the same ad placement even when it is repeatedly exposed due to the user's reverse browsing of the application interface. This refreshes the advertising content displayed in the ad placement, preventing the user from repeatedly seeing previously viewed advertising content when browsing the application interface in reverse, improving user experience, minimizing waste of ad placement resources, and increasing the utilization rate of ad placement resources.

[0005] For example, the application interface display method in this application is applied to electronic devices and applications in electronic devices (such as the media applications mentioned in the embodiments of this application).

[0006] In one possible implementation, displaying the first advertisement content in the application interface further includes: displaying second application content in the application interface, the second application content being located in a second ad slot; sliding the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface further includes: sliding the content displayed in the application interface upwards to make the second application content slide out of the application interface; sliding the content displayed in the application interface downwards to make the second advertisement content appear in the application interface further includes: sliding the content displayed in the application interface downwards to make the second application content appear in the application interface. In this way, the user's needs for application content and advertisement content are different. Therefore, using the above method, when the ad slot displaying application content is repeatedly exposed in the application interface, it is not necessary to update the application content displayed in that slot, so that users can re-view the application content by scrolling backwards without having to repeatedly view the same advertisement content.

[0007] In one possible implementation, in response to the second operation, the content displayed on the application interface scrolls down at a speed less than or equal to the first speed. Thus, if the scrolling speed is less than or equal to the first speed, it indicates that the second operation is intended to reverse-browse the application interface content, and that the user has sufficient time to view the advertisement content in that ad placement. Therefore, when the application interface re-exposes the first ad placement while the scrolling speed is less than or equal to the first speed, the second advertisement content is displayed in the first ad placement instead of the previous first advertisement content, thereby refreshing the advertisement content in the first ad placement. This avoids users seeing duplicate advertisements while reverse-browsing the application interface content, preventing a negative impact on user experience and avoiding waste of ad placement resources.

[0008] For example, the first speed may optionally be a preset gesture speed as described in the embodiments below.

[0009] For example, the first speed may optionally be a preset fixed value.

[0010] In one possible implementation, the first speed is the speed at which the content displayed on the application interface slides upward in response to the first operation. Thus, when the speed at which the application interface moves downward (or slides) is less than or equal to the speed at which it slides upward, the ad refresh process in this embodiment can also be triggered.

[0011] In one possible implementation, after sliding the content displayed on the application interface downwards to display the second advertisement content, the method further includes: in response to a third operation, sliding the content displayed on the application interface downwards to display the third advertisement content, which is located in a third ad slot. Specifically, in response to the third operation, the downward sliding speed of the content displayed on the application interface is greater than a first speed; the third advertisement content is the most recently displayed advertisement content in the third ad slot. Thus, in this application, if the sliding speed corresponding to the third operation is greater than the first speed, it indicates that the user's intention is not to re-view the previously viewed content in the third ad slot, and the user does not have enough time to view the content in that ad slot. Therefore, even if the third ad slot is an advertisement slot, the displayed advertisement content does not need to be refreshed, thereby saving computing and communication resources for the client (electronic device) and the media server.

[0012] In one possible implementation, scrolling down on the content displayed in the application interface to reveal second advertising content includes receiving the second advertising content from a server. The server can be an advertising server.

[0013] For example, an electronic device obtains the second advertising content from the server and displays the second advertising content in the first ad slot, thereby achieving ad refresh in the same ad slot during reverse browsing.

[0014] Secondly, this application provides another method for displaying an application interface, which can be optionally applied to electronic devices and applications within those devices (such as media applications mentioned below). The method includes: displaying first advertising content in the application interface, the first advertising content being located in a first position. In response to a first operation, sliding the content displayed in the application interface upwards to allow the first advertising content to slide out of the application interface, and then displaying first application content in the application interface. In response to a second operation, sliding the content displayed in the application interface downwards to hide the first position in the application interface. Thus, when the first advertising content is displayed in the first position, after sliding the first position upwards out of the application interface, and then during the process of the content in the application interface sliding downwards again, the first position is hidden. This avoids the first advertising content that the user has already viewed occupying too much application interface space when the user browses the application interface in reverse, thereby improving the user experience.

[0015] In one possible implementation, hiding the first ad placement in the application interface includes: completely or partially hiding the first ad placement. This allows the first ad placement to be completely or partially hidden as needed, thus ensuring that the first ad content is not overly prominently displayed on the application interface while repeatedly pushing the first ad content to the user, thereby not negatively impacting the user experience.

[0016] In one possible implementation, the method further includes: displaying the first ad placement in response to a received third operation on the first ad placement. After displaying the first ad placement, the content displayed on the first ad placement is the entire content of the first advertisement. This allows users to easily review the entire content of the first advertisement when needed.

[0017] In one possible implementation, displaying the first advertisement content in the application interface further includes: displaying the second application content in the application interface, the second application content being located in a second position; sliding the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface further includes: sliding the content displayed in the application interface upwards to make the second application content slide out of the application interface; sliding the content displayed in the application interface downwards to hide the first position in the application interface further includes: sliding the content displayed in the application interface downwards to make the second application content appear in the application interface.

[0018] It's understandable that users' needs for app content differ from their needs for advertising content. Therefore, using the method described above, when a placement displaying app content is repeatedly exposed within the app interface, it's not necessary to update the app content displayed in that placement so that users can view it again.

[0019] In one possible implementation, in response to the second operation, the content displayed in the application interface slides down at a speed less than or equal to the first speed.

[0020] If the downward scrolling speed of the content displayed in the application interface is less than or equal to the first speed, it indicates that the intention of the second operation is to reverse the browsing of the application interface content, and that the user can see the advertisement content in that ad slot. Therefore, when the downward scrolling speed of the content displayed in the application interface is less than or equal to the first speed, hiding the first ad slot when the application interface re-exposes it avoids the user seeing duplicate advertisements while reverse browsing the application interface content, thus preventing a negative impact on the user experience.

[0021] In one possible implementation, the first speed is the speed at which the content displayed in the application interface slides upward in response to the first operation.

[0022] In one possible implementation, the method further includes: sliding the content displayed in the application interface downwards; after hiding the first ad placement in the application interface, the method further includes: in response to a fourth operation, sliding the content displayed in the application interface downwards to display second ad content in the application interface, the second ad content being located in the third ad placement. Wherein, in response to the fourth operation, the downward sliding speed of the content displayed in the application interface is greater than a first speed; the second ad content is the most recently displayed ad content in the third ad placement.

[0023] If the speed at which the content displayed on the application interface scrolls down is greater than the first speed, it indicates that the user's intention is not to revisit previously viewed advertisement content. Moreover, the user browses the third advertisement very quickly, barely seeing its details. Therefore, the advertisement content can be left unhidden, thus avoiding a waste of computing and communication resources on electronic devices and media servers.

[0024] Thirdly, this application provides another method for displaying an application interface, applied to an electronic device and applications within the electronic device (such as the media applications mentioned below). The method includes: displaying a first interface, the first interface including a first page position displaying first advertising content. In response to a first operation instructing the first interface to move upwards, displaying a second interface, the second interface including a second page position displaying the first application content. In response to a second operation instructing the second interface to move downwards, displaying a third interface, the third interface including a third page position displaying second advertising content.

[0025] In one possible implementation, the attributes of the third ad placement on the third interface are not entirely the same as those of the first ad placement on the first interface. The attributes of the ad placement include at least one parameter among size, shape, and position. Thus, the size or layout of the third ad placement may change compared to the first ad placement, and its displayed content may be updated from the original first advertisement content to the second advertisement content. This refreshes both the advertisement content and the ad placement simultaneously, further enhancing the user's visual experience.

[0026] Fourthly, this application provides a display device for an application interface, included in an electronic device. The device includes: a first display module for displaying first advertising content in the application interface, the first advertising content being located in a first position; a first response module for responding to a first operation by sliding the content displayed in the application interface upwards to cause the first advertising content to slide out of the application interface, and for displaying first application content in the application interface; and a second response module for responding to a second operation by sliding the content displayed in the application interface downwards to cause second advertising content to be displayed in the application interface, the second advertising content being located in the first position.

[0027] In one possible implementation, the first display module is further configured to display second application content in the application interface, the second application content being located in a second position. The first response module is further configured to slide the content displayed in the application interface upwards, so that the second application content slides out of the application interface. The second response module is further configured to slide the content displayed in the application interface downwards, so that the second application content is displayed in the application interface.

[0028] In one possible implementation, in response to the second operation, the content displayed in the application interface slides down at a speed less than or equal to the first speed.

[0029] In one possible implementation, the first speed is the speed at which the content displayed in the application interface slides upward in response to the first operation.

[0030] In one possible implementation, the device further includes a third response module, configured to, in response to a third operation, slide the content displayed on the application interface downwards to display third advertising content in the application interface, the third advertising content being located in a third ad slot. Specifically, in response to the third operation, the downward sliding speed of the content displayed on the application interface is greater than a first speed; the third advertising content is the most recently displayed advertising content in the third ad slot.

[0031] In one possible implementation, the second response module is also specifically used to receive second advertising content from the server.

[0032] Fifthly, this application provides another application interface display device, included in an electronic device, comprising: a first display module for displaying first advertising content in the application interface, the first advertising content being located in a first position; a first response module for responding to a first operation by sliding the content displayed in the application interface upwards to cause the first advertising content to slide out of the application interface, and for displaying first application content in the application interface; and a second response module for responding to a second operation by sliding the content displayed in the application interface downwards to hide the first position in the application interface.

[0033] In one possible implementation, hiding the first page in the application interface includes: hiding the first page completely or partially.

[0034] In one possible implementation, the device further includes a third response module for displaying the first position in response to a received third operation on the first position.

[0035] In one possible implementation, in response to the second operation, the content displayed in the application interface slides down at a speed less than or equal to the first speed.

[0036] In one possible implementation, the first speed is the speed at which the content displayed in the application interface slides upward in response to the first operation.

[0037] In one possible implementation, the device further includes a fourth response module, configured to, in response to a fourth operation, slide the content displayed on the application interface downwards to display second advertising content on the application interface, the second advertising content being located in a third ad position. Specifically, in response to the fourth operation, the downward sliding speed of the content displayed on the application interface is greater than a first speed; the second advertising content is the most recently displayed advertising content in the third ad position.

[0038] Sixthly, this application provides another application interface display device, included in an electronic device, comprising: a first display module for displaying a first interface, the first interface including a first page position displaying first advertising content; a first response module for displaying a second interface in response to a first operation instructing the first interface to move upward, the second interface including a second page position displaying the first application content; and a second response module for displaying a third interface in response to a second operation instructing the second interface to move downward, the third interface including a third page position displaying second advertising content.

[0039] In one possible implementation, the attributes of the third page in the third interface are not exactly the same as the attributes of the first page in the first interface. The attributes of the page include at least one parameter among size, shape, and position.

[0040] Fifthly, this application provides an electronic device, including: one or more processors, a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to perform the method described in any one of the possible implementations of the first, second, or third aspects.

[0041] In a sixth aspect, this application provides a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method described in any one of the first, second, or third aspects.

[0042] In a seventh aspect, this application provides a computer program product that, when run on an electronic device, causes the electronic device to perform the method described in any of the possible implementations of the first, second, or third aspects. Attached Figure Description

[0043] Figure 1 This is a schematic diagram illustrating an application scenario;

[0044] Figure 2 A schematic diagram of the hardware structure of an electronic device as an example;

[0045] Figure 3 A schematic diagram of the software structure of an electronic device as an example;

[0046] Figure 4 This is a schematic diagram of the software architecture of a media server as an example.

[0047] Figure 5 This is a schematic diagram of a user interface as an example.

[0048] Figure 6 This is a schematic diagram of a user interface as an example.

[0049] Figure 7 This is a schematic diagram of a user interface as an example.

[0050] Figure 8 This is a schematic diagram of a user interface as an example.

[0051] Figure 9 This is a schematic diagram of a user interface as an example.

[0052] Figure 10 This is a schematic diagram of a user interface as an example.

[0053] Figure 11 This is a schematic diagram of a user interface as an example.

[0054] Figure 12 This is a schematic diagram of a user interface as an example.

[0055] Figure 13 This is a schematic diagram of a user interface as an example.

[0056] Figure 14 This is a schematic diagram of a user interface as an example.

[0057] Figure 15 A flowchart illustrating an exemplary method for displaying an application interface;

[0058] Figure 16 This is a schematic diagram of a user interface as an example.

[0059] Figure 17 This is a schematic diagram of a user interface as an example.

[0060] Figure 18 This is a schematic diagram of a user interface as an example.

[0061] Figure 19 This is a schematic diagram of a user interface as an example.

[0062] Figure 20 This is a schematic diagram of a user interface as an example.

[0063] Figure 21 This is a schematic diagram of a user interface as an example.

[0064] Figure 22 A flowchart illustrating an exemplary method for displaying an application interface;

[0065] Figure 23 This is a schematic diagram of a user interface as an example.

[0066] Figure 24 This is a schematic diagram of a user interface as an example.

[0067] Figure 25 This is a schematic diagram of a user interface as an example.

[0068] Figure 26 A flowchart illustrating an exemplary method for displaying an application interface;

[0069] Figure 27 A flowchart illustrating an exemplary method for displaying an application interface;

[0070] Figure 28 A flowchart illustrating an exemplary method for displaying an application interface;

[0071] Figure 29 This is a schematic diagram of a user interface as an example.

[0072] Figure 30 This is a schematic diagram of a user interface as an example.

[0073] Figure 31 A flowchart illustrating an exemplary method for displaying an application interface;

[0074] Figure 32 A flowchart illustrating an exemplary method for displaying an application interface;

[0075] Figure 33 A flowchart illustrating an exemplary method for displaying an application interface;

[0076] Figure 34 This is a schematic diagram of the structure of an exemplary device. Detailed Implementation

[0077] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with the accompanying drawings.

[0078] Figure 1 This is an illustrative diagram of an application scenario; please refer to it. Figure 1This application scenario includes, but is not limited to, electronic devices and media servers. The electronic devices and the media server communicate with each other. The electronic devices in this application embodiment include, but are not limited to, mobile phones, televisions, tablets, computers, wearable electronic devices, smart home devices (such as projectors), in-vehicle devices, and other electronic devices with display functions; this application does not limit the scope of these.

[0079] It should be noted that in practical applications, there can be one or more media servers. Figure 1 The number of devices shown in the application scenarios is merely an example for illustrative purposes, and this application does not limit this number. Optionally, the media server can be a standalone server or a server cluster (i.e., including multiple servers), and this application does not limit this. The provider of the media server can be the same provider as the electronic device, or it can be provided by other third parties, and this application does not limit this.

[0080] Figure 2 A schematic diagram of the structure of the electronic device 100 is shown. It should be understood that... Figure 2 The electronic device 100 shown is merely an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 2 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0081] Electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, etc.

[0082] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0083] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0084] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0085] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include inter-integrated circuit (I2C) interfaces, mobile industry processor interfaces (MIPI), etc.

[0086] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to touch sensors such as the touch sensor 180K through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0087] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device 100.

[0088] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100.

[0089] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.

[0090] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0091] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0092] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0093] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0094] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0095] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0096] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0097] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0098] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0099] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0100] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0101] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0102] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

[0103] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0104] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0105] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0106] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0107] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170 and application processor.

[0108] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0109] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.

[0110] Figure 3 This is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture of the electronic device 100 divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer (also known as the application layer), the framework layer, the Android runtime and system libraries, and the kernel layer.

[0111] The application layer can include a series of application packages. For example... Figure 3 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, media, SMS, and media applications.

[0112] The media application is an application developed and released by the media operation platform that can run independently on terminal devices. The media operation platform can be understood as either the platform to which the media server belongs, or the media operation platform provided by the media server; this application does not impose any limitation.

[0113] For example, a media application is used to retrieve application content and / or advertising content from a media server and display the retrieved application content or advertising content in the application interface.

[0114] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0115] like Figure 3 As shown, the application framework layer may include a window manager, content provider, view system, capture module, resource manager, notification manager, etc.

[0116] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0117] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0118] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. An application interface can consist of one or more views. For example, an application interface that includes advertising content may include views for displaying text and views for displaying images.

[0119] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0120] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0121] The data acquisition module is used to collect gesture information corresponding to operations on the application interface. The data acquisition module can be implemented using a single instance (e.g., Figure 3 The framework layer of the electronic device shown can be deployed independently on the terminal device, or it can be integrated by various media applications through multiple instances. That is, each media application may include program code corresponding to the acquisition module in its corresponding computer program. Each media application can execute the steps performed by the acquisition module in the embodiments of this application by running the program code. Figure 3 The example provided uses a single instance, but this application does not limit it to this approach.

[0122] For example, when a media application calls the interface service of the acquisition module, the acquisition module can collect gesture information (e.g., gesture speed, gesture type, gesture direction, etc.) corresponding to the operation on the application interface in real time, and send the collected gesture information to the processor of the media application. Optionally, the collected gesture information can also be sent to the media server. For specific implementation, please refer to the following embodiments.

[0123] Optionally, the electronic device may also include a placement detection module for detecting placements appearing in the application interface and obtaining identification information of newly added placements in the application interface. The placement detection module can be implemented using a single instance (e.g., Figure 3 The framework layer of the electronic device shown can be deployed independently on the terminal device, or it can be integrated by various media applications through multiple instances. That is, each media application may include program code corresponding to the page position detection module in its corresponding computer program. Each media application can execute the steps performed by the page position detection module in the embodiments of this application by running the program code. Figure 3 The example provided uses a single instance, but this application does not limit it to this approach.

[0124] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0125] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0126] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0127] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0128] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0129] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0130] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0131] A 2D graphics engine is a graphics engine for 2D drawing.

[0132] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0133] Understandable, Figure 3 The components included in the system framework layer, system library, and runtime layer shown do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than shown, or combine some components, or split some components, or have different component arrangements.

[0134] Figure 4 For an exemplary illustration of the software architecture of a media server, please refer to... Figure 4 Media servers include, but are not limited to, the application layer and the kernel layer (this is only an illustrative example and is not intended to limit the scope of the application).

[0135] The application layer includes, but is not limited to: the application interface display management module, the application content library, and the advertising content library.

[0136] The application interface display management module is used to detect whether the received gesture information meets preset conditions. Based on the detection results, it sends advertising content from the advertising content library or application content from the application content library to the electronic device.

[0137] The kernel layer includes, but is not limited to, storage drivers.

[0138] For example, the application interface of a media application includes, but is not limited to, layout positions (also referred to as application layout positions, page layouts, or application page layouts, which are not limited in this application) and other controls. Layout positions can optionally be understood as used to plan the layout and arrangement of the interface. Designers can design one or more layout positions on the interface and display corresponding content within those positions to present a complete interface. Optionally, the application interface may include one or more layout positions. Layout positions can optionally be divided into content layout positions (also referred to as content layout position types) and advertising layout positions (also referred to as advertising layout position types). Content layout positions are used to display (or show) application content, and advertising layout positions are used to display advertising content. For example, in the embodiments of this application, the advertising content can be static advertising or dynamic advertising, and the specific content of the advertising can be generated by an advertising server, which is not limited in this application. For example, application content can be understood as content provided by the media server belonging to the media application provider that can be played or displayed in the media application. Application content can be text content, image content, video content, etc., which are not limited in this application.

[0139] Optionally, the ad space can also display advertising content and application content; this type of ad space can be called an advertising and content type ad space. Optionally, an ad space can include one or more sub-ad spaces, each of which can display advertising content and / or application content. The types, layouts, sizes, and positions of the ad spaces involved in the embodiments of this application are merely illustrative examples and are not intended to limit the scope of the application.

[0140] For example, each page slot has corresponding page slot information, which describes (or characterizes) the layout of each page slot. The page slot information includes, but is not limited to, page slot identification information, location information, size (e.g., length and width) information, shape information, etc. Optionally, page slots can overlap, for example, one page slot can be located above another page, such as a floating page slot. This application does not limit this.

[0141] For example, a display space may include, but is not limited to, one or more controls, such as a display control (also called a display window, for example, a rectangular window) or other operable controls, which are not limited in this application. The display control may be located in the center of the entire display area or in other locations, which are not limited in this application. The display control is used to display the display content of the display space. In the embodiments of this application, the media application obtains the display content corresponding to the display space (which may be advertising content and / or application content) and can display the corresponding display content within the range of position and size specified by the display control of the display space. Furthermore, in the embodiments of this application, the identification information of the display space is usually fixed. It can be understood that in a scenario of repeated exposure, each time a display space is exposed, the electronic device (or media application) and the media server can identify the display space based on the identification information of the display space. Optionally, the position and size of the display space may vary. For example, in the embodiments of this application, the display space may be completely hidden or partially hidden, that is, its size changes. And, in the embodiments of this application, the content displayed in the display space can be dynamically refreshed with the user's operation (e.g., swiping operation), the specific implementation of which will be described in detail in the embodiments below.

[0142] Figure 5 For an illustrative user interface diagram, please refer to... Figure 5 The display interface 501 of the electronic device displays the application interface 502 of the media application. The application interface 502 of the media application includes, but is not limited to, page positions and other controls, such as first page position 503a, second page position 503b, and third page position 503c.

[0143] It should be noted that the size and number of page slots in the application interface involved in the embodiments of this application are merely illustrative examples. In some instances, the application interface may include two or more page slots, while in other instances, the application interface may include one page slot; this application does not impose any limitations.

[0144] Optionally, the layout can be fully or partially displayed in the application interface, for example... Figure 5 The third section in the text, based on the current section layout, displays a portion of the text.

[0145] Taking a touchscreen-operated electronic device as an example, after a media application is launched, the user can perform various operations within its interface to control the content displayed. For example... Figure 6 For an illustrative user interface diagram, please refer to... Figure 6 (a) When a user swipes upwards on the application interface (also referred to as a forward swipe or sequential swipe, which is not limited in this application), the electronic device responds to the user's upward swipe operation by scrolling the content of the application interface upwards to display it. For example, suppose... Figure 5 The sections will be displayed in the order of first section, second section, and third section. This display method can be called forward browsing or ascending order browsing.

[0146] In this context, the user swiping upwards within the application interface can optionally mean swiping from the bottom to the top of the application interface (see the arrow in the diagram). Please refer to... Figure 6 (b) If the user then swipes down on the application interface (also known as a reverse swipe or a backward swipe, which is not limited in this application), the electronic device responds to the user's swipe operation on the application interface by scrolling down to display the content of the application interface. For example, Figure 5 The ad placements will be displayed in the order of third, second, and first placements. This display method can be called reverse browsing or reverse order browsing, and this application does not limit it. Optionally, the user swiping down in the application interface can be a swipe from the top to the bottom of the application interface (refer to the arrow direction in the figure). This allows the user to browse previously exposed content in reverse order (i.e., content that has already appeared in the application interface and is now reappearing). However, in existing technologies, the ad content in the reappearing ad placements in the application interface will not be refreshed; it will remain the same ad content displayed when the ad placement last appeared in the application interface.

[0147] For example, please refer to Figure 7 and Figure 8 When a user swipes upwards within the application interface, the electronic device responds by scrolling up to display the content within the application. Specifically, as the user swipes upwards, the various sections of the application interface also gradually scroll upwards. For example... Figure 8As shown, ad slot 1 gradually slides upwards and out of the application interface. Users can browse content 1 in ad slot 1, content 2 in ad slot 2, and content 3 in ad slot 3 in sequence. In this example, ad slot 1 is an advertisement ad slot, and content 1 is advertisement A. Please refer to... Figures 9-10 ,exist Figure 8 In the interface shown, the user swipes down on the application screen. The electronic device responds to the user's action, displaying the content of the application screen downwards, with each section gradually moving down as the user swipes. Section 1 reappears on the application screen. That is, during the user's swipe down, the user can sequentially view content 3 in section 3, content 2 in section 2, and content 1 in section 1. When the user swipes back down (i.e., during the swipe-down process), content 1 displayed in section 1 remains advertisement A.

[0148] In other words, when a user browses application content in reverse, causing repeated exposure of ad slots, the media application will push the same ad content to the user. As a result, the user sees the same ad content repeatedly, which not only affects the user experience but also wastes ad slot resources.

[0149] This application provides a method for displaying an application interface. In response to a user's downward swiping action in the application interface, the electronic device refreshes the advertising content in the advertising space when the advertising space is repeatedly exposed in the application interface, thereby improving the resource utilization rate of the advertising space.

[0150] Figures 11-14 For an illustrative user interface diagram, please refer to... Figures 11-12 In the embodiments of this application, please refer to Figures 11-12 The application interface includes, but is not limited to: first page 1101-1, second page 1101-2, and third page 1101-3. First page 1101-1 is an advertising page displaying the first advertisement content. Second page 1101-2 and third page 1101-3 are content pages; second page 1101-2 displays the first application content, and third page 1101-3 displays the second application content. When a user swipes up on the screen within the current application interface, the electronic device responds by gradually swiping (or scrolling) upwards (towards the top of the electronic device) through each page in the application interface. For example... Figure 12 As shown, during the upward swipe, users can sequentially view the first advertisement content in the first placement 1101-1, the first application content in the second placement 1101-2, and the second application content in the third placement 1101-3. Furthermore, as... Figure 12As shown, the first panel gradually slides out of the application interface. In this embodiment, the panel sliding out of the application interface can be understood as the process in which the screen content corresponding to the control of the panel gradually decreases until it disappears in the application interface generated (e.g., rendered) by the electronic device. The electronic device can make the application interface present a visual effect of sliding out of the application interface as the user slides.

[0151] like Figures 13-14 As shown, when a user swipes down on the screen within the current application interface, the electronic device responds to the received user action, and the content within the application interface gradually slides towards the bottom of the screen as the user swipes down. For example... Figure 14 As shown, the first ad placement 1101-1 reappears in the application interface (visually, it can be understood as gradually appearing in the application interface as you slide down). During the downward slide, the user can sequentially browse the second application content in the third ad placement 1101-3, the first application content in the second ad placement 1101-2, and the second ad content in the first ad placement 1101-1. That is, in this embodiment, when the first ad placement 1101-1 is exposed twice (or multiple times) in the application interface, the ad content displayed in the first ad placement 1101-1 will be refreshed. Optionally, the refreshed ad content will display new ad content, that is, content different from the ad content displayed in the previous (e.g., the most recent) exposure, rather than repeatedly refreshing the same ad content.

[0152] It should be noted that the application scenarios and implementation environments described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the emergence of new application scenarios and the evolution of implementation environments, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0153] The following is a detailed explanation of the application interface display method provided in the embodiments of this application.

[0154] Figure 15 This is a flowchart illustrating a method for displaying an application interface according to an embodiment of this application. This method can be applied to electronic devices and applications within those devices in the aforementioned implementation environment (e.g., media applications in this embodiment). Please refer to... Figure 15 The method includes the following steps:

[0155] Step 1501: Display the first advertisement content in the application interface. The first advertisement content is located in the first position.

[0156] For example, when a user is browsing the application interface, the application interface currently displays the first advertisement content, which is located in the first position, and the first position is an advertisement position.

[0157] Optionally, the application described in this application embodiment can be a media application or a browser application, etc. For example, the application can be a short video application, and the application interface can include multiple sections, in which short video content (i.e., the application content described in this application) or advertising content can be displayed. As another example, the application can be a web interface, which is not limited in this application.

[0158] Step 1502: In response to the first operation, slide the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface, and display the first application content in the application interface.

[0159] The first operation is the operation received by the electronic device on the application interface.

[0160] For example, the first application content may optionally be located in the fourth position, such as... Figure 16 As shown.

[0161] For example, while browsing an application's interface, a user swipes up (or performs an upward gesture, etc., which is not limited in this application) to slide content on the application interface. In response to the received user action, the electronic device slides (or scrolls) the content displayed on the application interface upwards. Specifically, the application interface currently displays first advertisement content, located in the first position. Correspondingly, as the user swipes up, the electronic device, in response to the received user action, slides the first advertisement content upwards and gradually slides it off the application interface. Simultaneously, as the content on the application interface gradually slides upwards, the electronic device can gradually display the first application content from the bottom up within the application interface.

[0162] The method (or type) of the first operation may differ depending on the electronic device and the media application. For example, if the electronic device is a mobile phone with a touchscreen, the first operation could be: the user swiping upwards on the application interface with their finger. Optionally, in some instances, the first operation could also be an air gesture, which is not limited in this application. As another example, if the electronic device is a computer connected to a mouse, and the media application is optionally a web application accessed through a web browser (or other browsable applications in other embodiments, which is not limited in this application), the first operation could be: the user scrolling the mouse wheel upwards.

[0163] To describe this step more clearly, Figures 16-18 This is a schematic diagram of an application interface as an example. Figure 16As shown, the application interface includes a first ad slot 1601, which displays the first advertisement content. The electronic device responds to the received request... Figure 16 The first operation of the application interface shown is to slide the content of the application interface upwards to display it. During this process, the application interface can be displayed as follows: Figure 17 As shown. Figure 18 As shown, as the content in the application interface gradually slides upwards, the first advertisement content slides out of the application interface, and the first application content is displayed in the application interface. The first application content is located in the fourth position 1602.

[0164] In some embodiments, the electronic device has a touch screen function. In this case, in response to a received first operation on the application interface, the method includes: acquiring gesture information corresponding to the first operation, the gesture information including but not limited to at least one of the following: gesture type, gesture direction, and gesture speed.

[0165] Optionally, during the user's swipe on the screen (specifically, the application interface), the electronic device's data acquisition module collects the gesture information corresponding to the first operation in real time.

[0166] The gesture type can be selected as the type of operation on the application interface, such as click, long press, swipe, double tap, etc.; the gesture direction is used to indicate the direction of the first operation, such as swiping up, down, left, right, or rotating at an angle, etc.; the gesture speed can be selected to indicate the speed of the first operation or the frequency of clicks, etc.

[0167] For example, the acquisition module can be configured with an acquisition frequency (which can be set according to actual needs, and this application does not limit it). The acquisition module can acquire gesture information such as gesture type, gesture direction, and gesture speed at each acquisition moment. It can be understood that when the user swipes up from the bottom of the application interface and raises their hand, it is considered an operation, for example, the first operation. Accordingly, during the user's upward swipe, the acquisition module can acquire multiple gesture information corresponding to the first operation based on the acquisition frequency.

[0168] In this embodiment of the application, the acquisition module of the electronic device sends the gesture information corresponding to the first operation to the media application. The media application slides the content in the application interface upward according to the gesture information sent by the acquisition module, so that the first advertisement content slides out of the application interface and is displayed in the application interface.

[0169] The above description uses gesture information as an example. In practical applications, depending on the application scenario, the gesture information can also be transformed into mouse action information, stylus action information, keyboard action information, etc.

[0170] For example, an electronic device connected to a mouse responds to a first operation on an application interface, including: acquiring mouse information corresponding to the first operation, the mouse action information including mouse action type, mouse action direction, and mouse action speed.

[0171] For example, suppose a user scrolls the mouse wheel upwards at a first speed in the application interface. The mouse action type is scrolling the mouse wheel, the mouse action direction is upwards, and the mouse action speed is the first speed.

[0172] In this embodiment, the content in the application interface (e.g., various page layouts) can slide up or down as the user operates. The up-and-down sliding method of the application interface can differ depending on the operation method (e.g., gesture swiping or mouse scrolling). For example, when the operation method is a user gesture swiping, the interface content can slide slowly or quickly with the user's gesture. When the operation method is mouse scrolling, the displayed interface content can slide with the mouse wheel and a preset swiping interval (or scrolling interval, scrolling speed). As another example, when the operation method is the up and down page keys on the keyboard, the up-and-down sliding interval of the displayed interface is the page granularity, i.e., sliding from the current application page to the next application page.

[0173] As mentioned above, the first application content can be located in the fourth position. If it has not been exposed in the application interface before the fourth position, in some embodiments, before displaying the first application content in the application interface, the method further includes: sending the gesture information corresponding to the first operation to the media server. The method also involves receiving the fourth position information sent by the media server. Specifically, the fourth position information is sent by the media server when it detects that the gesture information corresponding to the first operation instructs the user to swipe upwards in the application interface, and the upward swipe distance is not less than a first distance threshold and the upward swipe speed is greater than a preset gesture speed.

[0174] The layout information for the fourth layout position may include the style of the fourth layout position, the identification information of the fourth layout position, etc.

[0175] In some embodiments, the media application stores placement information and display content for previously exposed placements. Thus, if the fourth placement has already been exposed in the application interface, since the media application stores the placement information for the fourth placement, it can directly display the fourth placement in the application interface and display the first application content within that fourth placement.

[0176] If the electronic device has not been displayed in the application interface before the fourth display position, after sending the gesture information corresponding to the first operation to the media server, the electronic device can receive the first application content sent by the media server. The electronic device then displays the first application content in the fourth display position.

[0177] For example, the first application content is also sent by the media server when it detects that the gesture information corresponding to the first operation instructs the user to swipe up in the application interface, and the distance of the upward swipe is not less than the first distance threshold.

[0178] In one possible implementation, if the media application has already been exposed in the application interface before the fourth page position, it stores the first application content that was most recently displayed in the application interface for the fourth page position, so the first application content can be displayed directly in the fourth page position.

[0179] Step 1503: In response to the second operation, slide the content displayed in the application interface down to display the second advertisement content in the application interface, which is located in the first position.

[0180] For example, the electronic device receives a second operation from the user on the application interface. In response to the second operation, the electronic device slides the currently displayed content on the application interface downwards. As the content on the application interface slides downwards with the second operation, the first ad placement reappears on the application interface (at this time, the second ad content is displayed in the first ad placement). This display method can also be called a repeated exposure process; that is, an ad placement that has already been displayed (or exposed) is displayed again on the application interface. This application embodiment only describes a double exposure process. In practical applications, as the user repeatedly slides up and down, an ad placement may be repeatedly exposed multiple times, and this application does not limit this.

[0181] Specifically, taking an electronic device with a touchscreen as an example, in this example, in response to a received second operation on the application interface, the electronic device can obtain the gesture information corresponding to the second operation. Optionally, this gesture information includes, but is not limited to, at least one of the following: gesture type, gesture direction, and gesture speed. This process can be referred to the relevant description in step 1502, and will not be repeated here.

[0182] Optionally, in practical applications, depending on the specific application scenario, the aforementioned gesture information can also be transformed into mouse action information, stylus action information, etc. For ease of explanation, the following description uses gesture information as an example to illustrate the display method of the application interface provided in this application.

[0183] In some embodiments, the media application stores placement information and display content for previously exposed placements. Since the placements have already been exposed in the application interface, the media application stores placement information and can directly display the placement (which can also be understood as the corresponding control, where the content of the placement is deployed within the control) or the placement and its display content in the application interface. That is, for new, unexposed placements, the media application may optionally need to obtain the corresponding control information and perform rendering, drawing, or other processing on the placement before displaying it. For previously exposed placements, the media application may optionally display the placement based on historical information (e.g., placement information). In this embodiment, for some content types of placements, the application may also display the placement and its corresponding application content based on historical information (e.g., placement information and display content).

[0184] For a clearer description of this step, please refer to [link / reference]. Figures 19-21 , Figures 19-21 This is a schematic diagram of an exemplary application interface. Figure 19 As shown, the application interface displays a fourth version 1901, which includes the first application content. The first version 1902 was slid up onto the application interface in the previous steps; a detailed description can be found above and will not be repeated here. When the electronic device responds to the received response... Figure 19 The second operation of the application interface shown is to slide the content of the application interface down to display it. During this process, the application interface can be displayed as follows: Figure 20 As shown. Figure 21 As shown, as the content in the application interface gradually slides down, the first ad slot 1902 reappears in the application interface, and the second ad content is displayed in the first ad slot 1902.

[0185] Optionally, after the electronic device re-displays the first ad slot in the application interface, it acquires the second ad content and displays the second ad content in the first ad slot.

[0186] For example, an electronic device obtains the second advertising content from a server and displays the second advertising content in the first ad slot, thereby achieving ad refresh in the same ad slot during reverse browsing. The first and second advertising contents are not the same. For example, the first advertising content may be an advertisement for brand A, and the second advertising content may be an advertisement for brand B; this application does not impose any limitations.

[0187] In one possible implementation, the electronic device may acquire the second advertising content by including the following steps (1)-(2):

[0188] (1) The electronic device sends the gesture information and the first identifier information of the first position to the media server. Here, the gesture information refers to the gesture information corresponding to the second operation mentioned above.

[0189] For example, a media application has a placement detection function. Optionally, this function involves: based on the current image frame displayed on the application interface and the previous image frame displayed on the application interface, detecting that a first placement exists in the current image frame and that the first placement did not exist in the previous image frame, and obtaining the first identifier information of the first placement. Specifically, the electronic device (e.g., a media application) can obtain the current image frame of the application interface and compare it with the previous image frame to determine whether there is a newly added placement compared to the previous image frame. If a new placement exists, it further detects whether the newly added placement is an advertisement placement. If it is determined that the newly added placement is an advertisement placement, it obtains the identifier information (e.g., the first identifier information) of the newly added placement (e.g., the first placement).

[0190] Specifically, as described above, the media application stores placement information that has already been exposed (also known as historical placement information). In this example, when the electronic device detects a new placement in the application interface, it obtains the placement information of the new placement. The electronic device can match the placement information corresponding to the new placement with the historical placement information. If the match is successful (i.e., there is information in the historical placement information that is consistent with the placement information of the new placement), then the new placement can be determined to be a previously exposed placement (e.g., the process of secondary exposure of the first placement described in this embodiment). Otherwise, the new placement can be determined to be a previously unexposed placement.

[0191] In one example, the electronic device determines that the newly added page position (e.g., the first page position) is a page position with repeated exposure (which could be a double exposure or multiple exposures), and the electronic device acquires the page position information of the first page position. The page position information may optionally include the page position type of the first page position.

[0192] Specifically, the electronic device detects whether the first ad placement is an advertisement placement. In one example, if the first ad placement is an advertisement placement, the electronic device sends the gesture information corresponding to the second operation, as well as the first identifier information of the first ad placement, to the media server. Optionally, the electronic device can use any communication method and any data format, wherein the data format used must ensure that the media server can correctly parse it.

[0193] In another example, if the newly added ad slot is a content ad slot—meaning the newly added ad slot that is repeatedly exposed is a content ad slot—the electronic device can display the application content corresponding to the newly added ad slot from the cache. In other words, the content corresponding to ad slots of the already displayed content ad slot type can optionally be cached in the memory of the electronic device. The electronic device can locate the corresponding application content (e.g., an image frame) based on the ad slot's identification information and display it in the ad slot.

[0194] For example, the first identification information can be information that uniquely identifies the first page position, such as an identity number (ID). Optionally, there are various ways for an electronic device to obtain the first identification of the first page position, and this application embodiment does not specifically limit this. For example, a media application can look up the first identification information of the first page position through the document object model (DOM) structure.

[0195] It should be noted that, in practical applications, the execution entity displayed in the application interface as the first position can also be the media server or advertising detection platform mentioned in the above implementation environment, and this application embodiment does not specifically limit it in this way.

[0196] (2) The electronic device receives the second advertising content sent by the media server. The second advertising content is sent by the media server when it determines that the first advertisement position is displayed in the application interface and the gesture information meets the preset conditions. The media server determines that the first advertisement position is displayed in the application interface based on the first identification information.

[0197] Optionally, the preset conditions include, but are not limited to, at least one of the following: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0198] In one example, the preset gesture speed can be a preset speed value. That is, when the speed of swiping down the application interface is less than or equal to a preset speed value, the subsequent ad content refresh process can be executed.

[0199] In another example, the preset gesture speed can also be the upward swipe speed. That is, when the downward swipe speed is less than or equal to the upward swipe speed, the subsequent ad content refresh process can be executed.

[0200] Optionally, in this embodiment, the gesture speed can also be understood as the upward or downward movement speed (or swiping speed) of the display interface. The media server can obtain the upward or downward movement speed of the application interface based on the gesture speed. Of course, in some examples, such as scenarios involving mouse, page-turning keys, or page-turning buttons, the media server can also obtain the upward or downward movement speed (or swiping speed) of the application interface. Correspondingly, the preset gesture speed in this embodiment can also be understood as a constraint on the downward swiping speed of the application interface. That is, when the downward swiping speed of the application interface is less than or equal to the preset speed (which can be a fixed value or the upward swiping speed of the application interface), the subsequent ad refresh process can be executed.

[0201] Specifically, after the media server receives the gesture information and the first identifier information, it determines whether the gesture information meets preset conditions. Furthermore, the media server determines that a first ad slot (i.e., a newly added ad slot) is displayed in the application interface based on the first identifier information. If the first ad slot is displayed in the application interface and the gesture information meets the preset conditions, the media server sends the second ad content to the media application. The media application then performs a slot refresh operation on the first ad slot; that is, after receiving the second ad content, the media application displays the second ad content in the first ad slot.

[0202] The second advertisement content can be obtained by the media server from the advertisement server.

[0203] Optionally, the media server records the ad content displayed for each exposed ad placement. Knowing the ad content previously displayed for the first ad placement, the media server can retrieve ad content that has not yet been displayed for the first ad placement from the ad server as the second ad content.

[0204] Optionally, the media server may parse the gesture information corresponding to the received second operation after receiving the first identification information of the first application.

[0205] In some embodiments, after receiving the gesture information corresponding to the second operation, the media server parses the gesture information to obtain the gesture type, gesture direction, and gesture speed; and verifies the gesture type, gesture direction, and gesture speed to determine whether they meet the above-mentioned preset conditions.

[0206] If the gesture type is a swipe, it indicates that the second operation is a swipe on the application interface. If the gesture direction is downward within the application interface, it indicates that the intention of the second operation is to browse the content of the application interface in reverse. If the gesture speed is less than or equal to the preset gesture speed, it indicates that the user has enough time to view the advertisement content in that ad placement. If the first ad placement is displayed in the application interface at the same time as the gesture information meets the preset conditions, it indicates that the first ad placement is a re-exposure ad placement in the application interface.

[0207] Therefore, if the application interface displays a first ad slot and the gesture information meets preset conditions, the media server will send the second ad content to the media application. This causes the media application to display the second ad content in the first ad slot instead of the previous first ad content, thus refreshing the ad content in the first ad slot. This avoids users seeing duplicate ads when browsing the application interface in reverse, preventing a negative impact on user experience and avoiding waste of ad slot resources. Furthermore, because there is a requirement that the gesture speed be less than or equal to a preset gesture speed, it ensures that users have enough time to view the ad content in the first ad slot before refreshing it, saving computing and communication resources on electronic devices and media servers.

[0208] Optionally, during the process of the electronic device swiping the application interface up or down based on the user's operation, the gesture information acquired by the electronic device may include, but is not limited to, gesture type and gesture speed. For example, the electronic device may send the gesture type and gesture speed to a media server. The preset conditions set by the media server may include, but are not limited to, gesture type being a swipe and gesture speed being less than or equal to a preset gesture speed. In this example, the layout order of the ad slots is preset, and the media server can determine the order of the ad slots displayed in the application interface, such as ascending or descending order, based on the identification information of each ad slot sent by the electronic device. That is, the media server can determine whether the current browsing is in ascending or descending order based on the layout order of the ad slots. If the media server determines that the current browsing is in descending order, i.e., the first application is a re-exposed ad slot, and the gesture information meets the preset conditions, it can refresh the advertising content of the first application, i.e., send new advertising content to the electronic device.

[0209] Optionally, in this embodiment, the electronic device can execute a content refresh process upon detecting that a display slot (which may be a portion of the slot's controls or interface) is displayed in the application interface. This process includes retrieving application content or advertising content and displaying the corresponding content in the display slot. In another example, the layout order of each display slot is preset. The electronic device can determine the display trend of the application interface content based on user actions (e.g., which application interface will be displayed next). Once the electronic device determines that the application interface to be displayed is the first application interface, it can obtain the corresponding identification information, send it to the media server, and retrieve the advertising content to be displayed in the first display slot from the media server.

[0210] Optionally, in this embodiment, the media server arranges the layout of each page, meaning the display order of each page is fixed. In this example, the electronic device can send only the gesture information (including gesture type, gesture direction, and gesture speed) corresponding to the operation to the media server, so that the media server can determine the page to be displayed on the application interface of the electronic device based on the gesture information, and send the display content corresponding to each page to the electronic device.

[0211] In another possible implementation, the electronic device performs operations such as gesture information parsing and verification, and obtains the second advertisement content, which may include the following steps (1)-(2):

[0212] (1) Electronic devices send advertising requests (also known as display content request information) to media servers.

[0213] Specifically, when the electronic device determines that a first advertisement position is displayed in the application interface and the gesture information meets preset conditions, it sends a display content request message to the media server. The display content request message is used to request advertising content. Optionally, the preset conditions include, but are not limited to, at least one of the following: the gesture type is a swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to a preset gesture speed.

[0214] For an explanation of the preset gesture speed, please refer to the relevant introduction in the previous possible implementation method; it will not be repeated here.

[0215] The method by which the electronic device determines that the application interface displays the first page position and the gesture information meets the preset conditions can be referred to in the above-mentioned situation one. The relevant operations of the media server will not be repeated here.

[0216] (2) Electronic devices receive advertising content sent by media servers (also known as display content response information).

[0217] For example, in response to a received advertising request, the server sends a new advertisement, namely the second advertising content, to the electronic device.

[0218] Once the electronic device obtains the second advertisement content, it can refresh the display content of the first ad slot based on the second advertisement content; that is, the second advertisement content will be displayed in the first ad slot. Other parts not described herein can be found above and will not be repeated here.

[0219] In some embodiments, displaying the first advertisement content in the application interface further includes: displaying the second application content in the application interface, the second application content being located in a second position; sliding the content displayed in the application interface upwards to cause the first advertisement content to slide out of the application interface further includes: sliding the content displayed in the application interface upwards to cause the second application content to slide out of the application interface; sliding the content displayed in the application interface downwards to cause the second advertisement content to be displayed in the application interface further includes: sliding the content displayed in the application interface downwards to cause the second application content to be displayed in the application interface.

[0220] For a description of the second application content, please refer to the description of the first application content above; it will not be repeated here.

[0221] It is understandable that when a section in the application interface that displays application content (such as the second section mentioned above) is exposed repeatedly, the content displayed in that section does not need to be updated and will still display the application content that was exposed last time.

[0222] Figure 22 This is a flowchart illustrating an exemplary method for displaying an application interface. This method can be applied to electronic devices in the aforementioned implementation environment and to applications within those devices (e.g., media applications in this embodiment). Please refer to... Figure 22 Specifically, including but not limited to the following steps:

[0223] Step 2201: Display the first advertisement content in the application interface. The first advertisement content is located in the first position.

[0224] Step 2202: In response to the first operation, slide the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface, and display the first application content in the application interface.

[0225] Step 2203: In response to the second operation, slide the content displayed in the application interface down to display the second advertisement content in the application interface, the second advertisement content being located in the first position.

[0226] Steps 2201-2203 are the same as steps 1501-1503 in the above embodiment, and will not be described again here.

[0227] Step 2204: In response to the third operation, slide the content displayed in the application interface down to display the third advertisement content in the application interface, which is located in the third position.

[0228] In response to the third operation, the content displayed on the application interface scrolls down at a speed greater than the first speed; the third advertisement content is the most recently displayed advertisement content in the third ad slot. The third operation refers to the operation on the application interface received by the electronic device.

[0229] For example, while browsing an application's interface, a user swipes down on content within the interface using a swipe gesture (also known as a swipe down gesture, etc., which is not limited in this application). In response to the received user action, the electronic device slides (or scrolls) the content displayed on the application interface downwards. Specifically, the currently displayed space on the application interface includes a first space, which is an advertisement space displaying second advertisement content. Correspondingly, as the user swipes down, the electronic device, in response to the received user action, slides the first space downwards and gradually slides it off the application interface. Simultaneously, as the content on the application interface gradually slides down, the electronic device can gradually slide down from the top of the application interface to display a third space, which displays third advertisement content.

[0230] For a clearer description of this step, please refer to [link / reference]. Figures 23-25 , Figures 23-25 This is an example application interface. For example... Figure 23 As shown, the application interface includes a first ad slot 2301, which displays the second advertisement content. The electronic device responds to the received request... Figure 23 The third operation of the application interface shown is to slide the content of the application interface down to display it. During this process, the application interface can be displayed as follows: Figure 24 As shown. Figure 25 As shown, as the content in the application interface gradually slides down, the first position 2301 slides out of the application interface, and the third position 2302 is displayed in the application interface, displaying the third advertisement content.

[0231] In some embodiments, the electronic device has a touchscreen function. In this case, responding to a received third operation on the application interface includes: acquiring gesture information corresponding to the third operation, the gesture information including gesture type, gesture direction, and gesture speed. The gesture speed in the gesture information corresponding to the third operation is the aforementioned third gesture speed.

[0232] The process of obtaining the gesture information corresponding to the third operation is similar to the process of obtaining the gesture information corresponding to the first operation in step 1501 above. In this embodiment of the application, the acquisition module of the electronic device sends the gesture information corresponding to the third operation to the media application. The media application slides down the content in the application interface according to the gesture information sent by the acquisition module, so that the first page slides out of the application interface and the third page is displayed in the application interface.

[0233] Because it's a reverse browsing process, the third page position is one that has already been exposed. In some embodiments, the media application stores page position information for previously exposed page positions; in this case, the media application can directly display the third page position in the application interface based on the page position information.

[0234] In some embodiments, after the media application receives the gesture information corresponding to the third operation sent by the acquisition module, it can parse the gesture information to determine the gesture type, gesture direction and gesture speed corresponding to the third operation, and verify the gesture information. If the gesture speed is detected to be greater than the preset gesture speed, the display content displayed when the third position last appeared in the application interface will be displayed in the third position.

[0235] For an introduction to preset gesture speeds, please refer to the relevant content above; it will not be repeated here.

[0236] Optionally, if the detected third gesture speed is less than or equal to a preset gesture speed, and the detected third ad placement is an advertisement placement, the electronic device acquires new advertisement content and displays it in the third ad placement. The method for detecting whether the third ad placement is an advertisement placement can be found in the relevant description above, and will not be repeated here.

[0237] In some embodiments, the media application stores the display content of previously exposed page positions. In this case, since the third page position has been previously exposed in the application interface, the media application stores the display content of the third page position when it was last displayed in the application interface. Therefore, the media application can directly display the display content of the third page position when it most recently appeared in the application interface.

[0238] If the speed of the third gesture in the third operation is greater than the preset gesture speed, for example, if the user's intention is not to re-view the content displayed in the previously viewed third page, then even if the third page is an advertisement, the electronic device can choose not to refresh the displayed advertisement content, thereby saving computing and communication resources for the electronic device and the media server.

[0239] In this embodiment, when the first advertisement content is displayed in the first ad slot, after the first ad slot is slid upwards out of the application interface, when the content in the application interface is slid downwards and the first ad slot reappears in the application interface, the second advertisement content is displayed in the first ad slot. This refreshes the advertisement content displayed in the ad slot when the user browses the application interface backwards, causing the ad slot to be exposed repeatedly. This avoids the user seeing previously viewed advertisement content repeatedly when browsing the application interface backwards, thus improving the user experience and increasing the utilization rate of ad slot resources.

[0240] Figure 26A flowchart illustrating another method for displaying an application interface provided in this application embodiment. This method can be applied to electronic devices in the above-described implementation environment and applications within those electronic devices (e.g., media applications in this application embodiment). Please refer to... Figure 26 This method includes, but is not limited to, the following steps:

[0241] S2601: The electronic device receives the first operation on the application interface.

[0242] S2602a: In response to a received first operation on the application interface, the electronic device slides the content of the application interface upwards to display the first position out of the application interface.

[0243] S2602b(1): The electronic device responds to the received first operation on the application interface and obtains the gesture information corresponding to the first operation.

[0244] S2602b(2): The electronic device sends the gesture information corresponding to the first operation to the media server.

[0245] It should be noted that S2602b(1) precedes S2602b(2), while S2602a and S2602b are two parallel processes of the electronic device, and these two processes do not have a sequential order.

[0246] The implementation process of the above steps can be referred to Figure 15 The relevant content in the corresponding embodiments.

[0247] S2603: The media server parses and verifies the gesture information corresponding to the first operation.

[0248] Specifically, after receiving the gesture information corresponding to the second operation, the media server parses the gesture information; then, it verifies the gesture to determine whether the display conditions are met.

[0249] The display conditions can instruct the user to swipe upwards in the application interface, provided that the upward swipe distance is not less than a first distance threshold and the upward swipe speed is greater than a preset gesture speed. If the gesture information corresponding to the first operation meets the display conditions, it can be assumed that the second position is about to be displayed in the application interface.

[0250] Of course, the display conditions may differ from those described above in different application scenarios, and this application embodiment does not impose specific limitations on them.

[0251] S2604: When the media server detects that the gesture information corresponding to the first operation meets the display conditions, it sends the page information of the second page and the display content of the second page to the electronic device.

[0252] The placement information for the second ad slot may include its style and logo. The content displayed in the second ad slot is either application content or advertising content.

[0253] S2605: The electronic device receives the page information of the second page, displays the second page in the application interface, and displays the acquired display content in the second page.

[0254] It should be noted that the above steps are based on examples of situations where the app was not previously displayed in the application interface.

[0255] S2606: Electronic device receives a second operation on the application interface.

[0256] S2607a(1): In response to a received second operation on the application interface, the electronic device slides down the content of the application interface and displays the first position in the application interface.

[0257] The implementation process for this step can refer to step 1503 above.

[0258] S2607a(2): The electronic device acquires the first identifier information of the first version position.

[0259] For example, the first identification information can be information that can uniquely identify the first position, such as an identity number (ID). The implementation process of this step can refer to the relevant content in step 1503 above.

[0260] S2607a(3): The electronic device sends the first identifier information of the first page position to the media server.

[0261] S2607b(1): The electronic device responds to the received second operation on the application interface and obtains the gesture information corresponding to the second operation.

[0262] S2607b(2): The electronic device sends the gesture information corresponding to the second operation to the media server.

[0263] The process of obtaining and sending the gesture information corresponding to the second operation has been explained above and will not be repeated here.

[0264] It should be noted that S2607a(1) precedes S2607a(2), S2607a(2) precedes S2607a(3), and S2607b(1) precedes S2607b(2). S2607a and S2607b are two parallel processes of the electronic device, and these two processes do not have a sequential order.

[0265] S2608: After receiving the first identifier information of the first page position, the media server parses and verifies the gesture information corresponding to the second operation.

[0266] Specifically, after the media server receives the gesture information corresponding to the second operation, it parses the gesture information to obtain the gesture type, gesture direction, and gesture speed; then, it verifies the gesture type, gesture direction, and gesture speed to determine whether they meet the preset conditions.

[0267] The preset conditions are: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0268] S2609: When the media server detects that the gesture information corresponding to the second operation meets the preset conditions, it sends the second advertising content to the electronic device.

[0269] S2610: The electronic device receives the second advertising content and displays the second advertising content in the first position.

[0270] For detailed instructions on the above steps, please refer to [link / reference]. Figure 15 The corresponding implementation examples will not be described in detail here.

[0271] In some embodiments, please refer to Figure 27 The method also includes the following steps:

[0272] S2701: The electronic device receives a third operation on the application interface.

[0273] S2702a(1): In response to a received third operation on the application interface, the electronic device slides down the content of the application interface to display a third position in the application interface.

[0274] The implementation process for this step can refer to step 2204 above.

[0275] S2702a(2): Electronic device acquires the third identifier information of the third version.

[0276] For example, the third identification information can be information that can uniquely identify the third page, such as an identity number (ID). The implementation process of this step can refer to the process of obtaining the first identification information of the first page described above.

[0277] S2702a(3): The electronic device sends the third identifier information of the third page to the media server.

[0278] S2702b(1): The electronic device responds to the received third operation on the application interface and obtains the gesture information corresponding to the third operation.

[0279] S2702b(2): The electronic device sends the gesture information corresponding to the third operation to the media server.

[0280] The process of obtaining and sending the gesture information corresponding to the third operation is similar to the process of obtaining and sending the gesture information corresponding to the second operation, and will not be described in detail here.

[0281] It should be noted that S2702a(1) precedes S2702a(2), S2702a(2) precedes S2702a(3), and S2702b(1) precedes S2702b(2). S2702a and S2702b are two parallel processes of the electronic device, and these two processes do not have a sequential order.

[0282] S2703: The media server parses and verifies the gesture information corresponding to the third operation.

[0283] Specifically, after the media server receives the gesture information corresponding to the third operation, it parses the gesture information to obtain the gesture type, gesture direction, and gesture speed; then, it verifies the gesture type, gesture direction, and gesture speed to determine whether they meet the preset conditions.

[0284] The preset conditions are: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0285] S2704: If the media server detects that the gesture information corresponding to the third operation does not meet the preset conditions, it sends a first response to the electronic device.

[0286] The first response indicator displays the content shown in the third position when the third position last appeared in the application interface.

[0287] S2705: After receiving the first response, the electronic device displays the content that was displayed when the third page last appeared in the application interface in the third page.

[0288] For example, the third ad slot displays the third ad content, which is the ad content that was displayed when the third ad slot was last exposed, stored on the electronic device.

[0289] In this embodiment, if a user's reverse browsing of application content results in repeated exposure of a certain ad placement, and if the gesture information meets preset conditions, the ad content displayed in that ad placement can be updated. This minimizes the waste of ad placement resources, improves their utilization, and avoids repeatedly pushing the same ads to the user, thus affecting user experience. If the gesture information does not meet the preset conditions, it indicates that the user's intention is not to re-view previously viewed ad content, and the user does not have enough time to view the ad content in that ad placement. Therefore, the ad content can be left unrefreshed, saving computing and communication resources of electronic devices and media servers.

[0290] Figure 28 This is a flowchart illustrating another method for displaying an application interface provided in this application embodiment. This method can be applied to electronic devices in the above-described implementation environment and to applications within those devices (such as media applications in this application embodiment). Please refer to... Figure 28 The method includes the following steps.

[0291] Step 2801: Display the first advertisement content in the application interface. The first advertisement content is located in the first position.

[0292] For a detailed explanation of this step, please refer to step 1501 above, which will not be repeated here.

[0293] Step 2802: In response to the first operation, slide the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface, and display the first application content in the application interface.

[0294] The implementation process of this step can be referred to step 1502 above, and will not be repeated here.

[0295] Step 2803: In response to the second operation, slide the content displayed in the application interface down to hide the first page in the application interface.

[0296] The second operation is the operation on the application interface received by the electronic device.

[0297] The implementation of the two processes—responding to the received second operation on the application interface and sliding down to display the content in the application interface—can be found in the relevant description of step 1503 above, and will not be repeated here.

[0298] In some embodiments, hiding the first page in the application interface includes: completely or partially hiding the first page.

[0299] Accordingly, the entire content of the first advertisement is hidden, or a portion of the content of the first advertisement is hidden. For example, the image content of the first advertisement is hidden. Optionally, in some instances, hiding the entire first ad placement can also be understood as hiding the first ad placement and its content.

[0300] For example, please refer to Figure 29 and Figure 30 .like Figure 29 As shown, the application interface includes a first placement 2901 that is completely hidden, and the entire content of the first advertisement is also hidden. Figure 29 As shown, the application interface includes a first placement 2901 that is completely hidden, and part of the content of the first advertisement is also hidden (in the example in the image, the image content is hidden, but the text content is not). It should be noted that... Figure 29 The display method shown is for illustrative purposes only. In some instances, if the entire first page is hidden, a bubble or horizontal line can be used to indicate to the user that there is a completely hidden page in that location. For example... Figure 30 As shown, the application interface includes a partially hidden first ad slot 3001, in which only the text portion of the first advertisement content is displayed.

[0301] The implementation process of this method may not be exactly the same for two different scenarios: one where the electronic device can perform gesture information parsing and verification, and the other where the electronic device cannot perform gesture information parsing and verification. These scenarios will be described separately below.

[0302] In one possible implementation, gesture parsing and other operations can be performed by the server, specifically including the following steps (1)-(2):

[0303] (1) The electronic device sends the gesture information and the first identifier information of the first position to the media server.

[0304] For the implementation process of step (1), please refer to the relevant introduction in step 1503 above, which will not be repeated here.

[0305] (2) The electronic device receives a first status identifier sent by the media server. The first status identifier is sent by the media server when it determines that the first page is displayed in the application interface and the gesture information meets the preset conditions. The media server determines that the first page is displayed in the application interface based on the first identifier information. The first status identifier indicates that the first page is hidden.

[0306] The preset conditions include: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0307] The method for the media server to determine that the application interface displays the first page and that the gesture information meets the preset conditions is described in the relevant introduction in step 1503 above, and will not be repeated here.

[0308] In some embodiments, the media server stores status identifiers of media slots that have been exposed by the media application. After the media server determines that a first slot is displayed in the application interface and that the gesture information meets preset conditions, it modifies the status identifier of the first slot to obtain a first status identifier. Then, the media server sends the first status identifier to the media application.

[0309] (3) The electronic device hides the first position in the application interface based on the first state identifier.

[0310] In some embodiments, the media application stores a first correspondence between the status identifier of a page position and the display status of the page position; the media application obtains the display status of the first page position based on the first status identifier and the first correspondence; and hides the first page position in the application interface according to the obtained display status.

[0311] During the above process, when the media server verifies the gesture information, if the gesture type is a swipe, it indicates that the third operation is a swipe operation on the application interface. If the gesture direction is downward within the application interface, it indicates that the intention of the second operation is to browse the content of the application interface in reverse. If the gesture speed is less than or equal to the preset gesture speed, it indicates that the user has enough time to view the advertisement content in that ad placement. If the first ad placement is displayed on the application interface while the gesture information meets the preset conditions, it indicates that the first ad placement is a re-exposure ad placement on the application interface.

[0312] Therefore, if the first ad slot is displayed in the application interface and the gesture information meets the preset conditions, the media server will send a first status flag to the media application. This causes the media application to hide the first ad slot in the application interface, instead of fully expanding and displaying the first ad content in the first ad slot. This avoids the first ad content that the user has already viewed occupying too much application interface space when the user scrolls backwards, thus improving the user experience. Furthermore, because there is a requirement that the gesture speed be less than or equal to the preset gesture speed, if the user scrolls to the first ad slot, they will see the first ad content, which will definitely affect the user experience. Only in this case will the ad content in the first ad slot be refreshed, saving computing and communication resources of electronic devices and media servers.

[0313] Optionally, during the process of the electronic device swiping the application interface up or down based on the user's operation, the gesture information obtained by the electronic device may include, but is not limited to, gesture type and gesture speed. For example, the electronic device can send the gesture type and gesture speed to a media server. The preset conditions set by the media server may include, but are not limited to, gesture type being a swipe and gesture speed being less than or equal to a preset gesture speed. In this example, the layout order of the page positions is preset, and the media server can determine the order of the page positions displayed in the application interface, such as ascending or descending order, based on the identifier information of each page position sent by the electronic device. That is, the media server can determine whether the current browsing is in ascending or descending order based on the layout order of the page positions. When the media server determines that the current browsing is in descending order, i.e., the first application is a re-exposed page position, and the gesture information meets the preset conditions, it can modify the status identifier of the first page position to obtain a first status identifier, and then send the first status identifier to the electronic device.

[0314] In one example, the preset gesture speed can be a preset speed value. That is, when the speed of swiping down the application interface is less than or equal to a preset speed value, the subsequent ad content refresh process can be executed.

[0315] In another example, the preset gesture speed can also be the upward swipe speed. That is, when the downward swipe speed is less than or equal to the upward swipe speed, the subsequent ad content refresh process can be executed.

[0316] Optionally, in this embodiment, the gesture speed can also be understood as the upward or downward movement speed (or swiping speed) of the display interface. The media server can obtain the upward or downward movement speed of the application interface based on the gesture speed. Of course, in some examples, such as scenarios involving mouse, page-turning keys, or page-turning buttons, the media server can also obtain the upward or downward movement speed (or swiping speed) of the application interface. Correspondingly, the preset gesture speed in this embodiment can also be understood as a constraint on the downward swiping speed of the application interface. That is, when the downward swiping speed of the application interface is less than or equal to the preset speed (which can be a fixed value or the upward swiping speed of the application interface), the subsequent ad refresh process can be executed.

[0317] Optionally, in this embodiment, the electronic device can execute a content refresh process upon detecting that a page slot (which may be a portion of the page slot's controls or interface) is displayed in the application interface. This process includes, for example, acquiring application content or advertising content and displaying the corresponding content in the page slot. In another example, the layout order of each page slot is preset. The electronic device can determine the display trend of the application interface content based on user actions (e.g., which application interface will be displayed next). Once the electronic device determines that the application interface to be displayed is the first application interface, it can acquire the corresponding identification information, send it to the media server, obtain the first status identifier from the media server, and then directly hide the first page slot.

[0318] Optionally, in this embodiment, the media server arranges the layout of each section, meaning the display order of each section is fixed. In this example, the electronic device can send only the gesture information (including gesture type, gesture direction, and gesture speed) corresponding to the operation to the media server. This allows the media server to determine the section that the electronic device's application interface will display based on the gesture information and send the status identifier corresponding to each section to the electronic device. The electronic device can then display each section according to its corresponding status identifier.

[0319] In another possible implementation, gesture information parsing, verification, and other operations can be performed by the electronic device, specifically including the following steps (1)-(2):

[0320] (1) The electronic device sends a status modification request to the media server; wherein, the status modification request is sent by the electronic device when it determines that the first page position is displayed in the application interface and the gesture information meets the preset conditions; the preset conditions include: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0321] The method by which the electronic device determines that the application interface displays the first page position and the gesture information meets the preset conditions can be referred to in the above-mentioned situation one. The relevant operations of the media server will not be repeated here.

[0322] In some embodiments, the media server stores status identifiers of the media slots that have been exposed by the media application. After receiving a status modification request, the media server modifies the status identifier of the first slot to obtain a first status identifier, which indicates that the first slot is in a hidden state. Then, the media server sends the first status identifier to the media application.

[0323] (2) The electronic device receives the first status identifier sent by the media server.

[0324] (3) The electronic device hides the first position based on the first state identifier.

[0325] The processes of steps (2) and (3) can be described in the relevant description in Case 1 above, and will not be repeated here.

[0326] In some embodiments, the first page position is displayed in response to a received third operation on the first page position.

[0327] For example, when the first page is completely hidden, a bubble or horizontal line indicates to the user that there is a completely hidden page at this location. When the user clicks on the completely hidden first page, the electronic device responds to the received user action and expands the first page to display. The third operation mentioned above can be a single click as in this example, or it can be a double click, a long press, etc., and this application embodiment does not limit it in this way.

[0328] The first ad placement displays the full content of the first ad. This allows users to easily review the full content of the first ad when needed.

[0329] In some embodiments, displaying the first advertisement content in the application interface further includes: displaying the second application content in the application interface, the second application content being located in a second position; sliding the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface further includes: sliding the content displayed in the application interface upwards to make the second application content slide out of the application interface; sliding the content displayed in the application interface downwards to hide the first position in the application interface further includes: sliding the content displayed in the application interface downwards to make the second application content appear in the application interface.

[0330] For a description of the second application content, please refer to the description of the first application content above; it will not be repeated here.

[0331] It is understandable that when a section in the application interface that displays application content (such as the second section mentioned above) is exposed repeatedly, the content displayed in that section does not need to be updated and will still display the application content that was exposed last time.

[0332] Figure 31 This is a flowchart illustrating an exemplary method for displaying an application interface. This method can be applied to electronic devices in the aforementioned implementation environment and to applications within those devices (e.g., media applications in this embodiment). Please refer to... Figure 31 Specifically, including but not limited to the following steps:

[0333] Step 3101: Display the first advertisement content in the application interface. The first advertisement content is located in the first position.

[0334] Step 3102: In response to the first operation, slide the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface, and display the first application content in the application interface.

[0335] Step 3103: In response to the second operation, slide the content displayed in the application interface down to hide the first page in the application interface.

[0336] Steps 3101-3103 are the same as steps 2801-2803 in the above embodiment, and will not be described again here.

[0337] Step 3104: In response to the fourth operation, slide the content displayed in the application interface down to display the second advertisement content in the application interface, which is located in the third position.

[0338] It should be noted that the third version was not hidden when it last appeared in the application interface.

[0339] In response to the fourth operation, the content displayed on the application interface scrolls down at a speed greater than the first speed; the second advertisement content is the advertisement content most recently displayed in the third position.

[0340] The implementation process of step 3104 can refer to step 2204 above, and will not be repeated here.

[0341] If the swiping speed corresponding to the third operation is greater than the preset gesture speed, it means that the user's intention is not to re-view previously viewed advertisement content, and the user browses the third ad space very quickly, barely seeing the specific details of the third ad space. Therefore, the ad space can be left unhidden, thus avoiding the waste of computing and communication resources of electronic devices and media servers, and will not affect the user experience.

[0342] In this embodiment, when the first advertisement content is displayed in the first ad slot, the first ad slot is hidden when it is slid upwards off the application screen and then slid downwards to display the content in the application screen. This avoids the first advertisement content that the user has already viewed occupying too much application screen space when the user scrolls back through the application screen, thereby improving the user experience.

[0343] Figure 32 A flowchart illustrating another method for displaying an application interface provided in this application embodiment. This method can be applied to electronic devices in the above-described implementation environment and applications within those electronic devices (e.g., media applications in this application embodiment). Please refer to... Figure 32 This method includes, but is not limited to, the following steps:

[0344] S3201: The electronic device receives the first operation on the application interface.

[0345] S3202a: In response to a received first operation on the application interface, the electronic device slides the content of the application interface upwards to display the first position out of the application interface.

[0346] S3202b(1): The electronic device responds to the received first operation on the application interface and obtains the gesture information corresponding to the first operation.

[0347] S3202b(2): The electronic device sends the gesture information corresponding to the first operation to the media server.

[0348] It should be noted that S3202b(1) precedes S3202b(2), while S3202a and S3202b are two parallel processes of the electronic device, and these two processes do not have a sequential order.

[0349] S3203: The media server parses and verifies the gesture information corresponding to the first operation.

[0350] S3204: When the media server detects that the gesture information corresponding to the first operation meets the display conditions, it sends the page information of the second page and the display content of the second page to the electronic device.

[0351] The display conditions can instruct the user to swipe upwards in the application interface, provided that the upward swipe distance is not less than a first distance threshold and the upward swipe speed is greater than a preset gesture speed. If the gesture information corresponding to the first operation meets the display conditions, it can be assumed that the second position is about to be displayed in the application interface.

[0352] Of course, the display conditions may differ from those described above in different application scenarios, and this application embodiment does not impose specific limitations on them.

[0353] S3205: The electronic device receives the page information of the second page, displays the second page in the application interface, and displays the acquired display content in the second page.

[0354] The displayed content is either application content or advertising content.

[0355] It should be noted that the above steps are based on examples of situations where the app was not previously displayed in the application interface.

[0356] S3206: The electronic device receives a second operation on the application interface.

[0357] S3207a(1): In response to a received second operation on the application interface, the electronic device slides down the content of the application interface and displays the first position in the application interface.

[0358] S3207a(2): The electronic device acquires the first identifier information of the first version position.

[0359] S3207a(3): The electronic device sends the first identifier information of the first page position to the media server.

[0360] S3207b(1): The electronic device responds to the received second operation on the application interface and obtains the gesture information corresponding to the second operation.

[0361] S3207b(2): The electronic device sends the gesture information corresponding to the second operation to the media server.

[0362] It should be noted that S2607a(1) precedes S2607a(2), S2607a(2) precedes S2607a(3), and S2607b(1) precedes S2607b(2). S2607a and S2607b are two parallel processes of the electronic device, and these two processes do not have a sequential order.

[0363] S3208: The media server parses and verifies the gesture information corresponding to the second operation.

[0364] S3209: When the media server detects that the hand speed information corresponding to the second operation meets the preset conditions, it modifies the status identifier of the first position to the first status identifier.

[0365] The preset conditions are: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0366] The first status indicator shows that the first position is in a hidden state.

[0367] S3210: The media server sends the first status identifier to the electronic device.

[0368] S3211: The electronic device hides the first position in the application interface based on the first state identifier.

[0369] For detailed instructions on the above steps, please refer to [link / reference]. Figure 28 The corresponding implementation examples will not be described in detail here.

[0370] In some embodiments, please refer to Figure 33 The method also includes the following steps:

[0371] S3301: The electronic device receives the fourth operation on the application interface.

[0372] S3302a(1): In response to the received fourth operation on the application interface, the electronic device slides down the content of the application interface to display the third position in the application interface.

[0373] It should be noted that the third version was not hidden when it last appeared in the application interface.

[0374] The implementation process for this step can refer to step 3104 above.

[0375] S3302a(2): The electronic device acquires the third identification information of the third version.

[0376] For example, the third identification information can be information that can uniquely identify the third page, such as an identity number (ID). The implementation process of this step can refer to the process of obtaining the first identification information of the first page described above.

[0377] S3302a(3): The electronic device sends the third identifier information of the third page to the media server.

[0378] S3302b(1): The electronic device responds to the received fourth operation on the application interface and obtains the gesture information corresponding to the fourth operation.

[0379] S3302b(2): The electronic device sends the gesture information corresponding to the fourth operation to the media server.

[0380] The process of obtaining and sending the gesture information corresponding to the fourth operation is similar to the process of obtaining and sending the gesture information corresponding to the second operation, and will not be described in detail here.

[0381] It should be noted that S3302a(1) precedes S3302a(2), S3302a(2) precedes S3302a(3), and S3302b(1) precedes S3302b(2). S3302a and S3302b are two parallel processes of the electronic device, and these two processes do not have a sequential order.

[0382] S3303: After receiving the third identifier information of the third page position, the media server parses and verifies the gesture information corresponding to the fourth operation.

[0383] Specifically, after the media server receives the gesture information corresponding to the fourth operation, it parses the gesture information to obtain the gesture type, gesture direction, and gesture speed; then, it verifies the gesture type, gesture direction, and gesture speed to determine whether they meet the preset conditions.

[0384] The preset conditions are: the gesture type is swipe, the gesture direction is downward in the application interface, and the gesture speed is less than or equal to the preset gesture speed.

[0385] S3304: If the media server detects that the gesture information corresponding to the fourth operation does not meet the preset conditions, it sends a first response to the electronic device.

[0386] The first response indicator displays the content shown in the third position when the third position last appeared in the application interface.

[0387] S3305: After receiving the first response, the electronic device displays the content that was displayed when the third page last appeared in the application interface in the third page.

[0388] For example, the third ad slot displays the third ad content, which is the ad content that was displayed when the third ad slot was last exposed, stored on the electronic device.

[0389] In this embodiment, if a user's reverse browsing of application content results in repeated exposure of a certain advertisement placement, the placement is hidden if the gesture information meets preset conditions. This avoids the first advertisement content already viewed by the user occupying too much application interface space when the user browses the application interface in reverse, thereby improving the user experience. If the gesture information does not meet the preset conditions, it indicates that the user's intention is not to re-view previously viewed advertisement content, and the user's browsing speed is very fast, barely seeing the specific details of the advertisement placement. Therefore, the placement can remain open, avoiding waste of computing and communication resources on electronic devices and media servers, and without affecting the user experience.

[0390] In one possible implementation, the attributes of the placement (including size, layout, type, etc.) in the above embodiments remain unchanged as the application interface moves up (or slides) or down. In the embodiments of this application, the attributes of the placement can also change as the user performs a reverse operation on the display interface (e.g., reverse swiping). The changed attributes can be all attributes or some attributes. That is, the identification information of the re-exposed placement remains unchanged, but at least one of the attributes such as size, layout, position, shape, and type may change. In some examples, the identification information of the placement can also change, that is, a new placement is created. Specifically, when the first interface is displayed on the display interface of the electronic device, the first interface may include, but is not limited to, the first placement. The first placement can be... Figure 16 The first position in the layout, where the first advertisement content can be displayed. The operation of moving the first screen upwards in response to a received instruction, for example... Figure 16 The swipe-up gesture moves the first screen upwards, revealing the second screen in the display. For example... Figure 17The second interface is displayed in the middle. The second interface includes, but is not limited to, a second display area, which can display the content of the first application. Of course, in some examples, it can also display advertising content or a combination of advertising content and application content; this application does not limit this. The second interface is moved downwards in response to a received instruction, for example... Figure 19 The swipe-down operation in the middle. The second screen moves down, revealing the third screen, for example... Figure 21 The third interface includes, but is not limited to, a third ad placement, which displays second advertising content or second application content. In other words, in this example, when the user scrolls back through the interface, just as the first ad placement is about to reappear, the electronic device will display an ad placement with completely different or slightly different attributes. If the displayed ad placement has the same identifier as the first ad placement, it can be understood as the same ad placement, only with different attribute information. Of course, different attribute information can also be understood as different ad placements, and this application does not limit this. For example, in this embodiment, if the type of the re-displayed ad placement changes from an advertising ad placement to a content ad placement, then the ad placement will display application content. Furthermore, the size or layout of the re-displayed ad placement may change, and the displayed content may be updated from the original first advertising content to the second advertising content, thereby refreshing the ad content and simultaneously refreshing the ad placement, further improving the user's visual experience.

[0391] Figure 34 A schematic block diagram of a display device 3400 according to an embodiment of this application is shown. The display device may include a processor 3401 and a transceiver / transceiver pin 3402, and optionally, a memory 3403. The processor 3401 can be used to execute the steps performed by the electronic device or the playback recording server in the methods of the foregoing embodiments, and control the receiving pin to receive signals and control the transmitting pin to transmit signals.

[0392] The various components of the display device 3400 are coupled together via a bus 3404, which includes a data bus, a power bus, a control bus, and a status signal bus. However, for clarity, all buses are labeled as bus system 3404 in the figure.

[0393] Optionally, the memory 3403 can be used for storage instructions in the foregoing method embodiments.

[0394] It should be understood that the display device 3400 according to the embodiments of this application may correspond to the electronic device in the methods of the foregoing embodiments, or it may correspond to the playback recording server in the methods of the foregoing embodiments. Furthermore, the above and other management operations and / or functions of each element in the display device 3400 are respectively for implementing the corresponding steps of the foregoing methods, and for the sake of brevity, will not be described in detail here.

[0395] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0396] Based on the same technical concept, embodiments of this application also provide a computer-readable storage medium storing a computer program containing at least one piece of code that can be executed by a display device of an application interface to control the display device of the application interface to implement the above-described method embodiments.

[0397] Based on the same technical concept, this application also provides a computer program, which, when executed by the display device of the application interface, is used to implement the above-described method embodiments.

[0398] The program may be stored, in whole or in part, on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.

[0399] Based on the same technical concept, this application also provides a processor for implementing the above-described method embodiments. The processor can be a chip.

[0400] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an ASIC.

[0401] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0402] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0403] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.

[0404] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0405] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.

[0406] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for displaying an application interface, characterized in that, include: The first advertisement content is displayed in the application interface, and the first advertisement content is located in the first position; In response to the first operation, the content displayed in the application interface is slid upwards to cause the first advertisement content to slide out of the application interface, and the first application content is displayed in the application interface; In response to the second operation, the content displayed in the application interface is slid down to display second advertisement content in the application interface, the second advertisement content being located in the first position.

2. The method according to claim 1, characterized in that, Displaying the first advertisement content in the application interface further includes: The second application content is displayed in the application interface, and the second application content is located in the second position. The step of sliding the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface further includes: Slide the content displayed in the application interface upwards to make the second application content slide out of the application interface; The step of sliding down the content displayed in the application interface to display the second advertisement content further includes: Slide the content displayed in the application interface down to display the second application content in the application interface.

3. The method according to claim 1, characterized in that, in, In response to the second operation, the speed at which the content displayed in the application interface slides down is less than or equal to the first speed.

4. The method according to claim 3, characterized in that, The first speed is the speed at which the content displayed in the application interface slides upward in response to the first operation.

5. The method according to claim 3, characterized in that, After sliding the content displayed in the application interface downwards to display the second advertisement content, the method further includes: In response to the third operation, the content displayed in the application interface is slid down to display the third advertisement content in the application interface, and the third advertisement content is located in the third position; In response to the third operation, the speed at which the content displayed in the application interface slides down is greater than the first speed; the third advertisement content is the advertisement content most recently displayed in the third ad slot.

6. The method according to claim 1, characterized in that, The step of sliding down the content displayed in the application interface to display the second advertisement content includes: Receive the second advertisement content from the server.

7. A method for displaying an application interface, characterized in that, include: The first interface is displayed, which includes a first ad slot, and the first ad slot displays the first advertisement content. In response to a first operation instructing the first interface to be moved upward, a second interface is displayed, the second interface including a second page, the second page displaying the first application content; In response to a second operation instructing the second interface to be moved down, a third interface is displayed, the third interface including a third page where the second advertisement content is displayed.

8. The method according to claim 7, characterized in that, The attributes of the third position on the third interface are not exactly the same as the attributes of the first position on the first interface. The attributes of the position include at least one parameter among size, shape, and position.

9. A method for displaying an application interface, characterized in that, include: The first advertisement content is displayed in the application interface, and the first advertisement content is located in the first position; In response to the first operation, the content displayed in the application interface is slid upwards to cause the first advertisement content to slide out of the application interface, and the first application content is displayed in the application interface; In response to the second operation, the content displayed in the application interface is slid down to hide the first page in the application interface.

10. The method according to claim 9, characterized in that, Hiding the first page position in the application interface includes: Hide the first section entirely or partially.

11. The method according to claim 9, characterized in that, The method further includes: In response to the received third operation on the first page position, the first page position is displayed.

12. The method according to claim 9, characterized in that, Displaying the first advertisement content in the application interface further includes: The second application content is displayed in the application interface, and the second application content is located in the second position. The step of sliding the content displayed in the application interface upwards to make the first advertisement content slide out of the application interface further includes: Slide the content displayed in the application interface upwards to make the second application content slide out of the application interface; The step of sliding down the content displayed in the application interface to hide the first page position in the application interface further includes: Slide the content displayed in the application interface down to display the second application content in the application interface.

13. The method according to claim 9, characterized in that, in, In response to the second operation, the speed at which the content displayed in the application interface slides down is less than or equal to the first speed.

14. The method according to claim 13, characterized in that, The first speed is the speed at which the content displayed in the application interface slides upward in response to the first operation.

15. The method according to claim 13, characterized in that, After sliding the content displayed in the application interface downwards to hide the first page in the application interface, the method further includes: In response to the fourth operation, the content displayed in the application interface is slid down to display the second advertisement content in the third position; In response to the fourth operation, the speed at which the content displayed in the application interface slides down is greater than the first speed; the second advertisement content is the advertisement content most recently displayed in the third position.

16. An electronic device, characterized in that, include: One or more processors or memories; And one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1-6, 7-8 or 9-15.

17. A computer storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-6, 7-8, or 9-15.

18. A computer program product, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-6, 7-8, or 9-15.