CN112102009A - Advertisement display method, device, equipment and storage medium - Google Patents

Advertisement display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112102009A
CN112102009A CN202011025546.4A CN202011025546A CN112102009A CN 112102009 A CN112102009 A CN 112102009A CN 202011025546 A CN202011025546 A CN 202011025546A CN 112102009 A CN112102009 A CN 112102009A
Authority
CN
China
Prior art keywords
advertisement
configuration information
server
resource
advertisement resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011025546.4A
Other languages
Chinese (zh)
Inventor
饶福贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011025546.4A priority Critical patent/CN112102009A/en
Publication of CN112102009A publication Critical patent/CN112102009A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Abstract

The disclosure relates to an advertisement display method, device, equipment and storage medium, wherein the method comprises the following steps: in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel; receiving the advertisement resource returned by the server based on the advertisement resource acquisition request; and performing advertisement display in the target application program based on the advertisement resources. The method and the device can realize the purpose of requesting the advertisement resources from at least two advertisement channels simultaneously, further shorten the time for acquiring the advertisement resources, improve the advertisement display efficiency and further improve the advertisement putting effect and the user experience.

Description

Advertisement display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of terminal information processing technologies, and in particular, to an advertisement display method, apparatus, device, and storage medium.
Background
With the development of network and multimedia technologies, more and more people acquire required information through application programs installed on terminal devices. In this case, some advertising channels (e.g., advertising resource providers, etc.) may advertise on the application client, such as an open screen advertisement that is exposed when the client application is opened, to promote commerce through such advertising. However, in the related art, since the client requests the advertisement resources of multiple advertisement channels based on the serial, that is, when the advertisement resource requesting the first advertisement channel is overtime or fails, the advertisement resource requesting of the next advertisement channel is performed until the advertisement resource is successfully acquired, which results in a long advertisement resource time and affects advertisement display efficiency, thereby affecting advertisement delivery effect and user experience.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide an advertisement displaying method, apparatus, device and storage medium, so as to solve the defects in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided an advertisement display method, the method including:
in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel;
receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
and performing advertisement display in the target application program based on the advertisement resources.
In an embodiment, the method further comprises:
acquiring server configuration information;
determining advertisement configuration information based on the server configuration information;
and executing the operation of sending the advertisement resource acquisition request to the server sides of at least two advertisement channels in parallel based on the advertisement configuration information.
In an embodiment, the obtaining the server configuration information includes:
acquiring pre-cached alternative configuration information from local;
and in response to the fact that the alternative configuration information is obtained and is not expired, determining the alternative configuration information as the server configuration information.
In an embodiment, the method further comprises:
and in response to the situation that the alternative configuration information is not acquired or is expired, acquiring server configuration information from a cloud server, and caching the server configuration information to the local as the alternative configuration information.
In one embodiment, the determining advertisement configuration information based on the server configuration information comprises:
determining at least one of the following contents based on the server configuration information, and using the contents as advertisement configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
In one embodiment, the performing advertisement exposure in the target application based on the advertisement resource includes:
adding the advertisement resource into a preset display parent container;
rendering and displaying the advertisement resource in the display parent container.
In an embodiment, the method further comprises:
in response to receiving the advertisement resource returned by the server based on the advertisement resource acquisition request, detecting whether the display parent container has the added advertisement resource;
and if the display parent container does not have the added advertisement resource, executing the operation of adding the advertisement resource to a preset display parent container.
According to a second aspect of the embodiments of the present disclosure, there is provided an advertisement presentation apparatus, the apparatus including:
the acquisition request sending module is used for responding to the detection of the setting operation aiming at the target application program and sending the acquisition requests of the advertisement resources to the server sides of at least two advertisement channels in parallel;
the advertisement resource receiving module is used for receiving the advertisement resources returned by the server based on the advertisement resource acquisition request;
and the advertisement resource display module is used for displaying the advertisement in the target application program based on the advertisement resource.
In one embodiment, the apparatus further comprises:
the server configuration acquisition module is used for acquiring server configuration information;
an advertisement configuration determining module for determining advertisement configuration information based on the server configuration information;
the acquisition request sending module is further used for executing the operation of sending the acquisition requests of the advertisement resources to the servers of at least two advertisement channels in parallel based on the advertisement configuration information.
In an embodiment, the server configuration obtaining module includes:
the alternative configuration acquisition unit is used for acquiring the alternative configuration information cached in advance from the local;
a first configuration obtaining unit, configured to determine, in response to obtaining the alternative configuration information and in response to the alternative configuration information not being expired, the alternative configuration information as the server configuration information.
In an embodiment, the server configuration obtaining module further includes:
and the second configuration acquisition unit is used for responding to the situation that the alternative configuration information is not acquired or is expired, acquiring the server configuration information from the cloud server, and caching the server configuration information to the local as the alternative configuration information.
In an embodiment, the advertisement configuration determining module is further configured to determine, as the advertisement configuration information, at least one of the following contents based on the server configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
In one embodiment, the advertisement resource presentation module includes:
the advertisement resource adding unit is used for adding the advertisement resource into a preset display parent container;
and the advertisement resource display unit is used for rendering and displaying the advertisement resource in the display parent container.
In one embodiment, the advertisement resource presentation module further includes:
the added resource detection unit is used for responding to the received advertisement resource returned by the server based on the advertisement resource acquisition request and detecting whether the display parent container has the added advertisement resource;
the advertisement resource adding unit is further configured to, when no added advertisement resource exists in the display parent container, perform the operation of adding the advertisement resource to a preset display parent container.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic apparatus, the apparatus comprising:
a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to:
in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel;
receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
and performing advertisement display in the target application program based on the advertisement resources.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements:
in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel;
receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
and performing advertisement display in the target application program based on the advertisement resources.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the advertisement resource acquisition method and device, the setting operation aiming at the target application program is responded, the advertisement resource acquisition requests are sent to the server sides of at least two advertisement channels in parallel, then the advertisement resources returned by the server sides based on the advertisement resource acquisition requests are received, and then the advertisement is displayed in the target application program based on the advertisement resources, so that the advertisement resources can be requested to the at least two advertisement channels at the same time, the time for acquiring the advertisement resources can be shortened, the advertisement display efficiency is improved, and the advertisement putting effect and the user experience are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of advertisement presentation in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of advertisement presentation in accordance with yet another exemplary embodiment;
FIG. 3 is a flow diagram illustrating how server configuration information is obtained in accordance with an illustrative embodiment;
FIG. 4 is a flow diagram illustrating how an advertisement is exposed in the targeted application based on the advertisement resources in accordance with an illustrative embodiment;
FIG. 5 is a flowchart illustrating how an advertisement is exposed in the targeted application based on the advertisement resources in accordance with yet another illustrative embodiment;
FIG. 6 is a block diagram illustrating an advertisement presentation device according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an advertisement presentation device in accordance with yet another exemplary embodiment;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 1 is a flow diagram illustrating a method of advertisement presentation in accordance with an exemplary embodiment; the method of the embodiment can be applied to a terminal device (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device) installed with a target application program.
As shown in fig. 1, the method comprises the following steps S101-S103:
in step S101, in response to detecting a setting operation for a target application, advertisement resource acquisition requests are transmitted in parallel to servers of at least two advertisement channels.
In this embodiment, when the terminal device detects a setting operation of a user on a target application, it may send an advertisement resource acquisition request to the servers of at least two advertisement channels in parallel.
The target Application program may be an APP (Application) pre-installed in the terminal device, and when the user performs a setting operation for the target Application program, the terminal device may determine that a condition for displaying an advertisement is currently satisfied, and may further send an advertisement resource acquisition request to the server of at least two advertisement channels in parallel.
In another embodiment, the aggregate advertisement SDK may be pre-accessed in the project development code of the target application (e.g., AAR formatted files, etc.). The function of the aggregated advertisement SDK comprises providing an API (application programming interface) for the target application program to acquire advertisement resources from the at least two advertisement channels. Compared with the mode that the target application program needs to be respectively accessed into the advertisement codes of the at least two advertisement channels in the related technology, the file mode of accessing the aggregated advertisement SDK can reduce the workload of the target application program for accessing the advertisement codes, simplify the process of accessing the advertisement codes, further improve the accuracy of accessing the advertisement codes and reduce the difficulty of maintaining the codes in the later period.
It should be noted that the setting operation may be set based on actual service needs, and this embodiment does not limit this. For example, the setting operation may be an operation of opening a program, or an operation of browsing an interface of the target application for more than a set time, or an operation of not performing any operation on the target application for more than a set time, or the like. On the basis, the types of the advertisement resources corresponding to the different operations are resources of open screen advertisements, full screen advertisements, screen saver advertisements and the like.
In step S102, an advertisement resource returned by the server based on the advertisement resource acquisition request is received.
In this embodiment, after the setting operation for the target application program is detected and the advertisement resource acquisition requests are sent to the servers of at least two advertisement channels in parallel, the advertisement resources returned by the servers based on the advertisement resource acquisition requests may be received.
For example, after the terminal device sends the advertisement resource acquisition requests to the servers of the at least two advertisement channels in parallel, the servers of the at least two advertisement channels may return the advertisement resources of their own to the terminal device based on the received advertisement resource acquisition requests.
It can be understood that, because there may be a difference in the time when the server in each advertisement channel receives the advertisement resource acquisition request and the advertisement resource returned to itself, there is a difference in the time when the terminal device receives the advertisement resource returned by the server, that is, there is a sequence.
In step S103, advertisement presentation is performed in the target application program based on the advertisement resources.
In this embodiment, after receiving the advertisement resource returned by the server of the at least two advertisement channels based on the advertisement resource acquisition request, the server may perform advertisement display in the target application program based on the received advertisement resource.
For example, after receiving the advertisement resource returned by the server of at least one of the at least two advertisement channels, the terminal device may sequentially display the received advertisement resources in the target application program according to the receiving sequence, or only display the advertisement resource received first in the target application program, which is not limited in this embodiment.
In another embodiment, the above-mentioned manner of displaying the advertisement in the target application based on the advertisement resource may refer to the embodiments shown in fig. 4 and fig. 5, which are not described herein again.
As can be seen from the above description, in this embodiment, in response to detecting a setting operation for a target application, an advertisement resource acquisition request is sent to the servers of at least two advertisement channels in parallel, and then an advertisement resource returned by the servers based on the advertisement resource acquisition request is received, so that advertisement display is performed in the target application based on the advertisement resource, and therefore, it is possible to request the advertisement resource from at least two advertisement channels at the same time, and thus, the time for acquiring the advertisement resource can be shortened, the advertisement display efficiency is improved, and thus, the advertisement delivery effect and the user experience are improved.
FIG. 2 is a flow chart illustrating a method of advertisement presentation in accordance with yet another exemplary embodiment; the method of the embodiment can be applied to a terminal device (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device) installed with a target application program.
As shown in fig. 2, the method comprises the following steps S201-S205:
in step S201, in response to detection of a setting operation for a target application, server configuration information is acquired.
In this embodiment, when the terminal device detects a setting operation of a target application by a user, server configuration information may be acquired.
In an embodiment, when the user performs a setting operation for the target application, the terminal device may determine that a condition for displaying an advertisement is currently satisfied, and may further acquire the server configuration information in a preset manner.
It should be noted that the content of the server configuration information may be set based on actual service requirements, for example, at least one of the number of concurrent advertisements, identification information of an advertisement channel, identification information of an advertisement space, an acquisition timeout duration of a single advertisement resource, and a request priority of an advertisement channel is set, which is not limited in this embodiment.
The preset mode may be set based on actual needs, for example, the preset mode is set to be obtained from the local or obtained from the cloud server, and the present embodiment does not limit the preset mode.
In another embodiment, the manner of obtaining the server configuration information may be referred to the following embodiment shown in fig. 3, and will not be described in detail here.
In step S202, advertisement configuration information is determined based on the server configuration information.
In this embodiment, after the server configuration information is acquired in response to detecting the setting operation for the target application, the advertisement configuration information may be determined based on the server configuration information.
In an embodiment, after the server configuration information is obtained, the obtained server configuration information may be processed to obtain advertisement configuration information.
For example, when the obtained server configuration information includes the number of concurrent advertisements, the identification information of the advertisement channel, the identification information of the advertisement space, the acquisition timeout duration of a single advertisement resource, and the request priority of the advertisement channel, at least one of the following contents may be determined from the obtained server configuration information, and used as the advertisement configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
In step S203, an advertisement resource acquisition request is sent to the servers of at least two advertisement channels in parallel based on the advertisement configuration information.
In this embodiment, after determining the advertisement configuration information based on the server configuration information, the advertisement resource acquisition request may be sent to the servers of at least two advertisement channels in parallel based on the advertisement configuration information.
For example, when the obtained advertisement configuration information includes identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements, an advertisement resource obtaining request may be sent to an advertisement channel having the identification information in order of an advertisement channel request priority from high to low to request an advertisement resource of the number of concurrent advertisements.
In step S204, an advertisement resource returned by the server based on the advertisement resource acquisition request is received.
In step S205, advertisement presentation is performed in the target application based on the advertisement resources.
For the explanation and description of steps S204-S205, reference may be made to the above embodiments, which are not repeated herein.
As can be seen from the above description, the present embodiment determines advertisement configuration information by acquiring server configuration information, and determining advertisement configuration information based on the server configuration information, and sending advertisement resource acquisition requests to the servers of at least two advertisement channels in parallel based on the advertisement configuration information, accurate determination of the required advertisement configuration information based on the acquired server configuration information may be achieved, further, the advertisement resource acquisition request can be sent to the server sides of at least two corresponding advertisement channels in parallel based on the advertisement configuration information, the accuracy of the advertisement resource acquisition can be improved, and then, the advertisement resources returned by the subsequent receiving server based on the advertisement resource acquisition request and the advertisement display in the target application program based on the advertisement resources can be realized, the advertisement display efficiency can be improved, and the advertisement putting effect and the user experience are improved.
FIG. 3 is a flow diagram illustrating how server configuration information is obtained in accordance with an illustrative embodiment; the present embodiment takes how to obtain the server configuration information as an example to illustrate on the basis of the above embodiments. As shown in fig. 3, the obtaining of the server configuration information in step S201 may include the following steps S301 to S306:
in step S301, the pre-cached alternative configuration information is acquired locally.
In step S302, whether the pre-cached alternative configuration information is acquired: if yes, go to step S303; if not, step S305 is executed.
In step S303, it is determined whether the alternative configuration information is expired: if not, go to step S304; if not, steps S305-S306 are executed.
In step S304, the alternative configuration information is determined as the server configuration information.
In step S305, server configuration information is acquired from the cloud server.
In step S306, the acquired server configuration information is cached locally as alternative configuration information.
On this basis, the determining of the advertisement configuration information based on the server configuration information in step S202 may include determining at least one of the following contents based on the server configuration information, and as the advertisement configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
In this embodiment, when the terminal device detects a setting operation of a user on a target application, it may preferentially obtain pre-cached alternative configuration information from a local area, then determine whether the alternative configuration information is expired, and determine the alternative configuration information as server configuration information when the alternative configuration information is not expired; when the pre-cached alternative configuration information is not obtained or the alternative configuration information is expired although the pre-cached alternative configuration information is obtained, the server configuration information may be obtained from the cloud server. On this basis, the acquired server configuration information can be cached to the local as alternative configuration information for the next acquisition. Therefore, the effectiveness of the acquired server configuration information can be ensured, repeated pulling of the server configuration information can be avoided, and the pressure of the server is reduced.
For example, when the alternative configuration information is cached every time, the corresponding caching time may be recorded, and further when the alternative configuration information cached in advance is obtained from the local, the cached duration may be calculated based on a difference between the current time and the caching time, and then the cached duration is compared with the preset caching duration threshold, and if the cached duration is greater than or equal to the preset caching duration threshold, it may be determined that the alternative configuration information has expired; otherwise, the alternative configuration information is determined to be not expired. It should be noted that the preset buffer duration threshold may be set based on actual needs, for example, set to 1 hour, and the like, which is not limited in this embodiment.
As can be seen from the above description, in the embodiment, the pre-cached alternative configuration information is obtained locally, and the alternative configuration information is determined as the server configuration information when the alternative configuration information is obtained and the alternative configuration information is not expired, and the server configuration information is obtained from the cloud server when the alternative configuration information is not obtained or the obtained alternative configuration information is expired, so that the validity of the obtained server configuration information can be ensured, repeated pulling of the server configuration information can be avoided, and the pressure of the server is further reduced.
FIG. 4 is a flow diagram illustrating how an advertisement is exposed in the targeted application based on the advertisement resources, according to an example embodiment. The present embodiment is exemplified by how to display an advertisement in the target application based on the advertisement resource based on the above-mentioned embodiments. As shown in fig. 4, the performing of advertisement presentation in the target application based on the advertisement resources in the above step S103 may include the following steps S401 to S402:
in step S401, the advertisement resource is added to a preset display parent container.
In this embodiment, after receiving the advertisement resource returned by the server based on the advertisement resource acquisition request, the advertisement resource may be added to a preset display parent container.
In an embodiment, the advertisement resource may include a child View control, and when the child View control returned by the server of any advertisement channel is received, the control may be added to a preset parent container for displaying the advertisement resource.
In step S402, the advertisement resource is rendered and displayed in the display parent container.
In this embodiment, after the advertisement resource is added to a preset display parent container, the advertisement resource may be rendered and displayed in the display parent container.
It should be noted that, the manner of rendering and displaying the advertisement resource in the display parent container may refer to the explanation and description in the related art, which is not limited in this embodiment.
As can be seen from the above description, this embodiment is through with in the advertisement resource adds the predetermined show father container, and right in the show father container the advertisement resource is rendered and is shown, can realize in time, effectual advertisement show based on the advertisement resource who obtains, can improve advertisement show efficiency to promote advertisement putting effect and user experience.
FIG. 5 is a flowchart illustrating how an advertisement is exposed in the targeted application based on the advertisement resources, according to yet another illustrative embodiment. The present embodiment is exemplified by how to display an advertisement in the target application based on the advertisement resource based on the above-mentioned embodiments. As shown in fig. 5, the performing of advertisement presentation in the target application based on the advertisement resources in step S103 may include the following steps S501-S503:
in step S501, in response to receiving the advertisement resource returned by the server based on the advertisement resource acquisition request, detecting whether there is an added advertisement resource in the display parent container.
In this embodiment, after receiving the advertisement resource returned by the advertisement channel server based on the advertisement resource acquisition request, it may be detected whether a child View control (i.e., the added advertisement resource) is currently added to the display parent container, and then the subsequent steps are performed according to the detection result.
In step S502, if there is no advertisement resource added in the display parent container, the advertisement resource is added to a preset display parent container.
In this embodiment, when it is detected that the child View control does not exist in the display parent container, the currently acquired child View control may be added to the preset display parent container.
In another embodiment, when it is detected that the child View control already exists in the presentation parent container, no addition operation may be performed on the currently acquired child View control.
In step S503, the advertisement resource is rendered and displayed in the display parent container.
For the explanation and description of steps S502-S503, reference may be made to the above embodiments, which are not described herein again.
As can be seen from the above description, in this embodiment, in response to receiving the advertisement resource returned by the server based on the advertisement resource acquisition request, it is detected whether there is an added advertisement resource in the display parent container, and then when there is no added advertisement resource in the display parent container, the advertisement resource is added to a preset display parent container, and then the advertisement resource is rendered and displayed in the display parent container, so that it can be ensured that the currently acquired advertisement resource is added and displayed under the condition that no other advertisement resource is currently displayed in the parent container, and therefore, smooth display of the currently acquired advertisement resource can be ensured, and display quality of the advertisement resource is improved.
FIG. 6 is a block diagram illustrating an advertisement presentation device according to an exemplary embodiment; the apparatus of the embodiment may be applied to a terminal device (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device) installed with a target application. As shown in fig. 6, the apparatus includes: an acquisition request sending module 110, an advertisement resource receiving module 120, and an advertisement resource showing module 130, wherein:
an acquisition request sending module 110, configured to send, in response to detecting a setting operation for a target application, an advertisement resource acquisition request in parallel to servers of at least two advertisement channels;
an advertisement resource receiving module 120, configured to receive an advertisement resource returned by the server based on the advertisement resource obtaining request;
and an advertisement resource showing module 130, configured to show an advertisement in the target application program based on the advertisement resource.
As can be seen from the above description, in this embodiment, in response to detecting a setting operation for a target application, an advertisement resource acquisition request is sent to the servers of at least two advertisement channels in parallel, and then an advertisement resource returned by the servers based on the advertisement resource acquisition request is received, so that advertisement display is performed in the target application based on the advertisement resource, and therefore, it is possible to request the advertisement resource from at least two advertisement channels at the same time, and thus, the time for acquiring the advertisement resource can be shortened, the advertisement display efficiency is improved, and thus, the advertisement delivery effect and the user experience are improved.
FIG. 7 is a block diagram illustrating an advertisement presentation device in accordance with yet another exemplary embodiment; the apparatus of the embodiment may be applied to a terminal device (e.g., a smart phone, a tablet computer, a notebook computer, or a wearable device) installed with a target application. The acquisition request sending module 210, the advertisement resource receiving module 220, and the advertisement resource displaying module 230 have the same functions as the acquisition request sending module 110, the advertisement resource receiving module 120, and the advertisement resource displaying module 130 in the embodiment shown in fig. 6, and are not described herein again. As shown in fig. 7, the apparatus may further include:
a server configuration obtaining module 240, configured to obtain server configuration information;
an advertisement configuration determining module 250 for determining advertisement configuration information based on the server configuration information;
on this basis, the obtaining request sending module 210 may be further configured to execute the operation of sending the advertisement resource obtaining request to the servers of at least two advertisement channels in parallel based on the advertisement configuration information.
In an embodiment, the server configuration obtaining module 240 may include:
an alternative configuration obtaining unit 241, configured to obtain, from the local, pre-cached alternative configuration information;
a first configuration obtaining unit 242, configured to determine, in response to obtaining the alternative configuration information and that the alternative configuration information is not expired, the alternative configuration information as the server configuration information.
In an embodiment, the server configuration obtaining module 240 may further include:
the second configuration obtaining unit 243 is configured to, in response to that the candidate configuration information is not obtained or the candidate configuration information is expired, obtain server configuration information from the cloud server, and cache the server configuration information to the local as the candidate configuration information.
In an embodiment, the advertisement configuration determining module 250 may be further configured to determine, as the advertisement configuration information, at least one of the following contents based on the server configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
In an embodiment, the advertisement resource presenting module 230 may include:
an advertisement resource adding unit 231, configured to add the advertisement resource to a preset display parent container;
and an advertisement resource display unit 232, configured to render and display the advertisement resource in the display parent container.
In an embodiment, the advertisement resource presenting module 230 may further include:
an added resource detection unit 233, configured to detect whether an added advertisement resource exists in the display parent container in response to receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
on this basis, the advertisement resource adding unit 231 may be further configured to perform the operation of adding the advertisement resource to a preset presentation parent container when the added advertisement resource does not exist in the presentation parent container.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like. In this embodiment, the electronic device may include a normally open image capturing device for capturing image information.
Referring to fig. 8, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 906 provides power to the various components of device 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. An advertisement display method, characterized in that the method comprises:
in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel;
receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
and performing advertisement display in the target application program based on the advertisement resources.
2. The method of claim 1, further comprising:
acquiring server configuration information;
determining advertisement configuration information based on the server configuration information;
and executing the operation of sending the advertisement resource acquisition request to the server sides of at least two advertisement channels in parallel based on the advertisement configuration information.
3. The method of claim 2, wherein the obtaining the server configuration information comprises:
acquiring pre-cached alternative configuration information from local;
and in response to the fact that the alternative configuration information is obtained and is not expired, determining the alternative configuration information as the server configuration information.
4. The method of claim 3, further comprising:
and in response to the situation that the alternative configuration information is not acquired or is expired, acquiring server configuration information from a cloud server, and caching the server configuration information to the local as the alternative configuration information.
5. The method of claim 3, wherein determining advertisement configuration information based on the server configuration information comprises:
determining at least one of the following contents based on the server configuration information, and using the contents as advertisement configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
6. The method of claim 1, wherein the advertising exposure in the target application based on the advertising resources comprises:
adding the advertisement resource into a preset display parent container;
rendering and displaying the advertisement resource in the display parent container.
7. The method of claim 6, further comprising:
in response to receiving the advertisement resource returned by the server based on the advertisement resource acquisition request, detecting whether the display parent container has the added advertisement resource;
and if the display parent container does not have the added advertisement resource, executing the operation of adding the advertisement resource to a preset display parent container.
8. An advertising display apparatus, the apparatus comprising:
the acquisition request sending module is used for responding to the detection of the setting operation aiming at the target application program and sending the acquisition requests of the advertisement resources to the server sides of at least two advertisement channels in parallel;
the advertisement resource receiving module is used for receiving the advertisement resources returned by the server based on the advertisement resource acquisition request;
and the advertisement resource display module is used for displaying the advertisement in the target application program based on the advertisement resource.
9. The apparatus of claim 8, further comprising:
the server configuration acquisition module is used for acquiring server configuration information;
an advertisement configuration determining module for determining advertisement configuration information based on the server configuration information;
the acquisition request sending module is further used for executing the operation of sending the acquisition requests of the advertisement resources to the servers of at least two advertisement channels in parallel based on the advertisement configuration information.
10. The apparatus of claim 9, wherein the server configuration acquisition module comprises:
the alternative configuration acquisition unit is used for acquiring the alternative configuration information cached in advance from the local;
a first configuration obtaining unit, configured to determine, in response to obtaining the alternative configuration information and in response to the alternative configuration information not being expired, the alternative configuration information as the server configuration information.
11. The apparatus of claim 10, wherein the server configuration acquisition module further comprises:
and the second configuration acquisition unit is used for responding to the situation that the alternative configuration information is not acquired or is expired, acquiring the server configuration information from the cloud server, and caching the server configuration information to the local as the alternative configuration information.
12. The apparatus of claim 10, wherein the advertisement configuration determining module is further configured to determine, as the advertisement configuration information, at least one of the following contents based on the server configuration information:
at least one of identification information of an advertisement channel, an advertisement channel request priority, and a number of concurrent advertisements.
13. The apparatus of claim 8, wherein the advertisement resource presentation module comprises:
the advertisement resource adding unit is used for adding the advertisement resource into a preset display parent container;
and the advertisement resource display unit is used for rendering and displaying the advertisement resource in the display parent container.
14. The apparatus of claim 13, wherein the advertisement resource presentation module further comprises:
the added resource detection unit is used for responding to the received advertisement resource returned by the server based on the advertisement resource acquisition request and detecting whether the display parent container has the added advertisement resource;
the advertisement resource adding unit is further configured to, when no added advertisement resource exists in the display parent container, perform the operation of adding the advertisement resource to a preset display parent container.
15. An electronic device, characterized in that the device comprises:
a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to:
in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel;
receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
and performing advertisement display in the target application program based on the advertisement resources.
16. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing:
in response to the detection of the setting operation aiming at the target application program, sending advertisement resource acquisition requests to the server sides of at least two advertisement channels in parallel;
receiving the advertisement resource returned by the server based on the advertisement resource acquisition request;
and performing advertisement display in the target application program based on the advertisement resources.
CN202011025546.4A 2020-09-25 2020-09-25 Advertisement display method, device, equipment and storage medium Pending CN112102009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011025546.4A CN112102009A (en) 2020-09-25 2020-09-25 Advertisement display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011025546.4A CN112102009A (en) 2020-09-25 2020-09-25 Advertisement display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112102009A true CN112102009A (en) 2020-12-18

