Movatterモバイル変換


[0]ホーム

URL:


CN110689378A - Advertisement position advertisement obtaining method and device and computer readable storage medium - Google Patents

Advertisement position advertisement obtaining method and device and computer readable storage medium
Download PDF

Info

Publication number
CN110689378A
CN110689378ACN201910939878.4ACN201910939878ACN110689378ACN 110689378 ACN110689378 ACN 110689378ACN 201910939878 ACN201910939878 ACN 201910939878ACN 110689378 ACN110689378 ACN 110689378A
Authority
CN
China
Prior art keywords
advertisement
service platform
sent
request
loading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910939878.4A
Other languages
Chinese (zh)
Inventor
饶福贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201910939878.4ApriorityCriticalpatent/CN110689378A/en
Publication of CN110689378ApublicationCriticalpatent/CN110689378A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开是关于一种广告位广告获取方法、装置及计算机可读存储介质。其中广告位广告获取方法,应用于终端设备,终端设备包括广告获取接口,广告获取接口用于根据广告位的广告需求向服务平台获取广告,包括:确定广告位的广告需求,其中,所述广告位对接多个服务平台及所述广告位的加载参数;根据所述广告需求,通过所述广告获取接口,向所述广告位对接的多个服务平台发送所述广告位加载广告的请求;通过所述广告获取接口接收一个或多个所述服务平台发送的所述广告;将接收到的所述广告存储和/或在所述广告位展示。通过本公开使广告投放更加高效,能够满足终端设备的需求,同时也能通过设置优先级干预使得能够按照实际所需进行投放。

Figure 201910939878

The present disclosure relates to a method, an apparatus, and a computer-readable storage medium for obtaining an advertisement in an advertisement space. The method for obtaining advertisements in an advertisement space is applied to a terminal device. The terminal device includes an advertisement obtaining interface, and the advertisement obtaining interface is used to obtain advertisements from the service platform according to the advertisement requirements of the advertisement space, including: determining the advertisement requirements of the advertisement space, wherein the advertisement Bit docking multiple service platforms and the loading parameters of the advertising slot; according to the advertising requirements, through the advertisement acquisition interface, send a request for loading the advertisement in the advertising slot to the multiple service platforms docked with the advertising slot; The advertisement acquisition interface receives the advertisements sent by one or more of the service platforms; and stores and/or displays the received advertisements in the advertisement space. The present disclosure makes advertisement delivery more efficient, can meet the needs of terminal devices, and at the same time, it can intervene by setting priorities so that the advertisement can be delivered according to actual needs.

Figure 201910939878

Description

Translated fromChinese
广告位广告获取方法、装置及计算机可读存储介质Advertising acquisition method, device and computer-readable storage medium

技术领域technical field

本公开涉及终端通信领域,尤其涉及广告位广告获取方法、装置、电子设备及计算机可读存储介质。The present disclosure relates to the field of terminal communications, and in particular, to a method, apparatus, electronic device, and computer-readable storage medium for obtaining advertisements in advertising spaces.

背景技术Background technique

随着智能终端的发展,终端设备中的软件应用(APP)在多种场景下都需要展示广告,如在终端设备进入某软件时或在使用软件过程中,广告可以通过实时加载展示或预存储再展示的方式展示给用户。With the development of smart terminals, software applications (APPs) in terminal devices need to display advertisements in various scenarios. For example, when the terminal device enters a software or uses the software, advertisements can be displayed by real-time loading or pre-stored. The way to display it again is displayed to the user.

有投放需求的厂商会将制作好的广告发送至不同的广告服务平台,广告可以是不同尺寸的广告视频、图片或文字等,以适用于不同广告位。终端设备向广告服务平台发送广告请求,服务平台将广告发送给终端设备。而目前,服务平台数量众多,针对不同的广告位也有不同的服务平台提供广告,终端设备需要向多个服务平台请求,并且要进行多服务平台的帐号申请,审核,结算对接等流程,流程繁琐且需要多服务平台之间的沟通,极大的浪费了人力和物力。Manufacturers with advertising needs will send the created advertisements to different advertising service platforms. The advertisements can be advertisement videos, pictures or texts of different sizes, etc., to be suitable for different advertising spaces. The terminal device sends an advertisement request to the advertisement service platform, and the service platform sends the advertisement to the terminal device. At present, there are a large number of service platforms, and different service platforms provide advertisements for different advertising spaces. Terminal equipment needs to request from multiple service platforms, and processes such as account application, review, and settlement docking of multiple service platforms are required. The process is cumbersome. Moreover, communication between multiple service platforms is required, which greatly wastes manpower and material resources.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本公开提供一种广告位广告投放方法、广告位广告获取方法、装置及计算机可读存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a method for placing an advertisement in an advertisement space, a method for obtaining an advertisement in an advertisement space, a device and a computer-readable storage medium.

根据本公开实施例的第一方面,提供一种广告位广告投放方法,应用于终端设备,终端设备包括广告获取接口,广告获取接口用于根据广告位的广告需求向多个服务平台获取广告,广告位广告获取方法包括:确定广告位的广告需求,其中,广告位对接多个服务平台及广告位的加载参数;根据广告需求,通过广告获取接口,向广告位对接的多个服务平台发送广告位加载广告的请求;通过广告获取接口接收一个或多个服务平台发送的广告;将接收到的广告存储和/或在广告位展示。According to a first aspect of the embodiments of the present disclosure, there is provided an advertisement placement method for an advertisement space, which is applied to a terminal device. The terminal device includes an advertisement acquisition interface, and the advertisement acquisition interface is used for obtaining advertisements from multiple service platforms according to the advertisement requirements of the advertisement space. The method for obtaining an advertisement for an advertisement space includes: determining the advertisement demand of the advertisement space, wherein the advertisement space is connected to multiple service platforms and loading parameters of the advertisement space; A request to load an advertisement; receive an advertisement sent by one or more service platforms through the advertisement acquisition interface; store and/or display the received advertisement in the advertisement position.

在一实施例中,本公开中的广告位广告获取方法还包括:通过广告获取接口向服务器发送广告位的广告加载请求;通过广告获取接口接收广告位对接的多个服务平台及广告位的加载参数,加载参数包括与广告位对接的每个服务平台的优先级。In one embodiment, the method for obtaining an advertisement for an advertisement space in the present disclosure further includes: sending an advertisement loading request for the advertisement space to a server through an advertisement obtaining interface; parameter, the loading parameter includes the priority of each service platform docked with the ad slot.

在一实施例中,通过广告获取接口,向广告位对接的多个服务平台发送广告位加载广告的请求,包括:In one embodiment, through an advertisement acquisition interface, a request for loading an advertisement from an advertisement slot is sent to multiple service platforms connected to the advertisement slot, including:

通过广告获取接口,基于优先级,向第一服务平台发送请求;若接收到第一服务平台发送的广告,则存储和/或在广告位展示广告;若接收到第一服务平台发送的加载失败通知,则通过广告获取接口,基于优先级,向下一优先级的第二服务平台发送请求;其中,第一服务平台和第二服务平台为广告位对接的多个服务平台中的一个或多个。Through the advertisement acquisition interface, based on the priority, a request is sent to the first service platform; if an advertisement sent by the first service platform is received, the advertisement will be stored and/or displayed in the advertisement position; if the loading failure sent by the first service platform is received notification, then through the advertisement acquisition interface, based on the priority, send a request to the second service platform of the next priority; wherein, the first service platform and the second service platform are one or more of the multiple service platforms connected to the advertising space. indivual.

在一实施例中,加载参数还包括:单次请求时间;向广告位对接的多个服务平台发送广告位加载广告的请求,还包括:若在到达向第一服务平台发送请求的单次请求时间时,未接收到第一服务平台发送的广告及加载失败通知,则通过广告获取接口,向第二服务平台发送请求。In one embodiment, the loading parameters further include: a single request time; sending a request to load an advertisement from an ad slot to multiple service platforms connected to the ad slot, and further comprising: if a single request to send a request to the first service platform arrives When the time expires, the advertisement and the loading failure notification sent by the first service platform are not received, and a request is sent to the second service platform through the advertisement acquisition interface.

在一实施例中,向广告位对接的多个服务平台发送广告位加载广告的请求,还包括:在到达向第二服务平台发送请求的单次请求时间时,接收到第二服务平台发送的广告,则判断是否接收到第一服务平台发送的广告:若接收到第一服务平台发送的广告,则存储和/或在广告位展示第一服务平台发送的广告;若未接收到第一服务平台发送的广告,则存储和/或在广告位展示第二服务平台发送的广告。In one embodiment, sending a request for loading an advertisement from an ad slot to multiple service platforms connected to the ad slot further includes: when the time for a single request to send the request to the second service platform arrives, receiving a request sent by the second service platform. advertisement, then judge whether the advertisement sent by the first service platform is received: if the advertisement sent by the first service platform is received, the advertisement sent by the first service platform will be stored and/or displayed in the advertisement space; if the first service platform is not received For advertisements sent by the platform, the advertisements sent by the second service platform shall be stored and/or displayed in the advertisement space.

在一实施例中,本公开涉及的广告位广告获取方法还包括:在向广告位对接的多个服务平台发送广告位加载广告的请求之前,确定广告的配置信息,配置信息用于确定广告位的广告需求。In one embodiment, the method for obtaining an advertisement for an advertisement space involved in the present disclosure further includes: before sending a request for loading an advertisement in the advertisement space to a plurality of service platforms connected to the advertisement space, determining configuration information of the advertisement, and the configuration information is used to determine the advertisement space. advertising needs.

在一实施例中,将接收到的广告存储之后,广告位广告获取方法还包括:In one embodiment, after the received advertisement is stored, the method for obtaining an advertisement for an advertisement space further includes:

在存储的广告数量满足配置信息中包括的广告需求时,从存储的广告中获取广告;预加载从存储的广告中获取的广告。When the number of stored advertisements meets the advertisement requirements included in the configuration information, the advertisements are obtained from the stored advertisements; the advertisements obtained from the stored advertisements are preloaded.

根据本公开实施例的第二方面,提供一种广告位广告获取装置,包括:处理单元,用于确定广告位的广告需求;广告获取接口,包括:第一发送单元和第一接收单元,用于根据广告位的广告需求向多个服务平台获取广告;其中第一发送单元用于根据广告需求,通过广告获取接口,向广告位对接的多个服务平台发送广告位加载广告的请求;第一接收单元,用于接收一个或多个服务平台发送的广告;存储单元和/或展示单元,存储单元用于将接收到的广告存储,展示单元用于将接收到的广告在广告位展示。According to a second aspect of the embodiments of the present disclosure, there is provided an advertisement acquisition device for an advertisement space, including: a processing unit for determining an advertisement requirement of an advertisement space; an advertisement acquisition interface, including: a first sending unit and a first receiving unit, which are used for obtaining advertisements. to obtain advertisements from multiple service platforms according to the advertisement requirements of the advertisement spaces; wherein the first sending unit is used to send requests for loading advertisements from the advertisement spaces to the multiple service platforms connected to the advertisement spaces through the advertisement acquisition interface according to the advertisement requirements; the first The receiving unit is used to receive advertisements sent by one or more service platforms; the storage unit and/or the display unit, the storage unit is used to store the received advertisements, and the display unit is used to display the received advertisements in the advertisement space.

在一实施例中,广告获取接口模块还包括:第二发送单元,用于向服务器发送广告位的广告加载请求;第二接收单元,用于接收广告位对接的多个服务平台及广告位的加载参数,加载参数包括与广告位对接的每个服务平台的优先级。In one embodiment, the advertisement acquisition interface module further includes: a second sending unit, configured to send an advertisement loading request for the advertisement space to the server; Loading parameters. The loading parameters include the priority of each service platform docked with the ad slot.

在一实施例中,第一发送单元采用如下方式通过广告获取接口,向广告位对接的多个服务平台发送广告位加载广告的请求:In one embodiment, the first sending unit uses the following method to send a request for loading an advertisement from an advertisement slot to a plurality of service platforms connected to the advertisement slot through the advertisement acquisition interface:

基于优先级,向第一服务平台发送请求;若接收到第一服务平台发送的广告,则通过存储单元存储广告和/或通过展示单元展示广告;若接收到第一服务平台发送的加载失败通知,则基于优先级,向下一优先级的第二服务平台发送请求;其中,第一服务平台和第二服务平台为广告位对接的多个服务平台中的一个或多个。Based on the priority, a request is sent to the first service platform; if an advertisement sent by the first service platform is received, the advertisement is stored in the storage unit and/or the advertisement is displayed through the display unit; if a loading failure notification sent by the first service platform is received , then based on the priority, a request is sent to the second service platform of the next priority; wherein the first service platform and the second service platform are one or more of the multiple service platforms connected to the advertising space.

在一实施例中,加载参数还包括:单次请求时间;第一发送单元还用于:若在到达向第一服务平台发送请求的单次请求时间时,未接收到第一服务平台发送的广告及加载失败通知,则向第二服务平台发送请求。In one embodiment, the loading parameters further include: a single request time; the first sending unit is further configured to: if the single request time for sending a request to the first service platform is reached, the first service platform has not received the request. If the advertisement and the loading failure notification are sent, a request is sent to the second service platform.

在一实施例中,第一发送单元还用于:在到达向第二服务平台发送请求的单次请求时间时,接收到第二服务平台发送的广告,则判断是否接收到第一服务平台发送的广告:若接收到第一服务平台发送的广告,则通过存储单元存储第一服务平台发送的广告和/或通过展示单元展示第一服务平台发送的广告;若未接收到第一服务平台发送的广告,则通过存储单元存储第二服务平台发送的广告和/或通过展示单元展示第二服务平台发送的广告。In one embodiment, the first sending unit is further configured to: when the time for a single request to send a request to the second service platform arrives, and receive the advertisement sent by the second service platform, then determine whether to receive the advertisement sent by the first service platform. advertisement: if an advertisement sent by the first service platform is received, the advertisement sent by the first service platform is stored in the storage unit and/or the advertisement sent by the first service platform is displayed through the display unit; if the advertisement sent by the first service platform is not received The advertisements sent by the second service platform are stored in the storage unit and/or the advertisements sent by the second service platform are displayed through the display unit.

在一实施例中,处理单元还用于:在第一发送单元向广告位对接的多个服务平台发送广告位加载广告的请求之前,确定广告的配置信息,配置信息用于确定广告位的广告需求。In one embodiment, the processing unit is further configured to: determine configuration information of the advertisement before the first sending unit sends a request for loading the advertisement in the advertisement space to multiple service platforms connected to the advertisement space, and the configuration information is used to determine the advertisement of the advertisement space. need.

在一实施例中,广告位广告获取装置还包括预加载单元;预加载单元用于在存储的广告数量满足配置信息中包括的广告需求时,从存储的广告中获取广告,预加载从存储的广告中获取的广告。In one embodiment, the device for obtaining advertisements for advertisement spaces further includes a preloading unit; the preloading unit is configured to obtain advertisements from the stored advertisements when the number of stored advertisements meets the advertisement requirements included in the configuration information, and preload the advertisements from the stored advertisements. Ads captured in Ads.

根据本公开实施例的第三方面,提供一种电子设备,包括:存储器,用于存储指令;以及处理器,用于调用存储器存储的指令执行第一方面或第一方面任意一实施例的广告位广告获取方法。According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including: a memory for storing instructions; and a processor for invoking the instructions stored in the memory to execute the advertisement of the first aspect or any embodiment of the first aspect How to get an advertisement.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,存储有指令,指令被处理器执行时,执行第一方面或第一方面任意一实施例的广告位广告获取方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing instructions, and when the instructions are executed by a processor, the first aspect or the method for obtaining an advertisement space advertisement of any embodiment of the first aspect is executed.

本公开的实施例提供的技术方案可以包括以下有益效果:通过广告获取接口根据每个广告位的广告需求,向广告位对接的服务平台发送加载广告的请求,并通过广告获取接口接收一个或多个服务平台发送的广告,使得广告投放更加高效,能够满足终端设备的需求,同时也能通过设置优先级干预使得能够按照实际所需进行投放。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: sending a request for loading an advertisement to a service platform connected to the advertisement slot according to the advertisement requirements of each advertisement slot through the advertisement obtaining interface, and receiving one or more advertisements through the advertisement obtaining interface The advertisements sent by each service platform make the advertisement delivery more efficient and can meet the needs of terminal devices, and at the same time, it can also be set according to the actual needs by setting the priority to intervene.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种广告位广告获取方法的流程示意图;FIG. 1 is a schematic flowchart of a method for obtaining an advertisement in an advertisement space according to an exemplary embodiment;

图2是根据一示例性实施例示出的另一种广告位广告获取方法的流程示意图;FIG. 2 is a schematic flowchart of another method for obtaining an advertisement in an advertisement space according to an exemplary embodiment;

图3是根据一示例性实施例示出的一种广告位广告获取装置的示意框图;FIG. 3 is a schematic block diagram of an apparatus for obtaining an advertisement in an advertisement space according to an exemplary embodiment;

图4是根据一示例性实施例示出的另一种广告位广告获取装置的示意框图;FIG. 4 is a schematic block diagram of another apparatus for obtaining advertisements in advertisement spaces according to an exemplary embodiment;

图5是根据一示例性实施例示出的一种装置的示意框图。Fig. 5 is a schematic block diagram of an apparatus according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种电子装置的示意框图。Fig. 6 is a schematic block diagram of an electronic device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.

目前终端设备中的有些软件仅和一个服务平台对接获取广告,导致广告投放效果差,而如果向多个服务平台对接获取广告,则成本高,账号申请繁琐,服务平台之间沟通成本高,也不能调节多个服务平台的投放策略。At present, some software in terminal devices only connect with one service platform to obtain advertisements, which leads to poor advertising effect. However, if it connects to multiple service platforms to obtain advertisements, the cost is high, the account application is cumbersome, and the communication cost between service platforms is high. The delivery strategy of multiple service platforms cannot be adjusted.

本公开提供一种广告位广告获取方法10,应用于终端设备,终端设备包括广告获取接口,广告获取接口用于根据广告位的广告需求向服务平台获取广告,其中,广告获取接口可以是终端设备中的软件开发工具包的接口(Software Development Kit,SDK),通过软件开发工具包统一接入终端设备中的软件以及能够以软件开发工具包聚合多个服务平台以向多个服务平台获取广告,参见图1,广告位广告获取方法10包括:步骤S11-步骤S14,以下详细说明:The present disclosure provides anadvertisement acquisition method 10 for an advertisement space, which is applied to a terminal device. The terminal device includes an advertisement acquisition interface, and the advertisement acquisition interface is used to acquire advertisements from a service platform according to the advertisement requirements of the advertisement space, wherein the advertisement acquisition interface may be a terminal device. The interface of the software development kit (Software Development Kit, SDK) in the software development kit, unified access to the software in the terminal device through the software development kit, and can aggregate multiple service platforms with the software development kit to obtain advertisements from multiple service platforms, Referring to FIG. 1 , themethod 10 for obtaining an advertisement for an advertisement space includes steps S11 to S14, which are described in detail below:

步骤S11,确定广告位的广告需求。Step S11, determining the advertisement demand of the advertisement space.

终端设备在一些情景下,如一些软件中的首屏广告位,需要获取广告以展示或存储已备之后展示,终端设备根据需要加载广告的广告位确定广告需求。In some scenarios, such as the first screen advertising space in some software, the terminal device needs to obtain the advertisement to display or store it for display. The terminal device determines the advertising demand according to the advertising space that needs to load the advertisement.

步骤S12,根据广告需求,通过广告获取接口,向广告位对接的多个服务平台发送加载广告的请求。Step S12 , according to the advertisement requirements, through the advertisement acquisition interface, send a request for loading advertisements to multiple service platforms connected to the advertisement space.

一种实施方式中,本公开中可基于广告位对接的多个服务平台及广告位的加载参数投放策略,向服务平台发送加载广告的请求。其中,加载参数包括与广告位对接的每个服务平台的优先级。In one embodiment, in the present disclosure, a request for loading an advertisement may be sent to the service platform based on the multiple service platforms connected to the advertisement slot and the loading parameter placement strategy of the advertisement slot. Wherein, the loading parameter includes the priority of each service platform docked with the ad slot.

响应于终端设备的广告需求,并根据该广告位对接的服务平台以及加载参数,通过一个广告获取接口向服务平台发送请求,请求获取该广告位的广告,而不直接通过该广告位所在的软件或其他媒体直接向服务平台进行请求获取广告。由于通过一个广告获取接口向服务平台发送请求,避免了终端设备中,多个软件均需要与多个服务平台注册的成本。In response to the advertisement requirements of the terminal device, and according to the service platform connected to the advertisement slot and the loading parameters, a request is sent to the service platform through an advertisement acquisition interface to request the advertisement of the advertisement slot, without directly going through the software where the advertisement slot is located. Or other media directly request the service platform to obtain advertisements. Since the request is sent to the service platform through an advertisement acquisition interface, the cost of registering multiple software with multiple service platforms in the terminal device is avoided.

步骤S13,通过广告获取接口接收服务平台发送的广告。Step S13, receiving the advertisement sent by the service platform through the advertisement obtaining interface.

服务平台响应于终端设备发送的请求,将相应广告位的广告发送给终端设备。In response to the request sent by the terminal device, the service platform sends the advertisement of the corresponding advertisement space to the terminal device.

步骤S14,将接收到的广告存储和/或在广告位展示。In step S14, the received advertisement is stored and/or displayed in the advertisement space.

接收到的广告可以预先下载并存储在终端设备中,以便于一些广告位快速高效的加载广告,避免加载延迟;另外一些情况下,软件广告位需要实时加载广告的情况下,则将获取的广告直接在广告位展示。The received advertisements can be pre-downloaded and stored in the terminal device, so that some advertisements can be loaded quickly and efficiently to avoid loading delay; in other cases, when software advertisements need to load advertisements in real time, the advertisement Display directly in the ad slot.

通过上述实施例,终端设备中采用一个广告获取接口,如软件开发工具包的接口,根据广告需求能够对接多个服务平台,能够使得终端设备高效、便捷的向多服务平台获取广告。Through the above embodiment, the terminal device adopts an advertisement acquisition interface, such as an interface of a software development kit, which can connect to multiple service platforms according to advertisement requirements, so that the terminal device can efficiently and conveniently acquire advertisements from multiple service platforms.

在一实施例中,本公开中可预先配置广告的配置信息,通过配置信息确定广告位的广告需求,包括广告数量、加载方式等。换言之,本公开中在向广告位对接的多个服务平台发送广告位加载广告的请求之前还包括确定广告的配置信息。本公开中配置信息可由终端配置,也可由服务器配置。In one embodiment, configuration information of advertisements can be pre-configured in the present disclosure, and the advertisement requirements of the advertisement space are determined by the configuration information, including the number of advertisements, the loading method, and the like. In other words, the present disclosure further includes determining the configuration information of the advertisement before sending a request for loading an advertisement to the advertisement slot to multiple service platforms connected to the advertisement slot. The configuration information in the present disclosure can be configured by the terminal and also by the server.

在一实施例中,如图2所示,广告位广告获取方法10还包括:步骤S15,通过广告获取接口向服务器发送广告位的广告加载请求;步骤S16,通过广告获取接口接收广告位对接的多个服务平台及加载参数。In one embodiment, as shown in FIG. 2 , themethod 10 for obtaining an advertisement for an advertisement space further includes: step S15 , sending an advertisement loading request for the advertisement space to the server through an advertisement obtaining interface; Multiple service platforms and loading parameters.

