CN107918880A - The control method and device of advertisement putting - Google Patents
The control method and device of advertisement putting Download PDFInfo
- Publication number
- CN107918880A CN107918880A CN201610885838.2A CN201610885838A CN107918880A CN 107918880 A CN107918880 A CN 107918880A CN 201610885838 A CN201610885838 A CN 201610885838A CN 107918880 A CN107918880 A CN 107918880A
- Authority
- CN
- China
- Prior art keywords
- advertisement
- delivery
- information
- control
- event
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 230000004044 response Effects 0.000 claims abstract description 30
- 230000008439 repair process Effects 0.000 claims description 9
- 230000009191 jumping Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 13
- 230000003993 interaction Effects 0.000 abstract description 6
- 230000000875 corresponding effect Effects 0.000 description 109
- 238000010586 diagram Methods 0.000 description 11
- 230000001276 controlling effect Effects 0.000 description 7
- 230000006854 communication Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 101000716310 Homo sapiens Protein sidekick-2 Proteins 0.000 description 2
- 102100021005 Protein sidekick-2 Human genes 0.000 description 2
- 230000007175 bidirectional communication Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011217 control strategy Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
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的广告投放操作,从而实现了可控性较高的广告投放方案。
The present invention provides an advertisement placement control method and device, the method comprising: acquiring advertisement placement environment information and/or placement event results in response to advertisement placement trigger events; generating corresponding advertisement placement environment information and/or placement event results based on the advertisement placement environment information and/or placement event results A delivery control request, and send the delivery control request to the server; receive the advertisement control-related information returned by the server based on the delivery control request; perform corresponding advertisement delivery operations based on the advertisement control-related information. The technical solution of the present invention solves the problem of how to control the advertisement SDK based on the advertisement control related information received in the terminal. According to the corresponding advertisement control related information obtained from different terminals, and execute the corresponding advertisement delivery operation, through the interaction process between the terminal and the server, the advertisement delivery operation of the advertising SDK can be flexibly and real-time controlled, thus realizing the controllability Higher advertising delivery plan.
Description
技术领域technical field
本发明涉及终端设备技术领域,具体而言,本发明涉及一种广告投放的控制方法以及一种广告投放的控制装置。The present invention relates to the technical field of terminal equipment, and in particular, the present invention relates to a method for controlling advertisement placement and a device for controlling advertisement placement.
背景技术Background technique
随着移动互联网的日益普及,各类应用程序也应运而生,它们丰富着用户的生活,用户消耗在移动终端设备上的时间也越来越多。嵌入在这些丰富的应用程序中的广告因为得到了大量的关注也随之成为了新的宠儿,因此,在应用程序中嵌入广告SDK既给广告商增加了宣传力度,可以让推广的产品让更多的人知晓,又给应用程序开发商增加了额外的收益,同时还能给广大用户提供各类信息,从而给用户的生活带来方便。With the increasing popularity of the mobile Internet, various applications have emerged as the times require. They enrich the lives of users, and users spend more and more time on mobile terminal devices. Advertisements embedded in these rich applications have become a new favorite because they have received a lot of attention. Therefore, embedding advertising SDKs in applications not only increases the publicity for advertisers, but also makes the promoted products more popular. More people know about it, which adds additional benefits to application program developers, and at the same time provides various types of information to users, thereby bringing convenience to users' lives.
广告SDK主要是针对应用程序开发商提供的一种嵌入广告的平台,应用程序开发商根据相应的要求调用SDK提供的展示广告的接口,从而在应用程序中展示广告SDK提供的待展示的广告。The advertising SDK is mainly a platform for embedding advertisements provided by application developers. Application developers call the advertising display interface provided by the SDK according to the corresponding requirements, so as to display the advertisements provided by the advertising SDK in the application.
然而,在广告SDK带给用户各种便利的同时,对于广告SDK的控制管理方法也成为了技术难点。However, while the advertising SDK brings various conveniences to users, the method of controlling and managing the advertising SDK has also become a technical difficulty.
发明内容Contents of the invention
为克服上述技术问题或者至少部分地解决上述技术问题,特提出以下技术方案:In order to overcome the above-mentioned technical problems or at least partially solve the above-mentioned technical problems, the following technical solutions are proposed:
本发明的一个实施例提出了一种广告投放的控制方法,包括:An embodiment of the present invention proposes a method for controlling advertisement delivery, including:
响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果;Responding to an ad delivery trigger event to obtain ad delivery environment information and/or a delivery event result;
基于广告投放环境信息和/或投放事件结果生成相应的投放控制请求,并将投放控制请求发送至服务器;Generate a corresponding delivery control request based on the advertisement delivery environment information and/or delivery event results, and send the delivery control request to the server;
接收服务器基于投放控制请求返回的广告控制相关信息;Receiving the advertisement control-related information returned by the server based on the delivery control request;
依据广告控制相关信息执行相应的广告投放操作。Carry out corresponding ad delivery operations according to relevant information about ad control.
优选地,当广告投放触发事件为广告SDK初始化事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;Preferably, when the ad delivery trigger event is an ad SDK initialization event, a corresponding delivery control request is generated based on the acquired ad delivery environment information;
其中,依据广告控制相关信息执行相应的广告投放操作,包括:Among them, the corresponding advertisement delivery operation is performed according to the relevant information of advertisement control, including:
基于广告控制相关信息生成相应的广告信息获取请求,并将广告信息获取请求发送至服务器;Generate a corresponding advertisement information acquisition request based on advertisement control related information, and send the advertisement information acquisition request to the server;
接收服务器基于广告信息获取请求返回的广告信息;receiving the advertisement information returned by the server based on the advertisement information acquisition request;
依据广告控制相关信息对广告信息执行相应的展示操作。Perform a corresponding display operation on the advertisement information according to the relevant advertisement control information.
优选地,广告控制相关信息包括是否允许投放广告、允许投放广告的类型、广告展示方式、广告响应方式、跳转方式信息中的至少一项。Preferably, the advertisement control-related information includes at least one item of information on whether advertisements are allowed to be placed, types of advertisements allowed to be placed, advertisement display methods, advertisement response methods, and jumping methods.
可选地,该方法还包括:Optionally, the method also includes:
当检测到获取待投放广告事件时,判断是否已获取到广告控制相关信息;When it is detected that the event of obtaining an advertisement to be delivered is detected, it is judged whether information related to advertisement control has been obtained;
若已获取到,则依据广告控制相关信息执行相应的广告投放操作。If it has been obtained, the corresponding advertisement delivery operation is performed according to the advertisement control related information.
优选地,当广告投放触发事件为投放错误事件时,基于投放事件结果生成相应的投放控制请求;Preferably, when the ad delivery trigger event is a delivery error event, a corresponding delivery control request is generated based on the result of the delivery event;
其中,依据广告控制相关信息执行相应的广告投放操作,包括:Among them, the corresponding advertisement delivery operation is performed according to the relevant information of advertisement control, including:
依据广告控制相关信息对产生投放错误事件的广告SDK执行相应的暂停投放和/或修复投放操作。According to the relevant information of advertising control, perform corresponding operations of suspending delivery and/or repairing delivery of the ad SDK that generates a delivery error event.
优选地,依据广告控制相关信息对产生投放错误事件的广告SDK执行相应的修复投放操作,包括:Preferably, according to the related information of advertisement control, the corresponding restoration and delivery operation is performed on the advertisement SDK that generates the delivery error event, including:
基于投放事件结果生成相应的投放更新请求,并将投放更新请求发送至服务器;Generate a corresponding delivery update request based on the delivery event result, and send the delivery update request to the server;
接收服务器基于投放更新请求返回的广告SDK更新信息;Receive the advertising SDK update information returned by the server based on the delivery update request;
基于广告SDK更新信息更新广告SDK,以完成对产生投放错误事件的广告SDK的修复操作。Update the advertising SDK based on the advertising SDK update information, so as to complete the repair operation of the advertising SDK that generates the delivery error event.
优选地,投放事件结果通过以下方式获取:Preferably, the delivery event result is obtained through the following methods:
通过广告SDK在终端设备的内存堆栈中获取投放事件结果。Obtain the delivery event result in the memory stack of the terminal device through the advertising SDK.
优选地,当广告投放触发事件为展示事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;Preferably, when the ad delivery trigger event is a display event, a corresponding delivery control request is generated based on the acquired ad delivery environment information;
其中,广告控制相关信息包括展示方式信息;Among them, information related to advertisement control includes display method information;
则依据广告控制相关信息执行相应的广告投放操作,包括:Then execute corresponding ad serving operations based on relevant information about ad control, including:
依据展示方式信息执行相应的广告展示操作。Execute the corresponding ad display operation according to the display mode information.
优选地,当广告投放触发事件为响应事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;Preferably, when the ad delivery trigger event is a response event, a corresponding delivery control request is generated based on the acquired ad delivery environment information;
其中,广告控制相关信息包括广告响应方式;Among them, the advertisement control-related information includes the advertisement response method;
则依据广告控制相关信息执行相应的广告投放操作,包括:Then execute corresponding ad serving operations based on relevant information about ad control, including:
依据广告响应方式执行相应的广告响应操作。Perform corresponding ad response operations according to the ad response method.
优选地,当广告投放触发事件为跳转事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;Preferably, when the ad delivery trigger event is a jump event, a corresponding delivery control request is generated based on the acquired ad delivery environment information;
其中,广告控制相关信息包括跳转方式信息;Among them, the advertisement control-related information includes information on the redirection method;
则依据广告控制相关信息执行相应的广告投放操作,包括:Then execute corresponding ad serving operations based on relevant information about ad control, including:
依据跳转方式信息执行相应的广告跳转展示操作。Carry out the corresponding advertisement jump display operation according to the jump method information.
优选地,当广告投放触发事件为下载相关事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;Preferably, when the ad delivery trigger event is a download-related event, a corresponding delivery control request is generated based on the acquired ad delivery environment information;
其中,广告控制相关信息包括下载方式相关信息;Among them, information related to advertisement control includes information related to download methods;
则依据广告控制相关信息执行相应的广告投放操作,包括:Then execute corresponding ad serving operations based on relevant information about ad control, including:
依据下载方式相关信息执行相应的下载相关操作。Perform corresponding download-related operations according to the relevant information of the download method.
本发明的另一实施例提出了一种广告投放的控制装置,包括:Another embodiment of the present invention proposes a device for controlling advertisement delivery, including:
获取模块,用于响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果;An acquisition module, configured to acquire advertisement delivery environment information and/or delivery event results in response to an advertisement delivery trigger event;
生成及发送模块,用于基于广告投放环境信息和/或投放事件结果生成相应的投放控制请求,并将投放控制请求发送至服务器;A generating and sending module, configured to generate a corresponding delivery control request based on the advertisement delivery environment information and/or delivery event results, and send the delivery control request to the server;
接收模块,用于接收服务器基于投放控制请求返回的广告控制相关信息;The receiving module is used to receive the advertisement control related information returned by the server based on the delivery control request;
执行模块,用于依据广告控制相关信息执行相应的广告投放操作。The execution module is configured to execute corresponding advertisement delivery operations according to relevant advertisement control information.
优选地,当广告投放触发事件为广告SDK初始化事件时,生成及发送模块具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;Preferably, when the ad delivery trigger event is an ad SDK initialization event, the generating and sending module is specifically configured to generate a corresponding delivery control request based on the acquired ad delivery environment information;
其中,执行模块包括:Among them, the execution module includes:
第一生成及发送单元,用于基于广告控制相关信息生成相应的广告信息获取请求,并将广告信息获取请求发送至服务器;The first generation and sending unit is configured to generate a corresponding advertisement information acquisition request based on advertisement control related information, and send the advertisement information acquisition request to the server;
第一接收单元,用于接收服务器基于广告信息获取请求返回的广告信息;The first receiving unit is configured to receive the advertisement information returned by the server based on the advertisement information acquisition request;
第一执行单元,用于依据广告控制相关信息对广告信息执行相应的展示操作。The first execution unit is configured to perform corresponding display operations on advertisement information according to advertisement control related information.
优选地,广告控制相关信息包括是否允许投放广告、允许投放广告的类型、广告展示方式、广告响应方式、跳转方式信息中的至少一项。Preferably, the advertisement control-related information includes at least one item of information on whether advertisements are allowed to be placed, types of advertisements allowed to be placed, advertisement display methods, advertisement response methods, and jumping methods.
可选地,该装置还包括:Optionally, the device also includes:
判断模块,用于当检测到获取待投放广告事件时,判断是否已获取到广告控制相关信息;A judging module, configured to judge whether information related to advertising control has been obtained when an event to be delivered is detected;
若已获取到,执行模块依据广告控制相关信息执行相应的广告投放操作。If it has been obtained, the execution module executes the corresponding advertisement delivery operation according to the relevant advertisement control information.
可选地,当广告投放触发事件为投放错误事件时,生成及发送模块具体用于基于投放事件结果生成相应的投放控制请求;Optionally, when the ad delivery trigger event is a delivery error event, the generating and sending module is specifically configured to generate a corresponding delivery control request based on the result of the delivery event;
其中,执行模块具体用于依据广告控制相关信息对产生投放错误事件的广告SDK执行相应的暂停投放和/或修复投放操作。Wherein, the execution module is specifically configured to perform corresponding operations of suspending delivery and/or repairing delivery of the ad SDK that generates a delivery error event according to information related to ad control.
可选地,执行模块包括:Optionally, the execution module includes:
第二生成及发送单元,用于基于投放事件结果生成相应的投放更新请求,并将投放更新请求发送至服务器;The second generating and sending unit is configured to generate a corresponding delivery update request based on the delivery event result, and send the delivery update request to the server;
第二接收单元,用于接收服务器基于投放更新请求返回的广告SDK更新信息;The second receiving unit is configured to receive the advertisement SDK update information returned by the server based on the delivery update request;
更新单元,用于基于广告SDK更新信息更新广告SDK,以完成对产生投放错误事件的广告SDK的修复操作。The update unit is configured to update the ad SDK based on the ad SDK update information, so as to complete the repair operation of the ad SDK that generates a delivery error event.
可选地,投放事件结果通过以下方式获取:Optionally, the delivery event result can be obtained in the following ways:
通过广告SDK在终端设备的内存堆栈中获取投放事件结果。Obtain the delivery event result in the memory stack of the terminal device through the advertising SDK.
可选地,当广告投放触发事件为展示事件时,生成及发送模块具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;Optionally, when the ad delivery trigger event is a display event, the generating and sending module is specifically configured to generate a corresponding delivery control request based on the acquired ad delivery environment information;
其中,广告控制相关信息包括展示方式信息;Among them, information related to advertisement control includes display method information;
则执行模块具体用于依据展示方式信息执行相应的广告展示操作。The executing module is specifically configured to execute a corresponding advertisement display operation according to the display manner information.
可选地,当广告投放触发事件为响应事件时,生成及发送模块具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;Optionally, when the ad delivery trigger event is a response event, the generating and sending module is specifically configured to generate a corresponding delivery control request based on the acquired ad delivery environment information;
其中,广告控制相关信息包括广告响应方式;Among them, the advertisement control-related information includes the advertisement response method;
则执行模块具体用于依据所述广告响应方式执行相应的广告响应操作。The execution module is specifically configured to execute corresponding advertisement response operations according to the advertisement response manner.
可选地,当广告投放触发事件为跳转事件时,生成及发送模块具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;Optionally, when the ad delivery trigger event is a jump event, the generating and sending module is specifically configured to generate a corresponding delivery control request based on the acquired ad delivery environment information;
其中,广告控制相关信息包括跳转方式信息;Among them, the advertisement control-related information includes information on the redirection method;
则执行模块具体用于依据所述跳转方式信息执行相应的广告跳转展示操作。The execution module is specifically configured to perform a corresponding advertisement jump display operation according to the jump mode information.
可选地,当广告投放触发事件为下载相关事件时,生成及发送模块具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;Optionally, when the ad delivery trigger event is a download-related event, the generating and sending module is specifically configured to generate a corresponding delivery control request based on the acquired ad delivery environment information;
其中,广告控制相关信息包括下载方式相关信息;Among them, information related to advertisement control includes information related to download methods;
则执行模块具体用于依据下载方式相关信息执行相应的下载相关操作。The execution module is specifically configured to perform corresponding download related operations according to the download mode related information.
本发明的技术方案解决了如何基于终端中接收到的广告控制相关信息对广告SDK进行相应的控制的问题。首先,响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果,可以根据不同的广告触发事假相应地获取不同的广告投放环境信息和/或投放事件结果;随后,接收服务器基于投放控制请求返回的广告控制相关信息,并依据广告控制相关信息执行相应的广告投放操作,通过该步骤可以依据不同终端中的广告投放环境信息和/或投放事件结果获取到相应的广告控制相关信息,并以此执行相应的广告投放操作,通过终端与服务器的交互过程可以灵活地、实时地控制广告SDK的广告投放操作,从而实现了可控性较高的广告投放方案。The technical solution of the present invention solves the problem of how to control the advertisement SDK based on the advertisement control related information received in the terminal. Firstly, the advertisement delivery environment information and/or delivery event results are obtained in response to the advertisement delivery trigger event, and different advertisement delivery environment information and/or delivery event results can be obtained correspondingly according to different advertisement trigger events; then, the receiving server based on the delivery control Request the returned advertising control related information, and execute the corresponding advertising delivery operation based on the advertising control related information. Through this step, the corresponding advertising control related information can be obtained according to the advertising delivery environment information and/or delivery event results in different terminals, and In this way, the corresponding advertisement delivery operation is executed, and the advertisement delivery operation of the advertising SDK can be flexibly and real-time controlled through the interaction process between the terminal and the server, thereby realizing a highly controllable advertisement delivery solution.
本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:
图1为本发明一个实施例的广告投放的控制方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling advertisement delivery according to an embodiment of the present invention;
图2为本发明另一实施例的广告投放的控制装置的结构示意图。Fig. 2 is a schematic structural diagram of an advertisement placement control device according to another embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.
本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,进行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" and "terminal equipment" used here not only include wireless signal receiver equipment, which only has wireless signal receiver equipment without transmission capabilities, but also include receiving and transmitting hardware. A device having receive and transmit hardware capable of bi-directional communication over a bi-directional communication link. Such equipment may include: cellular or other communication equipment, which has a single-line display or a multi-line display or a cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data Processing, facsimile and/or data communication capabilities; PDA (Personal Digital Assistant, Personal Digital Assistant), which may include radio frequency receiver, pager, Internet/Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal", "terminal device" may be portable, transportable, installed in a vehicle (air, sea, and/or land), or adapted and/or configured to operate locally, and/or In distributed form, the operation operates at any other location on Earth and/or in space. The "terminal" and "terminal equipment" used here can also be communication terminals, Internet terminals, music/video playback terminals, such as PDAs, MIDs (Mobile Internet Devices, mobile Internet devices) and/or with music/video playback terminals. Functional mobile phones, smart TVs, set-top boxes and other devices.
需要说明的是,SDK(Software Development Kit,软件开发工具包)是用于开发应用程序的软件包、软件框架、硬件平台、操作系统等开发工具的集合。SDK包括广义上的用于辅助开发应用程序的相关文档、范例和工具的集合。SDK越来越多地被应用于移动终端的广告投放中,广告SDK主要是针对应用程序开发商提供的一种嵌入广告的平台,应用程序开发商根据相应的要求调用广告SDK提供的展示广告的相关接口,从而在应用程序中展示广告SDK提供的待展示的广告。It should be noted that an SDK (Software Development Kit, software development kit) is a collection of development tools such as software packages, software frameworks, hardware platforms, and operating systems for developing applications. The SDK includes a broad collection of related documents, examples and tools used to aid in the development of applications. The SDK is more and more used in the advertising of mobile terminals. The advertising SDK is mainly a platform for embedding advertisements provided by application developers. Application developers call the advertising display provided by the advertising SDK according to the corresponding requirements. Relevant interfaces to display the to-be-displayed advertisements provided by the advertising SDK in the application.
本发明实施例用于说明如何控制嵌入于应用程序中的广告SDK来执行广告投放操作,同时本发明提供的方法可执行于终端设备中。The embodiment of the present invention is used to explain how to control the advertisement SDK embedded in the application program to execute the advertisement delivery operation, and meanwhile, the method provided by the present invention can be executed in the terminal device.
图1为本发明一个实施例的广告投放的控制方法的流程示意图。FIG. 1 is a schematic flowchart of a method for controlling advertisement delivery according to an embodiment of the present invention.
步骤S110:响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果。Step S110: Obtain advertisement placement environment information and/or a placement event result in response to an advertisement placement trigger event.
其中,广告投放触发事件包括但不限于广告SDK初始化、投放错误、跳转、展示、响应和下载等相关事件;广告投放环境信息包括但不限于终端设备型号、终端设备连接的网络类型和广告SDK的版本号等信息。需要说明的是,响应于不同类型的广告投放触发事件,相应地可以获取不同的广告投放环境信息和/或投放事件结果以有针对性地进行广告投放操作的控制。Among them, ad delivery trigger events include but not limited to advertising SDK initialization, delivery error, jump, display, response, download and other related events; ad delivery environment information includes but not limited to the terminal device model, the type of network connected to the terminal device and the advertising SDK version number and other information. It should be noted that, in response to different types of advertisement placement trigger events, correspondingly, different advertisement placement environment information and/or placement event results may be obtained to control advertisement placement operations in a targeted manner.
步骤S120:基于广告投放环境信息和/或投放事件结果生成相应的投放控制请求,并将投放控制请求发送至服务器。Step S120: Generate a corresponding placement control request based on the advertisement placement environment information and/or placement event results, and send the placement control request to the server.
在本实施例中,服务器接收到终端发送的投放控制请求,提取投放控制请求中的广告投放环境信息和/或投放事件结果;随后,在包含预先制定的广告投放控制策略列表中查找与提取到的广告投放环境信息和/或投放事件结果相匹配的广告控制相关信息,并将广告控制相关信息发送至终端。In this embodiment, the server receives the delivery control request sent by the terminal, extracts the advertisement delivery environment information and/or the delivery event result in the delivery control request; then, finds and extracts the Advertisement control-related information that matches the advertisement delivery environment information and/or delivery event results, and sends the advertisement control-related information to the terminal.
步骤S130:接收服务器基于投放控制请求返回的广告控制相关信息。Step S130: receiving the advertisement control-related information returned by the server based on the delivery control request.
其中,广告控制相关信息包含对广告SDK进行相关控制操作所需的相关控制信息,广告SDK投放广告的操作都是基于该信息执行的。Among them, the advertisement control-related information includes relevant control information required for relevant control operations on the advertisement SDK, and the advertisement delivery operation of the advertisement SDK is performed based on this information.
步骤S140:依据广告控制相关信息执行相应的广告投放操作。Step S140: Execute the corresponding advertisement delivery operation according to the information related to advertisement control.
在本发明第一优选实施例中,广告投放触发事件为广告SDK初始化事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;依据广告控制相关信息执行相应的广告投放操作的步骤包括步骤S141、步骤S142和步骤S143:步骤S141:基于广告控制相关信息生成相应的广告信息获取请求,并将广告信息获取请求发送至服务器;步骤S142:接收服务器基于广告信息获取请求返回的广告信息;步骤S143:依据广告控制相关信息对广告信息执行相应的展示操作。In the first preferred embodiment of the present invention, when the advertisement placement trigger event is an advertisement SDK initialization event, a corresponding advertisement placement control request is generated based on the obtained advertisement placement environment information; the steps of performing corresponding advertisement placement operations according to the advertisement control related information include: Step S141, Step S142 and Step S143: Step S141: Generate a corresponding advertisement information acquisition request based on advertisement control related information, and send the advertisement information acquisition request to the server; Step S142: Receive the advertisement information returned by the server based on the advertisement information acquisition request; Step S143: performing a corresponding display operation on the advertisement information according to the information related to advertisement control.
优选地,广告控制相关信息包括但不限于是否允许投放广告、允许投放广告的类型、广告展示方式、广告响应方式、跳转方式信息等信息。Preferably, information related to advertisement control includes, but is not limited to, information such as whether advertisements are allowed to be placed, types of advertisements allowed, advertisement display methods, advertisement response methods, and jumping methods.
具体地,首先,终端检测到广告SDK进行初始化操作时,获取广告投放环境信息,例如终端设备型号“MI-note”、终端设备连接的网络类型“Wi-fi”和广告SDK的版本号“SDK2.2.3”;接着,基于广告投放环境信息生成相应的投放控制请求,并将投放控制请求发送至服务器;随后,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告投放控制策略列表中查找与接收到的投放控制请求相匹配的广告控制相关信息如“Allowed to advertise、Banner type、At the top of the display、Open byDeepLink”,发送广告控制相关信息至终端;接着,终端接收服务器基于投放控制请求返回的广告控制相关信息;随后,基于广告控制相关信息生成相应的广告信息获取请求,并将广告信息获取请求发送至服务器,在该步骤中需要将广告控制相关信息中的至少部分信息也包含在广告信息获取请求中发送,例如需要将广告控制相关信息中的“Allowed toadvertise、Banner type”包含在广告信息获取请求中发送,以使服务器根据“Allowed toadvertise”信息获知终端已获取投放广告的相关权限,并且服务器需要返回Banner type类的广告信息;接着,接收服务器基于广告信息获取请求返回的广告信息;最后,依据广告控制相关信息对广告信息执行相应的展示操作,例如终端获取Banner type类的广告信息并依据广告控制相关信息“At the top of the display”将Banner type类的广告信息进行绘制操作并将绘制结果展示在终端设备屏幕中人机交互界面的顶部,当广告响应事件触发时根据广告控制相关信息“Open by DeepLink”响应广告操作。Specifically, first, when the terminal detects that the advertising SDK is performing an initialization operation, it obtains the advertisement delivery environment information, such as the terminal device model "MI-note", the network type "Wi-fi" connected to the terminal device, and the version number of the advertising SDK "SDK2 .2.3”; then, generate a corresponding delivery control request based on the advertisement delivery environment information, and send the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, includes the pre-established advertisement delivery Search the control policy list for the advertisement control related information that matches the received delivery control request, such as "Allowed to advertise, Banner type, At the top of the display, Open byDeepLink", and send the advertisement control related information to the terminal; then, the terminal Receive the advertising control related information returned by the server based on the delivery control request; then, generate a corresponding advertising information acquisition request based on the advertising control related information, and send the advertising information acquisition request to the server. In this step, the advertising control related information needs to be At least part of the information is also included in the advertisement information acquisition request, for example, the advertisement control related information "Allowed to advertise, Banner type" needs to be included in the advertisement information acquisition request, so that the server can know that the terminal has Obtain the relevant authority to place advertisements, and the server needs to return the advertisement information of the Banner type; then, receive the advertisement information returned by the server based on the advertisement information acquisition request; finally, perform corresponding display operations on the advertisement information according to the advertisement control related information, such as the terminal Obtain the advertisement information of the Banner type and draw the advertisement information of the Banner type according to the advertisement control related information "At the top of the display" and display the drawing result on the top of the human-computer interaction interface on the screen of the terminal device. When the advertisement When the response event is triggered, it responds to the advertising operation according to the advertising control related information "Open by DeepLink".
可选地,本发明实施例提供的方法还包括步骤S150和步骤S160:步骤S150:当检测到获取待投放广告事件时,判断是否已获取到广告控制相关信息;步骤S160:若已获取到,则依据广告控制相关信息执行相应的广告投放操作。Optionally, the method provided by the embodiment of the present invention further includes step S150 and step S160: step S150: when it is detected that the advertisement event to be delivered is acquired, determine whether the advertisement control related information has been acquired; step S160: if it has been acquired, The corresponding advertisement delivery operation is performed according to the relevant advertisement control information.
需要说明的是,在广告SDK第一次开启时会自动进行初始化操作,在终端检测到广告SDK进行初始化操作时,通过本发明实施例提供的方法获取广告控制相关信息,而上述操作过程需要消耗一定的时间,如果在该时间段内检测到获取待投放广告事件发生时,则将获取待投放广告事件挂起不执行,直至终端检测到获取到广告控制相关信息时,获取待投放广告的事件才会继续执行。It should be noted that when the advertising SDK is started for the first time, it will automatically perform the initialization operation. When the terminal detects that the advertising SDK is performing the initialization operation, the advertising control-related information is obtained through the method provided by the embodiment of the present invention, and the above operation process needs to consume For a certain period of time, if it is detected that the event of obtaining the advertisement to be delivered occurs within this time period, the acquisition of the event of the advertisement to be delivered will be suspended until the terminal detects that the relevant information of the advertisement control is obtained, and the event of the advertisement to be delivered will be obtained will continue to execute.
具体地,首先,当检测到获取待投放广告事件时,终端判断是否已获取到广告控制相关信息;随后,若已获取到,则检测广告控制相关信息中的是否允许投放广告信息是否为允许投放广告;接着,若允许投放广告,则发送获取待投放广告请求至服务器;随后,服务器接收终端发送的获取待投放广告请求,基于获取待投放广告请求返回广告信息;最后,终端接收服务器基于获取待投放广告请求返回的广告信息,并依据广告控制相关信息对广告信息执行相应的展示操作。Specifically, first, when detecting the event of obtaining an advertisement to be delivered, the terminal judges whether the advertisement control-related information has been acquired; then, if it has been acquired, it detects whether the advertisement information in the advertisement control-related information is allowed to be placed Then, if advertisements are allowed to be placed, send a request to obtain an advertisement to be delivered to the server; then, the server receives the request for obtaining an advertisement to be delivered sent by the terminal, and returns the advertisement information based on the request for obtaining the advertisement to be delivered; finally, the terminal receives the server based on the request to obtain the advertisement to be delivered Deliver the advertisement information returned by the advertisement request, and perform corresponding display operations on the advertisement information according to the advertisement control related information.
在本发明第二优选实施例中,广告投放触发事件为投放错误事件时,基于投放事件结果生成相应的投放控制请求;依据广告控制相关信息执行相应的广告投放操作的步骤包括步骤S144:依据广告控制相关信息对产生投放错误事件的广告SDK执行相应的暂停投放和/或修复投放操作。In the second preferred embodiment of the present invention, when the advertisement placement trigger event is a placement error event, a corresponding placement control request is generated based on the placement event result; the step of performing the corresponding advertisement placement operation according to the advertisement control related information includes step S144: according to the advertisement Control relevant information and perform corresponding operations of suspending delivery and/or repairing delivery for the ad SDK that generates a delivery error event.
优选地,投放事件结果通过以下方式获取:通过广告SDK在终端设备的内存堆栈中获取投放事件结果。Preferably, the delivery event result is acquired in the following manner: the delivery event result is acquired in the memory stack of the terminal device through the advertising SDK.
需要说明的是,在广告SDK运行产生错误时,会产生相应的投放事件结果,该投放事件结果包括错误产生原因信息。引起广告SDK运行错误的原因有多种,其中,常见的为三种:It should be noted that when an error occurs during the operation of the advertising SDK, a corresponding delivery event result will be generated, and the delivery event result includes information about the cause of the error. There are many reasons for the running error of the advertising SDK, among which there are three common ones:
1.API不兼容,如广告SDK代码中调用了新版本操作系统存在的API而该广告SDK代码运行在旧版本的操作系统,该版本的操作系统中不存在被调用的API。1. API incompatibility, for example, the ad SDK code calls an API that exists in a new version of the operating system, but the ad SDK code runs on an old version of the operating system, and the called API does not exist in this version of the operating system.
2.内存溢出,此类问题常出现在内存较小的终端设备中。2. Memory overflow, such problems often appear in terminal devices with small memory.
3.广告SDK代码存在错误,如在广告SDK代码中调用了某一个包或某一个类,而在运行该广告SDK代码前未对上述包或类进行初始化操作,如果发生此类错误,在投放事件结果中还会加入错误代码行数、错误代码存在的包名或类名等信息。3. There is an error in the advertising SDK code. For example, a certain package or a certain class is called in the advertising SDK code, but the above-mentioned package or class is not initialized before running the advertising SDK code. If such an error occurs, the The event result will also add information such as the number of error code lines, the package name or class name where the error code exists.
具体地,首先,终端检测到广告SDK在投放广告的过程中产生投放错误时,通过广告SDK在终端设备的内存堆栈中获取投放事件结果,需要说明的是,广告SDK在终端设备的内存中运行,当广告SDK在投放广告的过程中产生投放错误时,终端设备自动将投放事件结果存储于内存堆栈中,因此可以通过广告SDK在终端设备的内存堆栈中读取投放事件结果;随后,基于投放事件结果生成相应的投放控制请求,并将投放控制请求发送至服务器;接着,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告投放错误控制策略列表中查找与接收到的投放控制请求相匹配的广告控制相关信息如“Stoprunning”,发送该信息至终端;接着,终端接收服务器基于投放控制请求返回的广告控制相关信息;最后,依据广告控制相关信息对广告信息执行相应的暂停投放操作。Specifically, first, when the terminal detects that an advertising SDK has placed an error in the process of delivering an advertisement, it obtains the delivery event result in the memory stack of the terminal device through the advertising SDK. It should be noted that the advertising SDK runs in the memory of the terminal device , when the advertising SDK generates a delivery error during the process of delivering an advertisement, the terminal device automatically stores the delivery event result in the memory stack, so the delivery event result can be read in the terminal device's memory stack through the advertising SDK; then, based on the delivery The event result generates a corresponding delivery control request, and sends the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, searches and receives the Advertisement control-related information that matches the delivery control request, such as "Stoprunning", sends the information to the terminal; then, the terminal receives the advertisement control-related information returned by the server based on the delivery control request; finally, executes corresponding actions on the advertisement information based on the advertisement control-related information Pause delivery for .
优选地,依据广告控制相关信息对产生投放错误事件的广告SDK执行相应的修复投放操作的步骤包括步骤S1441、步骤S1442和步骤S1443:步骤S1441:基于投放事件结果生成相应的投放更新请求,并将投放更新请求发送至服务器;步骤S1442:接收服务器基于投放更新请求返回的广告SDK更新信息;步骤S1443:基于广告SDK更新信息更新广告SDK,以完成对产生投放错误事件的广告SDK的修复操作。Preferably, the step of performing corresponding repair and delivery operations on the advertising SDK that generated the delivery error event according to the advertisement control related information includes step S1441, step S1442 and step S1443: Step S1441: generate a corresponding delivery update request based on the result of the delivery event, and send The delivery update request is sent to the server; Step S1442: Receive the advertising SDK update information returned by the server based on the delivery update request; Step S1443: Update the advertising SDK based on the advertising SDK update information, so as to complete the repair operation of the advertising SDK that generated the delivery error event.
需要说明的是,终端将包含错误产生原因的投放事件结果生成相应的投放更新请求,并将投放更新请求发送至服务器,服务器基于接收到的终端发送的投放更新请求确定广告SDK更新信息,并将该信息发送至终端;随后,终端接收服务器基于投放更新请求返回的广告SDK更新信息,并对广告SDK更新包执行更新和安装操作,以完成对产生投放错误事件的广告SDK的修复和替换的任务。It should be noted that the terminal will generate a corresponding delivery update request from the delivery event result containing the cause of the error, and send the delivery update request to the server, and the server will determine the update information of the advertising SDK based on the delivery update request sent by the terminal, and send This information is sent to the terminal; then, the terminal receives the advertising SDK update information returned by the server based on the delivery update request, and performs update and installation operations on the advertising SDK update package, so as to complete the task of repairing and replacing the advertising SDK that generated the delivery error event .
可选地,还可以不通过本发明第二优选实施例提供的方案来完成对产生投放错误事件的广告SDK的暂停投放操作和/或修复投放操作,转而通过服务器自动完成该操作,具体操作步骤如下:首先,终端将广告投放环境信息上传至服务器,服务器接收终端发送的广告投放环境信息,并将其存储于预定列表中;随后,若服务器接收到其他终端上报的安装了某一版本的广告SDK的某一终端产生了投放错误事件时,在存储广告投放环境信息的预定列表中查找与接收到的终端上报的产生投放错误事件的广告SDK的版本号和终端设备型号相匹配的终端设备标识,并自动将广告控制相关信息发送至与终端设备标识相应的终端上,以在用户未察觉到广告SDK存在错误之前自动完成对产生投放错误事件的广告SDK的暂停投放操作和/或修复操作。Optionally, instead of using the solution provided by the second preferred embodiment of the present invention to complete the operation of suspending the delivery and/or repairing the delivery of the advertisement SDK that generated the delivery error event, the operation can be completed automatically by the server. The specific operation The steps are as follows: first, the terminal uploads the advertisement placement environment information to the server, and the server receives the advertisement placement environment information sent by the terminal, and stores it in the predetermined list; then, if the server receives reports from other terminals that a certain version of the When a terminal of the advertising SDK generates a delivery error event, search for a terminal device that matches the version number and terminal device model of the advertising SDK that generated the delivery error event reported by the received terminal in the predetermined list that stores the advertising delivery environment information ID, and automatically send advertising control-related information to the terminal corresponding to the terminal device ID, so as to automatically complete the suspension and/or repair operation of the advertising SDK that generated the delivery error event before the user is not aware of the error in the advertising SDK .
在本发明第三优选实施例中,广告投放触发事件为跳转事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;其中,广告控制相关信息包括跳转方式信息;依据广告控制相关信息执行相应的广告投放操作的步骤包括步骤S145:依据跳转方式信息执行相应的广告跳转操作。In the third preferred embodiment of the present invention, when the advertisement placement trigger event is a jump event, a corresponding placement control request is generated based on the acquired advertisement placement environment information; wherein, the advertisement control related information includes the jump mode information; according to the advertisement control The step of performing the corresponding advertisement delivery operation on the relevant information includes step S145: performing the corresponding advertisement jump operation according to the jump mode information.
具体地,首先,当用户对展示的广告信息产生兴趣时,会进一步进行对广告信息的选择操作以查看更多的广告信息,当终端检测到广告SDK进行跳转展示操作时,获取广告投放环境信息,例如终端设备型号“MI-note”、终端设备连接的网络类型“Wi-fi”和广告SDK的版本号“SDK2.2.3”;接着,基于广告投放环境信息生成相应的投放控制请求,并将投放控制请求发送至服务器;随后,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告跳转控制策略的列表中查找与接收到的投放控制请求相匹配的包含跳转方式信息的广告控制相关信息如“Using system browser”,发送该信息至终端;接着,终端接收服务器基于投放控制请求返回的包含跳转方式信息的广告控制相关信息;最后,依据跳转方式信息执行相应的广告跳转操作,如通过终端中的系统默认的浏览器打开跳转的广告页面。当然,也可以通过广告SDK内置浏览器、应用程序内置浏览器等浏览器打开跳转的广告页面或直接打开终端中已经安装的指定应用程序的广告页面。但是无论通过什么方式打开跳转的广告页面都是依据跳转方式信息执行的。Specifically, first of all, when the user is interested in the displayed advertisement information, the user will further select the advertisement information to view more advertisement information. Information, such as the terminal device model "MI-note", the network type "Wi-fi" connected to the terminal device, and the version number of the advertising SDK "SDK2.2.3"; then, generate a corresponding delivery control request based on the advertising delivery environment information, and Send the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, searches for the URL that matches the received delivery control request in the list containing the pre-established advertisement jump control strategy. Advertisement control-related information such as "Using system browser" of the forwarding method information, and send the information to the terminal; then, the terminal receives the advertisement control-related information including the redirecting method information returned by the server based on the delivery control request; finally, according to the redirecting method information Perform the corresponding advertisement jump operation, such as opening the redirected advertisement page through the system default browser in the terminal. Of course, you can also open the redirected advertisement page through browsers such as the built-in browser of the advertising SDK and the built-in application, or directly open the advertisement page of the specified application program already installed in the terminal. However, no matter what method is used to open the redirected advertisement page, it is executed based on the redirection method information.
在本发明第四优选实施例中,广告投放触发事件为下载相关事件时,基于获取到的广告投放环境信息生成相应的投放控制请求;其中,广告控制相关信息包括下载方式相关信息;依据广告控制相关信息执行相应的广告投放操作的步骤包括步骤S146:依据下载方式相关信息执行相应的下载相关操作。In the fourth preferred embodiment of the present invention, when the advertisement placement trigger event is a download related event, a corresponding placement control request is generated based on the acquired advertisement placement environment information; wherein, the advertisement control related information includes the download method related information; according to the advertisement control The step of performing the corresponding advertisement delivery operation on the relevant information includes step S146: performing the corresponding downloading related operation according to the relevant information on the download mode.
具体地,首先,终端检测到广告SDK进行下载相关操作时,获取广告投放环境信息,例如终端设备型号“MI-note”、终端设备连接的网络类型“Wi-fi”和广告SDK的版本号“SDK2.2.3”;接着,基于广告投放环境信息生成相应的投放控制请求,并将投放控制请求发送至服务器;随后,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告下载控制策略的列表中查找与接收到的投放控制请求相匹配的包含下载方式相关信息的广告控制相关信息如“Using system downloader”,发送该信息至终端;接着,终端接收服务器基于投放控制请求返回的包含下载方式相关信息的广告控制相关信息;最后,依据下载方式相关信息执行相应的下载相关操作,如通过终端中的系统默认的下载器进行下载相关操作。当然,也可以通过广告SDK内置下载器、应用程序内置下载器等下载器进行下载相关操作,但是无论通过什么方式进行下载相关操作都是依据下载方式相关信息执行的。Specifically, first, when the terminal detects that the advertising SDK is performing download-related operations, it obtains the advertisement delivery environment information, such as the terminal device model "MI-note", the network type "Wi-fi" to which the terminal device is connected, and the version number of the advertising SDK "" SDK2.2.3”; then, generate a corresponding delivery control request based on the advertisement delivery environment information, and send the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, contains the pre-formulated advertisement Search the list of download control policies for advertisement control-related information that matches the received delivery control request, such as "Using system downloader", and send the information to the terminal; then, the terminal receiving server returns based on the delivery control request. Advertisement control-related information including information about the download method; finally, perform corresponding download-related operations based on the download method-related information, such as performing download-related operations through the default downloader of the system in the terminal. Of course, you can also perform download-related operations through downloaders such as the built-in downloader in the advertising SDK and the built-in downloader in the application, but no matter what method is used to perform the download-related operations, it is executed based on the relevant information of the download method.
可选地,本发明实施例提供的方法还包括步骤S170:实时调整SDK进行广告投放操作的方式。Optionally, the method provided by the embodiment of the present invention further includes step S170: adjusting the way the SDK performs advertisement placement in real time.
优选地,实时调整SDK进行广告投放操作的方式的步骤包括步骤S171、步骤S172和步骤S173:步骤S171:通过监听接口实时监听服务器中的广告控制相关信息;步骤S172:当监听到所述广告控制相关信息发生变化时,获取变化后的广告控制相关信息;步骤S173:依据变化后的广告控制相关信息相应地调整广告投放的操作。Preferably, the step of real-time adjusting the way the SDK performs the advertisement delivery operation includes step S171, step S172 and step S173: step S171: monitor the advertisement control related information in the server in real time through the monitoring interface; step S172: when the advertisement control is detected When the related information changes, the changed advertisement control related information is acquired; Step S173 : the operation of adjusting the advertisement delivery accordingly according to the changed advertisement control related information.
具体地,可以通过JAVA中的观察者模式实现上述操作,其中,服务器作为被观察者,终端作为观察者,当观察者通过监听接口监听到被观察者中的广告控制相关信息发生变化时,如广告控制相关信息中的“Allowed to advertise”变化为“Forbidden toadvertise”,获取变化后的广告控制相关信息如“Forbidden to advertise”;随后,依据变化后的广告控制相关信息“Forbidden to advertise”相应地执行关闭广告投放的操作。Specifically, the above operations can be realized through the observer mode in JAVA, wherein the server acts as the observed object, and the terminal acts as the observer. Change the "Allowed to advertise" in the related information about advertising control to "Forbidden to advertise", and obtain the changed related information about advertising control such as "Forbidden to advertise"; then, according to the changed related information about advertising control "Forbidden to advertise", correspondingly Perform an action to turn off ad serving.
本发明的技术方案解决了如何基于终端中接收到的广告控制相关信息对广告SDK进行相应的控制的问题。首先,响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果,可以根据不同的广告触发事假相应地获取不同的广告投放环境信息和/或投放事件结果;随后,接收服务器基于投放控制请求返回的广告控制相关信息,并依据广告控制相关信息执行相应的广告投放操作,通过该步骤可以依据不同终端中的广告投放环境信息和/或投放事件结果获取到相应的广告控制相关信息,并以此执行相应的广告投放操作,通过终端与服务器的交互过程可以灵活地、实时地控制广告SDK的广告投放操作,从而实现了可控性较高的广告投放方案。The technical solution of the present invention solves the problem of how to control the advertisement SDK based on the advertisement control related information received in the terminal. Firstly, the advertisement delivery environment information and/or delivery event results are obtained in response to the advertisement delivery trigger event, and different advertisement delivery environment information and/or delivery event results can be obtained correspondingly according to different advertisement trigger events; then, the receiving server based on the delivery control Request the returned advertising control related information, and execute the corresponding advertising delivery operation based on the advertising control related information. Through this step, the corresponding advertising control related information can be obtained according to the advertising delivery environment information and/or delivery event results in different terminals, and In this way, the corresponding advertisement delivery operation is executed, and the advertisement delivery operation of the advertising SDK can be flexibly and real-time controlled through the interaction process between the terminal and the server, thereby realizing a highly controllable advertisement delivery scheme.
图2为本发明另一实施例的广告投放的控制装置的结构示意图。Fig. 2 is a schematic structural diagram of an advertisement placement control device according to another embodiment of the present invention.
获取模块210响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果。The obtaining module 210 obtains the advertisement placement environment information and/or the advertisement placement event result in response to the advertisement placement trigger event.
其中,广告投放触发事件包括但不限于广告SDK初始化、投放错误、展示、跳转和下载等相关事件;广告投放环境信息包括但不限于终端设备型号、终端设备连接的网络类型和广告SDK的版本号等信息。需要说明的是,响应于不同类型的广告投放触发事件,相应地可以获取不同的广告投放环境信息和/或投放事件结果以有针对性地进行广告投放操作的控制。Among them, ad delivery trigger events include but are not limited to related events such as ad SDK initialization, delivery error, display, jump, and download; ad delivery environment information includes but not limited to the terminal device model, the type of network connected to the terminal device, and the version of the ad SDK number and other information. It should be noted that, in response to different types of advertisement placement trigger events, correspondingly, different advertisement placement environment information and/or placement event results may be obtained to control advertisement placement operations in a targeted manner.
生成及发送模块220基于广告投放环境信息和/或投放事件结果生成相应的投放控制请求,并将投放控制请求发送至服务器。The generating and sending module 220 generates a corresponding placement control request based on the advertisement placement environment information and/or the placement event result, and sends the placement control request to the server.
在本实施例中,服务器接收到终端发送的投放控制请求,提取投放控制请求中的广告投放环境信息和/或投放事件结果;随后,在包含预先制定的广告投放控制策略列表中查找与提取到的广告投放环境信息和/或投放事件结果相匹配的广告控制相关信息,并将广告控制相关信息发送至终端。In this embodiment, the server receives the delivery control request sent by the terminal, extracts the advertisement delivery environment information and/or the delivery event result in the delivery control request; then, finds and extracts the Advertisement control-related information that matches the advertisement delivery environment information and/or delivery event results, and sends the advertisement control-related information to the terminal.
接收模块230接收服务器基于投放控制请求返回的广告控制相关信息。The receiving module 230 receives the advertisement control related information returned by the server based on the placement control request.
其中,广告控制相关信息包含对广告SDK进行相关控制操作所需的相关控制信息,广告SDK投放广告的操作都是基于该信息执行的。Among them, the advertisement control-related information includes relevant control information required for relevant control operations on the advertisement SDK, and the advertisement delivery operation of the advertisement SDK is performed based on this information.
执行模块240依据广告控制相关信息执行相应的广告投放操作。The execution module 240 executes the corresponding advertisement placement operation according to the information related to advertisement control.
在本发明第一优选实施例中,广告投放触发事件为广告SDK初始化事件时,生成及发送模块220具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;执行模块240包括第一生成及发送单元、第一接收单元和第一执行单元:第一生成及发送单元基于广告控制相关信息生成相应的广告信息获取请求,并将广告信息获取请求发送至服务器;第一接收单元接收服务器基于广告信息获取请求返回的广告信息;第一执行单元依据广告控制相关信息对广告信息执行相应的展示操作。In the first preferred embodiment of the present invention, when the advertisement placement trigger event is an advertisement SDK initialization event, the generating and sending module 220 is specifically configured to generate a corresponding advertisement placement control request based on the acquired advertisement placement environment information; the execution module 240 includes the first Generating and sending unit, first receiving unit and first execution unit: the first generating and sending unit generates a corresponding advertisement information acquisition request based on advertisement control related information, and sends the advertisement information acquisition request to the server; the first receiving unit receives the server Based on the advertisement information returned by the advertisement information acquisition request; the first execution unit executes a corresponding display operation on the advertisement information according to the advertisement control related information.
优选地,广告控制相关信息包括但不限于是否允许投放广告、允许投放广告的类型、广告展示方式、广告响应方式、跳转方式信息等信息。Preferably, information related to advertisement control includes, but is not limited to, information such as whether advertisements are allowed to be placed, types of advertisements allowed, advertisement display methods, advertisement response methods, and jumping methods.
具体地,首先,终端检测到广告SDK进行初始化操作时,获取广告投放环境信息,例如终端设备型号“MI-note”、终端设备连接的网络类型“Wi-fi”和广告SDK的版本号“SDK2.2.3”;接着,基于广告投放环境信息生成相应的投放控制请求,并将投放控制请求发送至服务器;随后,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告投放控制策略列表中查找与接收到的投放控制请求相匹配的广告控制相关信息如“Allowed to advertise、Banner type、At the top of the display、Open byDeepLink”,发送广告控制相关信息至终端;接着,终端接收服务器基于投放控制请求返回的广告控制相关信息;随后,基于广告控制相关信息生成相应的广告信息获取请求,并将广告信息获取请求发送至服务器,在该步骤中需要将广告控制相关信息中的至少部分信息也包含在广告信息获取请求中发送,例如需要将广告控制相关信息中的“Allowed toadvertise、Banner type”包含在广告信息获取请求中发送,以使服务器根据“Allowed toadvertise”信息获知终端已获取投放广告的相关权限,并且服务器需要返回Banner type类的广告信息;接着,接收服务器基于广告信息获取请求返回的广告信息;最后,依据广告控制相关信息对广告信息执行相应的展示操作,例如终端获取Banner type类的广告信息并依据广告控制相关信息“At the top of the display”将Banner type类的广告信息进行绘制操作并将绘制结果展示在终端设备屏幕中人机交互界面的顶部,当广告响应事件触发时根据广告控制相关信息“Open by DeepLink”响应广告操作。Specifically, first, when the terminal detects that the advertising SDK is performing an initialization operation, it obtains the advertisement delivery environment information, such as the terminal device model "MI-note", the network type "Wi-fi" connected to the terminal device, and the version number of the advertising SDK "SDK2 .2.3”; then, generate a corresponding delivery control request based on the advertisement delivery environment information, and send the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, includes the pre-established advertisement delivery Search the control policy list for the advertisement control related information that matches the received delivery control request, such as "Allowed to advertise, Banner type, At the top of the display, Open byDeepLink", and send the advertisement control related information to the terminal; then, the terminal Receive the advertising control related information returned by the server based on the delivery control request; then, generate a corresponding advertising information acquisition request based on the advertising control related information, and send the advertising information acquisition request to the server. In this step, the advertising control related information needs to be At least part of the information is also included in the advertisement information acquisition request, for example, the advertisement control related information "Allowed to advertise, Banner type" needs to be included in the advertisement information acquisition request, so that the server can know that the terminal has Obtain the relevant authority to place advertisements, and the server needs to return the advertisement information of the Banner type; then, receive the advertisement information returned by the server based on the advertisement information acquisition request; finally, perform corresponding display operations on the advertisement information according to the advertisement control related information, such as the terminal Obtain the advertisement information of the Banner type and draw the advertisement information of the Banner type according to the advertisement control related information "At the top of the display" and display the drawing result on the top of the human-computer interaction interface on the screen of the terminal device. When the advertisement When the response event is triggered, it responds to the advertising operation according to the advertising control related information "Open by DeepLink".
可选地,本发明实施例提供的装置还包括:判断模块当检测到获取待投放广告事件时,判断是否已获取到广告控制相关信息;若已获取到,执行模块240依据广告控制相关信息执行相应的广告投放操作。Optionally, the device provided by the embodiment of the present invention further includes: when the judging module detects the acquisition of the advertisement event to be delivered, judges whether the advertisement control related information has been obtained; if it has been obtained, the execution module 240 executes according to the advertisement control related information The corresponding ad serving action.
需要说明的是,在广告SDK第一次开启时会自动进行初始化操作,在终端检测到广告SDK进行初始化操作时,通过本发明实施例提供的方法获取广告控制相关信息,而上述操作过程需要消耗一定的时间,如果在该时间段内检测到获取待投放广告事件发生时,则将获取待投放广告事件挂起不执行,直至终端检测到获取到广告控制相关信息时,获取待投放广告的事件才会继续执行。It should be noted that when the advertising SDK is started for the first time, it will automatically perform the initialization operation. When the terminal detects that the advertising SDK is performing the initialization operation, the advertising control-related information is obtained through the method provided by the embodiment of the present invention, and the above operation process needs to consume For a certain period of time, if it is detected that the event of obtaining the advertisement to be delivered occurs within this time period, the acquisition of the event of the advertisement to be delivered will be suspended until the terminal detects that the relevant information of the advertisement control is obtained, and the event of the advertisement to be delivered will be obtained will continue to execute.
具体地,首先,当检测到获取待投放广告事件时,终端判断是否已获取到广告控制相关信息;随后,若已获取到,则检测广告控制相关信息中的是否允许投放广告信息是否为允许投放广告;接着,若允许投放广告,则发送获取待投放广告请求至服务器;随后,服务器接收终端发送的获取待投放广告请求,基于获取待投放广告请求返回广告信息;最后,终端接收服务器基于获取待投放广告请求返回的广告信息,并依据广告控制相关信息对广告信息执行相应的展示操作。Specifically, first, when detecting the event of obtaining an advertisement to be delivered, the terminal judges whether the advertisement control-related information has been acquired; then, if it has been acquired, it detects whether the advertisement information in the advertisement control-related information is allowed to be placed Then, if advertisements are allowed to be placed, send a request to obtain an advertisement to be delivered to the server; then, the server receives the request for obtaining an advertisement to be delivered sent by the terminal, and returns the advertisement information based on the request for obtaining the advertisement to be delivered; finally, the terminal receives the server based on the request to obtain the advertisement to be delivered Deliver the advertisement information returned by the advertisement request, and perform corresponding display operations on the advertisement information according to the advertisement control related information.
在本发明第二优选实施例中,广告投放触发事件为投放错误事件时,生成及发送模块220具体用于基于投放事件结果生成相应的投放控制请求;执行模块240具体用于依据广告控制相关信息对产生投放错误事件的广告SDK执行相应的暂停投放和/或修复投放操作。In the second preferred embodiment of the present invention, when the advertisement placement trigger event is a placement error event, the generating and sending module 220 is specifically used to generate a corresponding placement control request based on the result of the placement event; the execution module 240 is specifically used to control the relevant information based on the advertisement Perform corresponding operations to suspend delivery and/or repair delivery for the ad SDK that generated the delivery error event.
优选地,投放事件结果通过以下方式获取:通过广告SDK在终端设备的内存堆栈中获取投放事件结果。Preferably, the delivery event result is acquired in the following manner: the delivery event result is acquired in the memory stack of the terminal device through the advertising SDK.
需要说明的是,在广告SDK运行产生错误时,会产生相应的投放事件结果,该投放事件结果包括错误产生原因信息。引起广告SDK运行错误的原因有多种,其中,常见的为三种:It should be noted that when an error occurs during the operation of the advertising SDK, a corresponding delivery event result will be generated, and the delivery event result includes information about the cause of the error. There are many reasons for the running error of the advertising SDK, among which there are three common ones:
1.API不兼容,如广告SDK代码中调用了新版本操作系统存在的API而该广告SDK代码运行在旧版本的操作系统,该版本的操作系统中不存在被调用的API。1. API incompatibility, for example, the ad SDK code calls an API that exists in a new version of the operating system, but the ad SDK code runs on an old version of the operating system, and the called API does not exist in this version of the operating system.
2.内存溢出,此类问题常出现在内存较小的终端设备中。2. Memory overflow, such problems often appear in terminal devices with small memory.
3.广告SDK代码存在错误,如在广告SDK代码中调用了某一个包或某一个类,而在运行该广告SDK代码前未对上述包或类进行初始化操作,如果发生此类错误,在投放事件结果中还会加入错误代码行数、错误代码存在的包名或类名等信息。3. There is an error in the advertising SDK code. For example, a certain package or a certain class is called in the advertising SDK code, but the above-mentioned package or class is not initialized before running the advertising SDK code. If such an error occurs, the The event result will also add information such as the number of error code lines, the package name or class name where the error code exists.
具体地,首先,终端检测到广告SDK在投放广告的过程中产生投放错误时,通过广告SDK在终端设备的内存堆栈中获取投放事件结果,需要说明的是,广告SDK在终端设备的内存中运行,当广告SDK在投放广告的过程中产生投放错误时,终端设备自动将投放事件结果存储于内存堆栈中,因此可以通过广告SDK在终端设备的内存堆栈中读取投放事件结果;随后,基于投放事件结果生成相应的投放控制请求,并将投放控制请求发送至服务器;接着,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告投放错误控制策略列表中查找与接收到的投放控制请求相匹配的广告控制相关信息如“Stoprunning”,发送该信息至终端;接着,终端接收服务器基于投放控制请求返回的广告控制相关信息;最后,依据广告控制相关信息对广告信息执行相应的暂停投放操作。Specifically, first, when the terminal detects that an advertising SDK has placed an error in the process of delivering an advertisement, it obtains the delivery event result in the memory stack of the terminal device through the advertising SDK. It should be noted that the advertising SDK runs in the memory of the terminal device , when the advertising SDK generates a delivery error during the process of delivering an advertisement, the terminal device automatically stores the delivery event result in the memory stack, so the delivery event result can be read in the terminal device's memory stack through the advertising SDK; then, based on the delivery The event result generates a corresponding delivery control request, and sends the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, searches and receives the Advertisement control-related information that matches the delivery control request, such as "Stoprunning", sends the information to the terminal; then, the terminal receives the advertisement control-related information returned by the server based on the delivery control request; finally, executes corresponding actions on the advertisement information based on the advertisement control-related information Pause delivery for .
优选地,执行模块240包括第二生成及发送单元、第二接收单元和更新单元:第二生成及发送单元,用于基于投放事件结果生成相应的投放更新请求,并将投放更新请求发送至服务器;第二接收单元,用于接收服务器基于投放更新请求返回的广告SDK更新信息;更新单元,用于基于广告SDK更新信息更新广告SDK,以完成对产生投放错误事件的广告SDK的修复操作。Preferably, the execution module 240 includes a second generating and sending unit, a second receiving unit, and an updating unit: the second generating and sending unit is configured to generate a corresponding delivery update request based on the delivery event result, and send the delivery update request to the server The second receiving unit is used to receive the advertising SDK update information returned by the server based on the delivery update request; the updating unit is used to update the advertising SDK based on the advertising SDK update information, so as to complete the repair operation of the advertising SDK that generated the delivery error event.
需要说明的是,终端将包含错误产生原因的投放事件结果生成相应的投放更新请求,并将投放更新请求发送至服务器,服务器基于接收到的终端发送的投放更新请求确定广告SDK更新信息,并将该信息发送至终端;随后,终端接收服务器基于投放更新请求返回的广告SDK更新信息,并对广告SDK更新包执行更新和安装操作,以完成对产生投放错误事件的广告SDK的修复和替换的任务。It should be noted that the terminal will generate a corresponding delivery update request from the delivery event result containing the cause of the error, and send the delivery update request to the server, and the server will determine the update information of the advertising SDK based on the delivery update request sent by the terminal, and send This information is sent to the terminal; then, the terminal receives the advertising SDK update information returned by the server based on the delivery update request, and performs update and installation operations on the advertising SDK update package, so as to complete the task of repairing and replacing the advertising SDK that generated the delivery error event .
可选地,还可以不通过本发明第二优选实施例提供的装置来完成对产生投放错误事件的广告SDK的暂停投放操作和/或修复投放操作,转而通过服务器自动完成该操作,具体操作步骤如下:首先,终端将广告投放环境信息上传至服务器,服务器接收终端发送的广告投放环境信息,并将其存储于预定列表中;随后,若服务器接收到其他终端上报的安装了某一版本的广告SDK的某一终端产生了投放错误事件时,在存储广告投放环境信息的预定列表中查找与接收到的终端上报的产生投放错误事件的广告SDK的版本号和终端设备型号相匹配的终端设备标识,并自动将广告控制相关信息发送至与终端设备标识相应的终端上,以在用户未察觉到广告SDK存在错误之前自动完成对产生投放错误事件的广告SDK的暂停投放操作和/或修复操作。Optionally, instead of using the device provided by the second preferred embodiment of the present invention to complete the operation of suspending the delivery and/or repairing the delivery of the advertisement SDK that generated the delivery error event, the operation can be completed automatically by the server, the specific operation The steps are as follows: first, the terminal uploads the advertisement placement environment information to the server, and the server receives the advertisement placement environment information sent by the terminal, and stores it in the predetermined list; then, if the server receives reports from other terminals that a certain version of the When a terminal of the advertising SDK generates a delivery error event, search for a terminal device that matches the version number and terminal device model of the advertising SDK that generated the delivery error event reported by the received terminal in the predetermined list that stores the advertising delivery environment information ID, and automatically send advertising control-related information to the terminal corresponding to the terminal device ID, so as to automatically complete the suspension and/or repair operation of the advertising SDK that generated the delivery error event before the user is not aware of the error in the advertising SDK .
在本发明第三优选实施例中,广告投放触发事件为跳转事件时,生成及发送模块220具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;其中,广告控制相关信息包括跳转方式信息;执行模块240具体用于依据跳转方式信息执行相应的广告跳转操作。In the third preferred embodiment of the present invention, when the advertisement placement trigger event is a jump event, the generating and sending module 220 is specifically configured to generate a corresponding advertisement placement control request based on the acquired advertisement placement environment information; wherein, the advertisement control related information includes Skip mode information; the execution module 240 is specifically configured to execute corresponding advertisement jump operations according to the jump mode information.
具体地,首先,当用户对展示的广告信息产生兴趣时,会进一步进行对广告信息的选择操作以查看更多的广告信息,当终端检测到广告SDK进行跳转展示操作时,获取广告投放环境信息,例如终端设备型号“MI-note”、终端设备连接的网络类型“Wi-fi”和广告SDK的版本号“SDK2.2.3”;接着,基于广告投放环境信息生成相应的投放控制请求,并将投放控制请求发送至服务器;随后,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告跳转控制策略的列表中查找与接收到的投放控制请求相匹配的包含跳转展示方式信息的广告控制相关信息如“Using system browser”,发送该信息至终端;接着,终端接收服务器基于投放控制请求返回的包含跳转展示方式信息的广告控制相关信息;最后,依据跳转展示方式信息执行相应的广告跳转展示操作,如通过终端中的系统默认的浏览器打开跳转的广告页面。当然,也可以通过广告SDK内置浏览器、应用程序内置浏览器等浏览器打开跳转的广告页面,或直接打开终端中已经安装的指定应用程序的广告页面。但是无论通过什么方式打开跳转的广告页面都是依据跳转展示方式信息执行的。Specifically, first of all, when the user is interested in the displayed advertisement information, the user will further select the advertisement information to view more advertisement information. Information, such as the terminal device model "MI-note", the network type "Wi-fi" connected to the terminal device, and the version number of the advertising SDK "SDK2.2.3"; then, generate a corresponding delivery control request based on the advertising delivery environment information, and Send the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, searches for the URL that matches the received delivery control request in the list containing the pre-established advertisement jump control strategy. Advertisement control-related information such as "Using system browser" is sent to the terminal; then, the terminal receives the advertisement control-related information returned by the server based on the delivery control request, including the information of the redirection display method; finally, according to the redirection The display mode information executes the corresponding advertisement jump display operation, such as opening the redirected advertisement page through the default browser of the system in the terminal. Of course, you can also open the redirected advertisement page through browsers such as the built-in browser of the advertising SDK and the built-in application, or directly open the advertisement page of the specified application program already installed in the terminal. However, no matter what method is used to open the redirected advertisement page, it is executed based on the information of the redirected display method.
在本发明第四优选实施例中,广告投放触发事件为下载相关事件时,生成及发送模块220具体用于基于获取到的广告投放环境信息生成相应的投放控制请求;其中,广告控制相关信息包括下载方式相关信息;执行模块240具体用于依据下载方式相关信息执行相应的下载相关操作。In the fourth preferred embodiment of the present invention, when the advertisement placement trigger event is a download-related event, the generating and sending module 220 is specifically configured to generate a corresponding advertisement placement control request based on the acquired advertisement placement environment information; wherein, the advertisement control related information includes Information related to the downloading method; the executing module 240 is specifically configured to execute corresponding downloading related operations according to the related information on the downloading method.
具体地,首先,终端检测到广告SDK进行下载相关操作时,获取广告投放环境信息,例如终端设备型号“MI-note”、终端设备连接的网络类型“Wi-fi”和广告SDK的版本号“SDK2.2.3”;接着,基于广告投放环境信息生成相应的投放控制请求,并将投放控制请求发送至服务器;随后,服务器接收终端发送的投放控制请求,并基于投放控制请求在包含预先制定的广告下载控制策略的列表中查找与接收到的投放控制请求相匹配的包含下载方式相关信息的广告控制相关信息如“Using system downloader”,发送该信息至终端;接着,终端接收服务器基于投放控制请求返回的包含下载方式相关信息的广告控制相关信息;最后,依据下载方式相关信息执行相应的下载相关操作,如通过终端中的系统默认的下载器进行下载相关操作。当然,也可以通过广告SDK内置下载器、应用程序内置下载器等下载器进行下载相关操作,但是无论通过什么方式进行下载相关操作都是依据下载方式相关信息执行的。Specifically, first, when the terminal detects that the advertising SDK is performing download-related operations, it obtains the advertisement delivery environment information, such as the terminal device model "MI-note", the network type "Wi-fi" to which the terminal device is connected, and the version number of the advertising SDK "" SDK2.2.3”; then, generate a corresponding delivery control request based on the advertisement delivery environment information, and send the delivery control request to the server; then, the server receives the delivery control request sent by the terminal, and based on the delivery control request, contains the pre-formulated advertisement Search the list of download control policies for advertisement control-related information that matches the received delivery control request, such as "Using system downloader", and send the information to the terminal; then, the terminal receiving server returns based on the delivery control request. Advertisement control-related information including information about the download method; finally, perform corresponding download-related operations based on the download method-related information, such as performing download-related operations through the default downloader of the system in the terminal. Of course, you can also perform download-related operations through downloaders such as the built-in downloader in the advertising SDK and the built-in downloader in the application, but no matter what method is used to perform the download-related operations, it is executed based on the relevant information of the download method.
可选地,本发明实施例提供的装置还包括:调整模块实时调整SDK进行广告投放操作的方式。Optionally, the device provided in the embodiment of the present invention further includes: an adjustment module adjusts the way the SDK performs advertisement placement in real time.
优选地,调整模块包括实时监听单元、信息获取单元和操作调整单元:实时监听单元通过监听接口实时监听服务器中的广告控制相关信息;信息获取单元当监听到所述广告控制相关信息发生变化时,获取变化后的广告控制相关信息;操作调整单元依据变化后的广告控制相关信息相应地调整广告投放的操作。Preferably, the adjustment module includes a real-time monitoring unit, an information acquisition unit, and an operation adjustment unit: the real-time monitoring unit monitors the advertisement control-related information in the server in real time through the monitoring interface; when the information acquisition unit detects that the advertisement control-related information changes, The changed advertising control related information is obtained; the operation adjustment unit adjusts the operation of advertising delivery accordingly according to the changed advertising control related information.
具体地,可以通过JAVA中的观察者模式实现上述模块的功能,其中,服务器作为被观察者,终端作为观察者,当观察者通过监听接口监听到被观察者中的广告控制相关信息发生变化时,如广告控制相关信息中的“Allowed to advertise”变化为“Forbidden toadvertise”,获取变化后的广告控制相关信息如“Forbidden to advertise”;随后,依据变化后的广告控制相关信息“Forbidden to advertise”相应地执行关闭广告投放的操作。Specifically, the functions of the above modules can be realized through the observer mode in JAVA, wherein the server acts as the observed object, and the terminal acts as the observer. When the observer monitors the change of the advertisement control related information in the observed object , such as "Allowed to advertise" in the advertising control related information is changed to "Forbidden to advertise", obtain the changed advertising control related information such as "Forbidden to advertise"; then, according to the changed advertising control related information "Forbidden to advertise" Actions to turn off ad serving are performed accordingly.
本发明的技术方案解决了如何基于终端中接收到的广告控制相关信息对广告SDK进行相应的控制的问题。首先,响应于广告投放触发事件获取广告投放环境信息和/或投放事件结果,可以根据不同的广告触发事假相应地获取不同的广告投放环境信息和/或投放事件结果;随后,接收服务器基于投放控制请求返回的广告控制相关信息,并依据广告控制相关信息执行相应的广告投放操作,通过该步骤可以依据不同终端中的广告投放环境信息和/或投放事件结果获取到相应的广告控制相关信息,并以此执行相应的广告投放操作,通过终端与服务器的交互过程可以灵活地、实时地控制广告SDK的广告投放操作,从而实现了可控性较高的广告投放方案。The technical solution of the present invention solves the problem of how to control the advertisement SDK based on the advertisement control related information received in the terminal. Firstly, the advertisement delivery environment information and/or delivery event results are obtained in response to the advertisement delivery trigger event, and different advertisement delivery environment information and/or delivery event results can be obtained correspondingly according to different advertisement trigger events; then, the receiving server based on the delivery control Request the returned advertising control related information, and execute the corresponding advertising delivery operation based on the advertising control related information. Through this step, the corresponding advertising control related information can be obtained according to the advertising delivery environment information and/or delivery event results in different terminals, and In this way, the corresponding advertisement delivery operation is executed, and the advertisement delivery operation of the advertising SDK can be flexibly and real-time controlled through the interaction process between the terminal and the server, thereby realizing a highly controllable advertisement delivery scheme.
本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable ProgrammableRead-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically ErasableProgrammable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art will appreciate that the present invention includes devices related to performing one or more of the operations described in this application. These devices may be specially designed and fabricated for the required purposes, or they may include known devices found in general purpose computers. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program can be stored in a device (e.g., computer) readable medium, including but not limited to any type of medium suitable for storing electronic instructions and respectively coupled to a bus. Types of disks (including floppy disks, hard disks, CDs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (eg, a computer).
本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art will understand that computer program instructions can be used to implement each block in these structural diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in these structural diagrams and/or block diagrams and/or flow diagrams . Those skilled in the art can understand that these computer program instructions can be provided to general-purpose computers, professional computers, or processors of other programmable data processing methods for implementation, so that the computer or processors of other programmable data processing methods can execute the present invention. A scheme specified in a block or blocks of a structure diagram and/or a block diagram and/or a flow diagram of the invention disclosure.
本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the processes discussed in the present invention can be replaced, changed, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes that have been discussed in the present invention may also be replaced, changed, rearranged, decomposed, combined, or deleted. Further, steps, measures, and schemes in the prior art that have operations, methods, and processes disclosed in the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885838.2A CN107918880B (en) | 2016-10-11 | 2016-10-11 | Control method and device for advertisement putting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885838.2A CN107918880B (en) | 2016-10-11 | 2016-10-11 | Control method and device for advertisement putting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107918880A true CN107918880A (en) | 2018-04-17 |
CN107918880B CN107918880B (en) | 2022-01-25 |
Family
ID=61892556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610885838.2A Active CN107918880B (en) | 2016-10-11 | 2016-10-11 | Control method and device for advertisement putting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107918880B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109255649A (en) * | 2018-08-16 | 2019-01-22 | 美杉科技(北京)有限公司 | A kind of put-on method and system of information and Events Fusion advertisement |
CN109451003A (en) * | 2018-10-30 | 2019-03-08 | 深圳市亿晟科技有限公司 | A kind of method that advertisement machine solves system problem defect automatically |
CN112381588A (en) * | 2020-12-02 | 2021-02-19 | 恩亿科(北京)数据科技有限公司 | Method, system, equipment and storage medium for generating universal advertisement automatic-delivery calendar |
CN112423144A (en) * | 2020-10-30 | 2021-02-26 | 深圳市酷开软件技术有限公司 | Multimedia resource exception handling method, device, equipment and storage medium |
WO2024104305A1 (en) * | 2022-11-14 | 2024-05-23 | 华为技术有限公司 | Advertisement placement method and apparatus |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101365153A (en) * | 2007-08-08 | 2009-02-11 | 上海亿动信息技术有限公司 | Method and system distributing mobile phone advertisement publishing information according to time period |
CN101567898A (en) * | 2008-04-25 | 2009-10-28 | 中国移动通信集团公司 | Method, system and device for advertisement putting |
CN101730319A (en) * | 2008-10-16 | 2010-06-09 | 中兴通讯股份有限公司 | System and method for launching mobile network advertisement |
CN102081775A (en) * | 2009-11-27 | 2011-06-01 | 阿里巴巴集团控股有限公司 | Advertising method, system and equipment |
CN102708495A (en) * | 2012-01-06 | 2012-10-03 | 合一网络技术(北京)有限公司 | Method and device for controlling advertising frequency |
CN103257863A (en) * | 2013-04-28 | 2013-08-21 | 晶赞广告(上海)有限公司 | Method for delivering advertisement on mobile device |
CN103593791A (en) * | 2013-11-07 | 2014-02-19 | 广州优蜜信息科技有限公司 | Mobile advertisement putting method and system |
CN104008489A (en) * | 2013-02-21 | 2014-08-27 | 文翰易德(北京)文化传媒有限公司 | Internet video advertisement putting system and method based on face detection technology |
CN104966215A (en) * | 2015-07-01 | 2015-10-07 | 小米科技有限责任公司 | Advertisement information push method and apparatus |
US20150317691A1 (en) * | 2014-05-05 | 2015-11-05 | Spotify Ab | Systems and methods for delivering media content with advertisements based on playlist context, including playlist name or description |
CN105122288A (en) * | 2013-02-28 | 2015-12-02 | Lg电子株式会社 | Apparatus and method for processing a multimedia commerce service |
US20150363822A1 (en) * | 2013-12-16 | 2015-12-17 | Google Inc. | Splitting a purchase panel into sub-groups |
CN105184605A (en) * | 2015-08-21 | 2015-12-23 | 浙江视科文化传播有限公司 | Intelligent advertisement publishing system and method |
CN105451043A (en) * | 2015-12-02 | 2016-03-30 | 合一网络技术(北京)有限公司 | Offline advertisement delivery method and device |
CN105809463A (en) * | 2014-12-29 | 2016-07-27 | 王艳萍 | Advertisement putting method and system thereof |
-
2016
- 2016-10-11 CN CN201610885838.2A patent/CN107918880B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101365153A (en) * | 2007-08-08 | 2009-02-11 | 上海亿动信息技术有限公司 | Method and system distributing mobile phone advertisement publishing information according to time period |
CN101567898A (en) * | 2008-04-25 | 2009-10-28 | 中国移动通信集团公司 | Method, system and device for advertisement putting |
CN101730319A (en) * | 2008-10-16 | 2010-06-09 | 中兴通讯股份有限公司 | System and method for launching mobile network advertisement |
CN102081775A (en) * | 2009-11-27 | 2011-06-01 | 阿里巴巴集团控股有限公司 | Advertising method, system and equipment |
CN102708495A (en) * | 2012-01-06 | 2012-10-03 | 合一网络技术(北京)有限公司 | Method and device for controlling advertising frequency |
CN104008489A (en) * | 2013-02-21 | 2014-08-27 | 文翰易德(北京)文化传媒有限公司 | Internet video advertisement putting system and method based on face detection technology |
CN105122288A (en) * | 2013-02-28 | 2015-12-02 | Lg电子株式会社 | Apparatus and method for processing a multimedia commerce service |
CN103257863A (en) * | 2013-04-28 | 2013-08-21 | 晶赞广告(上海)有限公司 | Method for delivering advertisement on mobile device |
CN103593791A (en) * | 2013-11-07 | 2014-02-19 | 广州优蜜信息科技有限公司 | Mobile advertisement putting method and system |
US20150363822A1 (en) * | 2013-12-16 | 2015-12-17 | Google Inc. | Splitting a purchase panel into sub-groups |
US20150317691A1 (en) * | 2014-05-05 | 2015-11-05 | Spotify Ab | Systems and methods for delivering media content with advertisements based on playlist context, including playlist name or description |
CN105809463A (en) * | 2014-12-29 | 2016-07-27 | 王艳萍 | Advertisement putting method and system thereof |
CN104966215A (en) * | 2015-07-01 | 2015-10-07 | 小米科技有限责任公司 | Advertisement information push method and apparatus |
CN105184605A (en) * | 2015-08-21 | 2015-12-23 | 浙江视科文化传播有限公司 | Intelligent advertisement publishing system and method |
CN105451043A (en) * | 2015-12-02 | 2016-03-30 | 合一网络技术(北京)有限公司 | Offline advertisement delivery method and device |
Non-Patent Citations (1)
Title |
---|
胡菊香等: "利用类别引导词的投诉文本分类", 《现代图书情报技术》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109255649A (en) * | 2018-08-16 | 2019-01-22 | 美杉科技(北京)有限公司 | A kind of put-on method and system of information and Events Fusion advertisement |
CN109451003A (en) * | 2018-10-30 | 2019-03-08 | 深圳市亿晟科技有限公司 | A kind of method that advertisement machine solves system problem defect automatically |
CN109451003B (en) * | 2018-10-30 | 2021-08-03 | 深圳市亿晟科技有限公司 | Method for automatically solving system problem defects by advertisement player |
CN112423144A (en) * | 2020-10-30 | 2021-02-26 | 深圳市酷开软件技术有限公司 | Multimedia resource exception handling method, device, equipment and storage medium |
CN112423144B (en) * | 2020-10-30 | 2023-11-21 | 深圳市酷开软件技术有限公司 | Multimedia resource exception handling method, device, equipment and storage medium |
CN112381588A (en) * | 2020-12-02 | 2021-02-19 | 恩亿科(北京)数据科技有限公司 | Method, system, equipment and storage medium for generating universal advertisement automatic-delivery calendar |
CN112381588B (en) * | 2020-12-02 | 2024-06-11 | 恩亿科(北京)数据科技有限公司 | Method, system, equipment and storage medium for generating universal advertisement automatic calendar |
WO2024104305A1 (en) * | 2022-11-14 | 2024-05-23 | 华为技术有限公司 | Advertisement placement method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107918880B (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11711432B1 (en) | Remote management of application settings | |
US10558475B2 (en) | Apparatus and methods for widget intercommunication in a wireless communication environment | |
EP2815311B1 (en) | Using an application cache to update resources of installed applications | |
US9792623B2 (en) | Advertisement processing method and apparatus | |
CN107918880A (en) | The control method and device of advertisement putting | |
KR101995260B1 (en) | Method and system for providing app service | |
CN103782588A (en) | Transferring state information between electronic devices | |
CN106462635B (en) | Intelligent webpage content interception | |
CN102982052A (en) | Method and apparatus for splitting media files | |
JP2018174000A (en) | Method for device to display user interface and the device | |
AU2014265749A1 (en) | Kiosk application mode for operating system | |
CN103593408A (en) | Method and device for acquiring user subscription resources | |
CN107959928A (en) | The method for down loading and download apparatus of ad data bag in mobile terminal | |
CN105955768A (en) | Method and device for providing application use performance information | |
US10965768B2 (en) | Automatic browser inactivity detection method and apparatus | |
CN115729658A (en) | Method, device, equipment and storage medium for updating interface theme of live broadcast room | |
KR20160042302A (en) | Marketing method and system using an application | |
KR20110096994A (en) | Mobile terminal, shortcut widget management method and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240105 Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |