WO2015010333A1 - 广告显示控制方法及装置 - Google Patents

广告显示控制方法及装置 Download PDF

Info

Publication number
WO2015010333A1
WO2015010333A1 PCT/CN2013/080222 CN2013080222W WO2015010333A1 WO 2015010333 A1 WO2015010333 A1 WO 2015010333A1 CN 2013080222 W CN2013080222 W CN 2013080222W WO 2015010333 A1 WO2015010333 A1 WO 2015010333A1
Authority
WO
WIPO (PCT)
Prior art keywords
advertisement
callback object
sdk
application
displayed
Prior art date
Application number
PCT/CN2013/080222
Other languages
English (en)
French (fr)
Inventor
毛祖光
胡迅
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/080222 priority Critical patent/WO2015010333A1/zh
Priority to CN201380001446.XA priority patent/CN103703484A/zh
Publication of WO2015010333A1 publication Critical patent/WO2015010333A1/zh

Links

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

Definitions

  • the present invention relates to the field of information technology, and in particular, to an advertisement display control method and apparatus.
  • the advertisement push administrator can set the advertisement push frequency, the push time period and the like to push the description information on the advertisement platform portal, and the advertisement server pushes the advertisement to the client according to the advertisement push description information as follows: : When the application on the client starts, initialize the advertisement SDK (Software Development Kit, Software Development Kit);
  • the advertisement SDK establishes a communication connection with the advertisement server and transmits client information to the advertisement server;
  • the advertisement server receives the client information, pushes an advertisement to the client, and sends a display request;
  • the application on the client receives a push advertisement and a display request, and displays the push advertisement according to the display request.
  • the ad When the ad is displayed on the client using the above method, the ad will be displayed regardless of the current application. However, when there is no need to display advertisements in some special scenarios, for example, when a game application performs a key operation, or when a push advertisement is not displayed for an important customer, the prior art method cannot display the advertisement. Summary of the invention
  • Embodiments of the present invention provide an advertisement display control method and apparatus, which can perform display control on a pushed advertisement.
  • the first aspect provides an advertisement display control method, where an application is provided on a client, and the application is provided with an advertisement software development kit SDK, and the method includes: When the application is started, the SDK registers a callback object, and the callback object is used to provide the advertisement SDK to call when the advertisement is received to determine whether the advertisement is displayed; and the advertisement SDK receives the advertisement display request sent by the advertisement server.
  • the advertisement display request includes the pushed advertisement;
  • the advertisement SDK calls the callback object, and the callback object determines whether the actual running condition of the application satisfies the condition that the advertisement is inappropriately displayed, and the content of the callback object includes determining whether the actual running condition of the application is inappropriate. Display the conditions of the ad;
  • the advertisement SDK controls whether the pushed advertisement is displayed according to the judgment result of the callback object.
  • the application registers a callback object for the advertisement SDK, including:
  • the application registers a callback object for the ad SDK by declaring an object of the callback in the configuration file.
  • an input parameter is added to the initialization function of the advertisement SDK to input a callback object, where the application registers a callback object for the advertisement SDK, including:
  • the callback object is input by calling an input parameter in the initialization function of the SDK.
  • the application registers a callback object for the advertisement SDK, including:
  • the registration callback object is registered by the preset application programming interface API to register the callback object for the advertisement SDK.
  • the advertisement SDK calls the callback object, and the callback object determines whether the actual running condition of the application satisfies the condition that the advertisement is inappropriately displayed, including:
  • the advertisement SDK calls the callback object, and the callback object acquires a scene in which the application is currently located, and determines whether the current scene is a scene that is not suitable for displaying an advertisement. When it is determined that the current scene is a scene that is not suitable for displaying an advertisement, it is determined that the pushed advertisement is not displayed, and when it is determined that the current scene is a scene suitable for displaying an advertisement, the push is obtained. Advertising is displayed;
  • the advertisement SDK calls the callback object, and the callback object determines whether the number of times the advertisement is actually displayed exceeds a preset threshold; wherein, when it is determined that the number of times the advertisement is actually displayed exceeds a preset threshold, the The pushed advertisement is not displayed. When it is determined that the actual number of times the advertisement is displayed does not exceed the preset threshold, the pushed advertisement is displayed.
  • an advertisement display control apparatus including:
  • a registration module configured to register a callback object for the advertisement SDK when the application starts, where the callback object is used to provide the advertisement SDK to call when the advertisement is received to determine whether the advertisement is displayed;
  • a receiving module configured to receive an advertisement display request sent by an advertisement server, where the advertisement display request includes a pushed advertisement
  • the calling module is configured to invoke the callback object, and the callback object determines whether the actual running condition of the application satisfies the condition that the advertisement is inappropriately displayed, and the content of the callback object includes determining whether the actual running condition of the application satisfies Suitable to display the conditions of the advertisement;
  • a control display module configured to control whether the pushed advertisement is displayed according to the judgment result of the callback object.
  • the registration module is specifically configured to register a callback object for the advertisement SDK by declaring an object of the callback in the configuration file.
  • an input parameter is added to the initialization function of the advertisement SDK to input a callback object
  • the registration module is specifically configured to: when the application initializes the advertisement SDK, input a callback object by calling an input parameter in an initialization function of the SDK to register a callback object for the advertisement SDK.
  • the registration module is specifically configured to: when the application initializes the advertisement SDK, invoke a registration callback object by using a preset application programming interface API to register a callback object for the advertisement SDK.
  • the calling module is specifically configured to invoke the callback object, where the callback object obtains a scene in which the application is currently located, and determines whether the current scene is a scene that is not suitable for displaying an advertisement, where, when determining that the current location is When the scene is a scene that is not suitable for displaying an advertisement, it is determined that the pushed advertisement is not displayed, and when it is determined that the current scene is a scene suitable for displaying an advertisement, the pushed advertisement is displayed for display;
  • the calling module is specifically configured to invoke the callback object, where the callback object determines whether the number of times the advertisement is actually displayed exceeds a preset threshold; wherein, when it is determined that the number of times the advertisement is actually displayed exceeds a preset threshold, It is determined that the pushed advertisement is not displayed, and when it is determined that the actual number of times the advertisement is displayed does not exceed a preset threshold, the pushed advertisement is displayed for display.
  • the application on the client registers the callback object for the advertisement SDK, and the advertisement SDK calls the callback object when the advertisement SDK sends the push advertisement sent by the advertisement server, and the callback object determines the Whether the push advertisement is displayed, if the result of the judgment is that the pushed advertisement needs to be displayed, the pushed advertisement is displayed, and if the result of the judgment is that the pushed advertisement does not need to be displayed, the pushed advertisement is not displayed.
  • the embodiment of the present invention implements display control of the pushed advertisement by the application.
  • FIG. 1 is a flowchart of an advertisement display control method according to an embodiment of the present invention
  • FIG. 2 is another flowchart of an advertisement display control method according to an embodiment of the present invention
  • a structural diagram of a control device
  • FIG. 4 is a structural diagram of an advertisement display control device according to an embodiment of the present invention.
  • An exemplary application architecture provided by an embodiment of the present invention includes an advertisement server and a client.
  • the advertisement server is configured to store an advertisement and push an advertisement to the client according to a preset advertisement push frequency.
  • An application is provided on the client, and the application is provided with an advertisement SDK, and the advertisement SDK is a part of the application.
  • the application is an application that implements a certain function, and may be, for example, a game application, a video application, or a news application;
  • the advertisement SDK is configured to establish a communication link with the advertisement server, and send client information to the advertisement server, receive an advertisement pushed by the advertisement server, and display the pushed advertisement in an application. control.
  • a specific introduction provides an advertisement display control method.
  • the method includes:
  • the content of the callback object includes a condition for realizing whether the actual running condition of the application is satisfied or not is suitable for displaying the advertisement;
  • condition that the advertisement is inappropriately displayed may be a piece of code independent of the judgment code.
  • the code that is not suitable for displaying the condition of the advertisement is an array indicating a plurality of scenes that are not suitable for displaying the advertisement;
  • the advertisement SDK may send the information of the client, such as the identifier of the client, the identifier of the application, and the like, to the advertisement server after the application establishes a communication link with the advertisement server.
  • the advertisement SDK may further invoke the callback object to determine whether the push advertisement is displayed when receiving the push advertisement sent by the advertisement server.
  • the display control of the pushed advertisement can be performed. If the application does not perform the registration of the callback object for the advertisement SDK in this step, the application does not need to perform differential display control on the push advertisement, and whether the advertisement is displayed by the specific SDK implementation and the context, the invention is not limited.
  • the advertisement SDK receives an advertisement display request sent by an advertisement server, where the advertisement display request includes a pushed advertisement;
  • the advertisement server stores an advertisement
  • the advertisement administrator can set the advertisement frequency, the push time period and the like to push the description information through the advertisement platform portal, and the advertisement server will push according to the advertisement frequency of the advertisement.
  • Information such as time periods push ads for the client.
  • the advertisement SDK invokes the callback object, and the callback object determines whether an actual running condition of the application satisfies a condition for inappropriately displaying an advertisement;
  • the callback object may acquire a scene in which the application is currently located, and determine whether the currently located scene belongs to a scene that is not suitable for displaying an advertisement;
  • the callback object can read the VIP attribute value of the user currently logging in to the application, thereby obtaining the user's VIP level.
  • the scene that is not suitable for displaying the advertisement can be the user who is currently logging in to the application, and the user who is currently the VIP level is a user with a higher VIP level, for example,
  • the VIP attribute value of 1 -5 indicates that the VIP level is level 1 -5 , and if the level of the logged-in user is level 4-5, it indicates that the current application is in a scene that is not suitable for displaying advertisements.
  • the advertisement SDK calls the callback object to obtain an operation currently being performed by the application (the ongoing operation may indicate the scene in which the application is currently located), for example, the predefined application is performing some important operations.
  • a scene that is not suitable for displaying an advertisement If the application is performing an important operation in the game, it can be determined that the current scene of the application is a scene that is not suitable for displaying an advertisement.
  • the pushed advertisement is not displayed, and conversely, when it is determined that the current scene does not belong to a scene that is not suitable for displaying an advertisement, The pushed advertisement is displayed.
  • the advertisement SDK calls the callback object to determine whether the pushed advertisement is displayed by determining whether the number of times the advertisement is actually displayed exceeds a preset threshold.
  • the advertisement SDK calls the callback object to control the advertisement for display
  • the advertisement SDK calls the callback object to count the number of times the advertisement is displayed, and the number of times the advertisement is actually displayed is initially zero.
  • the Pushed ads are displayed.
  • the advertisement SDK controls the pushing according to a determination result of the callback object. Whether the delivered advertisement is displayed.
  • the advertisement SDK in step 103 calls the callback object to determine that the pushed advertisement does not need to be displayed, for example, the advertisement SDK calls the callback object to determine that the application is currently in a scene that is not suitable for displaying an advertisement, for example, the application is When the key processing is performed, or the user who is using the application is an important user, and the advertisement is not displayed, the advertisement SDK can determine that the pushed advertisement does not need to be displayed, and in this step, the push is not displayed. Advertising
  • the callback object in step 103 determines that the pushed advertisement needs to be displayed, for example, if the callback object determines that the application is currently in a scene suitable for displaying an advertisement, it may be determined that the pushed advertisement needs to be displayed. In this step, the advertisement showing the push will be executed.
  • the application registers the callback object for the advertisement SDK, and the advertisement SDK calls the callback object when receiving the push advertisement sent by the advertisement server, and the callback object determines whether the push advertisement is displayed. If the result of the judgment is that the pushed advertisement needs to be displayed, the pushed advertisement is displayed, and if the result of the determination is that the pushed advertisement does not need to be displayed, the pushed advertisement is not displayed. Compared with the prior art, it is impossible to display control of the advertisement, and the embodiment of the present invention implements display control of the pushed advertisement.
  • the embodiment of the present invention is used.
  • the method can control the push of the ad implementation not to display.
  • the embodiment of the present invention can also count the number of times the advertisement is actually displayed, and can control the advertisement not to be displayed when the actual number of advertisements of the advertisement reaches a preset threshold.
  • the application registers a callback object for the advertisement SDK, and the following implementation manner may be used:
  • the application for the ad SDK by declaring a callback object in a configuration file Register the callback object.
  • the configuration file can be an Androidmanifest.xml file
  • the callback object can be declared in the application element of the Androidmanifest.xml file.
  • the application registers a callback object for the advertisement SDK, and the following implementation manner may also be used:
  • An input parameter is added to the initialization function of the advertisement SDK for inputting a callback object, and when the application initializes the advertisement SDK, the callback object is registered by calling an input parameter in an initialization function of the SDK to register the advertisement SDK. Callback object.
  • the application registers a callback object for the advertisement SDK, and the following implementation manner may also be used:
  • the registration callback object is registered by the preset application programming interface API to register the callback object for the advertisement SDK.
  • an advertisement display control method provided by an embodiment of the present invention includes: 201. When an application of a client starts, initialize an advertisement SDK, and register a callback object for the advertisement SDK.
  • the application of the client can be called by the default application programming interface API.
  • the registration callback object registers the callback object for the ad SDK.
  • the advertisement SDK establishes a communication link with an advertisement server, and sends the information of the client to the advertisement server.
  • the information of the client may be, for example, an identifier of the client, an identifier of the application, or the like.
  • the client's information can be used to provide the ad server with an indication of what type of advertisement to send to the client.
  • the advertisement server receives the information of the client, and sends an advertisement display request to the advertisement SDK, where the advertisement display request includes a pushed advertisement.
  • the advertisement display request is used to request to display the pushed advertisement.
  • the advertisement server stores an advertisement, and the advertisement administrator can set the advertisement frequency, the push time period and the like to push the description information through the advertisement platform entrance (P 0 rta 1 ), and the advertisement server will according to the advertisement frequency of the advertisement.
  • Information such as push time period and client information push advertisements for the client.
  • the advertisement SDK receives an advertisement display request sent by an advertisement server, where the advertisement display request includes a pushed advertisement.
  • the advertisement SDK invokes the callback object, and the callback object determines whether an actual running condition of the application satisfies a condition that the advertisement is inappropriately displayed.
  • step 103 For details on how to judge, see step 103 above.
  • the advertisement SDK controls whether the pushed advertisement is displayed according to the judgment result of the callback object.
  • the callback object in step 205 determines that the pushed advertisement does not need to be displayed, for example, the callback object determines that the application is currently in a scene that is not suitable for displaying an advertisement, for example, the application is performing key processing, or is When the user who uses the application is an important user and the advertisement is not displayed, the advertisement SDK can determine that the pushed advertisement does not need to be displayed, and the advertisement that does not display the push is executed in this step;
  • the callback object in step 205 determines that the pushed advertisement needs to be displayed, for example, the callback object determines that the application is currently in a field suitable for displaying an advertisement. In the case of the scene, it can be determined that the pushed advertisement needs to be displayed, and in this step, the advertisement for displaying the push is executed.
  • the application registers a callback object for the advertisement SDK, and when the advertisement SDK receives the push advertisement sent by the advertisement server, the callback object is invoked, and the callback object determines whether the push advertisement is displayed.
  • the embodiment of the present invention implements display control of the pushed advertisement by the application.
  • the embodiment of the present invention is used.
  • the method can control the push of the ad implementation not to display.
  • the embodiment of the present invention can also count the number of times the advertisement is actually displayed, and can control the advertisement not to be displayed when the actual display count of the advertisement reaches a preset threshold. It should be noted that after the application performs the registration of the callback object for the advertisement SDK, the display control of the pushed advertisement can be performed.
  • the application will not be able to perform display control on the pushed advertisement, but use the prior art method to display the advertisement, for example, when the advertisement server is received.
  • the push advertisement is sent, all the push advertisements are displayed uniformly or uniformly.
  • the advertisement display control method provided by the embodiment of the present invention performs display control on the advertisement, the number of times the advertisement is actually displayed may be counted, so that when the actual display number of advertisements reaches a preset threshold, Display control of the advertisement, for example, when the actual number of times the advertisement is displayed reaches 20, the control advertisement is not displayed.
  • Embodiments of the present invention can be applied to an advertisement display control system composed of an advertisement display control device, an advertisement SDK, and an advertisement server.
  • the advertisement server stores the advertisement and can push the advertisement to the advertisement display control device.
  • the registration module 31 is configured to register a callback object for the advertisement SDK when the application is started, where the callback object is used to provide the advertisement SDK to call when the advertisement is received to determine whether the advertisement is displayed;
  • the receiving module 32 is configured to receive an advertisement display request sent by the advertisement server, where the advertisement display request includes the pushed advertisement;
  • the information of the client may be, for example, an identifier of the client, an identifier of the application, or the like.
  • the advertisement display request is for requesting to display a pushed advertisement.
  • the advertisement server stores an advertisement, and the advertisement administrator can set the advertisement frequency, the push time period and the like to push the description information through the advertisement platform portal, and the advertisement server will push the time period according to the advertisement frequency of the advertisement.
  • Information such as information and client information push ads for the client.
  • the calling module 33 is configured to invoke the callback object, and the callback object determines whether the actual running condition of the application satisfies a condition for inappropriately displaying an advertisement;
  • the control display module 34 is configured to control whether the pushed advertisement is displayed according to the judgment result of the callback object.
  • the callback object determines that the pushed advertisement does not need to be displayed. For example, the callback object determines that the application is currently in a scene that is not suitable for displaying an advertisement, for example, the application is in progress. The key processing, or the user who is using the application is an important user, and when the advertisement is not displayed, the callback object can determine that the pushed advertisement does not need to be displayed, and the advertisement that does not display the push is executed in this step. ;
  • the callback object determines that the pushed advertisement needs to be displayed, for example, When the callback object determines that the application is currently in a scene suitable for displaying an advertisement, it may determine that the pushed advertisement needs to be displayed. In this step, the advertisement for displaying the push is executed.
  • the application registers a callback object for the advertisement SDK, and when the advertisement SDK receives the push advertisement sent by the advertisement server, the callback object is invoked, and the callback object determines whether the push advertisement is displayed. If the result of the judgment is that the pushed advertisement needs to be displayed, the pushed advertisement is displayed, and if the result of the determination is that the pushed advertisement does not need to be displayed, the pushed advertisement is not displayed.
  • the embodiment of the present invention implements display control of the pushed advertisement by the application.
  • the embodiment of the present invention is used.
  • the method can control the push of the ad implementation not to display.
  • the embodiment of the present invention can also count the number of times the advertisement is actually displayed, and can control the advertisement not to be displayed when the actual number of advertisements of the advertisement reaches a preset threshold.
  • the registration module 31 is specifically configured to register a callback object for the advertisement SDK by declaring an object of the callback in the configuration file.
  • an input parameter is added to the initialization function of the advertisement SDK to input a callback object.
  • the registration module 31 is specifically configured to: when the application initializes the advertisement SDK, input a callback object by calling an input parameter in an initialization function of the SDK to register a callback object for the advertisement SDK.
  • the registration module 31 is specifically configured to initialize the foregoing in the application.
  • the registration callback object is called by the preset application programming interface API to register the callback object for the advertisement SDK. It should be noted that the registration method of the callback object is not limited to the implementation manners listed above, and other registration methods for implementing the callback object may be used, and are not limited herein.
  • the calling module 33 is specifically configured to invoke the callback object, where the callback object obtains a scene in which the application is currently located, and determines whether the current scene of the application is a scene that is not suitable for displaying an advertisement, where, when determining When the currently located scene is a scene that is not suitable for displaying an advertisement, it is determined that the pushed advertisement is not displayed. When it is determined that the current scene is the scene suitable for displaying the advertisement, the pushed advertisement is displayed. ;
  • the calling module 33 is specifically configured to invoke the callback object, and the callback object determines whether the number of times the advertisement is actually displayed exceeds a preset threshold; wherein, when it is determined that the number of times the advertisement is actually displayed exceeds a preset threshold The advertisement that is pushed is not displayed, and when it is determined that the number of times the advertisement is actually displayed does not exceed a preset threshold, the pushed advertisement is displayed.
  • the embodiment of the present invention further provides an advertisement display control client. As shown in FIG. 4, the client is provided with an application and an advertisement software development kit SDK, and the client includes: a processor 41, a transceiver 42, The memory 44, the bus 4000, and the drive circuit 4001.
  • the processor 41 is configured to execute code stored in a memory
  • the memory 44 is configured to store code that implements the following functions:
  • the callback object is registered for the SDK, and the callback object is used to provide the advertisement SDK to call when the advertisement is received to determine whether the advertisement is displayed;
  • the advertisement SDK receives an advertisement display request sent by an advertisement server, and the advertisement display request includes a pushed advertisement
  • the advertisement SDK calls the callback object, and the callback object determines whether the pushed advertisement is displayed;
  • the advertisement SDK controls whether the pushed advertisement is displayed according to the judgment result of the callback object.
  • the information of the client may be, for example, an identifier of the client, an identifier of the application, and the like.
  • the advertisement display request is for requesting to display a pushed advertisement.
  • An advertisement is stored on the ad server, and the ad manager can enter through the ad platform.
  • the advertisement server will push the advertisement for the client according to the push frequency of the advertisement, the push time period and the like and the information of the client.
  • the application registers a callback object for the advertisement SDK, and when the advertisement SDK receives the push advertisement sent by the advertisement server, the callback object is invoked, and the callback object determines whether the push advertisement is displayed. If the result of the judgment is that the pushed advertisement needs to be displayed, the pushed advertisement is displayed, and if the result of the determination is that the pushed advertisement does not need to be displayed, the pushed advertisement is not displayed.
  • the embodiment of the present invention implements display control of the pushed advertisement.
  • the embodiment of the present invention is used.
  • the method can control the push of the ad implementation not to display.
  • the embodiment of the present invention can also count the number of times the advertisement is actually displayed, and can control the advertisement not to be displayed when the actual number of advertisements of the advertisement reaches a preset threshold.
  • the transceiver 42 can be coupled to an antenna.
  • the memory 44 includes at least one or more of the following memory devices, a read only memory, a random access memory, or a nonvolatile memory.
  • a random access memory that provides instructions and data to the processor.
  • the processor 41 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of the hardware in the processor or an instruction in the form of software. These instructions may be implemented and controlled by a processor therein for performing the methods disclosed in the embodiments of the present invention.
  • the processor may also be a general purpose processor, a digital signal processing (DSP), an application specific integrated circuit, a Field Programmable Gate Array (FPGA) or other programmable logic. Devices, discrete gates or transistor logic devices, discrete hardware components.
  • the above general purpose processor may be a microprocessor or the processor may be any conventional processor, decoder or the like.
  • the steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the driving circuit 4001 is configured to provide a driver for each hardware in the advertisement display control device so that each hardware can work normally.
  • bus system 4000 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • bus system 4000 various buses are labeled as bus system 4000 in FIG.
  • the memory 44 is further configured to store a code that implements the following functions:
  • the application registers a callback object for the advertisement SDK by declaring an object of the callback in the configuration file.
  • an input parameter is added to the initialization function of the advertisement SDK to input a callback object, and the memory 44 is further configured to store a code that implements the following functions:
  • the callback object is registered for the advertisement SDK by inputting a callback object by inputting an input parameter in the initialization function of the SDK.
  • the memory 44 is further configured to store a code that implements the following functions:
  • the registration callback object is registered by the preset application programming interface API to register the callback object for the advertisement SDK.
  • the memory 44 is further configured to store a code that implements the following function: the advertisement SDK calls the callback object, and the callback object acquires a current scene of the application, and determines whether the current scene of the application is unsuitable.
  • the scene of the advertisement is displayed, wherein when it is determined that the current scene of the application is a scene that is not suitable for displaying an advertisement, the advertisement that is pushed is not displayed, and when it is determined that the current scene is the scene suitable for displaying the advertisement, , obtaining the pushed advertisement for display;
  • the advertisement SDK calls the callback object, and the callback object determines whether the number of times the advertisement is actually displayed exceeds a preset threshold; wherein, when it is determined that the number of times the advertisement is actually displayed exceeds a preset threshold, the The pushed advertisement is not displayed. When it is determined that the actual number of times the advertisement is displayed does not exceed the preset threshold, the pushed advertisement is displayed.
  • the registration method of the callback object is not limited to the implementation manner listed above, and other registration methods for implementing the callback object may be used, and no limitation is imposed herein.
  • the advertisement display control device provided by the embodiment of the present invention may be, for example but not limited to: a mobile terminal, a mobile terminal such as a PAD.
  • a mobile terminal such as a PAD.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course also by hardware, but in many cases the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供一种广告显示控制方法及装置,涉及信息技术领域,可以对推送的广告进行显示控制。该方法,包括:所述应用启动时为SDK注册回调对象,所述回调对象用于提供给所述广告SDK在接收到广告时进行调用以判断广告是否显示;所述广告SDK接收广告服务器发送的广告显示请求,所述广告显示请求包括推送的广告;所述广告SDK调用所述回调对象,所述回调对象判断所述应用的实际运行情况是否满足不合适显示广告的条件,所述回调对象的内容包括用于判断应用的实际运行情况是否满足不合适显示广告的条件;所述广告SDK根据所述回调对象的判断结果控制所述推送的广告是否进行显示。本发明实施例主要应用于对广告进行显示控制的实现中。

Description

广告显示控制方法及装置 技术领域
本发明涉及信息技术领域, 尤其涉及一种广告显示控制方法及 装置。
背景技术
目前, 广告推送管理员在广告平台 portal (入口 ) 上可以设置 广告的推送频度, 推送时间段等等广告推送描述信息, 广告服务器 根据所述广告推送描述信息向客户端进行广告推送的实现如下: 客 户 端 上 的 应 用 启 动 时 , 初 始 化 广 告 SDK ( SoftwareDevelopmentKit,软件开发工具包 ) ;
广告 SDK建立与所述广告服务器之间的通信连接, 并向所述广 告服务器发送客户端信息;
所述广告服务器接收所述客户端信息, 向所述客户端推送广告 并发送显示请求;
所述客户端上的应用接收推送广告和显示请求, 根据所述显示 请求显示所述推送广告。
釆用上述方法在客户端显示广告时, 无论当前应用处于什么情 况下, 都将会显示广告。 然而, 在一些特殊的场景下不需要显示广 告时, 例如, 在一个游戏应用进行关键操作时, 或者针对重要客户 不显示推送广告时, 釆用现有技术的方法无法对广告进行显示控制。 发明内容
本发明实施例提供一种广告显示控制方法及装置, 可以对推送 的广告进行显示控制。
为了达到上述发明目的, 本发明釆用如下技术方案:
第一方面, 提供一种广告显示控制方法, 客户端上设有应用, 所述应用设有广告软件开发工具包 SDK , 所述方法包括: 所述应用启动时为 SDK注册回调对象,所述回调对象用于提供 给所述广告 SDK在接收到广告时进行调用以判断广告是否显示; 所述广告 SDK接收广告服务器发送的广告显示请求, 所述广告 显示请求包括推送的广告;
所述广告 SDK调用所述回调对象,所述回调对象判断所述应用 的实际运行情况是否满足不合适显示广告的条件, 所述回调对象的 内容包括用于判断应用的实际运行情况是否满足不合适显示广告的 条件;
所述广告 SDK 根据所述回调对象的判断结果控制所述推送的 广告是否进行显示。
结合第一方面, 在第一方面的第一种实现方式中, 所述应用为 广告 SDK注册回调对象, 包括:
所述应用通过在配置文件中声明回调的对象来为所述广告 SDK 注册回调对象。
结合第一方面,在第一方面的第二种实现方式中,所述广告 SDK 的初始化函数中增加一个输入参数用来输入回调对象, 所述应用为 广告 SDK注册回调对象, 包括:
所述应用初始化所述广告 SDK时, 通过调用所述 SDK的初始 化函数中的输入参数时输入回调对象。
结合第一方面, 在第一方面的第三种实现方式中,
所述应用为广告 SDK注册回调对象, 包括:
所述应用初始化所述广告 SDK时,通过预设应用程序编程接口 API调用注册回调对象为广告 SDK注册回调对象。
结合第一方面的前述任一种实现方式, 在第一方面的第四种实 现方式中,
所述广告 SDK调用所述回调对象,所述回调对象判断所述应用 的实际运行情况是否满足不合适显示广告的条件, 包括:
所述广告 SDK调用所述回调对象,所述回调对象获取所述应用 当前所处场景, 并判断当前所处场景是否为不适合显示广告的场景, 其中, 当判断出当前所处场景为不适合显示广告的场景时, 得出所 述推送的广告不进行显示, 当判断出当前所处场景为适合显示广告 的场景时, 得出所述推送的广告进行显示;
或者, 所述广告 SDK调用所述回调对象, 所述回调对象判断广 告实际显示的次数是否超过预设阔值; 其中, 当判断出广告实际显 示的次数超过预设阔值时, 得出所述推送的广告不进行显示, 当判 断出广告实际显示的次数没有超过预设阔值时, 得出所述推送的广 告进行显示。
第二方面, 提供一种广告显示控制装置, 包括:
注册模块, 用于在应用启动时为广告 SDK注册回调对象, 所述 回调对象用于提供给所述广告 SDK在接收到广告时进行调用以判断 广告是否显示;
接收模块, 用于接收广告服务器发送的广告显示请求, 所述广 告显示请求包括推送的广告;
调用模块, 用于调用所述回调对象, 所述回调对象判断所述应 用的实际运行情况是否满足不合适显示广告的条件, 所述回调对象 的内容包括用于判断应用的实际运行情况是否满足不合适显示广告 的条件;
控制显示模块, 用于根据所述回调对象的判断结果控制所述推 送的广告是否进行显示。
结合第二方面, 在第二方面的第一种实现方式中,
所述注册模块, 具体用于通过在配置文件中声明回调的对象来 为所述广告 SDK注册回调对象。
结合第二方面,在第二方面的第二种实现方式中,所述广告 SDK 的初始化函数中增加一个输入参数用来输入回调对象,
所述注册模块, 具体用于所述应用初始化所述广告 SDK时, 通 过调用所述 SDK的初始化函数中的输入参数时输入回调对象来为所 述广告 SDK注册回调对象。
结合第二方面, 在第二方面的第三种实现方式中, 所述注册模块, 具体用于在所述应用初始化所述广告 SDK 时, 通过预设应用程序编程接口 API调用注册回调对象为广告 SDK注册 回调对象。
结合第二方面的前述任一种实现方式, 在第二方面的第三种实 现方式中,
所述调用模块, 具体用于调用所述回调对象, 所述回调对象获 取所述应用当前所处场景, 并判断当前所处场景是否为不适合显示 广告的场景, 其中, 当判断出当前所处场景为不适合显示广告的场 景时, 得出所述推送的广告不进行显示, 当判断出当前所处场景为 适合显示广告的场景时, 得出所述推送的广告进行显示;
或者, 所述调用模块, 具体用于调用所述回调对象, 所述回调 对象判断广告实际显示的次数是否超过预设阔值; 其中, 当判断出 广告实际显示的次数超过预设阔值时, 得出所述推送的广告不进行 显示, 当判断出广告实际显示的次数没有超过预设阔值时, 得出所 述推送的广告进行显示。 本发明实施例中,客户端上的应用通过为广告 SDK注册回调对 象, 所述广告 SDK在接收到所述广告服务器发送的推送广告时, 调 用所述回调对象, 所述回调对象来判断所述推送广告是否显示, 如 果判断的结果为所述推送的广告需要显示, 则显示所述推送的广告, 如果判断的结果为所述推送的广告不需要显示, 则不显示所述推送 的广告。 与现有技术中无法对广告进行显示控制相比, 本发明实施 例实现了应用对推送的广告进行显示控制。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将 对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附 图。
图 1为本发明实施例提供的广告显示控制方法的一种流程图; 图 2为本发明实施例提供的广告显示控制方法的另一种流程图; 图 3为本发明实施例提供的广告显示控制装置的一种结构图; 图 4为本发明实施例提供的广告显示控制装置的一种结构图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。 本发明实施例提供的一种示例性的应用架构中, 包括广告服务 器和客户端。
所述广告服务器用于存储广告, 并根据预先设置的广告推送频 度向客户端推送广告。
所述客户端上设有应用, 所述应用设有广告 SDK , 该广告 SDK 为所述应用的一部分。
其中, 所述应用为实现某种功能的应用程序, 例如可以为游戏 应用、 视频应用、 或者新闻应用等等;
所述广告 SDK用于建立与所述广告服务器之间的通信链接,并 向所述广告服务器发送客户端信息, 接收所述广告服务器推送的广 告, 并在应用中对所述推送的广告进行显示控制。 下面, 具体介绍提供一种广告显示控制方法。
如图 1所示, 该方法包括:
101、 应用启动时为广告软件开发工具包 SDK 注册回调对象, 所述回调对象用于提供给所述广告 SDK在接收到广告时进行调用以 判断广告是否显示;
所述回调对象的内容包括用于实现判断应用的实际运行情况是 否满足不合适显示广告的条件;
其中, 例如, 不合适显示广告的条件可以为判断代码之外独立 的一段代码, 例如, 不合适显示广告的条件的代码是表示了多个不 适合显示广告的场景的数组;
或者, 又如, 直接写明表示不合适显示广告的条件。
所述回调对象如果判断到应用的实际运行情况满足不合适显示 广告的条件, 则得出广告不进行显示的结果; 如果所述回调对象如 果判断到应用的实际运行情况不满足不合适显示广告的条件, 则得 出广告进行显示的结果。 其中, 广告 SDK可以在应用与广告服务器建立通信链接之后, 向所述广告服务器发送所述客户端的信息, 例如所述客户端的标识, 所述应用的标识等等。
当应用为广告软件开发工具包 SDK注册回调对象之后, 所述广 告 SDK还可以在接收到所述广告服务器发送的推送广告时, 调用所 述回调对象来判断所述推送广告是否显示。
需要说明的是,应用执行本步骤中的为广告 SDK注册回调对象 之后, 可以对推送的广告进行显示控制。 如果应用没有执行本步骤 中的为广告 SDK注册回调对象, 那么该应用不需要对推送广告进行 差异化显示控制,具体是否显示广告由具体 SDK实现和上下文决定, 本发明不做限制。
102、 所述广告 SDK接收广告服务器发送的广告显示请求, 所 述广告显示请求包括推送的广告;
其中, 广告服务器上存储有广告, 广告管理员可以通过广告平 台入口 ( Portal ) 设置广告的推送频度, 推送时间段等等广告推送描 述信息, 广告服务器将根据所述广告的推送频度, 推送时间段等信 息为客户端推送广告。 103、 所述广告 SDK调用所述回调对象, 所述回调对象判断所 述应用的实际运行情况是否满足不合适显示广告的条件;
例如, 所述回调对象可以获取应用当前所处场景, 并判断当前 所处场景是否属于不适合显示广告的场景;
例如, 回调对象可以读取应用中当前登陆应用的用户的 VIP属 性值, 从而获得用户的 VIP等级, 不适合显示广告的场景可以为当 前登陆应用的用户为 VIP等级较高的用户时, 例如, VIP属性值 1 -5 表示 VIP等级为级别 1 -5 , 其中登陆用户的级别如果是级别 4-5 , 则 表示当前应用处于不适合显示广告的场景。
例如, 以游戏应用为例, 广告 SDK调用所述回调对象获取应用 当前正在进行的操作 (该正在进行的操作可以表示应用当前所处的 场景), 例如, 预定义应用在进行一些重要操作下是不适合显示广告 的场景, 如果应用正在进行游戏中某个重要操作, 可以判断出该应 用当前所处场景为不适合显示广告的场景。 其中, 当判断出当前所处场景属于不适合显示广告的场景时, 得出所述推送的广告不进行显示, 反之, 当判断出当前所处场景不 属于不适合显示广告的场景时, 得出所述推送的广告进行显示。
又如,广告 SDK调用所述回调对象通过判断广告实际显示的次 数是否超过预设阈值, 来得出所述推送的广告是否进行显示。
其中, 广告 SDK调用所述回调对象控制广告进行显示之后, 广 告 SDK调用所述回调对象会对广告的显示次数进行统计, 得到广告 实际显示的次数, 初始时为零。
其中, 当判断出广告实际显示的次数超过预设阔值时, 可以得 出所述推送的广告不进行显示, 当判断出广告实际显示的次数没有 超过预设阔值时, 可以得出所述推送的广告进行显示。
当然, 可以理解的是, 根据实际应用的需求还可以是通过其他 的判断方式得到所述推送的广告是否进行显示。
104、 所述广告 SDK根据所述回调对象的判断结果控制所述推 送的广告是否进行显示。
其中,如果步骤 103 中广告 SDK调用所述回调对象判断出所述 推送的广告不需要进行显示, 例如, 广告 SDK调用所述回调对象判 断出应用当前处于不适合显示广告的场景时, 例如应用正在进行关 键处理, 或者正在使用应用的用户为重要用户, 并设定不显示广告 时, 则广告 SDK可以判断出所述推送的广告不需要进行显示, 则本 步骤中将执行不显示所述推送的广告;
如果步骤 103 中所述回调对象判断出所述推送的广告需要进行 显示, 例如, 所述回调对象判断出应用当前处于适合显示广告的场 景时, 则可以判断得出所述推送的广告需要进行显示, 本步骤中将 执行显示所述推送的广告。 本发明实施例中, 应用通过为广告 SDK注册回调对象, 所述广 告 SDK在接收到所述广告服务器发送的推送广告时, 调用所述回调 对象, 所述回调对象判断所述推送广告是否显示, 如果判断的结果 为所述推送的广告需要显示, 则显示所述推送的广告, 如果判断的 结果为所述推送的广告不需要显示, 则不显示所述推送的广告。 与 现有技术中无法对广告进行显示控制相比, 本发明实施例实现了应 用对推送的广告进行显示控制。
特别是在, 一些需要对广告显示进行控制的场景下, 例如, 当 应用正在进行关键处理时, 或者正在使用应用的用户为重要用户, 并设定不显示广告时, 釆用本发明实施例的方法可以控制推送的广 告实现不显示。又如,基于本发明实施例提供的广告显示控制方法, 本发明实施例还可以统计广告实际显示的次数, 并可以在广告的实 际显示次数达到预设阔值时, 控制广告不进行显示。 可选的, 所述步骤 101 中, 应用为广告 SDK注册回调对象, 具 体可以釆用如下实现方式:
所述应用通过在配置文件中声明回调对象来为所述广告 SDK 注册回调对象。
例如, 配置文件可以是 Androidmanifest.xml 文件, 可以在该 Androidmanifest.xml文件的 application元素中声明回调对象。 可选的, 所述步骤 101 中, 应用为广告 SDK注册回调对象, 具 体还可以釆用如下实现方式:
所述广告 SDK 的初始化函数中增加一个输入参数用来输入回 调对象, 所述应用初始化所述广告 SDK 时, 通过调用所述 SDK 的 初始化函数中的输入参数输入回调对象来为所述广告 SDK注册回调 对象。 可选的, 所述步骤 101 中, 应用为广告 SDK注册回调对象, 具 体还可以釆用如下实现方式:
所述应用初始化所述广告 SDK时,通过预设应用程序编程接口 API调用注册回调对象为广告 SDK注册回调对象。
其中, 所述注册回调对象的作用是为了实现回调对象的注册。 所述应用通过所述预设 API可以调用所述注册回调对象, 来实 现回调对象的注册。 需要说明的是, 回调对象的注册方式不限于上述列举出来的实 现方式,还可以釆用其他实现回调对象的注册方式,在此不作限制。 为了更好的理解本发明的实现过程, 下面, 将对本发明实施例 提供的广告显示控制方法进行完整和详细介绍。 如图 2所示,本发明实施例提供的一种广告显示控制方法包括: 201、 客户端的应用启动时, 初始化广告 SDK , 并为所述广告 SDK注册回调对象。
例如, 客户端的应用可以通过预设应用程序编程接口 API调用 注册回调对象为广告 SDK注册回调对象。
202、 所述广告 SDK建立与广告服务器之间的通信链接, 并向 所述广告服务器发送所述客户端的信息;
其中, 所述客户端的信息例如可以是所述客户端的标识, 所述 应用的标识等等。
该客户端的信息可以用来提供给广告服务器以确定发送什么类 型的广告给客户端。
203、 广告服务器接收所述客户端的信息, 向所述广告 SDK发 送广告显示请求, 所述广告显示请求包括推送的广告;
其中, 所述广告显示请求用于请求显示推送的广告。
广告服务器上存储有广告, 广告管理员可以通过广告平台入口 ( P 0 r t a 1 )设置广告的推送频度,推送时间段等等广告推送描述信息, 广告服务器将根据所述广告的推送频度, 推送时间段等信息和客户 端的信息为客户端推送广告。
204、 所述广告 SDK接收广告服务器发送的广告显示请求, 所 述广告显示请求包括推送的广告。
205、 所述广告 SDK调用所述回调对象, 所述回调对象判断所 述应用的实际运行情况是否满足不合适显示广告的条件。
具体如何判断参见上述步骤 103。
206、 所述广告 SDK根据所述回调对象的判断结果控制所述推 送的广告是否进行显示。
其中, 如果步骤 205 中所述回调对象判断出所述推送的广告不 需要进行显示, 例如, 所述回调对象判断出应用当前处于不适合显 示广告的场景时, 例如应用正在进行关键处理, 或者正在使用应用 的用户为重要用户, 并设定不显示广告时, 则广告 SDK可以判断出 所述推送的广告不需要进行显示, 则本步骤中将执行不显示所述推 送的广告;
如果步骤 205 中所述回调对象判断出所述推送的广告需要进行 显示, 例如, 所述回调对象判断出应用当前处于适合显示广告的场 景时, 则可以判断得出所述推送的广告需要进行显示, 本步骤中将 执行显示所述推送的广告。 本发明实施例中, 应用通过为广告 SDK注册回调对象, 所述广 告 SDK在接收到所述广告服务器发送的推送广告时, 调用所述回调 对象, 所述回调对象来判断所述推送广告是否显示, 如果判断的结 果为所述推送的广告需要显示, 则显示所述推送的广告, 如果判断 的结果为所述推送的广告不需要显示, 则不显示所述推送的广告。 与现有技术中无法对广告进行显示控制相比, 本发明实施例实现了 应用对推送的广告进行显示控制。
特别是在, 一些需要对广告显示进行控制的场景下, 例如, 当 应用正在进行关键处理时, 或者正在使用应用的用户为重要用户, 并设定不显示广告时, 釆用本发明实施例的方法可以控制推送的广 告实现不显示。又如,基于本发明实施例提供的广告显示控制方法, 本发明实施例还可以统计广告实际显示的次数, 并可以在广告的实 际显示次数达到预设阔值时, 控制广告不进行显示。 需要说明的是, 应用执行了为广告 SDK注册回调对象之后, 可 以对推送的广告进行显示控制。 如果应用, 没有执行为广告 SDK注 册回调对象的操作, 那么该应用将无法实现对推送的广告进行显示 控制, 而是釆用现有技术的方法进行广告显示, 例如, 当接收到所 述广告服务器发送的推送广告时, 统一显示或者统一不显示所有所 述推送广告。 还需要说明的是, 釆用本发明实施例提供的广告显示控制方法 对广告进行显示控制之后, 还可以统计广告实际显示的次数, 以便 于可以在广告的实际显示次数达到预设阔值时, 对广告进行显示控 制, 例如, 广告的实际显示次数达到 20时, 控制广告不进行显示。 本发明实施例可以应用于广告显示控制系统, 该系统由广告显 示控制装置、 广告 SDK和广告服务器组成。
其中, 广告服务器存储广告, 并可以向广告显示控制装置推送 广告。
广告显示控制装置, 如图 3所示,
注册模块 31 , 用于在应用启动时为广告 SDK 注册回调对象, 所述回调对象用于提供给所述广告 SDK在接收到广告时进行调用以 判断广告是否显示;
其中, 注册回调对象的方式可以参见上述图 1 所述方法的步骤 101提供的实现方式的相关描述。
接收模块 32 , 用于接收广告服务器发送的广告显示请求, 所述 广告显示请求包括推送的广告;
其中, 所述客户端的信息例如可以是所述客户端的标识, 所述 应用的标识等等。 所述广告显示请求用于请求显示推送的广告。
广告服务器上存储有广告, 广告管理员可以通过广告平台入口 ( Portal )设置广告的推送频度,推送时间段等等广告推送描述信息 , 广告服务器将根据所述广告的推送频度, 推送时间段等信息和客户 端的信息为客户端推送广告。
调用模块 33 , 用于调用所述回调对象, 所述回调对象判断所述 应用的实际运行情况是否满足不合适显示广告的条件;
控制显示模块 34 , 用于根据所述回调对象的判断结果控制所述 推送的广告是否进行显示。
其中, 如果广告 SDK调用所述回调对象, 所述回调对象判断出 所述推送的广告不需要进行显示, 例如, 所述回调对象判断出应用 当前处于不适合显示广告的场景时, 例如应用正在进行关键处理, 或者正在使用应用的用户为重要用户, 并设定不显示广告时, 则回 调对象可以判断出所述推送的广告不需要进行显示, 则本步骤中将 执行不显示所述推送的广告;
如果所述回调对象判断出所述推送的广告需要进行显示,例如, 所述回调对象判断出应用当前处于适合显示广告的场景时, 则可以 判断得出所述推送的广告需要进行显示, 本步骤中将执行显示所述 推送的广告。 本发明实施例中, 应用通过为广告 SDK注册回调对象, 所述广 告 SDK在接收到所述广告服务器发送的推送广告时, 调用所述回调 对象, 所述回调对象来判断所述推送广告是否显示, 如果判断的结 果为所述推送的广告需要显示, 则显示所述推送的广告, 如果判断 的结果为所述推送的广告不需要显示, 则不显示所述推送的广告。 与现有技术中无法对广告进行显示控制相比, 本发明实施例实现了 应用对推送的广告进行显示控制。
特别是在, 一些需要对广告显示进行控制的场景下, 例如, 当 应用正在进行关键处理时, 或者正在使用应用的用户为重要用户, 并设定不显示广告时, 釆用本发明实施例的方法可以控制推送的广 告实现不显示。又如,基于本发明实施例提供的广告显示控制方法, 本发明实施例还可以统计广告实际显示的次数, 并可以在广告的实 际显示次数达到预设阔值时, 控制广告不进行显示。 在实现注册回调对象时, 具体可以釆用如下实现:
可选的, 所述注册模块 31 , 具体用于通过在配置文件中声明回 调的对象来为所述广告 SDK注册回调对象。 可选的,在所述广告 SDK的初始化函数中增加一个输入参数用 来输入回调对象,
所述注册模块 31 ,具体用于所述应用初始化所述广告 SDK时, 通过调用所述 SDK的初始化函数中的输入参数输入回调对象来为所 述广告 SDK注册回调对象。 可选的, 所述注册模块 31 , 具体用于在所述应用初始化所述广 告 SDK时, 通过预设应用程序编程接口 API调用注册回调对象为广 告 SDK注册回调对象。 需要说明的是, 回调对象的注册方式不限于上述列举出来的实 现方式,还可以釆用其他实现回调对象的注册方式,在此不作限制。 进一步地, 所述调用模块 33 , 具体用于调用所述回调对象, 所 述回调对象获取应用当前所处场景, 并判断应用当前所处场景是否 为不适合显示广告的场景, 其中, 当判断出应用当前所处场景为不 适合显示广告的场景时, 得出所述推送的广告不进行显示, 当判断 出应用当前所处场景为适合显示广告的场景时, 得出所述推送的广 告进行显示;
或者, 所述调用模块 33 , 具体用于调用所述回调对象, 所述回 调对象判断广告实际显示的次数是否超过预设阔值; 其中, 当判断 出广告实际显示的次数超过预设阔值时, 得出所述推送的广告不进 行显示, 当判断出广告实际显示的次数没有超过预设阔值时, 得出 所述推送的广告进行显示。 本发明实施例,还提供一种广告显示控制客户端,如图 4所示, 所述客户端设有应用和广告软件开发工具包 SDK ,所述客户端包括: 处理器 41 , 收发器 42、 存储器 44、 总线 4000和驱动电路 4001。
其中, 所述处理器 41 , 用于执行存储器中存储的代码; 所述存储器 44 , 用于存储实现下述功能的代码:
应用启动时为 SDK 注册回调对象 , 所述回调对象用于提供给 所述广告 SDK在接收到广告时进行调用以判断广告是否显示;
所述广告 SDK接收广告服务器发送的广告显示请求, 所述广告 显示请求包括推送的广告;
所述广告 SDK调用所述回调对象, 所述回调对象判断 所述推 送的广告是否进行显示 ; 所述广告 SDK 根据所述回调对象的判断结果控制所述推送的 广告是否进行显示。
其中, 注册回调对象的方式可以参见上述图 1 所述方法的步骤 101提供的实现方式的相关描述。
所述客户端的信息例如可以是所述客户端的标识, 所述应用的 标识等等。
所述广告显示请求用于请求显示推送的广告。
广告服务器上存储有广告, 广告管理员可以通过广告平台入口
( P 0 r t a 1 )设置广告的推送频度,推送时间段等等广告推送描述信息, 广告服务器将根据所述广告的推送频度, 推送时间段等信息和客户 端的信息为客户端推送广告。 本发明实施例中, 应用通过为广告 SDK注册回调对象, 所述广 告 SDK在接收到所述广告服务器发送的推送广告时, 调用所述回调 对象, 所述回调对象来判断所述推送广告是否显示, 如果判断的结 果为所述推送的广告需要显示, 则显示所述推送的广告, 如果判断 的结果为所述推送的广告不需要显示, 则不显示所述推送的广告。 与现有技术中无法对广告进行显示控制相比, 本发明实施例实现了 应用对推送的广告进行显示控制。
特别是在, 一些需要对广告显示进行控制的场景下, 例如, 当 应用正在进行关键处理时, 或者正在使用应用的用户为重要用户, 并设定不显示广告时, 釆用本发明实施例的方法可以控制推送的广 告实现不显示。 又如,基于本发明实施例提供的广告显示控制方法, 本发明实施例还可以统计广告实际显示的次数, 并可以在广告的实 际显示次数达到预设阔值时, 控制广告不进行显示。 需要说明的是, 收发器 42可以耦合到天线。
本实施例在具体实现中,存储器 44至少包括如下一个或者多个 内存设备, 一个只读存储器、 一个随机存取存储器或者一个非易失 行随机存取存储器, 存储器为处理器提供指令和数据。
其中, 所述处理器 41可能是一种集成电路芯片 , 具有信号的处 理能力。 在实现过程中, 上述方法的各步骤可以通过处理器中的硬 件的集成逻辑电路或者软件形式的指令完成。 这些指令可以通过其 中的处理器以配合实现及控制, 用于执行本发明实施例揭示的方法。 上述处理器还可以是通用处理器、 数字信号处理器 ( Digital Signal Processing , DSP )、 专用集成电路 ( application specific integrated circuit )、现成可编程门阵列( Field Programmable Gate Array , FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件 组件。
其中, 上述通用处理器可以是微处理器或者该处理器也可以是 任何常规的处理器, 解码器等。 结合本发明实施例所公开的方法的 步骤可以直接体现为硬件处理器执行完成, 或者用处理器中的硬件 及软件模块组合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储器、 寄存 器等本领域成熟的存储介质中。
其中, 驱动电路 4001 , 用于为广告显示控制装置中的各个硬件 提供驱动使得各个硬件能够正常工作。
另外, 广告显示控制装置的各个硬件组件通过总线系统 4000 耦合在一起, 其中总线系统 4000除包括数据总线之外, 还包括电源 总线、 控制总线和状态信号总线。 但是为了清楚说明起 , 在图 4中 将各种总线都标为总线系统 4000。
所述的广告显示控制装置在实现注册回调对象时, 可以釆用如 下功能实现:
可选的, 所述的广告显示控制装置中, 所述存储器 44 , 还用于 存储实现下述功能的代码:
所述应用通过在配置文件中声明回调的对象来为所述广告 SDK 注册回调对象。 可选的, 所述的广告显示控制装置中, 所述广告 SDK的初始化 函数中增加一个输入参数用来输入回调对象, 所述存储器 44 , 还用 于存储实现下述功能的代码:
所述应用初始化所述广告 SDK时, 通过调用所述 SDK的初始 化函数中的输入参数输入回调对象来为所述广告 SDK注册回调对象。 可选的, 所述的广告显示控制装置中, 所述存储器 44 , 还用于 存储实现下述功能的代码:
所述应用初始化所述广告 SDK时,通过预设应用程序编程接口 API调用注册回调对象为广告 SDK注册回调对象。 进一步, 所述存储器 44 , 还用于存储实现下述功能的代码: 所述广告 SDK调用所述回调对象,所述回调对象获取应用当前 所处场景, 并判断应用当前所处场景是否为不适合显示广告的场景, 其中, 当判断出应用当前所处场景为不适合显示广告的场景时, 得 出所述推送的广告不进行显示, 当判断出应用当前所处场景为适合 显示广告的场景时, 得出所述推送的广告进行显示;
或者, 所述广告 SDK调用所述回调对象, 所述回调对象判断广 告实际显示的次数是否超过预设阔值; 其中, 当判断出广告实际显 示的次数超过预设阔值时, 得出所述推送的广告不进行显示, 当判 断出广告实际显示的次数没有超过预设阔值时, 得出所述推送的广 告进行显示。 需要说明的是, 回调对象的注册方式不限于上述列举出来的实 现方式,还可以釆用其他实现回调对象的注册方式,在此不作限制。
本发明实施例提供的广告显示控制装置,例如可以是但不限于: 手机, PAD等移动终端。 通过以上的实施方式的描述, 所属领域的技术人员可以清楚地 了解到本发明可借助软件加必需的通用硬件的方式来实现, 当然也 可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的 理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分 可以以软件产品的形式体现出来, 该计算机软件产品存储在可读取 的存储介质中, 如计算机的软盘, 硬盘或光盘等, 包括若干指令用 以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设 备等) 执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种广告显示控制方法, 其特征在于, 客户端上设有应用, 所述应用设有广告软件开发工具包 SDK , 所述方法包括:
所述应用启动时为 SDK注册回调对象, 所述回调对象用于提供 给所述广告 SDK在接收到广告时进行调用以判断广告是否显示; 所述广告 SDK接收广告服务器发送的广告显示请求, 所述广告 显示请求包括推送的广告;
所述广告 SDK调用所述回调对象, 所述回调对象判断所述应用 的实际运行情况是否满足不合适显示广告的条件, 所述回调对象的内 容包括用于判断应用的实际运行情况是否满足不合适显示广告的条 件;
所述广告 SDK根据所述回调对象的判断结果控制所述推送的广 告是否进行显示。
2、 根据权利要求 1 所述的广告显示控制方法, 其特征在于, 所 述应用为广告 SDK注册回调对象, 包括:
所述应用通过在配置文件中声明回调的对象来为所述广告 SDK 注册回调对象。
3、 根据权利要求 1 所述的广告显示控制方法, 其特征在于, 所 述广告 SDK 的初始化函数中增加一个输入参数用来输入回调对象, 所述应用为广告 SDK注册回调对象, 包括:
所述应用初始化所述广告 SDK时, 通过调用所述 SDK的初始化 函数中的输入参数输入回调对象。
4、 根据权利要求 1 所述的广告显示控制方法, 其特征在于, 所 述应用为广告 SDK注册回调对象, 包括:
所述应用初始化所述广告 SDK时, 通过预设应用程序编程接口 API调用注册回调对象为广告 SDK注册回调对象。
5、 根据权利要求 1 -4 任一项所述的广告显示控制方法, 其特征 在于, 所述广告 SDK 调用所述回调对象, 所述回调对象判断所述应 用的实际运行情况是否满足不合适显示广告的条件, 包括: 所述广告 SDK调用所述回调对象, 所述回调对象获取所述应用 当前所处场景, 并判断当前所处场景是否为不适合显示广告的场景, 其中, 当判断出当前所处场景为不适合显示广告的场景时, 得出所述 推送的广告不进行显示, 当判断出当前所处场景为适合显示广告的场 景时, 得出所述推送的广告进行显示;
或者, 所述广告 SDK调用所述回调对象, 所述回调对象判断广 告实际显示的次数是否超过预设阔值; 其中, 当判断出广告实际显示 的次数超过预设阔值时, 得出所述推送的广告不进行显示, 当判断出 广告实际显示的次数没有超过预设阈值时, 得出所述推送的广告进行 显示。
6、 一种广告显示控制装置, 其特征在于,
注册模块, 用于在应用启动时为广告 SDK注册回调对象, 所述 回调对象用于提供给所述广告 SDK 在接收到广告时进行调用以判断 广告是否显示;
接收模块, 用于接收广告服务器发送的广告显示请求, 所述广告 显示请求包括推送的广告;
调用模块, 用于调用所述回调对象, 所述回调对象判断所述应用 的实际运行情况是否满足不合适显示广告的条件, 所述回调对象的内 容包括用于判断应用的实际运行情况是否满足不合适显示广告的条 件;
控制显示模块,用于根据所述回调对象的判断结果控制所述推送 的广告是否进行显示。
7、 根据权利要求 6所述的广告显示控制装置, 其特征在于, 所述注册模块,具体用于通过在配置文件中声明回调的对象来为 所述广告 SDK注册回调对象。
8、 根据权利要求 6所述的广告显示控制装置, 其特征在于, 所 述广告 SDK的初始化函数中增加一个输入参数用来输入回调对象, 所述注册模块, 具体用于所述应用初始化所述广告 SDK时, 通 过调用所述 SDK 的初始化函数中的输入参数输入回调对象来为所述 广告 SDK注册回调对象。
9、 根据权利要求 6所述的广告显示控制装置, 其特征在于, 所述注册模块, 具体用于在所述应用初始化所述广告 SDK时, 通过预设应用程序编程接口 API调用注册回调对象为广告 SDK注册 回调对象。
10、 根据权利要求 6-9任一项所述的广告显示控制装置, 其特征 在于,
所述调用模块, 具体用于调用所述回调对象, 所述回调对象获取 所述应用当前所处场景, 并判断当前所处场景是否为不适合显示广告 的场景, 其中, 当判断出当前所处场景为不适合显示广告的场景时, 得出所述推送的广告不进行显示, 当判断出当前所处场景为适合显示 广告的场景时, 得出所述推送的广告进行显示;
或者, 所述调用模块, 具体用于调用所述回调对象, 所述回调对 象判断广告实际显示的次数是否超过预设阔值; 其中, 当判断出广告 实际显示的次数超过预设阔值时, 得出所述推送的广告不进行显示, 当判断出广告实际显示的次数没有超过预设阔值时, 得出所述推送的 广告进行显示。
PCT/CN2013/080222 2013-07-26 2013-07-26 广告显示控制方法及装置 WO2015010333A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/080222 WO2015010333A1 (zh) 2013-07-26 2013-07-26 广告显示控制方法及装置
CN201380001446.XA CN103703484A (zh) 2013-07-26 2013-07-26 广告显示控制方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/080222 WO2015010333A1 (zh) 2013-07-26 2013-07-26 广告显示控制方法及装置

Publications (1)

Publication Number Publication Date
WO2015010333A1 true WO2015010333A1 (zh) 2015-01-29

Family

ID=50363922

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080222 WO2015010333A1 (zh) 2013-07-26 2013-07-26 广告显示控制方法及装置

Country Status (2)

Country Link
CN (1) CN103703484A (zh)
WO (1) WO2015010333A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101813901B1 (ko) 2015-07-29 2018-01-03 성 완 김 광고 웹사이트를 이용한 온라인 광고 방법
CN111897610A (zh) * 2016-09-28 2020-11-06 创新先进技术有限公司 一种信息展示方法和装置
CN106682952A (zh) * 2017-01-17 2017-05-17 北京薇途科技有限公司 一种基于场景热点的精准广告推荐系统及方法
CN109561048B (zh) * 2017-09-26 2021-05-25 北京京东尚科信息技术有限公司 一种通信管理方法和装置
CN108230022A (zh) * 2017-12-29 2018-06-29 深圳市九洲电器有限公司 广告显示管理方法及系统
CN110166272B (zh) * 2018-02-14 2022-05-17 阿里巴巴集团控股有限公司 提供终端设备指标仲裁服务的方法、装置及系统
CN109542650A (zh) * 2018-11-30 2019-03-29 北京小米移动软件有限公司 广告加载方法、装置及计算机可读存储介质
CN113377432A (zh) * 2021-06-17 2021-09-10 上海臣星软件技术有限公司 广告运行的方法、装置、设备及存储介质
CN114466075B (zh) * 2022-01-14 2024-04-16 北京快乐茄信息技术有限公司 请求处理方法及装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882289A (zh) * 2010-06-30 2010-11-10 百视通网络电视技术发展有限责任公司 一种广告播放控制系统及其方法
CN102325308A (zh) * 2011-09-14 2012-01-18 花花工作室 面向移动终端的信息投放系统
CN102542479A (zh) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 在电子设备上显示广告的方法及装置
CN103095840A (zh) * 2013-01-22 2013-05-08 北京锐讯灵通科技有限公司 一种用于移动终端的广告加载方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130080268A1 (en) * 2011-09-26 2013-03-28 Unicorn Media, Inc. Multi-platform media syndication customization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882289A (zh) * 2010-06-30 2010-11-10 百视通网络电视技术发展有限责任公司 一种广告播放控制系统及其方法
CN102542479A (zh) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 在电子设备上显示广告的方法及装置
CN102325308A (zh) * 2011-09-14 2012-01-18 花花工作室 面向移动终端的信息投放系统
CN103095840A (zh) * 2013-01-22 2013-05-08 北京锐讯灵通科技有限公司 一种用于移动终端的广告加载方法

Also Published As

Publication number Publication date
CN103703484A (zh) 2014-04-02

Similar Documents

Publication Publication Date Title
WO2015010333A1 (zh) 广告显示控制方法及装置
US20200366516A1 (en) Electronic device and method for registering smart home device in smart home system
WO2018103484A1 (zh) 直播页面的数据处理方法、装置和系统
CN109152095B (zh) 用于终端的无线网络连接方法
KR101890973B1 (ko) 네트워크 통신 및 코스트 인식 기법
US9569607B2 (en) Security verification method and apparatus
WO2019228340A1 (zh) 程序优化方法、装置、终端及存储介质
US9648152B2 (en) Methods and devices for labeling a number
US20150127755A1 (en) Method and apparatus for checking status of messages in electronic device
EP3190763B1 (en) Screen sharing method and sharing device
CN107888965B (zh) 图像礼物展示方法及装置、终端、系统、存储介质
WO2020094036A1 (zh) 用于终端的无线网络连接方法
CN105721450B (zh) 登录网络游戏的方法、装置和系统
US9756674B2 (en) Method of transmitting and receiving data of electronic device and electronic device using the method
WO2015106727A1 (en) Method and apparatus for switching audio output device
WO2023030265A1 (zh) 控制方法及电子设备
CN107493284B (zh) 帐号登录方法及装置
CN109885360B (zh) 一种数据处理方法、装置及存储介质
US20140297719A1 (en) Receiving a communication event
US9300787B1 (en) Augmented device interaction through services
CN110659082A (zh) 应用程序界面的显示方法、装置、终端及存储介质
US10091236B2 (en) Methods apparatuses, and storage mediums for acquiring legitimate installation packages
CN106376096B (zh) 一种无线网络连接方法及其设备
US20170171510A1 (en) Method and device for leaving video message
KR102465164B1 (ko) Ac 차단 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13890139

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13890139

Country of ref document: EP

Kind code of ref document: A1