服务器对广告位进行获取广告的方式进行配置,确定该广告位对接的服务平台,可以根据不同服务平台对该广告位的报价或投放需求进行对接。而一个广告位对接多个服务平台,通过加载参数确定投放的方式,针对实际需求,一些服务平台应优先采用,因此,对每个对接的服务平台设置对应的优先级,优先级越高的服务平台,在终端设备需求广告时,能够越优先或越高比例的采用。The server configures the way of acquiring advertisements for the advertisement space, determines the service platform to which the advertisement space is connected, and can connect the advertisement space according to the quotation or delivery demand of the advertisement space from different service platforms. However, an ad slot is connected to multiple service platforms, and the delivery method is determined by loading parameters. According to actual needs, some service platforms should be used first. Therefore, set the corresponding priority for each connected service platform, and the service with the higher priority should be used. The platform can be used more preferentially or in a higher proportion when terminal devices demand advertisements.

同时服务器也对广告位的一些信息进行汇总和录入,便于对广告位的广告加载方式进行管理,如,广告位ID、与广告位匹配的广告样式。服务器在对广告位进行初始设置时,可以设置该广告位的基本信息,如广告位ID,该广告位ID在服务器、终端设备以及服务平台都一致;与广告位匹配的广告样式可以设置该广告位适合的广告样式,如图片、视频或文字、在广告位中的展示位置和形式、以及具体尺寸大小或内容多少,便于服务平台提供合适的广告进行匹配。广告位基本信息还可以包括:广告位名称、描述信息、位置等,广告样式可以包括但不限于:信息流原生广告形式:信息流大图、信息流小图、信息流组图、信息流视频;视频广告形式:全屏视频、视频广告(横竖屏)、横屏视频、激励视频;横幅(banner)形式:大图、小图、图文、竖屏;插屏方式:竖版插屏、横版插屏。At the same time, the server also summarizes and enters some information of the advertisement space, so as to facilitate the management of the advertisement loading method of the advertisement space, such as the advertisement space ID and the advertisement style matching the advertisement space. When the server initially sets the ad slot, it can set the basic information of the ad slot, such as the ad slot ID, the ad slot ID is the same on the server, the terminal device and the service platform; the advertisement style that matches the ad slot can be set for the ad slot Ad styles that are suitable for the position, such as pictures, videos or text, the placement and form in the ad space, and the specific size or content, so that the service platform can provide suitable advertisements for matching. The basic information of the advertisement space may also include: the name of the advertisement space, description information, location, etc., and the advertisement style may include but not limited to: information flow native advertisement form: information flow big picture, information flow small picture, information flow group picture, information flow video ;Video advertising formats: full-screen video, video advertising (horizontal and vertical screens), horizontal screen videos, and rewarded videos; Version Interstitial.

服务器对于一个广告位可以设置多个投放方式,及一个广告位可以对接不同的几组服务平台或对应不同的加载参数,从而进行对比测试(AB test),在同一环境比对不同的投放策略,找到更好的投放策略以供之后投放使用或对其他类似场景的起到参考作用。一般可以将不同的投放策略设置相同的比例值,在一些情况下也可以设置彼此不同的比例值,该比例值即为对应的投放策略的发送数占全部投放策略发送数的比例,按照设置的比例值,对不同的终端设备发送不同的投放策略,总体使得不同投放策略发送的比例满足对应的比例值。The server can set multiple delivery methods for an advertising slot, and an advertising slot can be connected to different groups of service platforms or corresponding to different loading parameters, so as to conduct a comparative test (AB test), and compare different delivery strategies in the same environment. Find a better delivery strategy for later delivery or serve as a reference for other similar scenarios. Generally, the same ratio value can be set for different delivery strategies, and in some cases, different ratio values can also be set. The ratio value, different delivery strategies are sent to different terminal devices, so that the ratio sent by different delivery strategies generally meets the corresponding ratio value.

服务器对广告位的广告加载方式定期或根据事件进行维护。终端设备可以基于广告位的广告需求向服务器实时的获取该广告位对接的服务平台及加载参数,也可以预先获取上述数据,在确定广告位的广告需求后,根据预先获取的该广告位对接的服务平台以及加载参数通过广告获取接口向服务平台获取广告。The way the server loads ads for the ad slots is maintained on a regular basis or based on events. The terminal device can obtain the service platform and loading parameters of the ad slot docking from the server in real time based on the advertisement demand of the advertisement slot, or obtain the above data in advance. The service platform and the loading parameters obtain advertisements from the service platform through the advertisement obtaining interface.

在一实施例中,步骤S12包括:通过广告获取接口,基于优先级,向第一服务平台发送请求;若接收到第一服务平台发送的广告,则存储和/或展示广告;若接收到第一服务平台发送的加载失败通知,则基于优先级,向下一优先级的第二服务平台发送请求。In one embodiment, step S12 includes: sending a request to the first service platform based on the priority through the advertisement acquisition interface; if receiving the advertisement sent by the first service platform, storing and/or displaying the advertisement; If a loading failure notification is sent by a service platform, based on the priority, a request is sent to the second service platform with the next priority.

本实施例中,终端设备通过广告获取接口采用串行方式向多个服务平台发送加载广告的请求,即,根据优先级,向优先级最高的服务平台发送请求,如果收到广告,则完成加载,根据实际需求,如果是预加载就存储广告,如果是实时展示则将收到的广告进行展示。如果加载失败,则根据优先级,向下一个服务平台发送请求,依次类推,保证优先获取优先级高的服务平台。In this embodiment, the terminal device sends a request for loading advertisements to multiple service platforms in a serial manner through the advertisement acquisition interface, that is, according to the priority, it sends a request to the service platform with the highest priority, and if an advertisement is received, the loading is completed. , according to the actual demand, if it is preloaded, the advertisement will be stored, and if it is displayed in real time, the received advertisement will be displayed. If the loading fails, send a request to the next service platform according to the priority, and so on, to ensure that the service platform with the highest priority is obtained first.

在另一实施例中,加载参数还包括:单次请求时间;步骤S12还包括:若在到达向第一服务平台发送请求的单次请求时间时,未接收到第一服务平台发送的广告及加载失败通知,则通过广告获取接口向第二服务平台发送请求。In another embodiment, the loading parameters further include: a single request time; step S12 further includes: if the single request time for sending a request to the first service platform is reached, the advertisement sent by the first service platform and the If the loading failure notification is sent, a request is sent to the second service platform through the advertisement acquisition interface.

本实施例中,同样采用串行方式向服务平台依次发送请求,而为了保证获取的效率设置了单次请求时间。在发送请求后,当出现掉网或其他原因造成的长时间未接收到广告也未接收到失败通知的情况,终端设备如果一直等待则会造成获取广告的时间过长,效率低下,或不能满足实时展示的需求。通过设置单次请求时间,当出现上述情况,从发送请求起,到达单次请求时间后,未接收到广告及失败通知,则终端设备不再继续等待,而是根据优先级,向下一个服务平台发送请求,以此类推。从而保证了广告获取的成功率和效率。In this embodiment, requests are also sent to the service platform in sequence in a serial manner, and a single request time is set to ensure the efficiency of acquisition. After the request is sent, when the network is dropped or the failure notification is not received for a long time due to network failure or other reasons, if the terminal device keeps waiting, it will take too long to obtain the advertisement, the efficiency will be low, or it will not be able to meet the Real-time display needs. By setting the single request time, when the above situation occurs, from the time of sending the request to the time of the single request, and no advertisement or failure notification is received, the terminal device will not continue to wait, but will serve the next service according to the priority. The platform sends the request, and so on. Thereby ensuring the success rate and efficiency of advertising acquisition.

在又一实施例中,步骤S12还包括:在到达向第二服务平台发送请求的单次请求时间时,接收到第二服务平台发送的广告,则判断是否接收到第一服务平台发送的广告:若接收到第一服务平台发送的广告,则存储和/或展示第一服务平台发送的广告;若未接收到第一服务平台发送的广告,则存储和/或展示第二服务平台发送的广告。In yet another embodiment, step S12 further includes: when the time for a single request to send a request to the second service platform arrives, and an advertisement sent by the second service platform is received, then determining whether an advertisement sent by the first service platform is received : If an advertisement sent by the first service platform is received, store and/or display the advertisement sent by the first service platform; if no advertisement sent by the first service platform is received, store and/or display the advertisement sent by the second service platform advertise.

在前一实施例的基础上,为了更好的保证优先级高的服务平台提供的广告能够更优先、更多的被采纳,本实施例中,在向第一服务平台发送请求后,经过单次请求时间后未接收到广告也未接收到失败通知,则向第二服务平台发送请求,而此时第一服务平台可能仍在响应,如果接收到第二服务平台发送的广告,此时先等待,等待到达向第二服务平台发送请求的单次请求时间,在此期间,如果接收到第一服务平台发送的广告,则采用第一服务平台发送的广告。从而更加保证了优先级高的服务平台的权益。On the basis of the previous embodiment, in order to better ensure that the advertisements provided by the service platform with high priority can be adopted more preferentially and more, in this embodiment, after sending a request to the first service platform, after a single After the first request time, neither the advertisement nor the failure notification is received, the request will be sent to the second service platform, and the first service platform may still be responding at this time. If an advertisement sent by the second service platform is received, the Wait until the time for a single request to send a request to the second service platform is reached, during which time, if an advertisement sent by the first service platform is received, the advertisement sent by the first service platform is used. Thus, the rights and interests of the service platform with high priority are further guaranteed.

上述串行方式向服务平台发送请求的任一实施例,在保证优先级高的服务平台权益时,能够节约网络资源和系统资源,也由于一次仅向一个服务平台发送请求,导致获取时间慢,更加适宜终端设备在对一些广告位进行预加载时采用,即在后台提前获取广告位的广告,并存储,之后在展开广告位时即读取本地广告完成展示。下面实施例介绍并行方式,该种方式能够缩短获取到广告的时间,因此可以适用于广告位实时加载广告的情景。Any of the above-mentioned embodiments of sending a request to a service platform in a serial manner can save network resources and system resources when ensuring the rights and interests of a service platform with a high priority, but also because the request is only sent to one service platform at a time, the acquisition time is slow, It is more suitable for the terminal device to use when preloading some advertising spaces, that is, to obtain the advertisement of the advertising space in the background in advance, store it, and then read the local advertisement to complete the display when the advertising space is expanded. The following embodiment introduces a parallel method, which can shorten the time for obtaining an advertisement, and thus can be applied to a scenario where an advertisement is loaded in real time in an advertisement space.

在一实施例中,加载参数还包括:并发个数N,其中N为大于1的整数;步骤S12,包括:通过广告获取接口,基于优先级,同时向第一批N个服务平台发送请求;若接收到第一批N个服务平台中的一个或多个服务平台发送的广告,则存储和/或展示其中优先级最高的服务平台发送的广告;若接收到第一批N个服务平台分别发送的N个加载失败通知,则通过广告获取接口基于优先级,向下一优先级的第二批N个服务平台同时发送请求。In one embodiment, the loading parameters further include: the concurrent number N, where N is an integer greater than 1; step S12 includes: obtaining an interface through an advertisement, based on the priority, simultaneously sending requests to the first batch of N service platforms; If an advertisement sent by one or more service platforms in the first batch of N service platforms is received, the advertisement sent by the service platform with the highest priority will be stored and/or displayed; Sending N loading failure notifications, based on the priority through the advertisement acquisition interface, simultaneously send requests to the second batch of N service platforms with the next priority.

终端设备通过广告获取接口接收的加载策略中包括并发个数N,即采用并行方式同时向N个该广告位对接的服务平台发送请求,同样需要考虑优先级,第一批向优先级最高的前N个服务平台发送请求,N个服务平台响应于请求,向终端设备发送广告,如果终端设备接收到多个广告,则根据优先级选取优先级最高的服务平台发送的广告。如果第一批N个服务平台均失败,则向剩下的服务平台中优先级最高的N个发送请求,以此类推。由于同时向多个服务平台并行发送请求,因此能够更加快速的获取广告,满足终端设备需求。The loading strategy received by the terminal device through the advertisement acquisition interface includes the concurrent number N, that is, the request is sent to N service platforms connected to the advertisement slot in parallel, and the priority also needs to be considered. N service platforms send requests, and N service platforms send advertisements to the terminal device in response to the request. If the terminal device receives multiple advertisements, the advertisement sent by the service platform with the highest priority is selected according to the priority. If the first batch of N service platforms all fail, a request is sent to the N with the highest priority among the remaining service platforms, and so on. Since requests are sent to multiple service platforms in parallel, advertisements can be obtained more quickly to meet the needs of terminal devices.

在另一实施例中,加载参数还包括:单次请求时间;步骤S12还包括:若在到达同时向第一批N个服务平台发送请求的单次请求时间时,未接收到第一批N个服务平台中任一服务平台发送的广告及加载失败通知,则通过广告获取接口,同时向第二批N个服务平台发送请求。In another embodiment, the loading parameters further include: a single request time; step S12 further includes: if the first batch of N is not received when the single request time for simultaneously sending requests to the first batch of N service platforms is reached For advertisements and loading failure notifications sent by any one of the service platforms, the advertisement acquisition interface is used to send requests to the second batch of N service platforms at the same time.

本实施例中设置的单次请求时间,与前述串行方式实施例中的单次请求时间运用原理相同,区别仅在于并行请求时,每次是向多个服务平台发送请求。通过设置该单次请求时间也能进一步保证广告获取效率。The single request time set in this embodiment is the same as the single request time operation principle in the foregoing serial mode embodiment, the difference is only that when a parallel request is made, requests are sent to multiple service platforms each time. By setting the single request time, the advertisement acquisition efficiency can be further ensured.

在又一实施例中,步骤S12还包括:在到达同时向第二批N个服务平台发送请求的单次请求时间时,接收到第二批N个服务平台中一个或多个服务平台发送的广告,则判断是否接收到第一批N个服务平台中一个或多个服务平台发送的广告:若接收到第一批N个服务平台中一个或多个服务平台发送的广告,则存储和/或展示其中优先级最高的服务平台发送的广告;若未接收到第一批N个服务平台中一个或多个服务平台发送的广告,则存储和/或展示第二批N个服务平台中一个或多个服务平台发送的广告其中优先级最高的服务平台发送的广告。In yet another embodiment, step S12 further includes: when a single request time for simultaneously sending requests to the second batch of N service platforms is reached, receiving a request sent by one or more service platforms in the second batch of N service platforms. If an advertisement is received from one or more service platforms in the first batch of N service platforms, it is judged whether an advertisement sent by one or more service platforms in the first batch of N service platforms is received: if an advertisement sent by one or more service platforms in the first batch of N service platforms is received, the storage and/or Or display the advertisement sent by the service platform with the highest priority; if the advertisement sent by one or more service platforms in the first batch of N service platforms is not received, store and/or display one of the second batch of N service platforms. or advertisements sent by multiple service platforms, among which the advertisements sent by the service platform with the highest priority.

本实施例中的等待方式,与前述串行方式实施例中运用原理相同,在由于第一批N个服务平台中的一些服务平台未及时响应造成的超时,在向第二批发送请求后可能还会接收到第一批N个服务平台中的一个或多个服务平台发送的广告,此时为了保障优先级高的服务平台的权益,依然采用接收到的第一批N个服务平台中优先级相对高的服务平台发送的广告。The waiting mode in this embodiment is the same as the application principle in the foregoing serial mode embodiment. In the case of a timeout caused by some service platforms in the first batch of N service platforms failing to respond in time, after the request is sent to the second batch, it may be It will also receive advertisements sent by one or more service platforms in the first batch of N service platforms. At this time, in order to protect the rights and interests of the service platforms with high priority, the first batch of N service platforms received will still be preferred. advertisements sent by relatively high-level service platforms.

在一实施例中,加载参数还包括:广告存储条数范围;步骤S14包括:若接收的广告的数量小于广告存储条数范围的下限值,则通过广告获取接口,基于广告位对接的多个服务平台及广告位的加载参数,继续向服务平台发送加载广告的请求;若接收的广告的数量大于广告存储条数范围的上限值,则基于优先级,存储广告至上限值。In one embodiment, the loading parameters further include: a range of the number of advertisements to be stored; step S14 includes: if the number of received advertisements is less than the lower limit of the range of the number of advertisements to be stored, then through the advertisement acquisition interface, based on the number of advertisement spaces docked. If the number of advertisements received is greater than the upper limit of the range of advertisement storage, based on the priority, the advertisement will be stored to the upper limit.

在一些情景中,终端设备需要将广告存储于本地,例如,一些软件的首屏广告位,由于在打开软件时即刻展示,没有多余时间,因此需要预先将广告存储本地。终端设备可以根据配置信息中包括的广告存储条数范围的下限值和上限值,存储相应数量的广告。一种方式中,在存储的广告数量满足配置信息中包括的广告需求时,从存储的广告中获取广告;预加载从存储的广告中获取的广告。另一方面,终端设备在向服务平台请求加载该广告位的广告后,得到的广告如果没有满足广告存储条数范围的下限值,则应继续通过串行或并行的方式向服务平台发送请求,继续获取广告;同时,也为了保证终端设备的存储条件,避免存储成本和资源浪费,在获取的广告超过广告存储条数范围的上限值时,例如采用并行的方式发送请求,接收到多个服务平台发送的广告,则,根据优先级别,先选取优先级别高的服务平台发送的广告进行存储,最后对多出的广告不予保存。In some scenarios, the terminal device needs to store the advertisement locally. For example, the above-the-fold advertisement space of some software is displayed immediately when the software is opened, and there is no extra time, so the advertisement needs to be stored locally in advance. The terminal device may store a corresponding number of advertisements according to the lower limit value and the upper limit value of the range of advertisement storage pieces included in the configuration information. In one manner, when the number of stored advertisements meets the advertisement requirements included in the configuration information, the advertisements are obtained from the stored advertisements; the advertisements obtained from the stored advertisements are preloaded. On the other hand, after the terminal device requests the service platform to load the advertisement of the advertisement slot, if the obtained advertisement does not meet the lower limit of the range of advertisement storage, it should continue to send the request to the service platform in a serial or parallel manner. , continue to obtain advertisements; at the same time, in order to ensure the storage conditions of the terminal device and avoid storage costs and waste of resources, when the obtained advertisements exceed the upper limit of the range of advertisement storage, for example, a request is sent in parallel, and multiple received advertisements are received. For the advertisements sent by each service platform, according to the priority, the advertisements sent by the service platform with the higher priority are first selected for storage, and finally the excess advertisements are not saved.

基于同一个发明构思,图3示出了一种广告位广告获取装置100,如图3所示,广告位广告获取装置100包括:处理单元110,用于确定广告位的广告需求;广告获取接口模块120,包括:第一发送单元121和第一接收单元122,用于根据广告位的广告需求向多个服务平台获取广告。其中第一发送单元121用于根据广告需求,通过广告获取接口,向广告位对接的多个服务平台发送广告位加载广告的请求;第一接收单元122,用于接收一个或多个服务平台发送的广告;存储单元130和/或展示单元140,存储单元130用于将接收到的广告存储,展示单元140用于将接收到的广告在广告位展示。Based on the same inventive concept, FIG. 3 shows an apparatus 100 for obtaining advertisements for advertisement spaces. As shown in FIG. 3 , the apparatus 100 for obtaining advertisements for advertisement spaces includes: aprocessing unit 110 for determining advertisement requirements of advertisement spaces; an advertisement obtaining interface Themodule 120 includes: afirst sending unit 121 and afirst receiving unit 122, configured to acquire advertisements from multiple service platforms according to the advertisement requirements of the advertisement space. Thefirst sending unit 121 is configured to send a request for loading an advertisement from an advertisement slot to a plurality of service platforms connected to the advertisement slot through an advertisement acquisition interface according to advertisement requirements; thefirst receiving unit 122 is configured to receive a request sent by one or more service platforms. Thestorage unit 130 and/or thedisplay unit 140, thestorage unit 130 is used to store the received advertisement, and thedisplay unit 140 is used to display the received advertisement in the advertisement space.

在一实施例中,如图4所示,广告获取接口模块120还包括:第二发送单元123,用于向服务器发送广告位的广告加载请求;第二接收单元124,用于接收广告位对接的多个服务平台及广告位的加载参数,加载参数包括与广告位对接的每个服务平台的优先级。In one embodiment, as shown in FIG. 4 , the advertisementacquisition interface module 120 further includes: asecond sending unit 123 , which is used for sending an advertisement loading request for an advertisement space to the server; and asecond receiving unit 124 , which is used for receiving an advertisement space docking Loading parameters of multiple service platforms and ad slots, the loading parameters include the priority of each service platform docked with the ad slot.

在一实施例中,第一发送单元121采用如下方式通过广告获取接口,向广告位对接的多个服务平台发送广告位加载广告的请求:基于优先级,向第一服务平台发送请求;若接收到第一服务平台发送的广告,则通过存储单元存储广告和/或通过展示单元展示广告;若接收到第一服务平台发送的加载失败通知,则基于优先级,向下一优先级的第二服务平台发送请求。其中,第一服务平台和第二服务平台为广告位对接的多个服务平台中的一个或多个。In one embodiment, the first sendingunit 121 uses the following method to send a request for loading an advertisement to a plurality of service platforms connected to the advertisement space through the advertisement acquisition interface: based on the priority, send a request to the first service platform; For the advertisement sent to the first service platform, the advertisement is stored in the storage unit and/or the advertisement is displayed through the display unit; if the notification of loading failure sent by the first service platform is received, based on the priority, the second The service platform sends the request. Wherein, the first service platform and the second service platform are one or more of a plurality of service platforms connected to the advertising space.

在一实施例中,加载参数还包括:单次请求时间;第一发送单元121还用于:若在到达向第一服务平台发送请求的单次请求时间时,未接收到第一服务平台发送的广告及加载失败通知,则向第二服务平台发送请求。In one embodiment, the loading parameters further include: a single request time; the first sendingunit 121 is further configured to: if the single request time for sending a request to the first service platform is reached, the first service platform does not receive the data sent by the first service platform. The advertisement and the loading failure notification are sent to the second service platform.

在一实施例中,第一发送单元121还用于:在到达向第二服务平台发送请求的单次请求时间时,接收到第二服务平台发送的广告,则判断是否接收到第一服务平台发送的广告:若接收到第一服务平台发送的广告,则通过存储单元130存储第一服务平台发送的广告和/或通过展示单元140展示第一服务平台发送的广告;若未接收到第一服务平台发送的广告,则通过存储单元130存储第二服务平台发送的广告和/或通过展示单元140展示第二服务平台发送的广告。In one embodiment, the first sendingunit 121 is further configured to: when a single request time for sending a request to the second service platform is reached, and an advertisement sent by the second service platform is received, then determine whether the first service platform has been received. Sent advertisement: if an advertisement sent by the first service platform is received, thestorage unit 130 stores the advertisement sent by the first service platform and/or displays the advertisement sent by the first service platform through thedisplay unit 140; For the advertisement sent by the service platform, thestorage unit 130 stores the advertisement sent by the second service platform and/or displays the advertisement sent by the second service platform through thedisplay unit 140 .

在一实施例中,加载参数还包括:并发个数N,其中N为大于1的整数;第一发送单元121还用于:基于优先级,同时向第一批N个服务平台发送请求;若接收到第一批N个服务平台中的一个或多个服务平台发送的广告,则通过存储单元130存储其中优先级最高的服务平台发送的广告和/或通过展示单元140展示其中优先级最高的服务平台发送的广告;若接收到第一批N个服务平台分别发送的N个加载失败通知,则基于优先级,向下一优先级的第二批N个服务平台同时发送请求。In one embodiment, the loading parameters further include: the number of concurrent numbers N, where N is an integer greater than 1; the first sendingunit 121 is further configured to: send requests to the first batch of N service platforms at the same time based on the priority; if After receiving the advertisement sent by one or more service platforms in the first batch of N service platforms, thestorage unit 130 stores the advertisement sent by the service platform with the highest priority and/or displays the advertisement with the highest priority through thedisplay unit 140. The advertisement sent by the service platform; if N loading failure notifications sent by the first batch of N service platforms are received, based on the priority, the request is sent to the second batch of N service platforms with the next priority at the same time.

在一实施例中,加载参数还包括:单次请求时间;第一发送单元121还用于:若在到达同时向第一批N个服务平台发送请求的单次请求时间时,未接收到第一批N个服务平台中任一服务平台发送的广告及加载失败通知,则同时向第二批N个服务平台发送请求。In one embodiment, the loading parameters further include: a single request time; the first sendingunit 121 is further configured to: if the single request time for sending requests to the first batch of N service platforms at the same time is reached, the first sendingunit 121 is not received. For advertisements and loading failure notifications sent by any service platform in a batch of N service platforms, requests are sent to the second batch of N service platforms at the same time.

在一实施例中,第一发送单元121还用于:在到达同时向第二批N个服务平台发送请求的单次请求时间时,接收到第二批N个服务平台中一个或多个服务平台发送的广告,则判断是否接收到第一批N个服务平台中一个或多个服务平台发送的广告:若接收到第一批N个服务平台中一个或多个服务平台发送的广告,则通过存储单元130存储其中优先级最高的服务平台发送的广告和/或通过展示单元140展示其中优先级最高的服务平台发送的广告;若未接收到第一批N个服务平台中一个或多个服务平台发送的广告,则通过存储单元130存储第二批N个服务平台中一个或多个服务平台发送的广告其中优先级最高的服务平台发送的广告和/或通过展示单元140展示第二批N个服务平台中一个或多个服务平台发送的广告其中优先级最高的服务平台发送的广告。In one embodiment, the first sendingunit 121 is further configured to receive one or more services in the second batch of N service platforms when the single request time for simultaneously sending requests to the second batch of N service platforms is reached. If the advertisements sent by the first batch of N service platforms are received, it is judged whether the advertisements sent by one or more service platforms in the first batch of N service platforms are received: if the advertisements sent by one or more service platforms in the first batch of N service platforms are received, then Thestorage unit 130 stores the advertisements sent by the service platform with the highest priority and/or displays the advertisements sent by the service platform with the highest priority through thedisplay unit 140; if one or more of the first N service platforms are not received The advertisements sent by the service platform, thestorage unit 130 stores the advertisements sent by one or more service platforms in the second batch of N service platforms, among which the advertisements sent by the service platform with the highest priority and/or displays the second batch of advertisements through thedisplay unit 140 The advertisements sent by one or more service platforms among the N service platforms are the advertisements sent by the service platform with the highest priority.

在一实施例中,加载参数还包括:广告存储条数范围;存储单元130,还用于:若接收的广告的数量小于广告存储条数范围的下限值,则通过第一发送单元121继续向服务平台发送加载广告的请求;若接收的广告的数量大于广告存储条数范围的上限值,则存储单元130基于优先级,存储广告至上限值。In one embodiment, the loading parameters further include: a range of the number of advertisements to be stored; thestorage unit 130 is further configured to: if the number of received advertisements is less than the lower limit of the range of the number of advertisements to be stored, continue through the first sendingunit 121 Send a request for loading advertisements to the service platform; if the number of received advertisements is greater than the upper limit of the range of advertisement storage, thestorage unit 130 stores the advertisements to the upper limit based on the priority.

在一实施例中,处理单元110还用于:In one embodiment, theprocessing unit 110 is further configured to:

在第一发送单元121向广告位对接的多个服务平台发送广告位加载广告的请求之前,确定广告的配置信息,配置信息用于确定广告位的广告需求。Before the first sendingunit 121 sends a request for loading an advertisement in the advertisement slot to multiple service platforms connected to the advertisement slot, the configuration information of the advertisement is determined, and the configuration information is used to determine the advertisement requirement of the advertisement slot.

在一实施例中,广告位广告获取装置100还包括预加载单元。预加载单元用于在存储的广告数量满足配置信息中包括的广告需求时,从存储的广告中获取广告,预加载从存储的广告中获取的广告。In one embodiment, the apparatus 100 for obtaining advertisements for advertisement spaces further includes a preloading unit. The preloading unit is configured to acquire advertisements from the stored advertisements when the number of stored advertisements meets the advertisement requirements included in the configuration information, and preload the advertisements acquired from the stored advertisements.

关于上述实施例中的广告位广告获取装置100,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus 100 for obtaining advertisements in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the method, and will not be described in detail here.

图5是根据一示例性实施例示出的前述任一实施例装置的示意框图。例如,装置300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 5 is a schematic block diagram of an apparatus according to any one of the foregoing embodiments according to an exemplary embodiment. For example,apparatus 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图5,装置300可以包括以下一个或多个组件:处理组件302,存储器304,电力组件306,多媒体组件308,音频组件310,输入/输出(I/O)的接口312,传感器组件314,以及通信组件316。5, theapparatus 300 may include one or more of the following components: aprocessing component 302, amemory 304, apower component 306, amultimedia component 308, anaudio component 310, an input/output (I/O)interface 312, asensor component 314, andcommunication component 316 .

处理组件302通常控制装置300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件302可以包括一个或多个处理器320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件302可以包括一个或多个模块,便于处理组件302和其他组件之间的交互。例如,处理组件302可以包括多媒体模块,以方便多媒体组件308和处理组件302之间的交互。Theprocessing component 302 generally controls the overall operation of thedevice 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. Theprocessing component 302 may include one ormore processors 320 to execute instructions to perform all or some of the steps of the methods described above. Additionally,processing component 302 may include one or more modules that facilitate interaction betweenprocessing component 302 and other components. For example,processing component 302 may include a multimedia module to facilitate interaction betweenmultimedia component 308 andprocessing component 302 .

存储器304被配置为存储各种类型的数据以支持在装置300的操作。这些数据的示例包括用于在装置300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 304 is configured to store various types of data to support operations atdevice 300 . Examples of such data include instructions for any application or method operating ondevice 300, contact data, phonebook data, messages, pictures, videos, and the like.Memory 304 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件306为装置300的各种组件提供电力。电力组件306可以包括电源管理系统,一个或多个电源,及其他与为装置300生成、管理和分配电力相关联的组件。Power component 306 provides power to various components ofdevice 300 .Power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power todevice 300 .

多媒体组件308包括在所述装置300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件308包括一个前置摄像头和/或后置摄像头。当设备300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 308 includes screens that provide an output interface between thedevice 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, themultimedia component 308 includes a front-facing camera and/or a rear-facing camera. When thedevice 300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件310被配置为输出和/或输入音频信号。例如,音频组件310包括一个麦克风(MIC),当装置300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器304或经由通信组件316发送。在一些实施例中,音频组件310还包括一个扬声器,用于输出音频信号。Audio component 310 is configured to output and/or input audio signals. For example,audio component 310 includes a microphone (MIC) that is configured to receive external audio signals whendevice 300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored inmemory 304 or transmitted viacommunication component 316 . In some embodiments,audio component 310 also includes a speaker for outputting audio signals.

I/O接口312为处理组件302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 312 provides an interface between theprocessing component 302 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件314包括一个或多个传感器,用于为装置300提供各个方面的状态评估。例如,传感器组件314可以检测到装置300的打开/关闭状态,组件的相对定位,例如所述组件为装置300的显示器和小键盘,传感器组件314还可以检测装置300或装置300一个组件的位置改变,用户与装置300接触的存在或不存在,装置300方位或加速/减速和装置300的温度变化。传感器组件314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 314 includes one or more sensors for providing status assessment of various aspects ofdevice 300 . For example, thesensor assembly 314 can detect the open/closed state of thedevice 300, the relative positioning of components, such as the display and keypad of thedevice 300, and thesensor assembly 314 can also detect a change in the position of thedevice 300 or a component of thedevice 300 , the presence or absence of user contact with thedevice 300 , the orientation or acceleration/deceleration of thedevice 300 and the temperature change of thedevice 300 .Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件316被配置为便于装置300和其他设备之间有线或无线方式的通信。装置300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 316 is configured to facilitate wired or wireless communication betweenapparatus 300 and other devices.Device 300 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, thecommunication component 316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,apparatus 300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器304,上述指令可由装置300的处理器320执行以完成上述方法。例如,所述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, such as amemory 304 including instructions, which are executable by theprocessor 320 of theapparatus 300 to perform the above-described method. For example, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

图6是根据一示例性实施例示出的一种电子装置400的框图。例如,装置400可以被提供为一服务器。参照图6,装置400包括处理组件422,其进一步包括一个或多个处理器,以及由存储器432所代表的存储器资源,用于存储可由处理组件422的执行的指令,例如应用程序。存储器432中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件422被配置为执行指令,以执行上述方法。FIG. 6 is a block diagram of anelectronic device 400 according to an exemplary embodiment. For example, theapparatus 400 may be provided as a server. 6,apparatus 400 includes aprocessing component 422, which further includes one or more processors, and a memory resource, represented by memory 432, for storing instructions executable by theprocessing component 422, such as an application program. An application program stored in memory 432 may include one or more modules, each corresponding to a set of instructions. Additionally, theprocessing component 422 is configured to execute instructions to perform the above-described methods.

装置400还可以包括一个电源组件426被配置为执行装置300的电源管理,一个有线或无线网络接口450被配置为将装置400连接到网络,和一个输入输出(I/O)接口458。装置400可以操作基于存储在存储器432的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 400 may also include apower supply assembly 426 configured to perform power management ofdevice 300 , a wired orwireless network interface 450 configured to connectdevice 400 to a network, and an input output (I/O)interface 458 .Device 400 may operate based on an operating system stored in memory 432, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or conventional techniques in the art not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.

Claims (16)

CN201910939878.4A2019-09-302019-09-30Advertisement position advertisement obtaining method and device and computer readable storage mediumPendingCN110689378A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910939878.4ACN110689378A (en)2019-09-302019-09-30Advertisement position advertisement obtaining method and device and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910939878.4ACN110689378A (en)2019-09-302019-09-30Advertisement position advertisement obtaining method and device and computer readable storage medium

Publications (1)

Publication NumberPublication Date
CN110689378Atrue CN110689378A (en)2020-01-14

Family

ID=69111224

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910939878.4APendingCN110689378A (en)2019-09-302019-09-30Advertisement position advertisement obtaining method and device and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN110689378A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111274513A (en)*2020-01-202020-06-12北京无限光场科技有限公司Window display method, device, terminal and storage medium
CN111353823A (en)*2020-03-052020-06-30湖南快乐阳光互动娱乐传媒有限公司Information flow advertisement request method and device
CN112102009A (en)*2020-09-252020-12-18北京小米移动软件有限公司Advertisement display method, device, equipment and storage medium
CN112132610A (en)*2020-09-152020-12-25北京值得买科技股份有限公司Advertisement putting method, system, medium and equipment
CN112486588A (en)*2020-11-252021-03-12北京小米移动软件有限公司Display control method, display control device, and storage medium
CN112907291A (en)*2021-03-112021-06-04宝宝巴士股份有限公司Method and device for intelligently switching advertisements
CN113935781A (en)*2021-10-292022-01-14北京小度互娱科技有限公司 An advertisement display method and system that supports multi-level concurrency and can be recycled
CN113962719A (en)*2021-08-312022-01-21北京达佳互联信息技术有限公司 Advertising delivery method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103679487A (en)*2012-09-052014-03-26阿里巴巴集团控股有限公司Advertisement display monitoring method and device
CN106779855A (en)*2016-12-222017-05-31北京小度互娱科技有限公司Advertisement fill method and device
CN106897903A (en)*2017-02-212017-06-27腾讯科技(深圳)有限公司Advertisement processing method and ad system
CN110009404A (en)*2019-03-202019-07-12深圳新度博望科技有限公司Advertisement demonstration method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103679487A (en)*2012-09-052014-03-26阿里巴巴集团控股有限公司Advertisement display monitoring method and device
CN106779855A (en)*2016-12-222017-05-31北京小度互娱科技有限公司Advertisement fill method and device
CN106897903A (en)*2017-02-212017-06-27腾讯科技(深圳)有限公司Advertisement processing method and ad system
CN110009404A (en)*2019-03-202019-07-12深圳新度博望科技有限公司Advertisement demonstration method, device, computer equipment and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111274513A (en)*2020-01-202020-06-12北京无限光场科技有限公司Window display method, device, terminal and storage medium
CN111274513B (en)*2020-01-202023-11-28北京有竹居网络技术有限公司Window display method, device, terminal and storage medium
CN111353823A (en)*2020-03-052020-06-30湖南快乐阳光互动娱乐传媒有限公司Information flow advertisement request method and device
CN111353823B (en)*2020-03-052023-04-18湖南快乐阳光互动娱乐传媒有限公司Information flow advertisement request method and device
CN112132610A (en)*2020-09-152020-12-25北京值得买科技股份有限公司Advertisement putting method, system, medium and equipment
CN112102009A (en)*2020-09-252020-12-18北京小米移动软件有限公司Advertisement display method, device, equipment and storage medium
CN112486588A (en)*2020-11-252021-03-12北京小米移动软件有限公司Display control method, display control device, and storage medium
CN112907291A (en)*2021-03-112021-06-04宝宝巴士股份有限公司Method and device for intelligently switching advertisements
CN113962719A (en)*2021-08-312022-01-21北京达佳互联信息技术有限公司 Advertising delivery method, device, electronic device and storage medium
CN113935781A (en)*2021-10-292022-01-14北京小度互娱科技有限公司 An advertisement display method and system that supports multi-level concurrency and can be recycled

Similar Documents

PublicationPublication DateTitle
CN110689378A (en)Advertisement position advertisement obtaining method and device and computer readable storage medium
US9667774B2 (en)Methods and devices for sending virtual information card
KR101852781B1 (en)Method, apparatus, program and computer-readable recording medium of controlling device
CN112019893B (en) Terminal screen projection method and terminal screen projection device
CN106254467A (en)Sharing files method and device
US20160294998A1 (en)Methods and devices for labeling a number
CN109218509B (en)Information screen display method and device and computer readable storage medium
CN105808305B (en)Static resource loading method and device
CN107426088A (en)Pictorial information processing method and processing device
EP3147802A1 (en)Method and apparatus for processing information
CN107402767B (en) Method and apparatus for displaying push messages
CN112291631A (en)Information acquisition method, device, terminal and storage medium
CN113962719A (en) Advertising delivery method, device, electronic device and storage medium
CN113596175A (en)Scene synchronization method, terminal, server and system
CN107943370A (en)Advertisement display method, device and storage medium
CN112102009B (en) Advertisement display method, device, equipment and storage medium
CN107241432B (en) Message receiving method, apparatus, electronic device and computer storable medium
CN106331076A (en) Advertisement push method and device
CN105843894A (en)Information recommending method and device
CN109885360B (en) A data processing method, device and storage medium
CN109491655B (en)Input event processing method and device
CN106535000A (en)Method and device for sending social contact information
WO2017113659A1 (en)Method and device for managing applications
CN105873154B (en)Network access method and device
CN110213524B (en)Video networking conference exception handling method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp