[go: up one dir, main page]

CN115456691A - Method, device, electronic device and storage medium for recommending offline advertising space - Google Patents

Method, device, electronic device and storage medium for recommending offline advertising space Download PDF

Info

Publication number
CN115456691A
CN115456691A CN202211194290.9A CN202211194290A CN115456691A CN 115456691 A CN115456691 A CN 115456691A CN 202211194290 A CN202211194290 A CN 202211194290A CN 115456691 A CN115456691 A CN 115456691A
Authority
CN
China
Prior art keywords
grid
advertisement
preference
candidate
poi
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
CN202211194290.9A
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 Century TAL Education Technology Co Ltd
Original Assignee
Beijing Century TAL Education Technology 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 Century TAL Education Technology Co Ltd filed Critical Beijing Century TAL Education Technology Co Ltd
Priority to CN202211194290.9A priority Critical patent/CN115456691A/en
Publication of CN115456691A publication Critical patent/CN115456691A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0269Targeted advertisements based on user profile or attribute
    • G06Q30/0271Personalized advertisement
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0261Targeted advertisements based on user location

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (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)

Abstract

本公开提供一种线下广告位的推荐方法、装置、电子设备及存储介质,方法包括:获取用户输入的广告投放请求,广告投放请求包括待投放广告的广告类型以及投放待投放广告的POI的目标类型;获取多个线上用户的用户画像数据及行为轨迹数据;根据用户画像数据,利用广告偏好预估模型获取多个线上用户对广告类型的广告偏好度;基于聚类算法对行为轨迹数据进行聚类,以获取多个线上用户的常驻地标签;根据多个线上用户的广告偏好度和常驻地标签的常驻地位置,确定包含常驻地位置的候选地理网格的广告偏好度;根据候选地理网格的广告偏好度确定线下广告位。本方案实现了线上用户与线下物理空间的映射,解决了线下广告投放场景缺乏有效受众的数据的问题。

Figure 202211194290

The disclosure provides a method, device, electronic device, and storage medium for recommending an offline advertising space. The method includes: obtaining an advertisement placement request input by a user, and the advertisement placement request includes the type of advertisement to be placed and the POI of the advertisement to be placed. Target type; obtain user profile data and behavior track data of multiple online users; use the advertising preference estimation model to obtain multiple online users’ advertising preference for advertising types based on user profile data; analyze behavior track based on clustering algorithm Data clustering to obtain the residence labels of multiple online users; according to the advertisement preferences of multiple online users and the residence locations of the residence labels, determine the candidate geographic grid containing the residence locations Advertisement preference; determine the offline advertisement position according to the advertisement preference of the candidate geographic grid. This solution realizes the mapping between online users and offline physical space, and solves the problem of lack of effective audience data in offline advertising scenarios.

Figure 202211194290

Description

线下广告位的推荐方法、装置、电子设备及存储介质Method, device, electronic device and storage medium for recommending offline advertising space

技术领域technical field

本公开涉及广告位推荐技术领域,尤其涉及一种线下广告位的推荐方法、装置、电子设备及存储介质。The present disclosure relates to the technical field of advertising space recommendation, and in particular to a method, device, electronic device and storage medium for recommending offline advertising space.

背景技术Background technique

在广告投放的应用场景中,线下广告投放是重要一环。广告投放效果的好坏是高度依赖于可收集到的受众的数据信息质量的,而相较于线上广告投放场景,在线下广告投放场景中,通常缺乏足够的有效受众的数据信息,导致线下广告位的推荐精准度不高。In the application scenario of advertising, offline advertising is an important part. The effectiveness of advertising delivery is highly dependent on the quality of the collected audience data information. Compared with online advertising scenarios, offline advertising scenarios usually lack sufficient effective audience data information, resulting in online The recommendation accuracy of the next advertising position is not high.

发明内容Contents of the invention

为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种线下广告位的推荐方法、装置、电子设备及存储介质。In order to solve the above technical problem or at least partly solve the above technical problem, embodiments of the present disclosure provide a method, device, electronic device and storage medium for recommending an offline advertising space.

根据本公开的一方面,提供了一种线下广告位的推荐方法,包括:According to an aspect of the present disclosure, a method for recommending an offline advertising space is provided, including:

获取用户输入的广告投放请求,所述广告投放请求包括待投放广告的广告类型以及投放所述待投放广告的POI的目标类型;Acquiring an advertisement delivery request input by a user, the advertisement delivery request including the advertisement type of the advertisement to be delivered and the target type of the POI of the advertisement to be delivered;

获取多个线上用户的用户画像数据及行为轨迹数据;Obtain user portrait data and behavior trajectory data of multiple online users;

根据所述用户画像数据,利用预先训练的广告偏好预估模型,获取所述多个线上用户对所述广告类型的广告偏好度;According to the user portrait data, using a pre-trained advertisement preference estimation model, to obtain the advertisement preference of the plurality of online users for the advertisement type;

基于预设的聚类算法对所述行为轨迹数据进行聚类,以获取所述多个线上用户的常驻地标签;clustering the behavior trajectory data based on a preset clustering algorithm to obtain the residence tags of the plurality of online users;

根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度;According to the advertisement preference of the plurality of online users and the residence location corresponding to the residence label, determine the advertisement preference of the candidate geographic grid containing the residence location;

根据所述候选地理网格的广告偏好度,确定目标地理网格;Determine a target geographic grid according to the advertisement preference of the candidate geographic grid;

将所述目标地理网格中包含的所述目标类型的目标POI确定为所述线下广告位。A target POI of the target type contained in the target geographic grid is determined as the offline advertisement position.

根据本公开的另一方面,提供了一种线下广告位的推装置,包括:According to another aspect of the present disclosure, a device for pushing offline advertising spaces is provided, including:

第一获取模块,用于获取用户输入的广告投放请求,所述广告投放请求包括待投放广告的广告类型以及投放所述待投放广告的POI的目标类型;The first acquisition module is configured to acquire an advertisement placement request input by a user, the advertisement placement request including the advertisement type of the advertisement to be placed and the target type of the POI of the advertisement to be placed;

第二获取模块,用于获取多个线上用户的用户画像数据及行为轨迹数据;The second acquisition module is used to acquire user portrait data and behavior track data of multiple online users;

第三获取模块,用于根据所述用户画像数据,利用预先训练的广告偏好预估模型,获取所述多个线上用户对所述广告类型的广告偏好度;A third acquisition module, configured to acquire the advertisement preference of the plurality of online users for the advertisement type by using a pre-trained advertisement preference estimation model according to the user portrait data;

聚类模块,用于基于预设的聚类算法对所述行为轨迹数据进行聚类,以获取所述多个线上用户的常驻地标签;A clustering module, configured to cluster the behavior track data based on a preset clustering algorithm, so as to obtain the residence tags of the plurality of online users;

第一确定模块,用于根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度;A first determining module, configured to determine an advertisement including a candidate geographical grid of the residence location according to the advertisement preference of the plurality of online users and the residence location corresponding to the residence label preference;

第二确定模块,用于根据所述候选地理网格的广告偏好度,确定目标地理网格;The second determining module is used to determine the target geographic grid according to the advertisement preference of the candidate geographic grid;

第三确定模块,用于将所述目标地理网格中包含的所述目标类型的目标POI确定为所述线下广告位。The third determining module is configured to determine the target POI of the target type included in the target geographic grid as the offline advertising space.

根据本公开的另一方面,提供了一种电子设备,包括:According to another aspect of the present disclosure, an electronic device is provided, including:

处理器;以及processor; and

存储程序的存储器,memory for storing programs,

其中,所述程序包括指令,所述指令在由所述处理器执行时使所述处理器执行根据前述一方面所述的线下广告位的推荐方法。Wherein, the program includes instructions, which, when executed by the processor, cause the processor to execute the method for recommending an offline advertising space according to the aforementioned aspect.

根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据前述一方面所述的线下广告位的推荐方法。According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make the computer execute the offline advertising position according to the preceding aspect. recommended method.

根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序,其中,所述计算机程序在被处理器执行时实现前述一方面所述的线下广告位的推荐方法。According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method for recommending an offline advertising space as described in the preceding aspect is implemented.

本公开实施例中提供的一个或多个技术方案,通过获取用户输入的广告投放请求,广告投放请求包括待投放广告的广告类型以及投放待投放广告的POI的目标类型,并获取多个线上用户的用户画像数据及行为轨迹数据,接着根据用户画像数据,利用预先训练的广告偏好预估模型,获取多个线上用户对广告类型的广告偏好度,并基于预设的聚类算法对行为轨迹数据进行聚类,以获取多个线上用户的常驻地标签,进而根据多个线上用户的广告偏好度和常驻地标签对应的常驻地位置,确定包含常驻地位置的候选地理网格的广告偏好度,进而根据候选地理网格的广告偏好度,确定目标地理网格,并将目标地理网格中包含的目标类型的目标POI确定为线下广告位。采用本公开的方案,实现了利用线上用户的用户画像数据来预估线下场景中用户的广告偏好度,以及利用线上用户的行为轨迹数据挖掘线上用户的常驻地标签,并根据常驻地位置确定线下物理空间的地理网格,进而根据线上用户的广告偏好度确定地理网格的广告偏好度从而确定出目标类型的目标POI作为推荐的线下广告位,实现了线上用户与线下物理空间的映射,解决了线下广告投放场景缺乏有效受众的数据的问题,从而能够提高线下广告位推荐的精准度。In one or more technical solutions provided in the embodiments of the present disclosure, by obtaining the advertisement placement request input by the user, the advertisement placement request includes the advertisement type to be placed and the target type of the POI to be placed, and obtains multiple online The user's user portrait data and behavior trajectory data, and then according to the user portrait data, use the pre-trained advertisement preference prediction model to obtain the advertisement preference of multiple online users for the advertisement type, and based on the preset clustering algorithm to classify the behavior The trajectory data is clustered to obtain the residence labels of multiple online users, and then according to the advertisement preferences of multiple online users and the residence locations corresponding to the residence labels, the candidates containing the residence locations are determined The advertisement preference of the geographic grid, and then determine the target geographic grid according to the advertisement preference of the candidate geographic grid, and determine the target POI of the target type contained in the target geographic grid as an offline advertisement position. By adopting the scheme of the present disclosure, it is possible to use the user portrait data of online users to estimate the advertising preference of users in offline scenarios, and to use the behavior track data of online users to mine the residence labels of online users, and according to The permanent location determines the geographical grid of the offline physical space, and then determines the advertising preference of the geographical grid according to the advertising preference of online users, so as to determine the target POI of the target type as the recommended offline advertising position, realizing the offline The mapping between online users and offline physical space solves the problem of lack of effective audience data in offline advertising scenarios, thereby improving the accuracy of offline advertising position recommendations.

附图说明Description of drawings

在下面结合附图对于示例性实施例的描述中,本公开的更多细节、特征和优点被公开,在附图中:Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments with reference to the accompanying drawings in which:

图1示出了根据本公开一示例性实施例的线下广告位的推荐方法的流程图;FIG. 1 shows a flow chart of a method for recommending an offline advertising space according to an exemplary embodiment of the present disclosure;

图2示出了根据本公开另一示例性实施例的线下广告位的推荐方法的流程图;Fig. 2 shows a flowchart of a method for recommending an offline advertising space according to another exemplary embodiment of the present disclosure;

图3示出了根据本公开示例性实施例的线下广告位的推荐装置的示意性框图;Fig. 3 shows a schematic block diagram of an apparatus for recommending an offline advertising space according to an exemplary embodiment of the present disclosure;

图4示出了能够用于实现本公开的实施例的示例性电子设备的结构框图。FIG. 4 shows a structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and/or executed in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below. It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more" multiple".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.

在解释说明本公开的实施例之前,先对本公开可能涉及的名词进行解释说明如下:Before explaining the embodiments of the present disclosure, the nouns that may be involved in the present disclosure are explained as follows:

地理网格:一种统一、简单的地理空间划分和定位参照系统,依据统一规则,将地面区域按照一定经纬度或地面距离进行连续分割,并将空间不确定性控制在一定范围内,形成规则多边形,每个多边形均称为格网单元,从而构成分级、分层次的多级格网体系,实现地面空间离散化,并赋予统一编码;Geographic grid: a unified and simple geographical space division and positioning reference system, according to unified rules, the ground area is continuously divided according to a certain latitude and longitude or ground distance, and the spatial uncertainty is controlled within a certain range to form a regular polygon , each polygon is called a grid unit, thus forming a hierarchical and hierarchical multi-level grid system, realizing discretization of the ground space, and endowing it with a unified code;

POI:地理空间的兴趣点(Point of Interest),比如一个小区、学校、商场、写字楼等;POI: Point of Interest in geographic space, such as a community, school, shopping mall, office building, etc.;

CTR:点击通过率(Click-Through-Rate),是互联网广告常用的术语,指网络广告(图片广告/文字广告/关键词广告/排名广告/视频广告等)的点击到达率,即该广告的实际点击次数(严格的来说,可以是到达目标页面的数量)除以广告的展现量(Show content)。CTR: Click-Through-Rate (Click-Through-Rate), is a commonly used term in Internet advertising, which refers to the click-through rate of online advertisements (image advertisements/text advertisements/keyword advertisements/ranking advertisements/video advertisements, etc.), that is, the advertising rate. The actual number of clicks (strictly speaking, it can be the number of reaching the target page) divided by the display volume of the advertisement (Show content).

以下参照附图描述本公开提供的线下广告位的推荐方法、装置、电子设备及存储介质。The method, device, electronic device, and storage medium for recommending offline advertising spaces provided by the present disclosure are described below with reference to the accompanying drawings.

在广告投放场景中,广告投放精准触达是核心技术之一。广告投放触达效果的好坏是高度依赖可收集到的受众的数据信息质量的,然而线下广告投放场景中往往缺乏足够的有效受众的数据信息,导致广告投放的精准度较低。In the advertising delivery scenario, accurate advertising delivery is one of the core technologies. The quality of advertising reach is highly dependent on the quality of collected audience data information. However, in offline advertising scenarios, there is often a lack of sufficient effective audience data information, resulting in low accuracy of advertising.

针对上述问题,本公开提供了一种线下广告位的推荐方法,通过获取用户输入的广告投放请求,广告投放请求包括待投放广告的广告类型以及投放待投放广告的POI的目标类型,并获取多个线上用户的用户画像数据及行为轨迹数据,接着根据用户画像数据,利用预先训练的广告偏好预估模型,获取多个线上用户对广告类型的广告偏好度,并基于预设的聚类算法对行为轨迹数据进行聚类,以获取多个线上用户的常驻地标签,进而根据多个线上用户的广告偏好度和常驻地标签对应的常驻地位置,确定包含常驻地位置的候选地理网格的广告偏好度,进而根据候选地理网格的广告偏好度,确定目标地理网格,并将目标地理网格中包含的目标类型的目标POI确定为线下广告位。采用本公开的方案,实现了利用线上用户的用户画像数据来预估线下场景中用户的广告偏好度,以及利用线上用户的行为轨迹数据挖掘线上用户的常驻地标签,并根据常驻地位置确定线下物理空间的地理网格,进而根据线上用户的广告偏好度确定地理网格的广告偏好度从而确定出目标类型的目标POI作为推荐的线下广告位,实现了线上用户与线下物理空间的映射,解决了线下广告投放场景缺乏有效受众的数据的问题,从而能够提高线下广告位推荐的精准度。本公开的方案能够快速、方便地将线上的数据、流量、营销资源与现实物理空间做一个映射,实现线下广告任意空间位置的精准营销选位。In view of the above problems, the present disclosure provides a method for recommending offline advertising positions. By obtaining the advertisement placement request input by the user, the advertisement placement request includes the type of advertisement to be placed and the target type of the POI where the advertisement is to be placed, and obtains The user profile data and behavior trajectory data of multiple online users, and then according to the user profile data, use the pre-trained advertising preference estimation model to obtain the advertising preference of multiple online users for the type of advertising, and based on the preset aggregation The algorithm clusters the behavior trajectory data to obtain the resident labels of multiple online users, and then determines the resident location according to the advertisement preferences of multiple online users and the resident locations corresponding to the resident labels. According to the advertisement preference degree of the candidate geographical grid, the target geographical grid is determined according to the advertisement preference degree of the candidate geographical grid, and the target POI of the target type contained in the target geographical grid is determined as the offline advertisement position. By adopting the scheme of the present disclosure, it is possible to use the user portrait data of online users to estimate the advertising preference of users in offline scenarios, and to use the behavior track data of online users to mine the residence labels of online users, and according to The permanent location determines the geographical grid of the offline physical space, and then determines the advertising preference of the geographical grid according to the advertising preference of online users, so as to determine the target POI of the target type as the recommended offline advertising position, realizing the offline The mapping between online users and offline physical space solves the problem of lack of effective audience data in offline advertising scenarios, thereby improving the accuracy of offline advertising position recommendations. The disclosed solution can quickly and conveniently map online data, traffic, marketing resources and real physical space, so as to realize precise marketing location selection of any space for offline advertisements.

图1示出了根据本公开一示例性实施例的线下广告位的推荐方法的流程图,该方法可以由本公开提供的线下广告位的推荐装置执行,其中该装置可以采用软件和/或硬件实现,一般可集成在电子设备中,所述电子设备包括手机、平板电脑、服务器等设备,电子设备中可以安装具有线上和线下广告投放、广告位推荐功能的应用程序。Fig. 1 shows a flowchart of a method for recommending an offline advertising space according to an exemplary embodiment of the present disclosure. The method can be executed by the device for recommending an offline advertising space provided in the present disclosure, wherein the device can use software and/or Hardware implementation can generally be integrated in electronic devices, including mobile phones, tablet computers, servers and other devices, and applications with online and offline advertising placement and advertising space recommendation functions can be installed in electronic devices.

如图1所示,该线下广告位的推荐方法可以包括以下步骤:As shown in Figure 1, the method for recommending an offline advertising space may include the following steps:

步骤101,获取用户输入的广告投放请求,所述广告投放请求包括待投放广告的广告类型以及投放所述待投放广告的POI的目标类型。Step 101 , acquiring an advertisement placement request input by a user, the advertisement placement request including an advertisement type of an advertisement to be placed and a target type of a POI where the advertisement to be placed is placed.

其中,待投放广告的广告类型可以是预设的多个广告类型中的一个,预设的多个广告类型比如可以包括但不限于教育类、美妆类、服饰鞋包类、食品类,等等。目标类型是多个POI类型中的一个,POI类型比如可以包括但不限于小区、写字楼、学校、商场、景点,等等。假设用户希望在小区里投放广告,则可以确定用于投放广告的POI的目标类型为小区。Among them, the advertisement type to be placed may be one of multiple preset advertisement types, such as but not limited to education, beauty, clothing, shoes, bags, food, etc. Wait. The target type is one of multiple POI types, and the POI types may include, but are not limited to, residential areas, office buildings, schools, shopping malls, scenic spots, and so on. Assuming that the user wishes to place an advertisement in a community, it may be determined that the target type of the POI used for placing the advertisement is a community.

本公开实施例中,用户指的是具有广告投放需求的广告主。In the embodiments of the present disclosure, a user refers to an advertiser who has an advertisement placement requirement.

示例性地,用户可以通过电子设备中提供的广告投放平台来输入自身的广告投放需求,比如待投放广告的广告类型、在什么地方展示广告、希望获得的广告位的数量,等等。广告投放平台根据用户输入的广告投放需求,可以生成并获取到用户输入的广告投放请求,其中,根据用户输入的在什么地方展示广告的信息,可以确定投放待投放广告的POI的目标类型,比如,用户输入的展示广告的地方为学校,则广告投放请求中包含的目标类型为学校。广告投放平台比如可以是支持OMO(Online-Merge-Offline,线上—移动—线下)模式的应用程序,既支持线上广告位推荐及广告投放,又支持线下广告位推荐及广告投放。Exemplarily, the user can input his or her own advertisement placement requirements through the advertisement placement platform provided in the electronic device, such as the type of advertisement to be placed, where to display the advertisement, the number of desired advertisement slots, and so on. The advertisement delivery platform can generate and obtain the advertisement delivery request input by the user according to the advertisement delivery requirement input by the user, among which, according to the information input by the user where the advertisement will be displayed, the target type of the POI for placing the advertisement to be placed can be determined, for example , the user enters that the place where the ad is displayed is a school, and the target type included in the ad serving request is a school. For example, the advertising delivery platform can be an application program that supports the OMO (Online-Merge-Offline, Online-Mobile-Offline) mode, which not only supports online advertising space recommendation and advertising delivery, but also supports offline advertising space recommendation and advertising delivery.

步骤102,获取多个线上用户的用户画像数据及行为轨迹数据。Step 102, acquiring user portrait data and behavior track data of multiple online users.

其中,线上用户可以指线上广告投放场景中的广告受众,比如用户希望将新推出的课程在线下投放,则可以获取在线教育平台上的注册用户作为线上用户,该在线教育平台可以采用OMO模式;用户画像数据可以包括但不限于用户的性别、年龄、职业、个人喜好等等;行为轨迹数据可以根据线上用户的GPS数据获得,比如,在线教育平台的注册用户可以授权平台获取其所使用的电子设备的GPS数据,在线教育平台通过分析GPS数据来获得注册用户的行为轨迹数据。Among them, online users can refer to the advertising audience in the online advertising scenario. For example, if a user wants to launch a newly launched course offline, he can obtain registered users on the online education platform as online users. The online education platform can use OMO mode; user portrait data can include but not limited to the user's gender, age, occupation, personal preferences, etc.; behavior track data can be obtained based on the GPS data of online users, for example, registered users of online education platforms can authorize the platform to obtain their The GPS data of the electronic devices used, the online education platform analyzes the GPS data to obtain the behavior track data of registered users.

需要说明的是,本公开实施例中,获取线上用户的用户画像数据及线上用户的行为轨迹数据,是在获得这些用户的授权的情况下获得的。It should be noted that in the embodiments of the present disclosure, the acquisition of the user profile data of the online users and the behavior track data of the online users is obtained under the authorization of these users.

示例性地,电子设备中安装的被配置为执行本公开的线下广告位的推荐方法的应用程序,具有OMO业务特点,随着时间的推移和用户的使用,积累了一定量级的相关业务领域的线上用户数据,在进行下线广告位推荐时,可以从积累的线上用户数据中获取多个线上用户的用户画像数据及其行为轨迹数据,以用于刻画线下广告投放场景中受众的数据信息。Exemplarily, the application installed in the electronic device and configured to implement the method for recommending offline advertising spaces of the present disclosure has the characteristics of OMO business, and with the passage of time and the use of users, it has accumulated a certain amount of related business Online user data in the field, when recommending offline advertising positions, user portrait data and behavior trajectory data of multiple online users can be obtained from the accumulated online user data to describe offline advertising scenarios audience data.

步骤103,根据所述用户画像数据,利用预先训练的广告偏好预估模型,获取所述多个线上用户对所述广告类型的广告偏好度。Step 103, according to the user portrait data, using a pre-trained advertisement preference estimation model, to obtain the advertisement preference of the plurality of online users for the advertisement type.

其中,广告偏好预估模型可以是预先训练得到的,可以收集线上广告投放场景中的用户数据、用户对曝光的广告的点击情况等数据,构建训练样本来训练得到广告偏好预估模型。Among them, the advertisement preference prediction model can be obtained by pre-training, and data such as user data in the online advertisement placement scenario, user clicks on exposed advertisements, etc. can be collected, and training samples can be constructed to train the advertisement preference prediction model.

在本公开的一种可选实施方式中,在训练得到广告偏好预估模型时,可以获取线上广告投放场景中对样本用户投放广告的广告投放记录,以及所述样本用户的用户画像数据;对所述广告投放记录进行分析,以获取不同广告类型的历史投放广告及所述样本用户对所述历史投放广告的操作数据,所述操作数据包括点击或未点击;根据所述样本用户对所述历史投放广告的操作数据,对所述历史投放广告进行标注,生成样本广告;构建所述样本用户的用户画像数据与所述不同广告类型的样本广告之间的关联关系,生成训练样本集;基于所述训练样本集对初始网络模型进行训练,得到所述广告偏好预估模型。In an optional implementation manner of the present disclosure, when the advertisement preference estimation model is obtained through training, the advertisement delivery records of the sample users in the online advertisement delivery scene and the user portrait data of the sample users may be obtained; Analyzing the advertisement delivery records to obtain historical advertisements of different advertisement types and operation data of the sample users on the historical advertisements, the operation data including clicks or no clicks; The operation data of the historically placed advertisement is marked, and the described historically placed advertisement is marked to generate a sample advertisement; the association relationship between the user portrait data of the sample user and the sample advertisements of the different advertisement types is constructed, and a training sample set is generated; An initial network model is trained based on the training sample set to obtain the advertisement preference prediction model.

其中,样本用户可以是具有OMO特点的应用程序中积累的线上投放广告的受众,对样本用户曝光的广告,样本用户可以根据兴趣选择点击该广告或者不点击该广告。Among them, the sample user can be the audience of online advertisements accumulated in the application program with OMO characteristics. For the advertisement exposed to the sample user, the sample user can choose to click on the advertisement or not to click on the advertisement according to the interest.

本公开实施例中,可以从线上广告投放场景积累的历史数据中,获取对样本用户投放广告的广告投放记录以及每个样本用户对应的用户画像数据,并对样本用户对应的广告投放记录进行分析,以获取广告记录中不同广告类型的历史投放广告,以及获取样本用户对各历史投放广告是否进行了点击,进而根据样本用户对历史投放广告是否点击,对历史投放广告进行标注,生成样本广告。In the embodiment of the present disclosure, from the historical data accumulated in the online advertisement delivery scene, the advertisement delivery records of the sample users and the user portrait data corresponding to each sample user can be obtained, and the advertisement delivery records corresponding to the sample users can be obtained. Analysis to obtain the historical advertisements of different advertisement types in the advertisement records, and obtain whether the sample users have clicked on each historical advertisement, and then mark the historical advertisements according to whether the sample users click on the historical advertisements, and generate sample advertisements .

示例性地,在对历史投放广告进行标注时,可以利用预设的标识来表示不同的类别,比如,利用标识“1”表示样本用户点击了广告,利用标识“0”表示样本用户未点击广告,则在生成样本广告时,可以根据样本用户是否点击了历史投放广告,对历史投放广告标注“0”或“1”的标识,标注后的广告即为样本广告。Exemplarily, when marking historical advertisements, different categories can be represented by preset identifiers, for example, the identifier "1" indicates that the sample user clicked on the advertisement, and the identifier "0" indicates that the sample user did not click on the advertisement , when generating sample advertisements, according to whether the sample user has clicked on the historical advertisements, mark "0" or "1" on the historical advertisements, and the marked advertisements are the sample advertisements.

举例而言,假设从样本用户A对应的广告投放记录中,确定该用户对教育类的某条历史投放广告执行了点击操作,则可以对该历史投放广告标注标识“1”,得到一条样本广告。For example, if it is determined from the advertisement delivery records corresponding to sample user A that the user has clicked on a certain historically delivered advertisement of the educational category, then the historically delivered advertisement can be marked with a mark "1" to obtain a sample advertisement .

本公开实施例中,对于生成的样本广告,可以构建样本用户的用户画像数据与不同广告类型的样本广告之间的关联关系,得到训练样本集。In the embodiment of the present disclosure, for the generated sample advertisements, an association relationship between user portrait data of sample users and sample advertisements of different advertisement types may be constructed to obtain a training sample set.

继续上述举例,生成一条样本广告之后,可以构建样本用户A的用户画像数据与教育类的该样本广告的关联关系,得到一条训练样本。从而,构建了每个样本用户及对应的样本广告的关联关系之后,即得到训练样本集。Continuing with the above example, after a sample advertisement is generated, an association relationship between the user portrait data of sample user A and the sample advertisement of education can be constructed to obtain a training sample. Therefore, after constructing the association relationship between each sample user and the corresponding sample advertisement, a training sample set is obtained.

进而,利用构建的训练样本集,可以对初始网络模型进行训练,以得到训练好的广告偏好预估模型。Furthermore, using the constructed training sample set, the initial network model can be trained to obtain a trained advertisement preference prediction model.

其中,初始网络模型可以是Boosting模型,包括但不限于AdaBoost(自适应提升模型)、GBDT(Gradient Boosting Decision Tree,梯度提升决策树)、XGBoost(eXtremeGradient Boosting,极度梯度提升树)、LightGBM(Light Gradient Boosting Machine,轻量的梯度提升机)和CatBoost中的任一种模型。Among them, the initial network model can be a Boosting model, including but not limited to AdaBoost (adaptive boosting model), GBDT (Gradient Boosting Decision Tree, gradient boosting decision tree), XGBoost (eXtremeGradient Boosting, extreme gradient boosting tree), LightGBM (Light Gradient Boosting Machine, lightweight gradient boosting machine) and any model in CatBoost.

本公开实施例中,利用训练样本集对初始网络模型进行训练时,可以将样本用户的用户画像数据作为特征数据输入至初始网络模型中,将样本广告的标注作为期望值,通过不断地更新网络模型的参数进行迭代训练,直至根据网络模型的预测结果与期望值计算得到的损失函数值小于预设值,训练结束,得到训练好的广告偏好预估模型。由此,实现了对线上用户的广告偏好进行建模,利用广告偏好预估模型,可以预测不同用户画像数据对某个广告类型的广告偏好度。其中,广告偏好度越高,表明向该用户投放该类型的广告时,该用户点击该广告的概率越大。In the embodiment of the present disclosure, when using the training sample set to train the initial network model, the user portrait data of the sample users can be input into the initial network model as feature data, and the label of the sample advertisement can be used as the expected value, and the network model can be continuously updated The parameters are iteratively trained until the loss function value calculated according to the prediction results of the network model and the expected value is less than the preset value, the training ends, and a well-trained advertising preference prediction model is obtained. In this way, the advertising preference modeling of online users is realized, and the advertisement preference degree of different user portrait data for a certain advertisement type can be predicted by using the advertisement preference estimation model. Wherein, a higher advertisement preference degree indicates that when an advertisement of this type is served to the user, the probability that the user clicks on the advertisement is higher.

本公开实施例中,获取了多个线上用户对应的用户画像数据之后,可以将用户画像数据输入至训练好的广告偏好预估模型中,由广告偏好预估模型输出每个线上用户对不同广告类型的广告偏好度,进而从广告偏好预估模型的输出结果中获取每个线上用户对于广告投放请求中的广告类型的广告偏好度。In the embodiment of the present disclosure, after obtaining the user portrait data corresponding to multiple online users, the user portrait data can be input into the trained advertisement preference estimation model, and the advertisement preference estimation model outputs the The advertisement preference degree of different advertisement types, and then obtain the advertisement preference degree of each online user for the advertisement type in the advertisement delivery request from the output result of the advertisement preference estimation model.

步骤104,基于预设的聚类算法对所述行为轨迹数据进行聚类,以获取所述多个线上用户的常驻地标签。Step 104, clustering the behavior trajectory data based on a preset clustering algorithm to obtain the residence tags of the multiple online users.

其中,聚类算法可以预先设定,聚类算法可以是但不限于是DBSCAN(Density-Based Spatial Clustering of Applications with Noise,基于密度的空间聚类算法)算法、凝聚层次聚类算法,等等。Wherein, the clustering algorithm can be preset, and the clustering algorithm can be but not limited to DBSCAN (Density-Based Spatial Clustering of Applications with Noise, density-based spatial clustering algorithm) algorithm, agglomerative hierarchical clustering algorithm, and so on.

本公开实施例中,对于获取的线上用户的行为轨迹数据,可以基于预设的聚类算法对行为轨迹数据进行聚类,以获取多个线上用户的常驻地标签。In the embodiment of the present disclosure, for the acquired behavior trajectory data of online users, the behavior trajectory data may be clustered based on a preset clustering algorithm, so as to obtain the residence tags of multiple online users.

示例性地,常驻地标签可以根据聚类得到的簇的中心所对应的地理位置信息确定,比如,可以将中心所对应的地理位置信息所属的地名(如街道名、县区名等)作为常驻地标签,属于一个簇的线上用户具有相同的常驻地标签。Exemplarily, the resident place label can be determined according to the geographic location information corresponding to the center of the cluster obtained by clustering. For example, the place name (such as street name, county name, etc.) to which the geographic location information corresponding to the center belongs can be used as Residence label, online users belonging to a cluster have the same residence label.

步骤105,根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度。Step 105, according to the advertisement preference of the plurality of online users and the residence location corresponding to the residence label, determine the advertisement preference of the candidate geographic grid including the residence location.

其中,常驻地标签对应的常驻地位置,可以通过查询地图数据中不同的地名与位置信息的对应关系,确定常驻地标签对应的常驻地位置,常驻地位置可以用经纬度表示。Wherein, the resident location corresponding to the resident label can be determined by querying the corresponding relationship between different place names and location information in the map data, and the resident location corresponding to the resident label can be expressed by latitude and longitude.

本公开实施例中,确定了每个线上用户对广告类型的广告偏好度,以及每个线上用户对应的常驻地标签之后,可以根据常驻地位置与地理网格的包含关系,确定包含常驻地位置的地理网格作为候选地理网格,并根据每个线上用户对应的常驻地标签,将候选地理网格与线上用户进行关联,即确定出常驻地标签与候选地理网格包含的常驻地位置匹配的线上用户,比如线上用户B对应的常驻地标签为C,候选地理网格a包含的常驻地位置与C对应,则将线上用户B与候选地理网格a关联,线上用户B为常驻于候选地理网格内的用户。由此,实现了不同用户的空间聚合。进而,对于每个候选地理网格,可以根据该候选地理网格关联的所有线上用户的广告偏好度,确定该候选地理网格的广告偏好度。In the embodiment of the present disclosure, after determining the advertisement preference degree of each online user for the advertisement type and the residence label corresponding to each online user, it can be determined according to the inclusion relationship between the residence location and the geographic grid. The geographic grid containing the location of the resident location is used as the candidate geographic grid, and according to the resident label corresponding to each online user, the candidate geographic grid is associated with the online user, that is, the resident label and the candidate location are determined. Online users whose resident location matches the geographic grid. For example, the resident label corresponding to online user B is C, and the resident location contained in the candidate geographic grid a corresponds to C, then online user B Associated with the candidate geographic grid a, the online user B is a user resident in the candidate geographic grid. Thus, the spatial aggregation of different users is realized. Furthermore, for each candidate geographic grid, the advertisement preference of the candidate geographic grid may be determined according to the advertisement preference of all online users associated with the candidate geographic grid.

示例性地,在确定每个候选地理网格的广告偏好度时,针对一个候选地理网格,可以从该候选地理网格关联的所有线上用户的广告偏好度中,选择最大的广告偏好度作为该候选地理网格的广告偏好度。Exemplarily, when determining the advertisement preference of each candidate geographic grid, for a candidate geographic grid, the largest advertisement preference can be selected from the advertisement preference of all online users associated with the candidate geographic grid as the advertisement preference of the candidate geographic grid.

步骤106,根据所述候选地理网格的广告偏好度,确定目标地理网格。Step 106: Determine a target geographic grid according to the advertisement preference of the candidate geographic grid.

本公开实施例中,确定了每个候选地理网格的广告偏好度之后,可以根据各候选地理网格的广告偏好度,从候选地理网格中确定出目标地理网格。In the embodiment of the present disclosure, after the advertisement preference of each candidate geographic grid is determined, the target geographic grid may be determined from the candidate geographic grids according to the advertisement preference of each candidate geographic grid.

示例性地,可以在确定了每个候选地理网格的广告偏好度之后,将各个候选地理网格按照广告偏好度由大到小的顺序进行排序,并获取排序在前的预设个数的候选地理网格作为目标地理网格。其中,预设个数可以根据实际需求预先设定,或者,预设个数可以根据用户输入的广告投放请求中的广告位预算量确定,当用户未输入广告位预算量时,采用预设的默认值作为预设个数。Exemplarily, after the advertisement preference degree of each candidate geographic grid is determined, each candidate geographic grid can be sorted according to the order of advertisement preference from large to small, and obtain the top preset number of Candidate geographic grids serve as target geographic grids. Wherein, the preset number can be preset according to actual needs, or the preset number can be determined according to the advertising space budget in the advertisement delivery request input by the user. When the user does not input the advertising space budget, the preset The default value is used as the preset number.

示例性地,可以在确定了每个候选地理网格的广告偏好度之后,根据所有候选地理网格的广告偏好度,计算得到一个偏好度均值,将候选地理网格中广告偏好度大于该偏好度均值的候选地理网格确定为目标地理网格。Exemplarily, after the advertisement preference degree of each candidate geographic grid is determined, a preference average value is calculated according to the advertisement preference degrees of all candidate geographic grids, and the advertisement preference degree in the candidate geographic grid is greater than the preference Candidate geographic grids with degree mean values are determined as target geographic grids.

步骤107,将所述目标地理网格中包含的所述目标类型的目标POI确定为所述线下广告位。Step 107, determining the target POI of the target type contained in the target geographic grid as the offline advertising space.

本公开实施例中,确定出目标地理网格之后,可以从目标地理网格中获取目标类型的目标POI,将获取的目标POI确定为线下广告位,确定的线下广告为可以推荐给用户。In the embodiment of the present disclosure, after the target geographic grid is determined, the target POI of the target type can be obtained from the target geographic grid, and the acquired target POI can be determined as an offline advertisement position, and the determined offline advertisement can be recommended to the user .

示例性地,在向用户推荐确定的线下广告位时,可以显示目标POI的名称、所在的地理位置等信息。Exemplarily, when recommending a certain offline advertisement position to the user, information such as the name of the target POI and the geographical location may be displayed.

本公开实施例的线下广告位的推荐方法,通过获取用户输入的广告投放请求,广告投放请求包括待投放广告的广告类型以及投放待投放广告的POI的目标类型,并获取多个线上用户的用户画像数据及行为轨迹数据,接着根据用户画像数据,利用预先训练的广告偏好预估模型,获取多个线上用户对广告类型的广告偏好度,并基于预设的聚类算法对行为轨迹数据进行聚类,以获取多个线上用户的常驻地标签,进而根据多个线上用户的广告偏好度和常驻地标签对应的常驻地位置,确定包含常驻地位置的候选地理网格的广告偏好度,并根据候选地理网格的广告偏好度,确定目标地理网格,将目标地理网格中包含的目标类型的目标POI确定为线下广告位。采用本公开的方案,实现了利用线上用户的用户画像数据来预估线下场景中用户的广告偏好度,以及利用线上用户的行为轨迹数据挖掘线上用户的常驻地标签,并根据常驻地位置确定线下物理空间的地理网格,进而根据线上用户的广告偏好度确定地理网格的广告偏好度从而确定出目标类型的目标POI作为推荐的线下广告位,实现了线上用户与线下物理空间的映射,解决了线下广告投放场景缺乏有效受众的数据的问题,从而能够提高线下广告位推荐的精准度。The method for recommending an offline advertising space in an embodiment of the present disclosure obtains the advertisement placement request input by the user, the advertisement placement request includes the advertisement type to be placed and the target type of the POI to place the advertisement, and obtains multiple online users. According to the user portrait data and behavior trajectory data, and then according to the user portrait data, use the pre-trained advertising preference estimation model to obtain the advertising preference of multiple online users for the type of advertisement, and based on the preset clustering algorithm to analyze the behavior trajectory The data is clustered to obtain the resident labels of multiple online users, and then according to the advertisement preferences of multiple online users and the resident locations corresponding to the resident labels, determine the candidate geographic location that includes the resident location The advertisement preference of the grid, and according to the advertisement preference of the candidate geographic grid, determine the target geographic grid, and determine the target POI of the target type contained in the target geographic grid as the offline advertisement position. By adopting the scheme of the present disclosure, it is possible to use the user portrait data of online users to estimate the advertising preference of users in offline scenarios, and to use the behavior track data of online users to mine the residence labels of online users, and according to The permanent location determines the geographical grid of the offline physical space, and then determines the advertising preference of the geographical grid according to the advertising preference of online users, so as to determine the target POI of the target type as the recommended offline advertising position, realizing the offline The mapping between online users and offline physical space solves the problem of lack of effective audience data in offline advertising scenarios, thereby improving the accuracy of offline advertising position recommendations.

在本公开的一种可选实施方式中,在根据多个线上用户的广告偏好度和常驻地标签对应的常驻地位置,确定包含常驻地位置的候选地理网格的广告偏好度时,可以先根据常驻地标签对应的常驻地位置,从多个地理网格中确定出包含常驻地位置的候选地理网格;接着,针对每个候选地理网格,将候选地理网格中包含的线上用户的广告偏好度进行累加,得到每个候选地理网格的广告偏好度。In an optional implementation of the present disclosure, according to the advertisement preference of multiple online users and the residence location corresponding to the residence label, determine the advertisement preference of the candidate geographic grid containing the residence location , according to the resident location corresponding to the resident label, the candidate geographic grid containing the resident location can be determined from multiple geographic grids; then, for each candidate geographic grid, the candidate geographic grid The advertisement preference of online users contained in the grid is accumulated to obtain the advertisement preference of each candidate geographic grid.

示例性地,多个地理网格可以是基于预设的地理空间点索引算法对现实地理区域进行划分得到的多个格网单元。Exemplarily, the plurality of geographic grids may be a plurality of grid units obtained by dividing a real geographic area based on a preset geographic spatial point indexing algorithm.

示例性地,多个地理网格单元可以是按照预设的筛选策略,从基于预设的地理空间点索引算法对现实地理区域进行划分得到的多个格网单元中筛选得到的。Exemplarily, the plurality of geographic grid units may be obtained by screening the plurality of grid units obtained by dividing the real geographical area based on the preset geographic spatial point indexing algorithm according to a preset screening strategy.

本公开实施例中,在确定了每个线上用户对广告类型的广告偏好度,以及每个线上用户对应的常驻地标签之后,可以先根据常驻地标签对应的常驻地位置,从多个地理网格中确定出包含常驻地位置的候选地理网格,再根据候选地理网格包含的常驻地位置和线上用户对应的常驻地标签之间的对应关系,确定出每个候选地理网格分别包含的所有线上用户,进而针对每个候选地理网格,对同一候选地理网格中包含的所有线上用户的广告偏好度进行累加,得到该候选地理网格的广告偏好度,从而得到每个候选地理网格的广告偏好度。In the embodiment of the present disclosure, after determining the advertisement preference of each online user for the type of advertisement and the residence label corresponding to each online user, the residence location corresponding to the residence label can be firstly determined, Determine the candidate geographic grid containing the resident location from multiple geographic grids, and then determine the All online users contained in each candidate geographic grid, and then for each candidate geographic grid, the advertisement preference of all online users contained in the same candidate geographic grid is accumulated to obtain the candidate geographic grid Advertising preference, so as to obtain the advertising preference of each candidate geographic grid.

示例性地,假设一个候选地理网格中包含30个线上用户,这30个线上用户的广告偏好度均为0.4,则该候选地理网格的广告偏好度为30*0.4=12。Exemplarily, assuming that a candidate geographic grid includes 30 online users, and the advertisement preference of these 30 online users is all 0.4, the advertisement preference of the candidate geographic grid is 30*0.4=12.

在本公开实施例中,通过根据常驻地标签对应的常驻地位置,从多个地理网格中确定出包含常驻地位置的候选地理网格,进而针对每个候选地理网格,将候选地理网格中包含的线上用户的广告偏好度进行累加,得到每个候选地理网格的广告偏好度,由此,能够根据常驻地与地理网格的空间包含关系,实现基于地理网格的人群广告偏好度估计,进而确定地理网格对应的广告偏好度,实现了线上数据与线下物理空间之间的映射,为实现线下广告位的精准选位提供了数据支撑。In the embodiment of the present disclosure, according to the resident location corresponding to the resident label, the candidate geographic grid containing the resident location is determined from multiple geographic grids, and then for each candidate geographic grid, the The advertising preference of online users contained in the candidate geographic grids is accumulated to obtain the advertising preference of each candidate geographic grid. Therefore, according to the spatial inclusion relationship between the resident place and the geographic grid, the geographic network-based Based on the estimation of crowd advertising preference in the grid, the advertising preference corresponding to the geographic grid is determined, and the mapping between online data and offline physical space is realized, which provides data support for the precise selection of offline advertising positions.

在本公开的一种可选实施方式中,前述实施例所述的多个地理网格可以通过如图2所示的实现方式进行确定。图2示出了根据本公开另一示例性实施例的线下广告位的推荐方法的流程图,如图2所示,在前述实施例的基础上,该线下广告位的推荐方法还可以包括以下步骤:In an optional implementation manner of the present disclosure, the multiple geographic grids described in the foregoing embodiments may be determined through an implementation manner as shown in FIG. 2 . Fig. 2 shows a flow chart of a method for recommending an offline advertising space according to another exemplary embodiment of the present disclosure. As shown in Fig. 2 , on the basis of the foregoing embodiments, the method for recommending an offline advertising space may also be Include the following steps:

步骤201,获取预设大小且包含所述目标类型的POI的多个网格单元。Step 201 , acquiring a plurality of grid units with a preset size and containing POIs of the target type.

其中,预设大小可以是网格单元的边长、半径等,也可以是网格单元的面积,本公开对此不作限制。Wherein, the preset size may be the side length, radius, etc. of the grid unit, or may be the area of the grid unit, which is not limited in the present disclosure.

示例性地,假设预设大小为边长,则可以获取用户期望的投放区域(比如某一个或多个城市)内的目标类型的POI的位置,并以目标类型的POI的位置为中心,以预设大小作为边长,在POI周围划分一个边长为预设大小的正方形区域作为一个网格单元,多个POI即得到多个网格单元。Exemplarily, assuming that the preset size is the side length, the position of the POI of the target type in the delivery area (such as one or more cities) expected by the user can be obtained, and the position of the POI of the target type is the center, with The preset size is used as the side length, and a square area with a side length of the preset size is divided around the POI as a grid unit, and multiple POIs can obtain multiple grid units.

示例性地,假设预设大小为面积,则可以获取用户期望的投放区域内的目标类型的POI的位置,并以目标类型的POI的位置为中心,在POI周围划分出一个面积为预设大小的区域作为一个网格单元,多个POI即得到多个网格单元。For example, assuming that the preset size is the area, the position of the target type POI in the user's expected delivery area can be obtained, and with the position of the target type POI as the center, an area is divided around the POI as the preset size The region of is used as a grid unit, and multiple POIs get multiple grid units.

在本公开的一种可选实施方式中,在获取多个网格单元时,还可以先基于地理空间点索引算法将地理空间区域划分为多个网格区域,网格区域与位于其网格区域内的POI关联;再从多个网格区域中筛选出包含目标类型的POI的候选网格区域;若候选网格区域的大小小于等于预设大小,则确定候选网格区域为网格单元;若候选网格区域的大小大于预设大小,则对候选网格区域进行分割,得到多个子网格;对于每个子网格,可以判断子网格的大小是否大于预设大小,若所述子网格的大小不大于所述预设大小且包含所述目标类型的POI,则将所述子网格确定为所述网格单元;若所述子网格的大小大于所述预设大小,则将包含所述目标类型的POI的候选子网格继续进行分割,直至得到不大于所述预设大小且包含所述目标类型的POI的网格单元。In an optional implementation of the present disclosure, when obtaining multiple grid units, the geospatial area can also be divided into multiple grid areas based on the geospatial point index algorithm first, and the grid area and its grid POI association in the area; then filter out the candidate grid area containing the POI of the target type from multiple grid areas; if the size of the candidate grid area is less than or equal to the preset size, determine the candidate grid area as a grid unit ; If the size of the candidate grid area is greater than the preset size, the candidate grid area is divided to obtain multiple sub-grids; for each sub-grid, it can be judged whether the size of the sub-grid is greater than the preset size, if the The size of the sub-grid is not greater than the preset size and contains the POI of the target type, then determining the sub-grid as the grid unit; if the size of the sub-grid is greater than the preset size , then the candidate sub-grids containing the POI of the target type will continue to be divided until a grid unit not larger than the preset size and containing the POI of the target type is obtained.

其中,地理空间点索引算法可以是但不限于是Genhash算法、Google S2算法等;地理空间区域可以是全国的地理空间,也可以是用户(广告投放主)指定的希望投放广告的期望区域,本公开对此不作限制。Among them, the geospatial point index algorithm can be but not limited to Genhash algorithm, Google S2 algorithm, etc.; the geospatial area can be the geographic space of the whole country, or it can be the expected area specified by the user (advertiser) who wants to place advertisements. There is no limit to this publicly.

示例性地,可以通过Google S2算法对地理空间区域维护一套层级地理网格ID体系,包括多个网格区域及对应的ID,并通过调用接口的方式获取地图公开的POI(包括POI名称、类型、位置信息等),将POI与所属的网格区域的ID进行关联。Exemplarily, Google S2 algorithm can be used to maintain a set of hierarchical geographic grid ID system for geospatial areas, including multiple grid areas and corresponding IDs, and obtain POIs (including POI names, type, location information, etc.), and associate the POI with the ID of the grid area to which it belongs.

能够理解的是,基于地理空间点索引算法划分出的多个网格区域中,有的网格可能并不包含目标类型的POI,因此本公开实施例中,可以将这些网格区域过滤掉,仅保留网格区域中包含目标类型的POI的网格区域作为候选网格区域,由此,实现了网格区域的初筛。It can be understood that among the multiple grid areas divided based on the geospatial point index algorithm, some grids may not contain the POI of the target type, so in the embodiment of the present disclosure, these grid areas can be filtered out, Only the grid area containing the POI of the target type among the grid areas is reserved as the candidate grid area, thereby realizing the preliminary screening of the grid area.

接着,对于筛选出的候选网格区域,可以判断候选网格区域的大小是否满足(不大于)预设大小。比如,假设预设大小为边长,则可以比较候选网格区域的最大边长是否小于等于预设边长阈值,如果是,则认为该候选网格区域的边长不大于预设边长阈值,否则认为该候选网格区域的边长大于预设边长阈值,其中,预设边长阈值可以根据实际需要预先设定。又比如,假设预设大小为面积,则可以比较候选网格区域的面积是否大于预设面积阈值,如果是则候选网格区域的面积大于预设面积阈值,否则认为候选网格区域的面积不大于预设面积阈值,其中,预设面积阈值可以根据实际需要预先设定。Next, for the screened candidate grid area, it may be determined whether the size of the candidate grid area satisfies (is not greater than) a preset size. For example, assuming that the preset size is the side length, you can compare whether the maximum side length of the candidate grid area is less than or equal to the preset side length threshold, and if so, consider that the side length of the candidate grid area is not greater than the preset side length threshold , otherwise it is considered that the side length of the candidate grid region is greater than a preset side length threshold, wherein the preset side length threshold can be preset according to actual needs. For another example, assuming that the preset size is an area, it is possible to compare whether the area of the candidate grid region is greater than the preset area threshold, if so, the area of the candidate grid region is greater than the preset area threshold, otherwise the area of the candidate grid region is considered to be larger than the preset area threshold. greater than a preset area threshold, wherein the preset area threshold can be preset according to actual needs.

本公开实施例中,如果候选网格区域的大小小于等于预设大小,则将该候选网格区域确定为一个网格单元;如果候选网格区域的大小大于预设大小,则可以对候选网格区域进行分割,得到多个子网格,比如,可以对候选网格区域进行四等分,得到四个子网格。对于分割出的每个子网格,可以判断子网格的大小是否大于预设大小,判断方式与判断候选网格区域的大小是否大于预设大小的方式类似。如果子网格的大小小于等于预设大小,并且该子网格包含目标类型的POI,则将该子网格确定为一个网格单元;如果子网格不包含目标类型的POI,则过滤掉该子网格;如果子网格包含目标类型的POI,但该子网格的大小大于预设大小,则继续对该子网格进行分割,得到多个更小的子网格,重复上述过程,直至得到不大于预设大小且包含目标类型的POI的网格单元。In the embodiment of the present disclosure, if the size of the candidate grid area is smaller than or equal to the preset size, the candidate grid area is determined as a grid unit; if the size of the candidate grid area is larger than the preset size, the candidate grid area can be The grid area is divided to obtain multiple sub-grids. For example, the candidate grid area can be quartered to obtain four sub-grids. For each divided sub-grid, it may be determined whether the size of the sub-grid is larger than a preset size, and the judgment method is similar to the method of judging whether the size of the candidate grid area is larger than the preset size. If the size of the sub-grid is less than or equal to the preset size, and the sub-grid contains POIs of the target type, the sub-grid is determined as a grid unit; if the sub-grid does not contain POIs of the target type, it is filtered out The sub-grid; if the sub-grid contains POIs of the target type, but the size of the sub-grid is larger than the preset size, continue to divide the sub-grid to obtain multiple smaller sub-grids, and repeat the above process , until a grid unit not larger than the preset size and containing the POI of the target type is obtained.

在本公开的一种可选实施方式中,对于筛选出的包含目标类型的POI的任一个候选网格区域,可以将其面积与预设面积阈值进行比较,如果其面积小于等于预设面积阈值,则将该候选网格区域确定为一个网格单元;如果其面积大于预设面积阈值,则对该候选网格区域进行分割,得到多个子网格。之后,将多个子网格中不包含目标类型的POI的子网格丢弃,将包含目标类型的POI的子网格的面积与预设面积阈值进行比较,如果多个子网格中第一子网格的面积不大于预设面积阈值且包含目标类型的POI的情况下,则将第一子网格确定为网格单元,其中,第一子网格为多个子网格中任一子网格;如果多个子网格中第二子网格的面积大于预设面积阈值且包含目标类型的POI,则将第二子网格继续进行分割,得到多个更小的子网格,重复上述过程,直至得到面积不大于预设面积阈值且包含目标类型的POI的网格单元,其中,第二子网格为多个子网格中除第一子网格外的任一子网格。In an optional implementation of the present disclosure, for any candidate grid area that contains the POI of the target type, its area may be compared with a preset area threshold, and if its area is less than or equal to the preset area threshold , the candidate grid area is determined as a grid unit; if its area is greater than the preset area threshold, the candidate grid area is divided to obtain multiple sub-grids. Afterwards, the sub-grids that do not contain the POI of the target type in the multiple sub-grids are discarded, and the area of the sub-grids that contain the POIs of the target type is compared with the preset area threshold, if the first sub-grid in the multiple sub-grids When the area of the grid is not greater than the preset area threshold and contains the POI of the target type, the first sub-grid is determined as the grid unit, wherein the first sub-grid is any sub-grid in the plurality of sub-grids ; If the area of the second sub-grid in the multiple sub-grids is greater than the preset area threshold and contains the POI of the target type, continue to divide the second sub-grid to obtain multiple smaller sub-grids, and repeat the above process , until a grid cell whose area is not greater than the preset area threshold and contains the POI of the target type is obtained, wherein the second sub-grid is any sub-grid in the plurality of sub-grids except the first sub-grid.

也就是说,对候选网格区域进行分割得到的多个子网格中,对于面积不大于预设面积阈值且包含目标类型的POI的第一子网格,直接将第一子网格确定为网格单元;对于面积大于预设面积阈值且包含目标类型的POI的第二子网格,将其继续分割为更小的多个子网格,并重复上述过程,直至得到面积小于预设面积阈值且包含目标类型的POI的网格单元。That is to say, among the multiple sub-grids obtained by segmenting the candidate grid area, for the first sub-grid whose area is not greater than the preset area threshold and contains POIs of the target type, the first sub-grid is directly determined as the grid grid unit; for the second subgrid whose area is greater than the preset area threshold and contains the POI of the target type, it is further divided into smaller multiple subgrids, and the above process is repeated until the area obtained is less than the preset area threshold and Grid cell containing POIs of the target type.

在本公开实施例中,通过构建网格区域与POI的关联关系,并在地理空间区域内进行扫描来筛选预设大小且包含目标类型的POI的网格单元,使得点位资源和流量主解耦,并且通过网格划分能够加速网格搜索。In the embodiment of the present disclosure, by constructing the association relationship between the grid area and the POI, and scanning in the geospatial area to filter the grid unit of the preset size and containing the POI of the target type, the main solution of point resources and traffic coupling, and grid search can be accelerated through grid division.

步骤202,根据每个所述网格单元包含的每种POI类型的POI数量,确定每个所述网格单元的得分。Step 202: Determine the score of each grid unit according to the number of POIs of each POI type contained in each grid unit.

在本公开的一种可选实施方式中,针对每个网格单元,可以统计该网格单元中包含的POI类型以及每种POI类型的POI数量,将不同POI类型的POI数量进行累加得到的数值作为该网格单元的得分。比如,一个网格单元中包含学校2个,商场1个,则将包含的POI总数量(2+1=3个)作为该网格单元的得分。In an optional implementation manner of the present disclosure, for each grid unit, the POI types contained in the grid unit and the number of POIs of each POI type can be counted, and the number of POIs of different POI types is accumulated The value serves as the score for that grid cell. For example, if a grid unit contains 2 schools and 1 shopping mall, then the total number of POIs (2+1=3) included will be used as the score of the grid unit.

在本公开的一种可选实施方式中,可以针对每个网格单元,获取该网格单元中包含的每种POI类型的POI数量;接着,根据预设的不同POI类型对应的分值以及所述网格单元中包含的每种POI类型的POI数量,确定每个所述网格单元的得分。比如,预设的不同POI类型对应的分值为:学校1分、住宅0.8分、写字楼0.6分、商场0.5分,假设一个网格单元中包含学校2个和商场1个,则该网格单元对应的得分为:1*2+0.5*1=2.5分。In an optional implementation of the present disclosure, for each grid unit, the number of POIs of each POI type contained in the grid unit can be obtained; then, according to the preset scores corresponding to different POI types and The number of POIs of each POI type included in the grid unit determines the score of each grid unit. For example, the preset scores corresponding to different POI types are: 1 point for schools, 0.8 points for residences, 0.6 points for office buildings, and 0.5 points for shopping malls. Assuming that a grid unit includes 2 schools and 1 shopping mall, the grid unit The corresponding score is: 1*2+0.5*1=2.5 points.

步骤203,根据每个所述网格单元的得分,从所述多个网格单元中确定所述多个地理网格。Step 203: Determine the plurality of geographic grids from the plurality of grid units according to the score of each grid unit.

本公开实施例中,确定了每个网格单元对应的得分之后,可以根据每个网格单元对应的得分,从多个网格单元中确定多个地理网格。In the embodiment of the present disclosure, after the score corresponding to each grid unit is determined, multiple geographic grids may be determined from multiple grid units according to the score corresponding to each grid unit.

在本公开的一种可选实施方式中,可以预先设置一个预设数值作为需要获取的地理网格的个数,则确定了每个网格单元的得分之后,可以按照得分由高到低的顺序,从网格单元中选择预设数值的网格单元作为确定的多个地理网格,即选择得分最高的预设数值的网格单元作为地理网格。In an optional implementation of the present disclosure, a preset value can be set in advance as the number of geographic grids to be acquired, then after determining the score of each grid unit, it can be calculated according to the score from high to low In order, the grid units with preset values are selected from the grid units as the determined plurality of geographic grids, that is, the grid units with the highest scores and preset values are selected as the geographic grids.

在本公开的一种可选实施方式中,用户输入的广告投放请求可以包括预算广告位数,预算广告位数为用户期望被推荐的广告位数,本公开实施例中,可以根据用户输入的预算广告位数确定包含足量的目标类型的POI的网格单元作为多个地理网格。从而,本公开实施例中,在从多个网格单元中确定多个地理网格时,可以先根据所述预算广告位数和预设倍数,确定候选广告位数;接着,按照得分由高到低的顺序对所述多个网格单元进行排序,并从排序第一的网格单元开始,依次累加每个所述网格单元中包含的所述目标类型的POI的总数量,直至所述总数量达到所述候选广告位数,确定当前累加过的目标网格单元作为所述多个地理网格。In an optional implementation of the present disclosure, the advertisement placement request input by the user may include the number of budget advertisements, which is the number of advertisements that the user expects to be recommended. The budget slots determine grid cells that contain a sufficient number of POIs of the target type as multiple geographic grids. Therefore, in the embodiment of the present disclosure, when multiple geographic grids are determined from multiple grid units, the candidate advertisement digits can be determined first according to the budget advertisement digits and the preset multiple; Sorting the multiple grid units in descending order, and starting from the grid unit sorted first, sequentially accumulating the total number of POIs of the target type contained in each grid unit until all When the total number reaches the number of candidate advertisement positions, the currently accumulated target grid unit is determined as the plurality of geographical grids.

其中,预设倍数可以根据实际需求预先设定,比如,可以设置预设倍数为6倍、10倍等。Wherein, the preset multiple can be preset according to actual needs, for example, the preset multiple can be set to 6 times, 10 times, etc.

举例而言,假设用户输入的预算广告位数为20,预设倍数为5,则确定候选广告位数为100,即多个地理网格中包含的目标类型的POI的数量应当不少于100个。本公开实施例中,确定了每个网格单元的得分之后,将网格单元按照得分由高到低的顺序进行排序,并从排序在第一个的网格单元开始,依次累加该网格单元及其之后的网格单元中包含的目标类型的POI的总数量,当总数量达到100时,将当前累加过的目标网格单元确定为多个地理网格,也就是说,将包含第100个目标类型的POI的网格单元及其之前的网格单元确定为多个地理网格。比如,假设从排序后的第一个网格单元包含的目标类型的POI的数量开始相加,当加到排序第35个网格单元时,目标类型的POI的总数量达到100,则确定排序第1至第35的这35个网格单元为地理网格。由此,能够将得分较高的且包含目标类型的POI的网格单元确定为多个地理网格,并且能够保证最终推荐的广告位是满足用户的数量需求的。For example, assuming that the number of budget advertisements entered by the user is 20 and the preset multiplier is 5, the number of candidate advertisements is determined to be 100, that is, the number of POIs of the target type contained in multiple geographic grids should be no less than 100 indivual. In the embodiment of the present disclosure, after the score of each grid unit is determined, the grid units are sorted according to the order of the score from high to low, and starting from the grid unit sorted first, the grid units are accumulated sequentially The total number of POIs of the target type contained in the unit and subsequent grid units. When the total number reaches 100, the current accumulated target grid unit is determined to be multiple geographic grids, that is, it will contain the first The grid cells of 100 POIs of the target type and the grid cells before them are determined as a plurality of geographic grids. For example, assuming that the number of POIs of the target type contained in the first grid unit after sorting is added, and when added to the 35th grid unit of the sort, the total number of POIs of the target type reaches 100, then the sorting is determined The 35 grid cells from the 1st to the 35th are geographic grids. Thus, grid units with higher scores and containing POIs of the target type can be determined as a plurality of geographic grids, and it can be ensured that the finally recommended advertising positions meet the quantity requirements of users.

另外,在本公开的一种可选实施方式中,如果累加所有的网格单元包含的目标类型的POI的总数量,仍小于候选广告位数,则将所有的网格单元均确定为地理网格。In addition, in an optional implementation of the present disclosure, if the cumulative total number of POIs of the target type contained in all grid units is still less than the number of candidate advertisements, then all grid units are determined as geographical grid units. grid.

本公开实施例的线下广告位的推荐方法,通过获取预设大小且包含目标类型的POI的多个网格单元,根据每个网格单元包含的每种POI类型的POI数量,确定每个网格单元的得分,进而根据每个网格单元的得分,从多个网格单元中确定多个地理网格,由此,实现了为每个网格单元进行打分,并按照得分从网格单元中筛选出地理网格以用于后续与线上用户的常驻地标签进行关联,能够减少需要与常驻地位置比对的地理网格的数量,从而提高比对速度和效率。The method for recommending an offline advertising space in an embodiment of the present disclosure obtains multiple grid units of a preset size and contains POIs of the target type, and determines each POI according to the number of POIs of each POI type contained in each grid unit The score of the grid unit, and then according to the score of each grid unit, determine multiple geographic grids from multiple grid units, thus realizing scoring for each grid unit, and according to the score from the grid The geographical grid is screened out in the unit for subsequent association with the residence label of the online user, which can reduce the number of geographical grids that need to be compared with the residence location, thereby improving the comparison speed and efficiency.

采用本公开的方案,能够快速、方便地将线上的数据、流量、营销资源等与线下的现实物理空间进行关联映射,实现线下广告任意空间位置的精准营销选位。By adopting the disclosed scheme, online data, traffic, marketing resources, etc. can be associated and mapped with offline real physical space quickly and conveniently, so as to realize accurate marketing position selection of any spatial position of offline advertisements.

本公开示例性实施例还提供了一种线下广告位的推荐装置。图3示出了根据本公开示例性实施例的线下广告位的推荐装置的示意性框图,如图3所示,该线下广告位的推荐装置30包括:第一获取模块310、第二获取模块320、第三获取模块330、聚类模块340、第一确定模块350、第二确定模块360和第三确定模块370。The exemplary embodiment of the present disclosure also provides an apparatus for recommending an offline advertising space. Fig. 3 shows a schematic block diagram of an apparatus for recommending an offline advertising space according to an exemplary embodiment of the present disclosure. As shown in Fig. 3 , the apparatus 30 for recommending an offline advertising space includes: a first acquisition module 310, a An acquisition module 320 , a third acquisition module 330 , a clustering module 340 , a first determination module 350 , a second determination module 360 and a third determination module 370 .

其中,第一获取模块310,用于获取用户输入的广告投放请求,所述广告投放请求包括待投放广告的广告类型以及投放所述待投放广告的POI的目标类型;Wherein, the first acquiring module 310 is configured to acquire an advertisement placement request input by a user, the advertisement placement request including the advertisement type of the advertisement to be placed and the target type of the POI of the advertisement to be placed;

第二获取模块320,用于获取多个线上用户的用户画像数据及行为轨迹数据;The second obtaining module 320 is used to obtain user portrait data and behavior track data of multiple online users;

第三获取模块330,用于根据所述用户画像数据,利用预先训练的广告偏好预估模型,获取所述多个线上用户对所述广告类型的广告偏好度;The third acquisition module 330 is configured to acquire the advertisement preference of the plurality of online users for the advertisement type by using a pre-trained advertisement preference estimation model according to the user portrait data;

聚类模块340,用于基于预设的聚类算法对所述行为轨迹数据进行聚类,以获取所述多个线上用户的常驻地标签;A clustering module 340, configured to cluster the behavior trajectory data based on a preset clustering algorithm, so as to obtain the residence tags of the plurality of online users;

第一确定模块350,用于根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度;The first determination module 350 is configured to determine, according to the advertisement preferences of the multiple online users and the residence location corresponding to the residence label, the location of the candidate geographic grid containing the residence location Ad preference;

第二确定模块360,用于根据所述候选地理网格的广告偏好度,确定目标地理网格;The second determining module 360 is configured to determine a target geographic grid according to the advertisement preference of the candidate geographic grid;

第三确定模块370,用于将所述目标地理网格中包含的所述目标类型的目标POI确定为所述线下广告位。The third determining module 370 is configured to determine the target POI of the target type contained in the target geographic grid as the offline advertising position.

可选地,所述第一确定模块350,还用于:Optionally, the first determining module 350 is further configured to:

根据所述常驻地标签对应的常驻地位置,从多个地理网格中确定出包含所述常驻地位置的候选地理网格;Determine a candidate geographic grid containing the resident location from a plurality of geographic grids according to the resident location corresponding to the resident label;

针对每个所述候选地理网格,将所述候选地理网格中包含的线上用户的广告偏好度进行累加,得到每个所述候选地理网格的广告偏好度。For each of the candidate geographic grids, the advertisement preference degrees of the online users included in the candidate geographic grids are accumulated to obtain the advertisement preference degrees of each of the candidate geographic grids.

可选地,所述线下广告位的推荐装置30,还包括:Optionally, the device 30 for recommending offline advertising spaces further includes:

第四获取模块,用于获取预设大小且包含所述目标类型的POI的多个网格单元;A fourth acquisition module, configured to acquire a plurality of grid units of a preset size and containing POIs of the target type;

第四确定模块,用于根据每个所述网格单元包含的每种POI类型的POI数量,确定每个所述网格单元的得分;A fourth determination module, configured to determine the score of each grid unit according to the number of POIs of each POI type contained in each grid unit;

第五确定模块,用于根据每个所述网格单元的得分,从所述多个网格单元中确定所述多个地理网格。The fifth determination module is configured to determine the plurality of geographic grids from the plurality of grid units according to the score of each grid unit.

可选地,所述第四获取模块,还用于:Optionally, the fourth acquisition module is also used for:

基于地理空间点索引算法将地理空间区域划分为多个网格区域,所述网格区域与位于其网格区域内的POI关联;dividing the geospatial area into a plurality of grid areas based on a geospatial point indexing algorithm, the grid areas being associated with POIs located within their grid areas;

从所述多个网格区域中筛选出包含所述目标类型的POI的候选网格区域;selecting a candidate grid area containing POIs of the target type from the plurality of grid areas;

在所述候选网格区域的面积大于预设大小面积阈值的情况下,对所述候选网格区域进行分割,得到多个子网格;In the case that the area of the candidate grid area is greater than a preset size area threshold, the candidate grid area is divided to obtain a plurality of sub-grids;

在所述多个子网格中第一子网格的面积不大于所述预设面积阈值且包含所述目标类型的POI的情况下,将所述第一子网格确定为所述网格单元,其中,所述第一子网格为所述多个子网格中任一子网格;If the area of the first sub-grid among the plurality of sub-grids is not greater than the preset area threshold and contains the POI of the target type, determine the first sub-grid as the grid unit , wherein the first subgrid is any subgrid in the plurality of subgrids;

在所述多个子网格中第二子网格的面积大于所述预设面积阈值且包含所述目标类型的POI的情况下,将所述第二子网格继续进行分割,直至得到不大于所述预设面积阈值且包含所述目标类型的POI的网格单元,其中,所述第二子网格为所述多个子网格中除所述第一子网格外的任一子网格。In the case where the area of the second sub-grid among the plurality of sub-grids is greater than the preset area threshold and contains POIs of the target type, continue to divide the second sub-grid until no larger than The preset area threshold and the grid unit containing the POI of the target type, wherein the second sub-grid is any sub-grid in the plurality of sub-grids except the first sub-grid .

可选地,所述第四确定模块,还用于:Optionally, the fourth determining module is also used for:

针对每个所述网格单元,获取所述网格单元中包含的每种POI类型的POI数量;For each grid unit, obtain the number of POIs of each POI type contained in the grid unit;

根据预设的不同POI类型对应的分值以及所述网格单元中包含的每种POI类型的POI数量,确定每个所述网格单元的得分。The score of each grid unit is determined according to the preset scores corresponding to different POI types and the number of POIs of each POI type contained in the grid unit.

可选地,所述广告投放请求还包括预算广告位数;所述第五确定模块,还用于:Optionally, the advertisement placement request also includes a budgeted number of advertisements; the fifth determination module is also used for:

根据所述预算广告位数和预设倍数,确定候选广告位数;Determine the number of candidate advertisements according to the number of advertisements in the budget and the preset multiple;

按照得分由高到低的顺序对所述多个网格单元进行排序,并从排序第一的网格单元开始,依次累加每个所述网格单元中包含的所述目标类型的POI的总数量,直至所述总数量达到所述候选广告位数,确定当前累加过的目标网格单元作为所述多个地理网格。The plurality of grid units are sorted in descending order of scores, and starting from the first sorted grid unit, the total number of POIs of the target type contained in each grid unit is sequentially accumulated. until the total number reaches the number of candidate advertisement positions, and determine the currently accumulated target grid unit as the plurality of geographic grids.

可选地,所述线下广告位的推荐装置30,还包括:训练模块;所述训练模块用于:Optionally, the device 30 for recommending offline advertising spaces further includes: a training module; the training module is used for:

获取线上广告投放场景中对样本用户投放广告的广告投放记录,以及所述样本用户的用户画像数据;Obtaining the advertisement delivery records of the sample users in the online advertisement delivery scenario, and the user portrait data of the sample users;

对所述广告投放记录进行分析,以获取不同广告类型的历史投放广告及所述样本用户对所述历史投放广告的操作数据,所述操作数据包括点击或未点击;Analyzing the advertisement delivery records to obtain historical advertisements of different advertisement types and operation data of the sample users on the historical advertisements, the operation data including clicks or no clicks;

根据所述样本用户对所述历史投放广告的操作数据,对所述历史投放广告进行标注,生成样本广告;Marking the historical advertisements according to the operation data of the sample users on the historical advertisements to generate sample advertisements;

构建所述样本用户的用户画像数据与所述不同广告类型的样本广告之间的关联关系,生成训练样本集;Constructing the association relationship between the user portrait data of the sample user and the sample advertisements of different advertisement types, and generating a training sample set;

基于所述训练样本集对初始网络模型进行训练,得到所述广告偏好预估模型。An initial network model is trained based on the training sample set to obtain the advertisement preference prediction model.

本公开实施例所提供的线下广告位的推荐装置,可执行本公开实施例所提供的任意可应用于电子设备的线下广告位的推荐方法,具备执行方法相应的功能模块和有益效果。本公开装置实施例中未详尽描述的内容可以参考本公开任意方法实施例中的描述。The device for recommending offline advertising spaces provided by the embodiments of the present disclosure can execute any method for recommending offline advertising spaces applicable to electronic devices provided by the embodiments of the present disclosure, and has corresponding functional modules and beneficial effects for executing the methods. For the content not described in detail in the device embodiment of the present disclosure, reference may be made to the description in any method embodiment of the present disclosure.

本公开示例性实施例还提供一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器。所述存储器存储有能够被所述至少一个处理器执行的计算机程序,所述计算机程序在被所述至少一个处理器执行时用于使所述电子设备执行根据本公开实施例的线下广告位的推荐方法。Exemplary embodiments of the present disclosure also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program capable of being executed by the at least one processor, and when the computer program is executed by the at least one processor, the electronic device executes an offline advertising space according to an embodiment of the present disclosure. recommended method.

本公开示例性实施例还提供一种存储有计算机程序的非瞬时计算机可读存储介质,其中,所述计算机程序在被计算机的处理器执行时用于使所述计算机执行根据本公开实施例的线下广告位的推荐方法。Exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor of a computer, the computer is used to cause the computer to execute the Recommended method for offline advertising slots.

本公开示例性实施例还提供一种计算机程序产品,包括计算机程序,其中,所述计算机程序在被计算机的处理器执行时用于使所述计算机执行根据本公开实施例的线下广告位的推荐方法。Exemplary embodiments of the present disclosure also provide a computer program product, including a computer program, wherein, when the computer program is executed by a processor of a computer, the computer is used to cause the computer to execute the offline advertising position according to the embodiment of the present disclosure. recommended method.

参考图4,现将描述可以作为本公开的服务器或客户端的电子设备1100的结构框图,其是可以应用于本公开的各方面的硬件设备的示例。电子设备旨在表示各种形式的数字电子的计算机设备,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Referring to FIG. 4 , a structural block diagram of an electronic device 1100 that can serve as a server or a client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. Electronic device is intended to mean various forms of digital electronic computing equipment, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.

如图4所示,电子设备1100包括计算单元1101,其可以根据存储在只读存储器(ROM)1102中的计算机程序或者从存储单元1108加载到随机访问存储器(RAM)1103中的计算机程序,来执行各种适当的动作和处理。在RAM 1103中,还可存储设备1100操作所需的各种程序和数据。计算单元1101、ROM 1102以及RAM 1103通过总线1104彼此相连。输入/输出(I/O)接口1105也连接至总线1104。As shown in FIG. 4 , an electronic device 1100 includes a computing unit 1101, which can perform calculations according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. Various appropriate actions and processes are performed. In the RAM 1103, various programs and data necessary for the operation of the device 1100 can also be stored. The computing unit 1101 , ROM 1102 , and RAM 1103 are connected to each other through a bus 1104 . An input/output (I/O) interface 1105 is also connected to the bus 1104 .

电子设备1100中的多个部件连接至I/O接口1105,包括:输入单元1106、输出单元1107、存储单元1108以及通信单元1109。输入单元1106可以是能向电子设备1100输入信息的任何类型的设备,输入单元1106可以接收输入的数字或字符信息,以及产生与电子设备的用户设置和/或功能控制有关的键信号输入。输出单元1107可以是能呈现信息的任何类型的设备,并且可以包括但不限于显示器、扬声器、视频/音频输出终端、振动器和/或打印机。存储单元1108可以包括但不限于磁盘、光盘。通信单元1109允许电子设备1100通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据,并且可以包括但不限于调制解调器、网卡、红外通信设备、无线通信收发机和/或芯片组,例如蓝牙TM设备、WiFi设备、WiMax设备、蜂窝通信设备和/或类似物。Multiple components in the electronic device 1100 are connected to the I/O interface 1105 , including: an input unit 1106 , an output unit 1107 , a storage unit 1108 and a communication unit 1109 . The input unit 1106 can be any type of device capable of inputting information to the electronic device 1100. The input unit 1106 can receive input digital or character information, and generate key signal input related to user settings and/or function control of the electronic device. The output unit 1107 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video/audio output terminal, a vibrator, and/or a printer. The storage unit 1108 may include, but is not limited to, a magnetic disk and an optical disk. The communication unit 1109 allows the electronic device 1100 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks, and may include but not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver and/or a chip Groups, such as Bluetooth™ devices, WiFi devices, WiMax devices, cellular communication devices, and/or the like.

计算单元1101可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元1101的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元1101执行上文所描述的各个方法和处理。例如,在一些实施例中,线下广告位的推荐方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元1108。在一些实施例中,计算机程序的部分或者全部可以经由ROM 1102和/或通信单元1109而被载入和/或安装到电子设备1100上。在一些实施例中,计算单元1101可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行线下广告位的推荐方法。The computing unit 1101 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 1101 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 executes the various methods and processes described above. For example, in some embodiments, the method for recommending offline advertising spots may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1108 . In some embodiments, part or all of the computer program may be loaded and/or installed on the electronic device 1100 via the ROM 1102 and/or the communication unit 1109 . In some embodiments, the computing unit 1101 may be configured in any other appropriate way (for example, by means of firmware) to execute a method for recommending an offline advertising space.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

如本公开使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or means for providing machine instructions and/or data to a programmable processor (eg, magnetic disk, optical disk, memory, programmable logic device (PLD)), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.

Claims (10)

1.一种线下广告位的推荐方法,其中,所述方法包括:1. A method for recommending an offline advertising space, wherein the method comprises: 获取用户输入的广告投放请求,所述广告投放请求包括待投放广告的广告类型以及投放所述待投放广告的POI的目标类型;Acquiring an advertisement delivery request input by a user, the advertisement delivery request including the advertisement type of the advertisement to be delivered and the target type of the POI of the advertisement to be delivered; 获取多个线上用户的用户画像数据及行为轨迹数据;Obtain user portrait data and behavior trajectory data of multiple online users; 根据所述用户画像数据,利用预先训练的广告偏好预估模型,获取所述多个线上用户对所述广告类型的广告偏好度;According to the user portrait data, using a pre-trained advertisement preference estimation model, to obtain the advertisement preference of the plurality of online users for the advertisement type; 基于预设的聚类算法对所述行为轨迹数据进行聚类,以获取所述多个线上用户的常驻地标签;clustering the behavior trajectory data based on a preset clustering algorithm to obtain the residence tags of the plurality of online users; 根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度;According to the advertisement preference of the plurality of online users and the residence location corresponding to the residence label, determine the advertisement preference of the candidate geographic grid containing the residence location; 根据所述候选地理网格的广告偏好度,确定目标地理网格;Determine a target geographic grid according to the advertisement preference of the candidate geographic grid; 将所述目标地理网格中包含的所述目标类型的目标POI确定为所述线下广告位。A target POI of the target type contained in the target geographic grid is determined as the offline advertisement position. 2.如权利要求1所述的线下广告位的推荐方法,其中,所述根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度,包括:2. The method for recommending an offline advertising space according to claim 1, wherein, according to the advertisement preference degree of the plurality of online users and the resident location corresponding to the resident label, determine Advertisement preferences of candidate geographic grids containing the resident location, including: 根据所述常驻地标签对应的常驻地位置,从多个地理网格中确定出包含所述常驻地位置的候选地理网格;Determine a candidate geographic grid containing the resident location from a plurality of geographic grids according to the resident location corresponding to the resident label; 针对每个所述候选地理网格,将所述候选地理网格中包含的线上用户的广告偏好度进行累加,得到每个所述候选地理网格的广告偏好度。For each of the candidate geographic grids, the advertisement preference degrees of the online users included in the candidate geographic grids are accumulated to obtain the advertisement preference degrees of each of the candidate geographic grids. 3.如权利要求2所述的线下广告位的推荐方法,其中,所述方法还包括:3. The method for recommending an offline advertising space as claimed in claim 2, wherein said method further comprises: 获取预设大小且包含所述目标类型的POI的多个网格单元;Obtaining a plurality of grid units of a preset size and containing POIs of the target type; 根据每个所述网格单元包含的每种POI类型的POI数量,确定每个所述网格单元的得分;determining the score of each grid unit according to the number of POIs of each POI type contained in each grid unit; 根据每个所述网格单元的得分,从所述多个网格单元中确定所述多个地理网格。The plurality of geographic grids are determined from the plurality of grid units based on the score of each of the grid units. 4.如权利要求3所述的线下广告位的推荐方法,其中,所述获取预设大小且包含所述目标类型的POI的多个网格单元,包括:4. The method for recommending an offline advertising space according to claim 3, wherein said obtaining a plurality of grid units of a preset size and containing POIs of said target type comprises: 基于地理空间点索引算法将地理空间区域划分为多个网格区域,所述网格区域与位于其网格区域内的POI关联;dividing the geospatial area into a plurality of grid areas based on a geospatial point indexing algorithm, the grid areas being associated with POIs located within their grid areas; 从所述多个网格区域中筛选出包含所述目标类型的POI的候选网格区域;selecting a candidate grid area containing POIs of the target type from the plurality of grid areas; 在所述候选网格区域的面积大于预设面积阈值的情况下,对所述候选网格区域进行分割,得到多个子网格;When the area of the candidate grid area is greater than a preset area threshold, segment the candidate grid area to obtain a plurality of sub-grids; 在所述多个子网格中第一子网格的面积不大于所述预设面积阈值且包含所述目标类型的POI的情况下,将所述第一子网格确定为所述网格单元,其中,所述第一子网格为所述多个子网格中任一子网格;If the area of the first sub-grid among the plurality of sub-grids is not greater than the preset area threshold and contains the POI of the target type, determine the first sub-grid as the grid unit , wherein the first subgrid is any subgrid in the plurality of subgrids; 在所述多个子网格中第二子网格的面积大于所述预设面积阈值且包含所述目标类型的POI的情况下,将所述第二子网格继续进行分割,直至得到不大于所述预设面积阈值且包含所述目标类型的POI的网格单元,其中,所述第二子网格为所述多个子网格中除所述第一子网格外的任一子网格。In the case where the area of the second sub-grid among the plurality of sub-grids is greater than the preset area threshold and contains POIs of the target type, continue to divide the second sub-grid until no larger than The preset area threshold and the grid unit containing the POI of the target type, wherein the second sub-grid is any sub-grid in the plurality of sub-grids except the first sub-grid . 5.如权利要求3所述的线下广告位的推荐方法,其中,所述根据每个所述网格单元包含的每种POI类型的POI数量,确定每个所述网格单元的得分,包括:5. The method for recommending an offline advertising space according to claim 3, wherein, according to the number of POIs of each POI type contained in each grid unit, the score of each grid unit is determined, include: 针对每个所述网格单元,获取所述网格单元中包含的每种POI类型的POI数量;For each grid unit, obtain the number of POIs of each POI type contained in the grid unit; 根据预设的不同POI类型对应的分值以及所述网格单元中包含的每种POI类型的POI数量,确定每个所述网格单元的得分。The score of each grid unit is determined according to the preset scores corresponding to different POI types and the number of POIs of each POI type contained in the grid unit. 6.如权利要求3所述的线下广告位的推荐方法,其中,所述广告投放请求还包括预算广告位数;6. The method for recommending an offline advertising space according to claim 3, wherein the advertisement delivery request further includes a budgeted number of advertisements; 并且其中,所述根据每个所述网格单元的得分,从所述多个网格单元中确定多个地理网格,包括:And wherein, according to the score of each of the grid units, determining a plurality of geographic grids from the plurality of grid units includes: 根据所述预算广告位数和预设倍数,确定候选广告位数;Determine the number of candidate advertisements according to the number of advertisements in the budget and the preset multiple; 按照得分由高到低的顺序对所述多个网格单元进行排序,并从排序第一的网格单元开始,依次累加每个所述网格单元中包含的所述目标类型的POI的总数量,直至所述总数量达到所述候选广告位数,确定当前累加过的目标网格单元作为所述多个地理网格。The plurality of grid units are sorted in descending order of scores, and starting from the first sorted grid unit, the total number of POIs of the target type contained in each grid unit is sequentially accumulated. until the total number reaches the number of candidate advertisement positions, and determine the currently accumulated target grid unit as the plurality of geographic grids. 7.如权利要求1-6任一项所述的线下广告位的推荐方法,其中,所述广告偏好预估模型通过如下方式训练得到:7. The method for recommending an offline advertising space according to any one of claims 1-6, wherein the advertisement preference prediction model is obtained through training in the following manner: 获取线上广告投放场景中对样本用户投放广告的广告投放记录,以及所述样本用户的用户画像数据;Obtaining the advertisement delivery records of the sample users in the online advertisement delivery scenario, and the user portrait data of the sample users; 对所述广告投放记录进行分析,以获取不同广告类型的历史投放广告及所述样本用户对所述历史投放广告的操作数据,所述操作数据包括点击或未点击;Analyzing the advertisement delivery records to obtain historical advertisements of different advertisement types and operation data of the sample users on the historical advertisements, the operation data including clicks or no clicks; 根据所述样本用户对所述历史投放广告的操作数据,对所述历史投放广告进行标注,生成样本广告;Marking the historical advertisements according to the operation data of the sample users on the historical advertisements to generate sample advertisements; 构建所述样本用户的用户画像数据与所述不同广告类型的样本广告之间的关联关系,生成训练样本集;Constructing the association relationship between the user portrait data of the sample user and the sample advertisements of different advertisement types, and generating a training sample set; 基于所述训练样本集对初始网络模型进行训练,得到所述广告偏好预估模型。An initial network model is trained based on the training sample set to obtain the advertisement preference prediction model. 8.一种线下广告位的推荐装置,其中,所述装置包括:8. A device for recommending an offline advertising space, wherein the device comprises: 第一获取模块,用于获取用户输入的广告投放请求,所述广告投放请求包括待投放广告的广告类型以及投放所述待投放广告的POI的目标类型;The first acquisition module is configured to acquire an advertisement placement request input by a user, the advertisement placement request including the advertisement type of the advertisement to be placed and the target type of the POI of the advertisement to be placed; 第二获取模块,用于获取多个线上用户的用户画像数据及行为轨迹数据;The second acquisition module is used to acquire user portrait data and behavior track data of multiple online users; 第三获取模块,用于根据所述用户画像数据,利用预先训练的广告偏好预估模型,获取所述多个线上用户对所述广告类型的广告偏好度;A third acquisition module, configured to acquire the advertisement preference of the plurality of online users for the advertisement type by using a pre-trained advertisement preference estimation model according to the user portrait data; 聚类模块,用于基于预设的聚类算法对所述行为轨迹数据进行聚类,以获取所述多个线上用户的常驻地标签;A clustering module, configured to cluster the behavior track data based on a preset clustering algorithm, so as to obtain the residence tags of the plurality of online users; 第一确定模块,用于根据所述多个线上用户的所述广告偏好度和所述常驻地标签对应的常驻地位置,确定包含所述常驻地位置的候选地理网格的广告偏好度;A first determining module, configured to determine an advertisement including a candidate geographical grid of the residence location according to the advertisement preference of the plurality of online users and the residence location corresponding to the residence label preference; 第二确定模块,用于根据所述候选地理网格的广告偏好度,确定目标地理网格;The second determining module is used to determine the target geographic grid according to the advertisement preference of the candidate geographic grid; 第三确定模块,用于将所述目标地理网格中包含的所述目标类型的目标POI确定为所述线下广告位。The third determining module is configured to determine the target POI of the target type included in the target geographic grid as the offline advertising space. 9.一种电子设备,包括:9. An electronic device comprising: 处理器;以及processor; and 存储程序的存储器,memory for storing programs, 其中,所述程序包括指令,所述指令在由所述处理器执行时使所述处理器执行根据权利要求1-7中任一项所述的线下广告位的推荐方法。Wherein, the program includes instructions, which, when executed by the processor, cause the processor to execute the method for recommending an offline advertising space according to any one of claims 1-7. 10.一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1-7中任一项所述的线下广告位的推荐方法。10. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make the computer execute the method for recommending offline advertising positions according to any one of claims 1-7 .
CN202211194290.9A 2022-09-28 2022-09-28 Method, device, electronic device and storage medium for recommending offline advertising space Pending CN115456691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211194290.9A CN115456691A (en) 2022-09-28 2022-09-28 Method, device, electronic device and storage medium for recommending offline advertising space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211194290.9A CN115456691A (en) 2022-09-28 2022-09-28 Method, device, electronic device and storage medium for recommending offline advertising space

Publications (1)

Publication Number Publication Date
CN115456691A true CN115456691A (en) 2022-12-09

Family

ID=84306019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211194290.9A Pending CN115456691A (en) 2022-09-28 2022-09-28 Method, device, electronic device and storage medium for recommending offline advertising space

Country Status (1)

Country Link
CN (1) CN115456691A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116228328A (en) * 2023-02-27 2023-06-06 北京奇艺世纪科技有限公司 Advertisement publishing method and device, electronic equipment and readable storage medium
CN117422510A (en) * 2023-11-08 2024-01-19 北京鸿途信达科技股份有限公司 Distributed advertisement delivery system based on position information
CN118822640A (en) * 2024-09-18 2024-10-22 浙江八维通数字生态技术有限公司 Media advertising position recommendation method, system, medium, and product based on user travel

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116228328A (en) * 2023-02-27 2023-06-06 北京奇艺世纪科技有限公司 Advertisement publishing method and device, electronic equipment and readable storage medium
CN117422510A (en) * 2023-11-08 2024-01-19 北京鸿途信达科技股份有限公司 Distributed advertisement delivery system based on position information
CN118822640A (en) * 2024-09-18 2024-10-22 浙江八维通数字生态技术有限公司 Media advertising position recommendation method, system, medium, and product based on user travel
CN118822640B (en) * 2024-09-18 2025-02-28 浙江八维通数字生态技术有限公司 Media advertising position recommendation method, system, medium, and product based on user travel

Similar Documents

Publication Publication Date Title
EP3724785B1 (en) Fast indexing with graphs and compact regression codes on online social networks
CN112612957B (en) Recommendation method of interest points and training method and device of recommendation model of interest points
CN108062375B (en) User portrait processing method and device, terminal and storage medium
CN112861972B (en) Site selection method and device for exhibition area, computer equipment and medium
CN110210882B (en) Promotional position matching method and device, promotional information display method and device
Yang et al. Predicting next location using a variable order Markov model
US20190114362A1 (en) Searching Online Social Networks Using Entity-based Embeddings
CN115456691A (en) Method, device, electronic device and storage medium for recommending offline advertising space
CN105719191B (en) Social Group Discovery Method for Uncertain Action Semantics in Multi-Scale Space
CN102163214B (en) A device and method for generating a digital map
US20150161529A1 (en) Identifying Related Events for Event Ticket Network Systems
CN108182253B (en) Method and apparatus for generating information
CN110674208B (en) Method and device for determining position information of user
CN105225135B (en) Potential customer identification method and device
CN106471496A (en) From inquiry is expressed again, identification is intended in the search
US20180336459A1 (en) Unstructured key definitions for optimal performance
CN112632379A (en) Route recommendation method and device, electronic equipment and storage medium
CN110909222A (en) User portrait establishing method, device, medium and electronic equipment based on clustering
CN110929169A (en) Position recommendation method based on improved Canopy clustering collaborative filtering algorithm
Kotzias et al. Home is where your friends are: Utilizing the social graph to locate twitter users in a city
CN108182240B (en) Interest point increasing rate prediction model training and prediction method, device and storage medium
CN107896153A (en) A kind of flow package recommendation method and device based on mobile subscriber's internet behavior
JP2023517518A (en) Vector embedding model for relational tables with null or equivalent values
CN112528145A (en) Information recommendation method, device, equipment and readable storage medium
CN116226537A (en) Layout, display method, device, equipment and medium of page modules in pages

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