Family

ID=73755660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011025546.4A Pending CN112102009A (en) 2020-09-25 2020-09-25 Advertisement display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112102009A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513462A (en) * 2022-04-19 2022-05-17 北京亿典科技有限公司 Dynamic service flow distribution method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966215A (en) * 2015-07-01 2015-10-07 小米科技有限责任公司 Advertisement information push method and apparatus
CN108074137A (en) * 2018-01-04 2018-05-25 北京奇虎科技有限公司 Mobile terminal and advertisement placement method and its control method, device
CN109697632A (en) * 2018-12-18 2019-04-30 北京小米移动软件有限公司 Advertisement access method, device, equipment and storage medium
CN110009404A (en) * 2019-03-20 2019-07-12 深圳新度博望科技有限公司 Advertisement demonstration method, device, computer equipment and storage medium
CN111199424A (en) * 2019-12-27 2020-05-26 五八有限公司 Advertisement putting method and device, terminal equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966215A (en) * 2015-07-01 2015-10-07 小米科技有限责任公司 Advertisement information push method and apparatus
CN108074137A (en) * 2018-01-04 2018-05-25 北京奇虎科技有限公司 Mobile terminal and advertisement placement method and its control method, device
CN109697632A (en) * 2018-12-18 2019-04-30 北京小米移动软件有限公司 Advertisement access method, device, equipment and storage medium
CN110009404A (en) * 2019-03-20 2019-07-12 深圳新度博望科技有限公司 Advertisement demonstration method, device, computer equipment and storage medium
CN111199424A (en) * 2019-12-27 2020-05-26 五八有限公司 Advertisement putting method and device, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513462A (en) * 2022-04-19 2022-05-17 北京亿典科技有限公司 Dynamic service flow distribution method and system
CN114513462B (en) * 2022-04-19 2022-06-17 北京亿典科技有限公司 Dynamic service flow distribution method and system

Similar Documents

Publication Publication Date Title
CN106897937B (en) Method and device for displaying social sharing information
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN108804244B (en) Data transmission method, device and storage medium
CN108600529B (en) Information interaction method and device and computer readable storage medium
CN107220059B (en) Application interface display method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN112269556A (en) Information display method, device, system, equipment, server and storage medium
CN107402767B (en) Method and device for displaying push message
CN113962719A (en) Advertisement putting method and device, electronic equipment and storage medium
CN107316207B (en) Method and device for acquiring display effect information
CN113259226A (en) Information synchronization method and device, electronic equipment and storage medium
CN108280342B (en) Application synchronization method and device for application synchronization
CN115061745A (en) Page resource preloading method and device and storage medium
US20220159336A1 (en) Method and system for displaying screen
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN104572230B (en) Script file loading method and device and script file generating method and device
CN112035691A (en) Method, device, equipment and medium for displaying cell labeling data of slice image
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN111246278A (en) Video playing method and device, electronic equipment and storage medium
CN110968492A (en) Information processing method and device, and storage medium
CN109885360B (en) Data processing method, device and storage medium
CN107734072B (en) Processing method and device for push information
CN107241432B (en) Message receiving method and device, electronic equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination