Nothing Special   »   [go: up one dir, main page]

CN117455579B - Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment - Google Patents

Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment Download PDF

Info

Publication number
CN117455579B
CN117455579B CN202311795784.7A CN202311795784A CN117455579B CN 117455579 B CN117455579 B CN 117455579B CN 202311795784 A CN202311795784 A CN 202311795784A CN 117455579 B CN117455579 B CN 117455579B
Authority
CN
China
Prior art keywords
commodity
product
items
occupied
ranking
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.)
Active
Application number
CN202311795784.7A
Other languages
Chinese (zh)
Other versions
CN117455579A (en
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.)
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan 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 Shenzhen Zhiyan Technology Co Ltd, Shenzhen Qianyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202311795784.7A priority Critical patent/CN117455579B/en
Publication of CN117455579A publication Critical patent/CN117455579A/en
Application granted granted Critical
Publication of CN117455579B publication Critical patent/CN117455579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0255Targeted advertisements based on user history
    • G06Q30/0256User search
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0242Determining effectiveness of advertisements
    • G06Q30/0244Optimization

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

The application relates to a commodity recommendation intervention method, a commodity recommendation intervention device, a medium and a device, wherein the commodity recommendation intervention method comprises the following steps: responding to a commodity searching request, and respectively recalling commodity items matched with the commodity searching request from a plurality of data sources to obtain recalled commodity sets corresponding to the data sources; acquiring a occupying commodity set, deleting commodity items, which are overlapped with the occupying commodity set, in each recall commodity set, wherein the occupying commodity set comprises at least one commodity item and a to-be-occupied position thereof; according to the intervention display scores obtained by the corresponding commodity items in each recall commodity set, carrying out fine-ranking treatment on all commodity items in all recall commodity sets to obtain a fine-ranking commodity set; and adding the commodity items in the occupied commodity set to the ordering order corresponding to the to-be-occupied order of the commodity items in the fine-ranking commodity set to obtain a recommended commodity set for responding to the commodity search request. The method and the device realize optimization of the commodity search results and are favorable for realizing personalized operation of the commodity search results.

Description

商品推荐干预方法、装置以及介质和设备Commodity recommendation intervention method, device, medium and equipment

技术领域Technical Field

本申请涉及电商信息技术领域,尤其涉及一种商品推荐干预方法、装置以及介质和设备。The present application relates to the field of e-commerce information technology, and in particular to a product recommendation intervention method, device, medium and equipment.

背景技术Background technique

电商平台中,常采用协同过滤技术用于实现商品推荐。协同过滤是一种常见的推荐算法,其原理是通过分析用户的行为和偏好,找到与其相似的其他用户或商品,然后利用这些相似性来进行推荐。In e-commerce platforms, collaborative filtering technology is often used to achieve product recommendations. Collaborative filtering is a common recommendation algorithm that analyzes user behavior and preferences, finds other users or products similar to them, and then uses these similarities to make recommendations.

协同过滤推荐系统的实现过程包括两个主要步骤:用户相似度计算和推荐结果生成。单纯的协同过滤推荐系统存在一些技术缺陷和问题。The implementation process of collaborative filtering recommendation system includes two main steps: user similarity calculation and recommendation result generation. Pure collaborative filtering recommendation system has some technical defects and problems.

首先,当用户行为数据稀疏或冷启动时,很难找到足够相似的用户或商品,导致推荐结果不准确。基于独立站的电商平台,由于各个独立站之间无法共享用户和商品信息,所以,当其上架新商品或者新用户登录时,缺乏相应的历史数据,导致协同过滤推荐算法所起作用有限。First, when user behavior data is sparse or cold-started, it is difficult to find sufficiently similar users or products, resulting in inaccurate recommendation results. For e-commerce platforms based on independent sites, since each independent site cannot share user and product information, when new products are listed or new users log in, there is a lack of corresponding historical data, resulting in limited effectiveness of collaborative filtering recommendation algorithms.

其次,协同过滤推荐系统容易受到数据偏好的影响,产生信息茧房的弊端,由此可能导致推荐结果过于狭窄或过于一致。Secondly, collaborative filtering recommendation systems are easily affected by data preferences, resulting in the disadvantages of information cocoons, which may cause recommendation results to be too narrow or too consistent.

此外,协同过滤技术常基于端到端的深度学习模型来实现,其产生的结果被直接推送给用户,从运营角度无法对结果进行干预,导致平台无法有效控制商品推荐结果,无法全面满足用户需求。In addition, collaborative filtering technology is often implemented based on end-to-end deep learning models, and the results it produces are pushed directly to users. It is impossible to intervene in the results from an operational perspective, resulting in the platform being unable to effectively control the product recommendation results and unable to fully meet user needs.

可见,现有电商平台中广泛采用协同过滤技术得到商品推荐结果的基础上,尚需做进一步的技术优化,以优化商品推荐成效。It can be seen that on the basis of the collaborative filtering technology widely used in existing e-commerce platforms to obtain product recommendation results, further technical optimization is still needed to optimize the effectiveness of product recommendations.

发明内容Summary of the invention

本申请的目的在于提供一种商品推荐干预方法、装置以及介质和设备。The purpose of this application is to provide a commodity recommendation intervention method, device, medium and equipment.

根据本申请的一个方面,提供一种商品推荐干预方法,包括:According to one aspect of the present application, a commodity recommendation intervention method is provided, comprising:

响应商品搜索请求,从多个数据源分别召回与所述商品搜索请求相匹配的商品项,获得各个数据源相对应的召回商品集;In response to a product search request, product items matching the product search request are respectively recalled from multiple data sources to obtain a recalled product set corresponding to each data source;

获取占位商品集,删除各个召回商品集中与所述占位商品集重合的商品项,所述占位商品集包含至少一个商品项及其待占顺位;Obtain a placeholder product set, and delete product items in each recalled product set that overlap with the placeholder product set, wherein the placeholder product set includes at least one product item and its order to be occupied;

根据各个召回商品集中的商品项对应获得的干预展示评分,对全部召回商品集中的全部商品项进行精排处理,得到精排商品集;According to the intervention display scores obtained by the corresponding product items in each recalled product set, all product items in all recalled product sets are refined and sorted to obtain a refined product set;

将所述占位商品集中的商品项,添加到所述精排商品集中与该商品项的待占顺位相对应的排序顺位,得到推荐商品集用于应答所述商品搜索请求。The commodity items in the placeholder commodity set are added to the sorting order of the refined commodity set corresponding to the order of the commodity items to be occupied, so as to obtain a recommended commodity set for responding to the commodity search request.

根据本申请的另一方面,提供一种商品推荐干预装置,包括:According to another aspect of the present application, a commodity recommendation intervention device is provided, comprising:

数据召回模块,设置为响应商品搜索请求,从多个数据源分别召回与所述商品搜索请求相匹配的商品项,获得各个数据源相对应的召回商品集;A data recall module is configured to respond to a product search request, recall product items matching the product search request from multiple data sources, and obtain a recalled product set corresponding to each data source;

商品去重模块,设置为获取占位商品集,删除各个召回商品集中与所述占位商品集重合的商品项,所述占位商品集包含至少一个商品项及其待占顺位;A product deduplication module is configured to obtain a placeholder product set and delete product items in each recalled product set that overlap with the placeholder product set, wherein the placeholder product set includes at least one product item and its order to be occupied;

商品精排模块,设置为根据各个召回商品集中的商品项对应获得的干预展示评分,对全部召回商品集中的全部商品项进行精排处理,得到精排商品集;A product fine-ranking module is configured to perform fine-ranking processing on all product items in all recalled product sets according to the intervention display scores obtained by the product items in each recalled product set, so as to obtain a fine-ranked product set;

占位优化模块,设置为将所述占位商品集中的商品项,添加到所述精排商品集中与该商品项的待占顺位相对应的排序顺位,得到推荐商品集用于应答所述商品搜索请求。The placeholder optimization module is configured to add the commodity items in the placeholder commodity set to the sorting order corresponding to the order to be occupied by the commodity items in the refined commodity set, and obtain a recommended commodity set for responding to the commodity search request.

根据本申请的另一方面,提供一种计算机设备,包括中央处理器和存储器,所述中央处理器用于调用运行存储于所述存储器中的计算机程序以执行本申请所述的商品推荐干预方法的步骤。According to another aspect of the present application, a computer device is provided, including a central processing unit and a memory, wherein the central processing unit is used to call and run a computer program stored in the memory to execute the steps of the commodity recommendation intervention method described in the present application.

根据本申请的另一方面,提供一种非易失性可读存储介质,其以计算机可读指令的形式存储有依据所述的商品推荐干预方法所实现的计算机程序,所述计算机程序被计算机调用运行时,执行该方法所包括的步骤。According to another aspect of the present application, a non-volatile readable storage medium is provided, which stores a computer program implemented according to the commodity recommendation intervention method in the form of computer-readable instructions, and when the computer program is called and executed by a computer, the steps included in the method are executed.

相对于现有技术,本申请具有诸多技术优势,包括但不限于:Compared with the prior art, this application has many technical advantages, including but not limited to:

首先,本申请通过预设占位商品集指定若干商品项及其相对应的待占顺位,以指示在给定的多个坑位中,商品项展示相对应的坑位,在用户提交商品搜索请求后,从多个数据源中获得该商品搜索请求相匹配的召回商品集,先从召回商品集中删除与占位商品集相重合的重复商品项,使指定了待占顺位的商品项不参与对各个召回商品集进行精排序的环节,在完成精排序得到精排商品集后,再按照待占顺位将占位商品集中的商品项添加到精排商品集中对应的排序顺位中,从而实现对多源召回结果的有效干预,方便基于多源召回结果实现个性化运营。First, the present application specifies several product items and their corresponding to-be-occupied ranks by pre-setting a placeholder product set, so as to indicate that in a given plurality of ranks, the product items display the corresponding ranks. After the user submits a product search request, a recalled product set matching the product search request is obtained from multiple data sources. The duplicate product items overlapping with the placeholder product set are first deleted from the recalled product set, so that the product items with the specified to-be-occupied ranks do not participate in the process of fine-sorting each recalled product set. After the fine-sorting is completed to obtain the fine-sorted product set, the product items in the placeholder product set are added to the corresponding sorting ranks in the fine-sorted product set according to the to-be-occupied ranks, thereby achieving effective intervention in the multi-source recall results and facilitating personalized operations based on the multi-source recall results.

其次,本申请通过有效干预多源召回结果,对于独立站来说,可以因应独立站数据稀疏和冷启动等情况,借助预设的占位商品集,实现对协同过滤推荐算法的搜索结果的优化,同时还可以克服数据偏好的弊端,泛化商品推荐结果,使独立站中的商品项能够通过预置在占位商品集中而获得更多公平推荐的机会,从而促进平台总交易额的提升。Secondly, by effectively intervening in the multi-source recall results, for independent sites, this application can optimize the search results of the collaborative filtering recommendation algorithm with the help of a preset placeholder product set in response to situations such as sparse data and cold start of the independent site. At the same time, it can also overcome the disadvantages of data preference and generalize the product recommendation results, so that the product items in the independent site can get more fair recommendation opportunities by being pre-set in the placeholder product set, thereby promoting the increase in the total transaction volume of the platform.

此外,本申请的占位商品集可以由平台或独立站进行定制,丰富了平台或独立站对多源召回结果进行个性化运营的技术手段,可以在商品推荐结果中进一步实现商品广告植入的功能,而整体方案易于实现,部署成本低,运算效率高,能够带来较高的综合收益。In addition, the placeholder product set of the present application can be customized by the platform or independent site, enriching the technical means for the platform or independent site to perform personalized operations on multi-source recall results, and can further realize the function of product advertising implantation in the product recommendation results. The overall solution is easy to implement, has low deployment costs, high computing efficiency, and can bring higher comprehensive benefits.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1为本申请示例性的电商平台的网络架构;FIG1 is a network architecture of an exemplary e-commerce platform of the present application;

图2为本申请实施例中的商品推荐干预方法的流程示意图;FIG2 is a flow chart of a commodity recommendation intervention method in an embodiment of the present application;

图3为本申请实施例中对各个召回商品集进行精排序的流程示意图;FIG3 is a schematic diagram of a process for finely sorting each recalled product set in an embodiment of the present application;

图4为本申请实施例中将占位商品集与精排商品集进行融合的流程示意图;FIG4 is a schematic diagram of a process of fusing a placeholder product set with a refined product set in an embodiment of the present application;

图5为本申请实施例中根据推荐商品集应答商品搜索请求的流程示意图;FIG5 is a schematic diagram of a process of responding to a product search request according to a recommended product set in an embodiment of the present application;

图6为本申请实施例中的商品推荐干预装置的结构示意图;FIG6 is a schematic diagram of the structure of a commodity recommendation intervention device in an embodiment of the present application;

图7为本申请实施例中的计算机设备的结构示意图。FIG. 7 is a schematic diagram of the structure of a computer device in an embodiment of the present application.

具体实施方式Detailed ways

如图1所示的网络架构中,电商平台82部署于互联网中以向其用户提供相应的服务,电商平台82的商家用户终端设备80和消费者用户终端设备81同理也接入互联网,以使用电商平台提供的服务。例如,电商平台可以通过配置广告系统为电商平台中的各家在线店铺的商家用户开放广告投放服务,在商家用户提交广告活动信息的情况下,为其确定广告投放相对应的目标受众,将广告活动信息中的商品活动信息投放给相应的目标受众。In the network architecture shown in FIG1 , an e-commerce platform 82 is deployed on the Internet to provide corresponding services to its users, and the merchant user terminal device 80 and the consumer user terminal device 81 of the e-commerce platform 82 are also connected to the Internet to use the services provided by the e-commerce platform. For example, the e-commerce platform can open advertising delivery services for merchant users of various online stores in the e-commerce platform by configuring an advertising system, and when merchant users submit advertising campaign information, the corresponding target audience for advertising delivery is determined for them, and the product activity information in the advertising campaign information is delivered to the corresponding target audience.

示例性的电商平台82,借助互联网基础设施而面向社会大众提供产品和/或服务的供需匹配,在电商平台82中,产品和/或服务是作为商品信息而提供的,为简化描述,在本申请中使用商品、产品等概念指代电商平台82中的产品和/或服务,具体可以是物理产品、数字产品、门票、服务订阅、其他线下履行的服务等。The exemplary e-commerce platform 82 provides supply and demand matching of products and/or services to the general public with the help of Internet infrastructure. In the e-commerce platform 82, products and/or services are provided as commodity information. To simplify the description, the concepts of commodity, product, etc. are used in this application to refer to the products and/or services in the e-commerce platform 82, which may specifically be physical products, digital products, tickets, service subscriptions, other offline services, etc.

现实中的各方实体可以用户的身份接入电商平台82,使用电商平台82提供的各种在线服务,实现参与电商平台82所实现的商务活动的目的。这些实体可以是自然人、法人或社会组织等。对应商务活动中的商家和消费者两类实体,电商平台82相应存在商家用户和消费者用户两大类用户。商务活动中产品流通链条的各方实体,包括厂家、卖方、零售商、物流提供方等,均可以商家用户的身份在电商平台82中使用在线服务,而商务活动中的消费者,包括现实或潜在的消费者,则可以其相应的消费者用户的身份在电商平台82中使用在线服务。实际商务活动中,同一个实体既可以商家用户的身份活动,也可以消费者用户的身份进行活动,对此应灵活变通理解。In reality, all entities can access the e-commerce platform 82 as users, use various online services provided by the e-commerce platform 82, and achieve the purpose of participating in the business activities achieved by the e-commerce platform 82. These entities can be natural persons, legal persons or social organizations, etc. Corresponding to the two types of entities, merchants and consumers in business activities, the e-commerce platform 82 has two types of users, merchant users and consumer users. All entities in the product distribution chain in business activities, including manufacturers, sellers, retailers, logistics providers, etc., can use online services in the e-commerce platform 82 as merchant users, while consumers in business activities, including real or potential consumers, can use online services in the e-commerce platform 82 as their corresponding consumer users. In actual business activities, the same entity can act as both a merchant user and a consumer user, and this should be understood flexibly.

用于部署电商平台82的基础设施主要包括后台架构和前端设备,后台架构通过服务集群运行各种在线服务,包括面向平台方的中间件或前端服务、面向消费者的服务、面向商家的服务等,来丰富和完善其服务功能;前端设备主要涵盖用户用来作为客户端接入电商平台82的终端设备,包括但不限于各种移动终端、个人计算机、销售点设备等。示例而言,商家用户可以通过商家用户终端设备80来为其在线店铺录入商品信息,或者使用电商平台开放的接口生成其商品信息;消费者用户可以通过消费者用户终端设备81访问电商平台82所实现的在线店铺的网页,通过网页上提供的购物按键,触发购物流程,在购物流程中调用电商平台82所提供的各种在线服务,从而实现购物下单的目的。The infrastructure used to deploy the e-commerce platform 82 mainly includes the backend architecture and frontend equipment. The backend architecture runs various online services through the service cluster, including middleware or frontend services for the platform, services for consumers, services for merchants, etc., to enrich and improve its service functions; the frontend equipment mainly covers the terminal devices used by users to access the e-commerce platform 82 as clients, including but not limited to various mobile terminals, personal computers, point-of-sale devices, etc. For example, a merchant user can enter product information for his online store through the merchant user terminal device 80, or generate his product information using the interface opened by the e-commerce platform; a consumer user can access the webpage of the online store implemented by the e-commerce platform 82 through the consumer user terminal device 81, trigger the shopping process through the shopping button provided on the webpage, and call various online services provided by the e-commerce platform 82 in the shopping process, so as to achieve the purpose of shopping and placing orders.

在一些实施例中,电商平台82可以通过包括处理器和存储器的处理设施来实现,该处理设施存储一组指令,该指令在被执行时使得电商平台82执行本申请所涉及的电子商务和支持功能。处理设施可以是服务器、客户端、网络基础设施、移动计算平台、云计算平台、固定计算平台或其他计算平台的一部分,并且提供电商平台82的电子组件、商家设备、支付网关、应用开发者、营销渠道、运输提供商、客户设备、销售点设备等。In some embodiments, the e-commerce platform 82 can be implemented by a processing facility including a processor and a memory, which stores a set of instructions that, when executed, cause the e-commerce platform 82 to perform the e-commerce and supporting functions involved in the present application. The processing facility can be part of a server, client, network infrastructure, mobile computing platform, cloud computing platform, fixed computing platform, or other computing platform, and provides electronic components, merchant equipment, payment gateways, application developers, marketing channels, transportation providers, customer equipment, point-of-sale equipment, etc. of the e-commerce platform 82.

电商平台82可以实现为云计算服务、软件即服务(SaaS)、基础设施即服务(IaaS)、平台即服务(PaaS)、桌面即服务(DaaS)、托管软件即服务、移动后端即服务(MBaaS)、信息技术管理即服务(ITMaaS)等在线服务。在一些实施例中,电商平台82的各个功能部件可以被实现为适于在各种平台和操作系统上操作,例如,对于一个在线店铺来说,其管理员用户无论在iOS、Android、HomonyOS、还是网页等各种实施例中,都享有相同或类似的功能。The e-commerce platform 82 can be implemented as an online service such as cloud computing service, software as a service (SaaS), infrastructure as a service (IaaS), platform as a service (PaaS), desktop as a service (DaaS), hosted software as a service, mobile backend as a service (MBaaS), information technology management as a service (ITMaaS), etc. In some embodiments, the various functional components of the e-commerce platform 82 can be implemented to be suitable for operation on various platforms and operating systems. For example, for an online store, its administrator users enjoy the same or similar functions regardless of various embodiments such as iOS, Android, HomonyOS, or web pages.

电商平台82可以为各个商家实现其相应的独立站,以运行其相应的在线店铺,为商家提供相应的商务管理引擎实例,供商家建立、维护、运行其在一个或多个独立站中的一个或多个在线店铺。商务管理引擎实例可以用于一个或多个在线店铺的内容管理、任务自动化和数据管理,可以通过接口或内建组件等方式配置在线店铺的各种具体业务流程以支持商务活动的实现。独立站是具有跨境服务功能的电商平台82的基础设施,商户可以基于独立站较为集中自主地维护其在线店铺。独立站通常具有商家专用的域名和存储空间,不同独立站之间具有相对独立性,电商平台82可以为海量的独立站提供标准化或个性化的技术支持,使得商家用户可以定制出自身相适应的商务管理引擎实例,并使用这个商务管理引擎实例来维护其拥有的一个或多个在线店铺。The e-commerce platform 82 can realize the corresponding independent station for each merchant to run its corresponding online store, and provide the merchant with the corresponding business management engine instance for the merchant to establish, maintain and run one or more online stores in one or more independent stations. The business management engine instance can be used for content management, task automation and data management of one or more online stores, and various specific business processes of the online store can be configured through interfaces or built-in components to support the implementation of business activities. The independent station is the infrastructure of the e-commerce platform 82 with cross-border service functions. Merchants can maintain their online stores more centrally and autonomously based on the independent station. The independent station usually has a domain name and storage space dedicated to the merchant, and different independent stations are relatively independent. The e-commerce platform 82 can provide standardized or personalized technical support for a large number of independent stations, so that merchant users can customize their own business management engine instance and use this business management engine instance to maintain one or more online stores they own.

在线店铺可以通过商家用户以管理员身份登录其商务管理引擎实例来实施后台配置和维护,在电商平台82的基础设施所提供的各种在线服务的支持下,商家用户可以其管理员身份对其在线店铺中的各种功能进行配置,对各种数据进行查阅等,例如,商家用户可以管理其在线店铺的各个方面,例如查看在线商店最近的活动、更新在线店铺产品目录、管理订单、最近访问活动、总订单活动等;商家用户还可以通过获取报告或度量来查看关于商业和对商家的在线商店的访问者的更详细的信息,例如显示商家的整体业务的销售摘要、活动销售营销渠道的特定销售和参与数据等。The online store can implement backend configuration and maintenance by having the merchant user log in to its business management engine instance as an administrator. With the support of various online services provided by the infrastructure of the e-commerce platform 82, the merchant user can configure various functions in its online store as an administrator, view various data, etc. For example, the merchant user can manage various aspects of its online store, such as viewing the online store's recent activities, updating the online store's product catalog, managing orders, recent visit activities, total order activities, etc.; the merchant user can also view more detailed information about the business and visitors to the merchant's online store by obtaining reports or metrics, such as showing a sales summary of the merchant's overall business, specific sales and participation data of active sales marketing channels, etc.

电商平台82可以提供用于提供电子通信和营销的通信设施和相关联的商家接口,例如利用电子消息聚合设施来收集和分析商家、消费者、商家设备、客户设备、销售点设备等之间的通信交互,聚合和分析通信,例如用于增加提供产品销售的潜力等。例如,消费者可能有与产品有关的问题,这可能在消费者和商家(或代表商家的基于自动处理器的代理)之间产生对话,其中通信设施负责交互并向商家提供关于如何提高销售概率的分析。The e-commerce platform 82 may provide communication facilities and associated merchant interfaces for providing electronic communications and marketing, such as utilizing electronic message aggregation facilities to collect and analyze communication interactions between merchants, consumers, merchant devices, customer devices, point-of-sale devices, etc., aggregating and analyzing communications, such as for increasing the potential for providing product sales, etc. For example, a consumer may have a question related to a product, which may generate a dialogue between the consumer and the merchant (or an automated processor-based agent on behalf of the merchant), wherein the communication facility is responsible for interacting and providing the merchant with analysis on how to increase the probability of a sale.

一些实施例中,可以提供适合安装到终端设备的应用程序来服务于不同用户的访问需求,以便使各种用户能够在终端设备中,通过运行应用程序来访问电商平台82,例如电商平台82中的在线店铺的商家后台模块等,通过这些功能来实现商务活动的过程中,电商平台82可以将支持实现商务活动相关的各种功能实现为中间件或在线服务并开放相应的接口,然后将接口访问功能相对应的工具包植入到应用程序中来实现功能扩展和任务实现。商务管理引擎可以包括一系列基本功能,并通过API将这些功能暴露给在线服务和/或应用程序调用,在线服务和应用程序通过远程调用相对应的API而使用相应的功能。In some embodiments, an application suitable for installation in a terminal device can be provided to serve the access needs of different users, so that various users can access the e-commerce platform 82 by running the application in the terminal device, such as the merchant backend module of the online store in the e-commerce platform 82, etc. In the process of implementing business activities through these functions, the e-commerce platform 82 can implement various functions related to supporting the implementation of business activities as middleware or online services and open corresponding interfaces, and then implant the toolkit corresponding to the interface access function into the application to implement function expansion and task implementation. The business management engine can include a series of basic functions, and expose these functions to online services and/or application calls through APIs. Online services and applications use corresponding functions by remotely calling corresponding APIs.

在商务管理引擎实例的各个组件的支持下,电商平台82可以提供在线购物功能,使商家能够以灵活透明的方式与客户建立联系,消费者用户可以在线选购物品,创建商品订单,在商品订单中提供货物的送达地址,并完成商品订单的支付确认。然后,商家可以审查并完成或取消订单。商务管理引擎实例携带的审查组件可以实现商业流程的合规使用,以确保订单在实际履行之前适合履行。订单有时候也可能是欺诈性的,需要加以验证(例如身份证检查),有一种需要商家等待以确保收到资金的支付方法可以起到防患这种风险的作用,等等。订单风险可能由第三方通过订单风险API等提交的欺诈检测工具产生。在进行履行之前,商家可能需要获取支付信息或等待接收支付信息,以便将订单标记为已支付,至此商家才可以准备交付产品。诸如此类的情况都可进行相应的审查。审查流程可以由履行组件来实现。商家可以借助履行组件审查、调整工作,并触发相关的履行服务,例如:通过手动履行服务,当商家将产品挑选并包装在盒子中、购买运输标签并输入其跟踪号,或者仅将物品标记为已履行时使用;自定义履行服务,可以定义发送电子邮件进行通知;API履行服务,可以触发第三方应用程序在第三方创建履行记录;遗留履行服务,可以触发从商务管理引擎到第三方的自定义API调用;礼品卡履行服务。可以提供生成号码并激活礼品卡。商户可以使用订单打印机应用程序打印装运单。当物品被包装在盒子里并准备好运输、跟踪、交付、消费者收到验证等时,可以执行履行过程。With the support of various components of the business management engine instance, the e-commerce platform 82 can provide online shopping functions, enabling merchants to establish connections with customers in a flexible and transparent manner. Consumer users can select items online, create product orders, provide the delivery address of the goods in the product order, and complete the payment confirmation of the product order. The merchant can then review and complete or cancel the order. The review component carried by the business management engine instance can implement the compliance use of business processes to ensure that the order is suitable for fulfillment before actual fulfillment. Orders may sometimes be fraudulent and need to be verified (such as ID card checks). There is a payment method that requires merchants to wait to ensure that funds are received, which can play a role in preventing such risks, etc. Order risks may be generated by fraud detection tools submitted by third parties through order risk APIs, etc. Before fulfillment, merchants may need to obtain payment information or wait to receive payment information in order to mark the order as paid, so that the merchant can prepare to deliver the product. Such situations can be reviewed accordingly. The review process can be implemented by the fulfillment component. Merchants can use the fulfillment component to review, adjust work, and trigger related fulfillment services, such as: manual fulfillment services, which are used when merchants pick and pack products in boxes, purchase shipping labels and enter their tracking numbers, or simply mark items as fulfilled; custom fulfillment services, which can define email notifications; API fulfillment services, which can trigger third-party applications to create fulfillment records in third parties; legacy fulfillment services, which can trigger custom API calls from the business management engine to third parties; gift card fulfillment services. You can provide the generation of numbers and activate gift cards. Merchants can use the order printer application to print shipping orders. The fulfillment process can be executed when the items are packed in boxes and ready for shipping, tracking, delivery, consumer receipt verification, etc.

可以看出,电商平台所提供的服务,正是基于产品为核心展开的,相应的商品数据是电商平台的基础数据,通过商品数据提供商品信息,对商品数据的挖掘利用,是实现各种技术服务的基础,其中包括利用电商平台的商品数据中的用户交易数据和商品数据为广告系统的运行提供基础性的服务。因此,本申请的广告系统可以运行于电商平台的机群的任意一台或多台服务器中,以便利用电商平台提供的各种商品数据实现各种功能。It can be seen that the services provided by the e-commerce platform are based on products. The corresponding commodity data is the basic data of the e-commerce platform. The commodity information is provided through the commodity data. The mining and utilization of commodity data is the basis for realizing various technical services, including using the user transaction data and commodity data in the commodity data of the e-commerce platform to provide basic services for the operation of the advertising system. Therefore, the advertising system of this application can be run in any one or more servers of the cluster of the e-commerce platform, so as to realize various functions by using various commodity data provided by the e-commerce platform.

请参阅图2,在部分实施例中,本申请的商品推荐干预方法,可以实现为计算机程序产品,运行在电商平台中的服务器中,包括:Please refer to FIG. 2 . In some embodiments, the commodity recommendation intervention method of the present application can be implemented as a computer program product, which runs on a server in an e-commerce platform and includes:

步骤S5100、响应商品搜索请求,从多个数据源分别召回与所述商品搜索请求相匹配的商品项,获得各个数据源相对应的召回商品集;Step S5100: In response to a product search request, product items matching the product search request are respectively recalled from multiple data sources to obtain a recalled product set corresponding to each data source;

电商平台常通过页面向消费者用户展示多个商品项以实现推广的目的。一个示例性的应用场景中,消费者用户通过终端设备访问电商平台中独立站的商品推荐页面,在商品推荐页面中预设有多个坑位,每个坑位展示一个对应的商品项的商品信息,显示商品项的商品标题、商品价格、商品图片,并将整个坑位链接到该商品项的商品详情页面,当用户触控其中一个坑位时,便跳转至相应商品项的商品详情页面。商品推荐页面可以是专门用于实现商品推荐的页面,也可以是当前消费者用户正在浏览的商品项的商品详情页面,还可以是消费者用户输入商品相关的关键词之后返回的搜索结果页面等。E-commerce platforms often display multiple product items to consumer users through pages to achieve the purpose of promotion. In an exemplary application scenario, a consumer user accesses the product recommendation page of an independent website in an e-commerce platform through a terminal device. There are multiple slots preset in the product recommendation page. Each slot displays the product information of a corresponding product item, showing the product title, product price, and product image of the product item, and links the entire slot to the product details page of the product item. When the user touches one of the slots, it jumps to the product details page of the corresponding product item. The product recommendation page can be a page specifically used to implement product recommendations, or it can be the product details page of the product item that the current consumer user is browsing, or it can be the search result page returned after the consumer user enters keywords related to the product, etc.

消费者用户在商品推荐页面得到的各个坑位的商品项的商品信息,通常在消费者用户访问过程中,由终端设备事先提交一个商品搜索请求来触发服务器执行相应的商品搜索过程,最后返回相应的商品搜索结果,再由终端设备将商品搜索结果中的商品信息解析展示到各个坑位中。示例而言,该商品搜索请求可以是用户进入某个商品项的商品详情页面、进入专门用于实现商品推荐的页面时,自动触发提交的;或者,该商品搜索请求也可以是用户在商品搜索页面中,输入相应的关键词或商品图片后予以确认搜索操作而触发提交的。The product information of the product items in each slot obtained by the consumer user on the product recommendation page is usually submitted by the terminal device in advance during the consumer user's visit to trigger the server to execute the corresponding product search process, and finally return the corresponding product search results. The terminal device then parses the product information in the product search results and displays it in each slot. For example, the product search request can be automatically triggered and submitted when the user enters the product details page of a certain product item or enters a page specifically used to implement product recommendations; or, the product search request can also be triggered and submitted when the user enters the corresponding keywords or product images on the product search page and confirms the search operation.

电商平台的服务器接收到用户在终端设备触发提交的商品搜索请求后,响应于该商品搜索请求而执行商品召回业务逻辑。通常,服务器会预设多个数据召回渠道,每个数据召回渠道对应一个相应的数据源,不同的数据召回渠道可以采用各自相应的推荐算法来提供商品搜索请求相匹配的商品项作为商品搜索结果,分别得到由相匹配的商品项构成的召回商品集。示例性的一个数据召回渠道中,可以调用电商平台的数据召回接口,借助该数据召回接口调用协同过滤推荐系统在作为第一数据源的独立站的商品数据库中执行商品搜索而得到相应的相匹配的商品项所构成的召回商品集;示例性的另一数据召回渠道中,可以调用本地缓存兜底数据作为第二数据源,利用本地实现的基于规则或者基于协同过滤推荐算法的业务逻辑,在第二数据源中搜索得到该商品搜索请求相匹配的商品项所构成召回商品集。不难理解,可以按需设置多个这样的数据源,不受以上示例的局限,由此,服务器在接收到商品搜索请求时,根据该商品搜索请求,调用各个数据源对应的数据召回接口,即可返回相应的召回商品集。After the server of the e-commerce platform receives the product search request triggered and submitted by the user on the terminal device, it executes the product recall business logic in response to the product search request. Usually, the server will preset multiple data recall channels, each data recall channel corresponds to a corresponding data source, and different data recall channels can use their own corresponding recommendation algorithms to provide product items that match the product search request as product search results, and obtain recalled product sets consisting of matching product items. In an exemplary data recall channel, the data recall interface of the e-commerce platform can be called, and the collaborative filtering recommendation system can be called with the help of the data recall interface to perform a product search in the product database of the independent station as the first data source to obtain a recall product set consisting of corresponding matching product items; in another exemplary data recall channel, the local cached backup data can be called as the second data source, and the business logic based on rules or collaborative filtering recommendation algorithms implemented locally can be used to search in the second data source to obtain a recall product set consisting of product items that match the product search request. It is not difficult to understand that multiple such data sources can be set up as needed without being limited by the above examples. Therefore, when the server receives a product search request, it calls the data recall interface corresponding to each data source according to the product search request to return the corresponding recalled product set.

各个数据源所存储的数据,可以各有特点,例如,示例性的第一数据源可以是独立站上架的全量商品项的商品数据,提供有全量商品项的各种商品信息;示例性的第二数据源可以是由电商平台对独立站的全量商品项进行某项指标的统计而后形成的排名数据,例如最近七天畅销的商品项列表之类。示例性的第二数据源存储在本地缓存中,成为缓存兜底数据,可以克服数据稀疏和冷启动引发的不足,为商品搜索请求提供兜底性质的商品项。当然,各种数据源所存储的数据以及数据所存储的介质,并不受以上示例的局限,例如,各个数据源可以分别是不同商品数据库相对应的数据源等,对各个数据源进行数据召回时所采用的算法,也可以各不相同,诸如此类,本领域技术人员根据此处揭示的精神可变通实施。The data stored in each data source may have its own characteristics. For example, the exemplary first data source may be the product data of all the product items listed on the independent site, providing various product information of all the product items; the exemplary second data source may be the ranking data formed by the e-commerce platform after statistics of a certain indicator of all the product items on the independent site, such as a list of best-selling product items in the past seven days. The exemplary second data source is stored in the local cache and becomes the cache backup data, which can overcome the deficiencies caused by data sparsity and cold start, and provide a backup product item for product search requests. Of course, the data stored in various data sources and the media in which the data is stored are not limited to the above examples. For example, each data source may be a data source corresponding to a different product database, etc. The algorithms used for data recall for each data source may also be different. Those skilled in the art may implement it flexibly according to the spirit disclosed herein.

当使用协同过滤推荐算法或由此实现的协同过滤推荐系统进行数据召回时,协同过滤推荐算法可以利用商品搜索请求中携带的信息,例如用户特征信息和/或商品特征信息,根据用户特征信息相对应的历史记录数据和商品特征信息相对应的商品项的历史访问数据进行相似商品匹配,从而得到与商品搜索请求相匹配的各个商品项得到相应的召回商品集。同理,只要某个数据源相对应的数据召回接口能够根据商品搜索请求所携带的信息从相应的数据源中搜索出相匹配的商品项构造成召回商品集,即可服务于本申请后续的过程,而不必受制于具体所采用的算法。When using a collaborative filtering recommendation algorithm or a collaborative filtering recommendation system implemented thereby for data recall, the collaborative filtering recommendation algorithm can utilize the information carried in the product search request, such as user feature information and/or product feature information, to match similar products based on the historical record data corresponding to the user feature information and the historical access data of the product item corresponding to the product feature information, thereby obtaining the corresponding recalled product set for each product item that matches the product search request. Similarly, as long as the data recall interface corresponding to a data source can search for matching product items from the corresponding data source based on the information carried in the product search request to construct a recalled product set, it can serve the subsequent process of this application without being restricted by the specific algorithm used.

步骤S5200、获取占位商品集,删除各个召回商品集中与所述占位商品集重合的商品项,所述占位商品集包含至少一个商品项及其待占顺位;Step S5200: Obtain a placeholder product set, and delete the product items in each recalled product set that overlap with the placeholder product set, wherein the placeholder product set includes at least one product item and its position to be occupied;

服务器中可以预设一个占位商品集,该占位商品集可以由独立站的运营用户、电商平台的管理用户或者其他任意经合法授权的用户事先编辑确定。在占位商品集中,存储有一个或多个商品项,并且为每个商品项指定了其待占顺位,待占顺位用于表示其相应的商品项需要展示到商品推荐页面中的多个坑位中的具体坑位,也即,待占顺位指向商品推荐页面的多个坑位中,排序顺位与该待占顺位相同的位置,以表示即将把商品项展示到其待占顺位相对应的排序顺位所在的坑位中。A placeholder product set can be preset in the server, and the placeholder product set can be edited and determined in advance by the operating user of the independent website, the management user of the e-commerce platform, or any other legally authorized user. In the placeholder product set, one or more product items are stored, and each product item is assigned a pending order. The pending order is used to indicate that the corresponding product item needs to be displayed in a specific slot among multiple slots on the product recommendation page. That is, the pending order points to a position in the multiple slots on the product recommendation page with the same sorting order as the pending order, indicating that the product item will be displayed in the slot corresponding to the pending order.

从各个数据源召回得到的召回商品集中的商品项,可以通过进一步精排序,使与商品搜索请求最匹配的商品项能够更靠前展示,但是,占位商品集中的商品项,最终要展示到商品推荐页面中指定的坑位中,这种情况下,占位商品集中的商品项可以不必参与各个召回商品集中的商品项的排序,因而,对于同时出现在占位商品集中又出现在任意一个召回商品集中的重复商品项来说,本申请将召回商品集中的重复商品项删除,只将该重复商品项保留在占位商品集中,实现去重,使占位商品集中的商品项,不再出现在各个召回商品集中。The product items in the recalled product set obtained by recalling from various data sources can be further sorted so that the product items that best match the product search request can be displayed closer to the front. However, the product items in the placeholder product set will eventually be displayed in the designated slots in the product recommendation page. In this case, the product items in the placeholder product set do not need to participate in the sorting of the product items in each recalled product set. Therefore, for duplicate product items that appear in both the placeholder product set and any recalled product set, this application deletes the duplicate product items in the recalled product set and only retains the duplicate product items in the placeholder product set to achieve deduplication, so that the product items in the placeholder product set no longer appear in each recalled product set.

将占位商品集中的商品项,从各个召回商品集中删除,一方面可以避免最终的推荐商品集中重复推荐同一商品项,另一方面可以维持占位商品集中的商品项的独立性,在对召回商品集完成精排序得到精排商品集后,按照占位商品集中的各个商品项的待占顺位,将各个商品项准确插入精排商品集中对应的坑位中。Deleting the product items in the placeholder product set from each recalled product set can, on the one hand, avoid repeated recommendation of the same product item in the final recommended product set, and on the other hand, maintain the independence of the product items in the placeholder product set. After completing the fine sorting of the recalled product set to obtain the finely ranked product set, each product item in the placeholder product set is accurately inserted into the corresponding slot in the finely ranked product set according to the order of each product item in the placeholder product set to be occupied.

一个实施例中,占位商品集并未存在重复商品项,但两个或两个以上的召回商品集中出现同一商品项,针对这种情况,可以对各个召回商品集进行去重,使所有召回商品集中,针对同一商品项只出现一次,保持每个商品项在全部召回商品集中的唯一性,由此可以确保最终得到的精排商品集不会出现重复商品项。In one embodiment, there are no duplicate product items in the placeholder product set, but the same product item appears in two or more recalled product sets. In this case, each recalled product set can be deduplicated so that the same product item only appears once in all recalled product sets, maintaining the uniqueness of each product item in all recalled product sets. This ensures that the final refined product set will not contain duplicate product items.

步骤S5300、根据各个召回商品集中的商品项对应获得的干预展示评分,对全部召回商品集中的全部商品项进行精排处理,得到精排商品集;Step S5300: According to the intervention display scores obtained for the product items in each recalled product set, all the product items in all the recalled product sets are sorted to obtain a sorted product set;

为了完成对多路召回的商品项也即各个召回商品集中的商品项的精排序,可以根据同一预设评价规则对各个召回商品集中的每个商品项进行评分,确定出每个商品项相对应的干预展示评分,再根据干预展示评分从全部召回商品集的全部商品项中进行筛选,以得到精排商品集。In order to complete the precise sorting of multi-way recalled product items, that is, the product items in each recalled product set, each product item in each recalled product set can be scored according to the same preset evaluation rules, and the corresponding intervention display score of each product item can be determined. Then, all product items in all recalled product sets can be screened according to the intervention display score to obtain a precisely ranked product set.

区别于传统为商品项设计评分的方式,干预展示评分可以设计成一物两用的指标,一方面用于衡量相应的商品项被替换掉的可能性,另一方面用于反映商品项的潜在销售价值,据此,干预展示评分的评价规则可以由本领域技术人员按需设定,例如,评价规则可以设定根据商品项的商品信息中的一个或多个数据指标进行综合量化评价以得到相应的干预展示评分。在设计评价规则时,可以从商品项是否畅销的角度,考察确定商品信息中与表征畅销程度相关的各个数据指标,以便获取相应的商品项在各个数据指标下的数据进行综合量化。这些数据指标可以按需灵活选取,例如,可以是商品项的广告转化率、广告点击率等。各个数据指标也可以是表示商品项的销售潜能相关的指标,例如,商品项在电商平台中榜单中的排序、利润额、折扣率等。各个数据指标不仅可以是数值数据,还可以是枚举数据或布尔型数据,例如可以是表征是否属于新品或是否属于主推品的布尔型数据,对应枚举数据或布尔型数据的数据指标,可以将其映射为一定的分值以参与各个数据指标之间的综合量化。Different from the traditional way of designing scores for commodity items, the intervention display score can be designed as an indicator that serves two purposes. On the one hand, it is used to measure the possibility of the corresponding commodity item being replaced, and on the other hand, it is used to reflect the potential sales value of the commodity item. Based on this, the evaluation rules of the intervention display score can be set by technicians in this field as needed. For example, the evaluation rules can be set to conduct a comprehensive quantitative evaluation based on one or more data indicators in the commodity information of the commodity item to obtain the corresponding intervention display score. When designing the evaluation rules, from the perspective of whether the commodity item is popular, the various data indicators related to the characterization of the popularity in the commodity information can be examined and determined, so as to obtain the data of the corresponding commodity item under various data indicators for comprehensive quantification. These data indicators can be flexibly selected as needed, for example, they can be the advertising conversion rate, advertising click-through rate, etc. of the commodity item. Each data indicator can also be an indicator related to the sales potential of the commodity item, for example, the ranking of the commodity item in the list on the e-commerce platform, the profit amount, the discount rate, etc. Each data indicator can not only be numerical data, but also enumerated data or Boolean data. For example, it can be Boolean data that represents whether it is a new product or a main product. The data indicators corresponding to enumerated data or Boolean data can be mapped to a certain score to participate in the comprehensive quantification among various data indicators.

针对各个召回商品集中的各个商品项,都根据评分规则计算出每个商品项在各个数据指标下综合得到的干预展示评分后,可以将各个召回商品集中的全部商品项合并到同一数据集合中,在其中根据干预展示评分对各个商品项进行排序,从而得到一个精排商品集。For each product item in each recalled product set, after calculating the intervention display score of each product item under various data indicators according to the scoring rules, all product items in each recalled product set can be merged into the same data set, in which each product item is sorted according to the intervention display score, so as to obtain a refined product set.

干预展示评分一般按照价值高低进行量化,其分数越高,表示越具有潜在销售价值,越值得被占位替换掉,反之则潜在销售价值越低,被占替换掉的可能性相对也较低。据此,在合并各个召回商品集得到的数据集合中,可根据干预展示评分对各个商品项进行倒排序,使各个商品项自高到低排列,构成精排商品集。Intervention display scores are generally quantified according to value. The higher the score, the more potential sales value it has and the more worthy it is to be replaced. Conversely, the lower the potential sales value, the lower the possibility of being replaced. Based on this, in the data set obtained by merging various recalled product sets, each product item can be sorted in reverse order according to the intervention display score, so that each product item is arranged from high to low to form a refined product set.

在一些实施例中,还可以对该数据集合做进一步的筛选,将其中干预展示评分未达到预设阈值的商品项删除,只保留干预展示评分达到预设阈值的商品项构成精排商品集,以便确保精排商品集中的商品项都具有较高的潜在销售价值。进一步的一些实施例中,终端设备的商品推荐页面所需展示的坑位的数量通常是确定的,如果精排商品集中的商品项总数不足商品推荐页面中的坑位总数,此时,可从任意一个召回商品集中选择商品项补足该精排商品集,使其中的商品项总数达到坑位总数。In some embodiments, the data set can be further screened to delete the commodity items whose intervention display scores do not reach the preset threshold, and only retain the commodity items whose intervention display scores reach the preset threshold to form the refined commodity set, so as to ensure that the commodity items in the refined commodity set have high potential sales value. In some further embodiments, the number of slots required to be displayed on the commodity recommendation page of the terminal device is usually determined. If the total number of commodity items in the refined commodity set is less than the total number of slots in the commodity recommendation page, at this time, commodity items can be selected from any recalled commodity set to supplement the refined commodity set so that the total number of commodity items therein reaches the total number of slots.

步骤S5400、将所述占位商品集中的商品项,添加到所述精排商品集中与该商品项的待占顺位相对应的排序顺位,得到推荐商品集用于应答所述商品搜索请求。Step S5400: Add the commodity items in the placeholder commodity set to the sorting order corresponding to the to-be-occupied order of the commodity items in the refined commodity set, and obtain a recommended commodity set for responding to the commodity search request.

精排商品项中已经包含有多个商品项,而占位商品集中也包含有一个或多个商品项,为了使占位商品集中的商品项能够合并到精排商品集中,可以根据占位商品集中为商品项指定的待占顺位,将占位商品集中的每个商品项插入或替换到精排商品集中与该商品项的待占顺位相对应的排序顺位处。由于精排商品集中每个商品项的排序顺位都是根据其干预展示评分确定的,具有反映潜在销售价值的作用,而占位商品集中的商品项又通过待占顺位指定了对应的插入或替换的排序顺位,这样就确保占位商品集中的商品项植入精排商品集中具有对应潜在销售价值的位置,实现通过占位商品集中指定的待占顺位精准干预精排商品集中的商品项的展示,从而完成占位商品集与精排商品集的有机融合,得到推荐商品集。The refined ranking merchandise items already contain multiple merchandise items, and the placeholder merchandise set also contains one or more merchandise items. In order to merge the merchandise items in the placeholder merchandise set into the refined ranking merchandise set, each merchandise item in the placeholder merchandise set can be inserted or replaced into the sorting order corresponding to the to-be-occupied order of the merchandise item in the refined ranking merchandise set according to the to-be-occupied order specified for the merchandise item in the placeholder merchandise set. Since the sorting order of each merchandise item in the refined ranking merchandise set is determined based on its intervention display score, it has the function of reflecting the potential sales value, and the merchandise items in the placeholder merchandise set specify the corresponding insertion or replacement sorting order through the to-be-occupied order, thus ensuring that the merchandise items in the placeholder merchandise set are implanted into the positions with corresponding potential sales value in the refined ranking merchandise set, and realizing the precise intervention of the display of the merchandise items in the refined ranking merchandise set through the to-be-occupied order specified in the placeholder merchandise set, thereby completing the organic integration of the placeholder merchandise set and the refined ranking merchandise set, and obtaining the recommended merchandise set.

推荐商品集可以直接用来应答消费者用户提交的商品搜索请求,也可以按照预定的规则例如按照终端设备处商品推荐页面的坑位总数进行截尾筛选后,再应答该商品搜索请求。在应答该商品搜索请求时,还可以按照预定的格式要求先对推荐商品集中的各个商品项进行格式封装,封装后再作为商品搜索结果推送给消费者用户所在的终端设备解析展示到商品推荐页面的各个相应坑位中,从而完成对商品搜索请求的应答。The recommended product set can be used directly to answer the product search request submitted by the consumer user, or it can be truncated and screened according to a predetermined rule, such as the total number of slots on the product recommendation page at the terminal device, and then answer the product search request. When answering the product search request, each product item in the recommended product set can be formatted and packaged according to the predetermined format requirements, and then pushed to the terminal device where the consumer user is located as the product search result, parsed and displayed in each corresponding slot on the product recommendation page, thereby completing the response to the product search request.

根据以上实施例可知,本申请具有诸多技术优势,包括但不限于:According to the above embodiments, the present application has many technical advantages, including but not limited to:

首先,本申请通过预设占位商品集指定若干商品项及其相对应的待占顺位,以指示在给定的多个坑位中,商品项展示相对应的坑位,在用户提交商品搜索请求后,从多个数据源中获得该商品搜索请求相匹配的召回商品集,先从召回商品集中删除与占位商品集相重合的重复商品项,使指定了待占顺位的商品项不参与对各个召回商品集进行精排序的环节,在完成精排序得到精排商品集后,再按照待占顺位将占位商品集中的商品项添加到精排商品集中对应的排序顺位中,从而实现对多源召回结果的有效干预,方便基于多源召回结果实现个性化运营。First, the present application specifies several product items and their corresponding to-be-occupied ranks by pre-setting a placeholder product set, so as to indicate that in a given plurality of ranks, the product items display the corresponding ranks. After the user submits a product search request, a recalled product set matching the product search request is obtained from multiple data sources. The duplicate product items overlapping with the placeholder product set are first deleted from the recalled product set, so that the product items with the specified to-be-occupied ranks do not participate in the process of fine-sorting each recalled product set. After the fine-sorting is completed to obtain the fine-sorted product set, the product items in the placeholder product set are added to the corresponding sorting ranks in the fine-sorted product set according to the to-be-occupied ranks, thereby achieving effective intervention in the multi-source recall results and facilitating personalized operations based on the multi-source recall results.

其次,本申请通过有效干预多源召回结果,对于独立站来说,可以因应独立站数据稀疏和冷启动等情况,借助预设的占位商品集,实现对协同过滤推荐算法的搜索结果的优化,同时还可以克服数据偏好的弊端,泛化商品推荐结果,使独立站中的商品项能够通过预置在占位商品集中而获得更多公平推荐的机会,从而促进平台总交易额的提升。Secondly, by effectively intervening in the multi-source recall results, for independent sites, this application can optimize the search results of the collaborative filtering recommendation algorithm with the help of a preset placeholder product set in response to situations such as sparse data and cold start of the independent site. At the same time, it can also overcome the disadvantages of data preference and generalize the product recommendation results, so that the product items in the independent site can get more fair recommendation opportunities by being pre-set in the placeholder product set, thereby promoting the increase in the total transaction volume of the platform.

此外,本申请的占位商品集可以由平台或独立站进行定制,丰富了平台或独立站对多源召回结果进行个性化运营的技术手段,可以在商品推荐结果中进一步实现商品广告植入的功能,而整体方案易于实现,部署成本低,运算效率高,能够带来较高的综合收益。In addition, the placeholder product set of the present application can be customized by the platform or independent site, enriching the technical means for the platform or independent site to perform personalized operations on multi-source recall results, and can further realize the function of product advertising implantation in the product recommendation results. The overall solution is easy to implement, has low deployment costs, high computing efficiency, and can bring higher comprehensive benefits.

考虑到不希望在最终得到的精排商品集中出现多个相同商品项的目的时,既需要保障占位商品集与召回商品集之间不存在重复商品项,又需要保障不同召回商品集之间不存在重复商品项,本实施例采用统一的算法来解决这一问题,以避免冗余或重复进行去重操作,据此,在本申请的方法的任意实施例的基础上,删除各个召回商品集中与所述占位商品集重合的商品项,包括:Considering the purpose of not wanting multiple identical product items to appear in the final refined product set, it is necessary to ensure that there are no duplicate product items between the placeholder product set and the recalled product set, and it is also necessary to ensure that there are no duplicate product items between different recalled product sets. This embodiment adopts a unified algorithm to solve this problem to avoid redundant or repeated deduplication operations. Accordingly, based on any embodiment of the method of the present application, the product items in each recalled product set that overlap with the placeholder product set are deleted, including:

步骤S5110、获取所述占位商品集及各个召回商品集相对应的优先级,其中,所述占位商品集具有最高优先级,所述各个召回商品集根据其所属的数据源配置不同的优先级;Step S5110: Obtain the priorities corresponding to the placeholder product set and each recalled product set, wherein the placeholder product set has the highest priority, and each recalled product set has a different priority configured according to the data source to which it belongs;

服务器事先为各个数据源指定了其相对应的优先级,并且也将占位商品集视为一个数据源也设置对应的优先级,在需要时调用即可。也即,占位商品集以及各个召回商品集均有其相对应的优先级,其中,将占位商品集的优先级设有最高优先级,其他各个召回商品集按其数据源的重要性而设置不同的优先级,但均低于占位商品集的优先级。各个召回商品集的优先级,示例而言,可以将电商平台的商品数据库相对应的第一数据源设置有次高优先级,而将本地缓存兜底数据相对应的第二数据源设置为最低优先级,在本示例中,各个数据源反映到各个数据集之后的优先级关系为:占位商品集>第一数据源的召回商品集>第二数据源的召回商品集。The server specifies the corresponding priority for each data source in advance, and also regards the placeholder product set as a data source and sets the corresponding priority, which can be called when needed. That is, the placeholder product set and each recalled product set have their corresponding priorities, among which the placeholder product set is set with the highest priority, and the other recalled product sets are set with different priorities according to the importance of their data sources, but they are all lower than the priority of the placeholder product set. For example, the priority of each recalled product set can be set to the second highest priority for the first data source corresponding to the product database of the e-commerce platform, and the lowest priority for the second data source corresponding to the local cache backup data. In this example, the priority relationship of each data source after being reflected in each data set is: placeholder product set>recalled product set of the first data source>recalled product set of the second data source.

步骤S5120、对所述占位商品集和所述各个召回商品集中的商品项进行去重处理,将重复出现的商品项仅保留在相对优先级最高的集合中,删除相对优先级较低的集合中重复的商品项。Step S5120: De-duplicate the product items in the placeholder product set and each of the recalled product sets, retain the repeated product items only in the set with the highest relative priority, and delete the repeated product items in the sets with lower relative priorities.

在确定占位商品集和各个召回商品集相对应的优先级后,按照统一的算法,检测出跨多个商品集重复出现的商品项,然后,将重复商品项只保留在各个商品集中具有相对最高优先级的商品集中,删除其出现在其他相对较低优先级的商品集中的相应重复商品项。按照这一统一算法进行去重处理之后,每个商品项只会出现在相对最高优先级的商品集中,其中,由于占位商品集中的商品项本身对应最高优先级,所以,只要是出现在占位商品集中的商品项,在去重时不会被去除,确保人工干预设定的商品项最后仍能与精排商品集融合。After determining the corresponding priorities of the placeholder product set and each recalled product set, a unified algorithm is used to detect repeated product items across multiple product sets. Then, the repeated product items are retained only in the product set with the highest priority in each product set, and the corresponding repeated product items that appear in other relatively lower priority product sets are deleted. After deduplication according to this unified algorithm, each product item will only appear in the product set with the highest priority. Among them, since the product items in the placeholder product set themselves correspond to the highest priority, as long as the product items appear in the placeholder product set, they will not be removed during deduplication, ensuring that the product items set by manual intervention can still be integrated with the refined product set in the end.

以上实施例中,基于对占位商品集和各个召回商品集的数据源设定优先级,根据优先级,应用统一算法对商品项进行去重,既能保证占位商品集中的商品项不会被去重操作误删除,而且能有效避免最终的精排商品集不会出现重复商品项,运算高效,且数据有序。In the above embodiment, priorities are set based on the data sources of the placeholder product set and each recalled product set, and a unified algorithm is applied to deduplicate product items according to the priorities. This can not only ensure that product items in the placeholder product set are not mistakenly deleted by the deduplication operation, but also effectively avoid duplicate product items in the final refined product set. The operation is efficient and the data is ordered.

在本申请的方法的任意实施例的基础上,请参阅图3,根据各个召回商品集中的商品项对应获得的干预展示评分,对全部召回商品集中的全部商品项进行精排处理,得到精排商品集,包括:Based on any embodiment of the method of the present application, please refer to FIG. 3 , according to the intervention display scores obtained by the product items in each recalled product set, all the product items in all the recalled product sets are refined and sorted to obtain a refined product set, including:

步骤S5210、根据预设过滤条件对各个召回商品集中的商品项进行过滤;Step S5210: filtering the commodity items in each recalled commodity set according to the preset filtering condition;

从各个数据源召回得到的召回商品集,其质量可能参差不齐,因而,有必要对每个召回商品集中的商品项进行过滤,以便去伪存精,使过滤后存留的商品项更能有效匹配商品搜索请求。The quality of the recalled product sets obtained from various data sources may vary. Therefore, it is necessary to filter the product items in each recalled product set to eliminate the false and retain the fine, so that the remaining product items after filtering can more effectively match the product search request.

在对各个召回商品集进行过滤时,应用预设的过滤条件,该过滤条件可以灵活设计,例如按照价格、销量等任意商品信息是否达到对应的设定值进行过滤,或者按照商品项的白名单或黑名单进行过滤等均可。不难理解,经过滤后,各个召回商品集中的商品项,与商品搜索请求中的搜索条件的匹配度更高。When filtering each recalled product set, a preset filtering condition is applied, and the filtering condition can be flexibly designed, for example, filtering according to whether any product information such as price and sales volume reaches a corresponding set value, or filtering according to a whitelist or blacklist of product items, etc. It is not difficult to understand that after filtering, the product items in each recalled product set have a higher matching degree with the search condition in the product search request.

步骤S5220、根据商品项的多个数据指标,计算各个召回商品集中商品项的干预展示评分;Step S5220: Calculate the intervention display score of each product item in the recalled product set according to multiple data indicators of the product item;

如前文的实施例所揭示,可以通过同一评分规则指定多个数据指标来实现对各个商品项进行评分,以便确定过滤后的各个召回商品集中每个商品项相对应的干预展示评分。由于各个商品项的干预展示评分都是关联于相同的数据指标来综合量化确定的,所以,虽然各个召回商品集来自不同的数据源,但其中的商品项之间,通过干预展示评分而实现评价量纲上的统一,各个召回商品集中的商品项都通过相应的干预展示评分实现可比性。As disclosed in the above embodiments, multiple data indicators can be specified by the same scoring rule to implement scoring of each commodity item, so as to determine the intervention display score corresponding to each commodity item in each recalled commodity set after filtering. Since the intervention display score of each commodity item is comprehensively and quantitatively determined in association with the same data indicator, although each recalled commodity set comes from a different data source, the commodity items therein are unified in evaluation dimension through the intervention display score, and the commodity items in each recalled commodity set are comparable through the corresponding intervention display score.

步骤S5230、根据各个召回商品集所构成的中间商品集中商品项的干预展示评分,对该中间商品集中的商品项进行排序;Step S5230: Sort the commodity items in the intermediate commodity set according to the intervention display scores of the commodity items in the intermediate commodity set formed by each recalled commodity set;

为了实现对各个召回商品集中的全部商品项的精排序,可以将各个召回商品集中的全部商品项合并到同一数据集合中,将该数据集合作为中间商品集使用。考虑到干预展示评分已经设计为其分值越高则其表示商品项的潜在销售能力越高,因此,在中间商品集的基础上,根据干预展示评分对各个商品项进行倒排序,使其排序越靠前,则相应的潜在销售能力越高,刚好与终端设备的商品推荐页面中的坑位顺序的作用相统一。In order to achieve precise sorting of all the items in each recalled product set, all the items in each recalled product set can be merged into the same data set, and the data set is used as the intermediate product set. Considering that the intervention display score has been designed so that the higher the score, the higher the potential sales ability of the product item, therefore, on the basis of the intermediate product set, each product item is sorted in reverse order according to the intervention display score, so that the higher the ranking, the higher the corresponding potential sales ability, which is exactly the same as the role of the slot order in the product recommendation page of the terminal device.

步骤S5240、根据商品项的干预展示评分从中间商品集中筛选出部分商品项构造为精排商品集。Step S5240: select some product items from the intermediate product set according to the intervention display scores of the product items to construct a refined product set.

由于中间商品集是由多个召回商品集合并排序而得的,而终端设备的商品推荐页面中的坑位总数是有限的,并且,如果中间商品集中商品项的干预展示评分,也意味着相应的商品项的推广价值可能不高,因此,可以在中间商品集的基础上,根据干预展示评分做进一步的筛选,以筛选出更优质的商品项构成精排商品集。Since the intermediate product set is obtained by collecting and sorting multiple recalled product sets, and the total number of slots in the product recommendation page of the terminal device is limited, and if the intervention display score of the product items in the intermediate product set, it also means that the promotion value of the corresponding product items may not be high, therefore, on the basis of the intermediate product set, further screening can be done according to the intervention display score to screen out better quality product items to form a refined product set.

进行筛选时,先利用与干预展示评分相对应预设的阈值,对中间商品集进行筛选,筛选出其中干预展示评分高于该阈值的商品项,删除其中干预展示评分低于该阈值的商品项,如果此时中间商品集中的商品项的数量超过终端设备的商品推荐页面中的坑位总数,还可以按照该坑位总数对中间数据集进行截尾处理,得到与坑位总数相同的多个商品项构成最终的精排商品集。如果精排商品集中的商品项总数未达到坑位总数,还可以另行从各个召回商品集中获取商品项对精排商品集进行补足处理。When screening, first use the preset threshold corresponding to the intervention display score to screen the intermediate product set, screen out the product items whose intervention display score is higher than the threshold, and delete the product items whose intervention display score is lower than the threshold. If the number of product items in the intermediate product set exceeds the total number of slots in the product recommendation page of the terminal device, the intermediate data set can also be truncated according to the total number of slots to obtain multiple product items with the same number of slots to form the final refined product set. If the total number of product items in the refined product set does not reach the total number of slots, product items can be obtained from each recalled product set to supplement the refined product set.

根据以上实施例可见,在对多个数据源相对应的召回商品集过滤后进行精排的过程中,商品项的干预展示评分发挥着关键作用,根据干预展示评分对各个召回商品集的商品项进行筛选之后,构造出的精排商品集,其中的商品项不仅与商品搜索请求中的搜索条件高度匹配,提高了商品搜索的精准度,而且在干预展示评分的功能的影响下,商品项的排序顺位能够有效反映商品项的潜在销售价值,从而确保根据占位商品集中的待占顺位对精排商品集中相应排序顺位的商品项进行前置插入或直接替换的操作具有对应的价值。It can be seen from the above embodiments that in the process of fine-ranking after filtering the recalled product sets corresponding to multiple data sources, the intervention display score of the product items plays a key role. After screening the product items of each recalled product set according to the intervention display score, a fine-ranked product set is constructed, in which the product items not only highly match the search conditions in the product search request, thereby improving the accuracy of the product search, but also under the influence of the function of the intervention display score, the sorting order of the product items can effectively reflect the potential sales value of the product items, thereby ensuring that the operation of pre-inserting or directly replacing the product items with the corresponding sorting order in the fine-ranked product set according to the to-be-occupied order in the placeholder product set has corresponding value.

在本申请的方法的任意实施例的基础上,根据商品项的多个数据指标,计算各个召回商品集中商品项的干预展示评分,包括:Based on any embodiment of the method of the present application, the intervention display score of each product item in the recalled product set is calculated according to multiple data indicators of the product item, including:

步骤S5221、计算各个召回商品集中商品项在多个预设数据指标下的归一化分值;Step S5221, calculating the normalized scores of each product item in the recalled product set under multiple preset data indicators;

根据各个数据指标对各个召回商品集中的各个商品项综合确定商品项的干预展示评分时,可先单独计算每个商品项的每个数据指标相对应的归一化分值。为便于运算,归一化分值可以控制在[0,1]的数值区间。对于数据指标属于数值型的情况,可以应用最大最小值归一化方式确定归一化分值,参考如下公式:When comprehensively determining the intervention display score of each item in each recalled product set based on each data indicator, the normalized score corresponding to each data indicator of each item can be calculated separately. For ease of calculation, the normalized score can be controlled in the numerical range of [0,1]. For the case where the data indicator is numerical, the maximum and minimum value normalization method can be applied to determine the normalized score, refer to the following formula:

其中,是归一化处理后落在0-1数值区间内的数值;/>为当前数据指标的当前数值;/>为当前类型数据指标集中最小值;/>为当前类型数据指标集中最大值。in, It is a value that falls within the range of 0-1 after normalization; /> The current value of the current data indicator; /> The minimum value of the current type of data indicator set; /> It is the maximum value among the current type of data indicators.

对于属于枚举型或布尔型的数据指标而言,可以建立其数据与数值之间的映射关系,同理可将其映射到[0,1]的数值区间,对此,本领域技术人员可灵活设定。For data indicators of enumeration type or Boolean type, a mapping relationship between the data and the value can be established. Similarly, it can be mapped to a value interval of [0,1]. For this, technicians in this field can flexibly set it.

步骤S5222、以各个数据指标相对应的预设干预展示概率作为数据指标的权重,求取每个商品项各数据指标的归一化分值的加权总分,以作为每个商品项的干预展示评分。Step S5222: Using the preset intervention display probability corresponding to each data indicator as the weight of the data indicator, the weighted total score of the normalized scores of each data indicator of each commodity item is calculated to serve as the intervention display score of each commodity item.

在设计干预展示评分的评分规则时,还可以事先设定各个数据指标相对应的干预展示概率,以表征每个指标在确定干预展示评分中所占据的权重,据此,在每个商品项都确定了其各个数据指标的归一化分值之后,便可根据如下公式,将每个商品项的各个数据指标的归一化分值进行加权汇总得到加权总分,作为该商品项的干预展示评分:When designing the scoring rules for intervention display scoring, the intervention display probability corresponding to each data indicator can also be set in advance to represent the weight of each indicator in determining the intervention display score. Based on this, after the normalized scores of each data indicator of each commodity item are determined, the normalized scores of each data indicator of each commodity item can be weighted and summarized according to the following formula to obtain a weighted total score as the intervention display score of the commodity item:

其中,为商品项/>的干预展示评分;/>为该商品项的数据指标/>得到的归一化分值,/>是评分规则中为数据指标/>对应预设的干预展示概率。in, For product items/> The intervention presentation score; /> The data index of this product item/> The normalized score obtained is, It is a data indicator in the scoring rule/> Corresponding to the preset intervention display probability.

以上实施例中,针对每个商品项,先根据相同数据指标下各个商品项的数值之间的最大值和最小值,对每个商品项在该数据指标下的归一化分值进行评分,将各个商品项在每个数据指标下的数据都归一化到同一数值区间中,再针对每个数据指标适配其相应预设的权重,实现将每个商品项的多个数据指标的归一化分值都融合成同一干预展示评分,该干预展示评分能够有效量化各个商品项在相同的各个数据指标下体现的价值属性,使各个商品项可以通过各自的干预展示评分进行对比,从而确保对商品项进行精排的结果更为准确可靠。In the above embodiment, for each commodity item, the normalized score of each commodity item under the same data indicator is first scored according to the maximum and minimum values between the numerical values of each commodity item under the same data indicator, and the data of each commodity item under each data indicator is normalized to the same numerical range, and then the corresponding preset weight is adapted for each data indicator to achieve the fusion of the normalized scores of multiple data indicators of each commodity item into the same intervention display score. The intervention display score can effectively quantify the value attributes of each commodity item under the same data indicators, so that each commodity item can be compared through its own intervention display score, thereby ensuring that the result of the refined ranking of the commodity items is more accurate and reliable.

在本申请的方法的任意实施例的基础上,根据商品项的干预展示评分从中间商品集中筛选出部分商品项构造为精排商品集,包括:Based on any embodiment of the method of the present application, some commodity items are selected from the intermediate commodity set according to the intervention display scores of the commodity items to form a refined commodity set, including:

步骤S5241、从中间商品集中筛选出干预展示评分超过预设阈值的若干个商品项构成精排商品集;Step S5241, select a number of commodity items whose intervention display scores exceed a preset threshold from the intermediate commodity set to form a refined commodity set;

如前文所揭示,可以根据预设阈值,直接从中间商品集中筛选出干预展示评分超过预设阈值的若干个商品项构成精排商品集,并且,必要时,还可以控制精排商品集中的商品项的总数,例如使其不超过终端设备的商品推荐页面中的坑位总数等。As disclosed above, a number of product items with intervention display scores exceeding the preset threshold can be directly screened out from the intermediate product set according to the preset threshold to form a refined product set. Moreover, if necessary, the total number of product items in the refined product set can also be controlled, for example, so that it does not exceed the total number of slots in the product recommendation page of the terminal device.

步骤S5242、判断所述精排商品集中的商品项总数是否达到预设的坑位总数,当未达到时,从属于排行商品集的召回商品集中提取排行靠前的商品项补足该精排商品集,所述排行商品集包含有预先设定了排行关系的多个商品项。Step S5242, determine whether the total number of product items in the refined ranking product set reaches the preset total number of slots. If not, extract the top-ranked product items from the recalled product set belonging to the ranked product set to supplement the refined ranking product set. The ranked product set contains multiple product items with a preset ranking relationship.

为避免精排商品集中的商品项总数不足以填充商品推荐页面中预设的坑位,可以对精排商品集中的商品项总数进行判断,判断其是否达到预设的坑位总数,当达到预设的坑位总数时,可无需额外处理。当未达到预设的坑位总数时,可以从预设的属于排行商品集的召回商品集中调用商品项补充到精排商品集中。属于排行商品集的召回商品集,可以是前文所称的缓存兜底数据,也即第二数据源。排行商品集所包含的各个商品项,是按照一定规则对商品项进行排行统计生成的,在其中确定了各个商品项的排行关系,可以根据排行顺序调用。各个商品项之间的排行依据,可以按照商品热销程度、商品点击率、商品转换率等按需设定,也可以直接获取电商平台的电商排行榜单直接构成该排行商品集。当需要从排行商品集中调用商品项用于补充精排商品集时,可以按照排行顺序依次调用补足即可。In order to avoid the total number of commodity items in the refined ranking commodity set being insufficient to fill the preset slots in the commodity recommendation page, the total number of commodity items in the refined ranking commodity set can be judged to determine whether it reaches the preset total number of slots. When the preset total number of slots is reached, no additional processing is required. When the preset total number of slots is not reached, commodity items can be called from the preset recalled commodity set belonging to the ranking commodity set to supplement the refined ranking commodity set. The recalled commodity set belonging to the ranking commodity set can be the cached bottom-up data referred to above, that is, the second data source. The various commodity items contained in the ranking commodity set are generated by ranking and statistics of the commodity items according to certain rules, in which the ranking relationship of each commodity item is determined, and can be called according to the ranking order. The ranking basis between each commodity item can be set on demand according to the popularity of the commodity, the click-through rate of the commodity, the conversion rate of the commodity, etc., or the e-commerce ranking list of the e-commerce platform can be directly obtained to directly constitute the ranking commodity set. When it is necessary to call commodity items from the ranking commodity set to supplement the refined ranking commodity set, it can be called in sequence according to the ranking order.

以上实施例中,为避免精排商品集中的商品项不足以对应商品推荐页面中的各个坑位,从属于排行商品集的召回商品集中调用商品项补足精排商品集,起到为精排商品集兜底的作用,确保商品搜索请求能够获得预设坑位总数相应的多个商品项,避免商品搜索结果过于狭窄,可克服数据稀疏和冷启动等问题。In the above embodiments, in order to avoid that the product items in the refined product set are insufficient to correspond to each slot in the product recommendation page, the product items in the recalled product set belonging to the ranked product set are called to supplement the refined product set, which plays a role in providing a backup for the refined product set and ensures that the product search request can obtain multiple product items corresponding to the total number of preset slots, avoiding the product search results being too narrow, and overcoming problems such as data sparsity and cold start.

在本申请的方法的任意实施例的基础上,请参阅图4,将所述占位商品集中的商品项,添加到所述精排商品集中与该商品项的待占顺位相对应的排序顺位,包括:Based on any embodiment of the method of the present application, referring to FIG. 4 , adding a commodity item in the placeholder commodity set to a ranking order corresponding to the place to be occupied by the commodity item in the refined commodity set includes:

步骤S5410、判断精排商品集中的商品项总数是否达到预设的坑位总数;Step S5410: determine whether the total number of commodity items in the refined commodity set reaches the preset total number of slots;

根据精排商品集中的商品项总数是否达到终端设备的商品推荐页面的预设坑位总数两种不同情况,可以为占位商品集与精排商品集的融合应用不同的策略,据此,先对精排商品集中的商品项总数是否超过坑位总数进行判断,得到相应的判断结果。Depending on the two different situations of whether the total number of product items in the refined product set reaches the total number of preset slots on the product recommendation page of the terminal device, different strategies can be applied to the fusion of the placeholder product set and the refined product set. Based on this, first judge whether the total number of product items in the refined product set exceeds the total number of slots to obtain the corresponding judgment result.

步骤S5420、当达到预设的坑位总数时,按照占位商品集中商品项的待占顺位与精排商品集中的排序顺位的对应关系,将所述占位商品集中的商品项以插入和/或替换的方式添加至所述精排商品集中,以得到推荐商品集;Step S5420: When the preset total number of slots is reached, according to the correspondence between the to-be-occupied order of the commodity items in the placeholder commodity set and the sorting order in the refined commodity set, the commodity items in the placeholder commodity set are added to the refined commodity set by insertion and/or replacement to obtain a recommended commodity set;

当判断结果显示精排商品集中的商品项总数达到坑位总数时,表明精排商品集中的商品项数量可以填满商品推荐页面中的坑位,在这种情况下,一种实施例中,对于占位商品集中的每个商品项,将其替换掉精排商品集中与该商品项的待占顺位相对应的排序顺位所存储的商品项,确保精排商品集中的商品项数量不再增加,由此得到推荐商品集。另一实施例中,也可以将占位商品集中的每个商品项,插入到精排商品集中对应其待占顺位的位置,先对待占顺位靠前的商品项开始插入,使精排商品集中的商品项因被前置插入而后推一个坑位,再将下一待占顺位的商品项对应插入,以此类推即可,也可得到推荐商品集。同时,还可以同时采用插入和替换的方式将占位商品集的商品项添加至精排商品集中,在一实施例中,占位商品集中待占顺位较高的商品采用插入的方式添加至精排商品集中,而待占顺位较低的商品则采用替换的方式,替换掉重新排序后相应顺位商品,最终形成推荐商品集。When the judgment result shows that the total number of commodity items in the refined ranking commodity set reaches the total number of slots, it indicates that the number of commodity items in the refined ranking commodity set can fill the slots in the commodity recommendation page. In this case, in one embodiment, for each commodity item in the placeholder commodity set, it is replaced by the commodity item stored in the refined ranking commodity set at the ranking order corresponding to the position to be occupied by the commodity item, ensuring that the number of commodity items in the refined ranking commodity set does not increase, thereby obtaining a recommended commodity set. In another embodiment, each commodity item in the placeholder commodity set can also be inserted into the position in the refined ranking commodity set corresponding to its position to be occupied, starting with the commodity items at the front of the position to be occupied, so that the commodity items in the refined ranking commodity set are pushed back one slot due to being inserted in front, and then the next commodity item to be occupied is inserted accordingly, and so on, and a recommended commodity set can also be obtained. At the same time, the product items of the placeholder product set can also be added to the refined product set by both insertion and replacement. In one embodiment, the products with higher rankings in the placeholder product set are added to the refined product set by insertion, while the products with lower rankings are added to the refined product set by replacement, replacing the products with corresponding rankings after re-ordering, thereby finally forming a recommended product set.

步骤S5430、当未达到预设的坑位总数时,按照占位商品集中商品项的待占顺位,将占位商品集中的商品项插入到所述精排商品集相对应的排序顺位中,以得到推荐商品集。Step S5430: When the preset total number of slots is not reached, the commodity items in the placeholder commodity set are inserted into the corresponding sorting order of the refined commodity set according to the order of the commodity items in the placeholder commodity set to be occupied, so as to obtain a recommended commodity set.

当判断结果显示精排商品集中的商品项总数未达到预设坑位总数时,表明精排商品集中的商品项数量不足以填满商品推荐页面中的坑位,在这种情况下,对于占位商品集中的每个商品项,将其插入精排商品集中与该商品项的待占顺位相对应的排序顺位处,使该排序顺位及其在后的原有商品项都向后排序,使精排商品集中的商品项数量得以递增,从而得到相应的推荐商品集。When the judgment result shows that the total number of product items in the refined product set does not reach the total number of preset slots, it means that the number of product items in the refined product set is insufficient to fill the slots in the product recommendation page. In this case, for each product item in the placeholder product set, it is inserted into the sorting order corresponding to the position to be occupied by the product item in the refined product set, so that the sorting order and the original product items behind it are sorted backwards, so that the number of product items in the refined product set is increased, thereby obtaining the corresponding recommended product set.

当然,一种实施例中,在未达到预设的坑位总数时向精排商品集中插入占位商品集的单个商品项后,还可以回到步骤S5410继续迭代判断,以此类推,直到精排商品集中的商品项总数达到预设的坑位总数时,如果占位商品集中还有待处理的商品项,则根据判断结果会执行步骤S5420,将剩余待处理的商品项替换到精排商品集中,最终得到的推荐商品集的商品项数量刚好等于预设的坑位总数。Of course, in one embodiment, after inserting a single product item of the placeholder product set into the refined product set when the preset total number of slots has not been reached, the process can return to step S5410 to continue iterating the judgment, and so on, until the total number of product items in the refined product set reaches the preset total number of slots. If there are still product items to be processed in the placeholder product set, step S5420 will be executed according to the judgment result, and the remaining product items to be processed will be replaced with the refined product set, and the number of product items in the recommended product set finally obtained will be exactly equal to the preset total number of slots.

根据以上实施例可见,通过分析精排商品集中的商品项总数与商品推荐页面的坑位总数之间的关系,可以灵活应用不同策略,将占位商品集中的商品项插入或替换到精排商品集中,以便合理控制精排商品集中的商品项总数,使其尽量与商品推荐页面中的坑位总数相匹配,确保商品推荐页面中的坑位能够完整显示各个商品项的商品信息。It can be seen from the above embodiments that by analyzing the relationship between the total number of product items in the refined product set and the total number of slots on the product recommendation page, different strategies can be flexibly applied to insert or replace product items in the placeholder product set into the refined product set, so as to reasonably control the total number of product items in the refined product set so that it matches the total number of slots in the product recommendation page as much as possible, ensuring that the slots in the product recommendation page can fully display the product information of each product item.

在本申请的方法的任意实施例的基础上,请参阅图5,将所述占位商品集中的商品项,添加到所述精排商品集中与该商品项的待占顺位相对应的排序顺位,得到推荐商品集用于应答所述商品搜索请求之后,包括:Based on any embodiment of the method of the present application, referring to FIG. 5 , after adding the commodity items in the placeholder commodity set to the sorting order corresponding to the position to be occupied by the commodity items in the refined commodity set, and obtaining the recommended commodity set for responding to the commodity search request, the method includes:

步骤S5500、获取所述推荐商品集中商品项的商品信息,所述商品信息包括商品图片、商品标题,以及商品页面链接;Step S5500: Obtain product information of a product item in the recommended product set, wherein the product information includes a product image, a product title, and a product page link;

在确定了与商品搜索请求相匹配的搜索商品集之后,可以适应终端设备中商品推荐页面显示的需要,对推荐商品集中的商品项进行数据封装,为此,先根据推荐商品集中的商品项,从独立站的商品数据库中,获取各个商品项相对应的商品信息。After determining the search product set that matches the product search request, the product items in the recommended product set can be data packaged to meet the needs of displaying the product recommendation page in the terminal device. To this end, the product information corresponding to each product item is first obtained from the product database of the independent station based on the product items in the recommended product set.

本实施例中,为每个商品项所获取的商品信息包括但不限于商品图片、商品标题,以及商品页面链接。商品图片优先采用商品数据库中为该商品项默认设定的商品主要图片即可。In this embodiment, the product information obtained for each product item includes but is not limited to a product image, a product title, and a product page link. The product image preferably uses the main product image set by default for the product item in the product database.

步骤S5600、按照预设格式将所述推荐商品集中商品项的商品信息封装为商品展示消息并关联其在推荐商品集中的排序顺位,构造为所述推荐商品集中各个商品项相对应的商品展示列表;Step S5600: encapsulate the product information of the product items in the recommended product set into a product display message according to a preset format and associate it with the sorting order in the recommended product set to construct a product display list corresponding to each product item in the recommended product set;

适应商品推荐页面中显示推荐商品集中各个商品项的商品信息的格式要求,按照相应的格式,可以对推荐商品集中的每个商品项的商品信息进行数据封装,也即按照一定的预设格式,将每个商品项的商品图片、商品标题以及商品页面链接封装为对应的商品展示消息,同时,为每个商品项的商品展示消息关联该商品项在推荐商品集中的排序顺位,由此,实现对推荐商品集中的每个商品项的商品信息的封装配置,得到相应的商品展示列表,该商品展示列表便可用于展示商品搜索请求相对应的搜索结果数据。In order to adapt to the format requirements of displaying the product information of each product item in the recommended product set on the product recommendation page, the product information of each product item in the recommended product set can be encapsulated according to the corresponding format, that is, according to a certain preset format, the product image, product title and product page link of each product item are encapsulated as the corresponding product display message. At the same time, the product display message of each product item is associated with the sorting order of the product item in the recommended product set. In this way, the encapsulation configuration of the product information of each product item in the recommended product set is realized, and the corresponding product display list is obtained. The product display list can be used to display the search result data corresponding to the product search request.

步骤S5700、将所述商品展示列表推送到提交所述商品搜索请求的终端设备,由该终端设备将该商品展示列表中的各个商品展示消息解析显示到该终端设备的显示页面内与排序顺位相对应的坑位中。Step S5700: Push the product display list to the terminal device that submits the product search request, and the terminal device parses and displays each product display message in the product display list in a slot corresponding to the sorting order in the display page of the terminal device.

服务器得到与商品搜索请求相对应的商品展示列表后,将其推送到提交商品搜索请求的消费者用户所在的终端设备处,该终端设备进而对该商品展示列表进行解析,获得其中的各个商品展示消息,再对每个商品展示消息进行相应的解析,得到其中每个商品项的商品图片、商品标题、商品页面链接等商品信息以及排序顺位,然后,将每个商品项的商品图片和商品标题显示到该商品项的排序顺位相对应的商品推荐页面的坑位中,从而实现对商品展示列表的解析显示,在商品推荐页面的各个坑位中显示出商品搜索请求相对应的商品搜索结果。在各个坑位中显示的商品图片和商品标题,都与该坑位相对应的商品项的商品页面链接相关联,当用户点击一个坑位的商品图片或商品标题时,便可跳转到相应的商品页面链接处,以加载相应的商品项的商品详情页面。After the server obtains the product display list corresponding to the product search request, it pushes it to the terminal device where the consumer user who submitted the product search request is located. The terminal device then parses the product display list to obtain each product display message therein, and then parses each product display message accordingly to obtain product information such as product images, product titles, and product page links of each product item and the sorting order. Then, the product image and product title of each product item are displayed in the slot of the product recommendation page corresponding to the sorting order of the product item, thereby realizing the parsing and display of the product display list, and displaying the product search results corresponding to the product search request in each slot of the product recommendation page. The product images and product titles displayed in each slot are associated with the product page link of the product item corresponding to the slot. When the user clicks on the product image or product title of a slot, he can jump to the corresponding product page link to load the product details page of the corresponding product item.

根据以上实施例可见,根据商品搜索请求相对应的推荐商品集,对推荐商品集中的各个商品项的商品信息进行预设格式的封装后与各个商品项的排序顺位相关联,同步到终端设备中解析显示,可使本申请根据占位商品集干预植入的商品项能够在终端设备的商品推荐页面的对应坑位中显示,有效实现对多数据源召回的搜索结果的人工干预,实现搜索业务扩展。According to the above embodiments, it can be seen that according to the recommended product set corresponding to the product search request, the product information of each product item in the recommended product set is packaged in a preset format and associated with the sorting order of each product item, and synchronized to the terminal device for parsing and display. This allows the product items implanted by the present application according to the placeholder product set to be displayed in the corresponding slots of the product recommendation page of the terminal device, effectively realizing manual intervention in the search results recalled from multiple data sources and achieving search business expansion.

请参阅图6,本申请的另一实施例还提供一种商品推荐干预装置,其包括数据召回模块5100、商品去重模块5200、商品精排模块5300,以及占位优化模块5400,其中,所述数据召回模块5100,设置为响应商品搜索请求,从多个数据源分别召回与所述商品搜索请求相匹配的商品项,获得各个数据源相对应的召回商品集;所述商品去重模块5200,设置为获取占位商品集,删除各个召回商品集中与所述占位商品集重合的商品项,所述占位商品集包含至少一个商品项及其待占顺位;所述商品精排模块5300,设置为根据各个召回商品集中的商品项对应获得的干预展示评分,对全部召回商品集中的全部商品项进行精排处理,得到精排商品集;所述占位优化模块5400,设置为将所述占位商品集中的商品项,添加到所述精排商品集中与该商品项的待占顺位相对应的排序顺位,得到推荐商品集用于应答所述商品搜索请求。Please refer to FIG. 6 . Another embodiment of the present application further provides a product recommendation intervention device, which includes a data recall module 5100, a product deduplication module 5200, a product fine ranking module 5300, and a placeholder optimization module 5400. The data recall module 5100 is configured to respond to a product search request, respectively recall product items that match the product search request from multiple data sources, and obtain a recalled product set corresponding to each data source; the product deduplication module 5200 is configured to obtain a placeholder product set, delete product items in each recalled product set that overlap with the placeholder product set, and the placeholder product set includes at least one product item and its to-be-occupied order; the product fine ranking module 5300 is configured to perform fine ranking processing on all product items in all recalled product sets according to the intervention display scores corresponding to the product items in each recalled product set, and obtain a fine ranking product set; the placeholder optimization module 5400 is configured to add the product items in the placeholder product set to the sorting order corresponding to the to-be-occupied order of the product item in the fine ranking product set, and obtain a recommended product set for answering the product search request.

在本申请的装置的任意实施例的基础上,所述商品去重模块5200,包括:优先级确定单元,设置为获取所述占位商品集及各个召回商品集相对应的优先级,其中,所述占位商品集具有最高优先级,所述各个召回商品集根据其所属的数据源配置不同的优先级;去重处理单元,设置为对所述占位商品集和所述各个召回商品集中的商品项进行去重处理,将重复出现的商品项仅保留在相对优先级最高的集合中,删除相对优先级较低的集合中重复的商品项。Based on any embodiment of the device of the present application, the product deduplication module 5200 includes: a priority determination unit, configured to obtain the priorities corresponding to the placeholder product set and each recalled product set, wherein the placeholder product set has the highest priority, and each recalled product set is configured with different priorities according to the data source to which it belongs; a deduplication processing unit, configured to deduplicate product items in the placeholder product set and each recalled product set, retaining repeated product items only in the set with the highest relative priority, and deleting repeated product items in the set with a relatively lower priority.

在本申请的装置的任意实施例的基础上,所述商品精排模块5300,包括:商品过滤单元,设置为根据预设过滤条件对各个召回商品集中的商品项进行过滤;Based on any embodiment of the device of the present application, the product precise ranking module 5300 includes: a product filtering unit configured to filter product items in each recalled product set according to a preset filtering condition;

评分确定单元,设置为根据商品项的多个数据指标,计算各个召回商品集中商品项的干预展示评分;排序处理单元,设置为根据各个召回商品集所构成的中间商品集中商品项的干预展示评分,对该中间商品集中的商品项进行排序;商品筛选单元,设置为根据商品项的干预展示评分从中间商品集中筛选出部分商品项构造为精排商品集。The scoring determination unit is configured to calculate the intervention display score of the commodity items in each recalled commodity set according to multiple data indicators of the commodity items; the sorting processing unit is configured to sort the commodity items in the intermediate commodity set according to the intervention display score of the commodity items in the intermediate commodity set constituted by each recalled commodity set; the commodity screening unit is configured to screen out some commodity items from the intermediate commodity set according to the intervention display score of the commodity items to construct a refined commodity set.

在本申请的装置的任意实施例的基础上,所述评分确定单元,包括:指标量化子单元,设置为计算各个召回商品集中商品项在多个预设数据指标下的归一化分值;加权评分子单元,设置为以各个数据指标相对应的预设干预展示概率作为数据指标的权重,求取每个商品项各数据指标的归一化分值的加权总分,以作为每个商品项的干预展示评分。Based on any embodiment of the device of the present application, the scoring determination unit includes: an indicator quantification subunit, which is configured to calculate the normalized scores of each product item in the recalled product set under multiple preset data indicators; a weighted scoring subunit, which is configured to use the preset intervention display probability corresponding to each data indicator as the weight of the data indicator, and obtain the weighted total score of the normalized scores of each data indicator of each product item as the intervention display score of each product item.

在本申请的装置的任意实施例的基础上,所述商品筛选单元,包括:评分择优子单元,设置为从中间商品集中筛选出干预展示评分超过预设阈值的若干个商品项构成精排商品集;商品补全子单元,设置为判断所述精排商品集中的商品项总数是否达到预设的坑位总数,当未达到时,从属于排行商品集的召回商品集中提取排行靠前的商品项补足该精排商品集,所述排行商品集包含有预先设定了排行关系的多个商品项。Based on any embodiment of the device of the present application, the product screening unit includes: a score selection sub-unit, which is configured to screen out a number of product items whose intervention display scores exceed a preset threshold from the intermediate product set to form a refined ranking product set; a product completion sub-unit, which is configured to determine whether the total number of product items in the refined ranking product set reaches a preset total number of slots. If not, top-ranked product items are extracted from a recalled product set belonging to the ranked product set to supplement the refined ranking product set, and the ranked product set contains multiple product items with a pre-set ranking relationship.

在本申请的装置的任意实施例的基础上,所述占位优化模块5400,包括:匹配判断单元,设置为判断精排商品集中的商品项总数是否达到预设的坑位总数;替换处理单元,设置为当达到预设的坑位总数时,按照占位商品集中商品项的待占顺位与精排商品集中的排序顺位的对应关系,将所述占位商品集中的商品项以插入和/或替换的方式添加至所述精排商品集中,以得到推荐商品集;插入处理单元,设置为当未达到预设的坑位总数时,按照占位商品集中商品项的待占顺位,将占位商品集中的商品项插入到所述精排商品集相对应的排序顺位中,以得到推荐商品集。Based on any embodiment of the device of the present application, the placeholder optimization module 5400 includes: a matching judgment unit, configured to judge whether the total number of commodity items in the refined ranking commodity set reaches a preset total number of slots; a replacement processing unit, configured to add the commodity items in the placeholder commodity set to the refined ranking commodity set by insertion and/or replacement when the preset total number of slots is reached, according to the correspondence between the order of the commodity items in the placeholder commodity set and the sorting order in the refined ranking commodity set, so as to obtain a recommended commodity set; an insertion processing unit, configured to insert the commodity items in the placeholder commodity set into the corresponding sorting order of the refined ranking commodity set when the preset total number of slots is not reached, according to the order of the commodity items in the placeholder commodity set to obtain a recommended commodity set.

在本申请的装置的任意实施例的基础上,后于所述占位优化模块5400的运行,本申请的商品推荐干预装置,包括:信息获取模块,设置为获取所述推荐商品集中商品项的商品信息,所述商品信息包括商品图片、商品标题,以及商品页面链接;消息封装模块,设置为按照预设格式将所述推荐商品集中商品项的商品信息封装为商品展示消息并关联其在推荐商品集中的排序顺位,构造为所述推荐商品集中各个商品项相对应的商品展示列表;商品展示模块,设置为将所述商品展示列表推送到提交所述商品搜索请求的终端设备,由该终端设备将该商品展示列表中的各个商品展示消息解析显示到该终端设备的显示页面内与排序顺位相对应的坑位中。On the basis of any embodiment of the device of the present application, after the operation of the placeholder optimization module 5400, the product recommendation intervention device of the present application includes: an information acquisition module, configured to obtain product information of product items in the recommended product set, the product information including product pictures, product titles, and product page links; a message encapsulation module, configured to encapsulate the product information of the product items in the recommended product set into product display messages according to a preset format and associate them with the sorting order in the recommended product set, thereby constructing a product display list corresponding to each product item in the recommended product set; a product display module, configured to push the product display list to a terminal device that submits the product search request, and the terminal device parses and displays each product display message in the product display list in a slot corresponding to the sorting order in a display page of the terminal device.

在本申请任意实施例的基础上,请参阅图7,本申请的另一实施例还提供一种计算机设备,如图7所示,计算机设备的内部结构示意图。该计算机设备包括通过系统总线连接的处理器、计算机可读存储介质、存储器和网络接口。其中,该计算机设备的计算机可读存储介质存储有操作系统、数据库和封装计算机可读指令的计算机程序,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种商品推荐干预方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行本申请的商品推荐干预方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。On the basis of any embodiment of the present application, please refer to FIG. 7. Another embodiment of the present application further provides a computer device, as shown in FIG. 7, a schematic diagram of the internal structure of the computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. Among them, the computer-readable storage medium of the computer device stores an operating system, a database, and a computer program encapsulating computer-readable instructions. The database may store a control information sequence. When the computer-readable instruction is executed by the processor, the processor can implement a commodity recommendation intervention method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instruction is executed by the processor, the processor can execute the commodity recommendation intervention method of the present application. The network interface of the computer device is used to connect and communicate with the terminal. It can be understood by those skilled in the art that the structure shown in FIG. 7 is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

本实施方式中处理器用于执行图6中的各个模块及其子模块的具体功能,存储器存储有执行上述模块或子模块所需的程序代码和各类数据。网络接口用于向用户终端或服务器之间的数据传输。本实施方式中的存储器存储有本申请的商品推荐干预装置中执行所有模块/子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to execute the specific functions of each module and its submodule in FIG6 , and the memory stores the program code and various data required to execute the above modules or submodules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules/submodules in the commodity recommendation intervention device of the present application, and the server can call the program code and data of the server to execute the functions of all submodules.

本申请还提供一种存储有计算机可读指令的存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行本申请任一实施例所述商品推荐干预方法的步骤。The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the product recommendation intervention method described in any embodiment of the present application.

本申请还提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被一个或多个处理器执行时实现本申请任一实施例所述商品推荐干预方法的步骤。The present application also provides a computer program product, including a computer program/instruction, which, when executed by one or more processors, implements the steps of the product recommendation intervention method described in any embodiment of the present application.

本领域普通技术人员可以理解实现本申请上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等计算机可读存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments of the present application can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a computer-readable storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

综上所述,本申请利用占位商品集中为商品项指定的待占顺位,将多源召回后精排所得的精排商品集的相应排序顺位中植入相应商品项,实现对多源召回结果的干预,克服了数据稀疏和冷启动以及数据偏好等不良因素导致的缺陷,实现对商品搜索结果的优化,有助于实现对商品搜索结果的个性化运营。To summarize, the present application utilizes the to-be-occupied order specified for product items in the placeholder product set to implant corresponding product items into the corresponding sorting order of the refined product set obtained after multi-source recall, thereby implementing intervention in the multi-source recall results, overcoming the defects caused by unfavorable factors such as data sparsity, cold start, and data preference, optimizing product search results, and helping to realize personalized operation of product search results.

Claims (8)

1. A method of merchandise recommendation intervention, comprising:
responding to a commodity searching request, and respectively recalling commodity items matched with the commodity searching request from a plurality of data sources to obtain recalled commodity sets corresponding to the data sources;
acquiring a occupying commodity set, deleting commodity items, which are overlapped with the occupying commodity set, in each recall commodity set, wherein the occupying commodity set comprises at least one commodity item and a to-be-occupied position thereof;
According to the intervention display scores obtained by the corresponding commodity items in each recall commodity set, carrying out fine-ranking treatment on all commodity items in all recall commodity sets to obtain a fine-ranking commodity set;
adding the commodity items in the occupied commodity set to the ordering order corresponding to the to-be-occupied order of the commodity items in the fine-ranking commodity set to obtain a recommended commodity set for responding to the commodity search request;
the deleting commodity items in each recall commodity set, which are overlapped with the occupied commodity set, comprises the following steps:
acquiring priorities corresponding to the occupied commodity set and each recall commodity set, wherein the occupied commodity set has the highest priority, and each recall commodity set is configured with different priorities according to the data source to which the occupied commodity set belongs;
carrying out de-duplication treatment on the commodity items in the occupying commodity set and the recall commodity sets, only keeping the repeatedly-appearing commodity items in the set with the highest relative priority, and deleting the repeated commodity items in the set with the lower relative priority;
the adding the commodity item in the occupying commodity set to the ordering order corresponding to the to-be-occupied order of the commodity item in the precisely arranged commodity set comprises the following steps:
Judging whether the total number of commodity items in the fine-arranged commodity set reaches the preset pit total number or not;
when the total number of the preset pits is reached, adding the commodity items in the occupied commodity set into the fine-ranking commodity set in an inserting or replacing mode according to the corresponding relation between the to-be-occupied positions of the commodity items in the occupied commodity set and the ordering positions in the fine-ranking commodity set so as to obtain a recommended commodity set;
and when the total number of the preset pits is not reached, inserting the commodity items in the occupied commodity set into the sequencing cis corresponding to the fine-ranking commodity set according to the to-be-occupied cis of the commodity items in the occupied commodity set so as to obtain the recommended commodity set.
2. The commodity recommendation intervention method according to claim 1, wherein the performing fine-ranking processing on all commodity items in all recalled commodity sets according to the intervention display scores obtained by the commodity items in each recalled commodity set, to obtain a fine-ranking commodity set, comprises:
filtering commodity items in each recall commodity set according to preset filtering conditions;
calculating intervention display scores of all recalled commodity items in the commodity set according to a plurality of data indexes of the commodity items;
sorting the commodity items in the intermediate commodity set according to the intervention display scores of the commodity items in the intermediate commodity set formed by the recall commodity sets;
And screening partial commodity items from the intermediate commodity sets according to the intervention display scores of the commodity items to construct a fine-ranking commodity set.
3. The merchandise recommendation intervention method of claim 2, wherein calculating an intervention presentation score for each recalled merchandise item in the merchandise set based on the plurality of data metrics for the merchandise item comprises:
calculating normalized scores of commodity items in all recall commodity sets under a plurality of preset data indexes;
and taking the preset intervention display probability corresponding to each data index as the weight of the data index, and solving the weighted total score of the normalized scores of each data index of each commodity item to serve as the intervention display score of each commodity item.
4. The commodity recommendation intervention method of claim 2, wherein selecting a portion of the commodity items from the intermediate commodity collection according to the intervention display score of the commodity items is configured as a fine-ranked commodity collection, comprising:
screening a plurality of commodity items with intervention display scores exceeding a preset threshold value from the middle commodity set to form a fine-ranking commodity set;
judging whether the total number of commodity items in the fine-ranking commodity set reaches the preset pit total number, and when the total number of commodity items does not reach the preset pit total number, extracting commodity items with the front ranking from the recall commodity set belonging to the ranking commodity set to complement the fine-ranking commodity set, wherein the ranking commodity set comprises a plurality of commodity items with preset ranking relations.
5. The commodity recommendation intervention method according to any one of claims 1 to 4, wherein adding the commodity item in the occupied commodity set to a ranking order corresponding to a to-be-occupied order of the commodity item in the fine-ranked commodity set, to obtain a recommended commodity set for responding to the commodity search request, comprises:
acquiring commodity information of commodity items in the recommended commodity set, wherein the commodity information comprises commodity pictures, commodity titles and commodity page links;
packaging commodity information of the commodity items in the recommended commodity set into commodity display information according to a preset format, and associating the commodity display information with ordering positions in the recommended commodity set to construct a commodity display list corresponding to each commodity item in the recommended commodity set;
pushing the commodity display list to terminal equipment submitting the commodity search request, and analyzing and displaying each commodity display message in the commodity display list to pits corresponding to the ordering order in a display page of the terminal equipment by the terminal equipment.
6. A merchandise recommendation intervention device, comprising:
the data recall module is used for responding to the commodity search request and recalling commodity items matched with the commodity search request from a plurality of data sources respectively to obtain recalled commodity sets corresponding to the data sources;
The commodity duplicate removal module is used for acquiring a occupying commodity set, deleting commodity items in each recall commodity set, which are overlapped with the occupying commodity set, wherein the occupying commodity set comprises at least one commodity item and a to-be-occupied position thereof;
the commodity precision arranging module is used for carrying out precision arranging treatment on all commodity items in all recall commodity sets according to the intervention display scores correspondingly obtained by the commodity items in all recall commodity sets to obtain a precision arranging commodity set;
the occupation optimization module is used for adding the commodity items in the occupation commodity set to the ordering order corresponding to the to-be-occupied order of the commodity items in the fine-arranged commodity set to obtain a recommended commodity set for responding to the commodity search request;
the commodity duplicate removal module comprises:
the priority determining unit is used for obtaining the priority corresponding to the occupied commodity set and each recall commodity set, wherein the occupied commodity set has the highest priority, and each recall commodity set is configured with different priorities according to the data source to which the occupied commodity set belongs;
the duplicate removal processing unit is used for carrying out duplicate removal processing on the commodity items in the occupied commodity set and the recall commodity sets, keeping the repeatedly-appearing commodity items only in the set with the highest relative priority, and deleting the repeated commodity items in the set with the lower relative priority;
The occupation optimization module comprises:
the matching judging unit is used for judging whether the total number of commodity items in the fine-arranged commodity set reaches the preset pit total number or not;
the replacement processing unit is used for adding the commodity items in the occupied commodity set into the fine-ranking commodity set in an inserting and/or replacing mode according to the corresponding relation between the to-be-occupied positions of the commodity items in the occupied commodity set and the ordering positions in the fine-ranking commodity set when the total number of the preset pits is reached, so that a recommended commodity set is obtained;
and the inserting processing unit is used for inserting the commodity items in the occupied commodity set into the sequencing order corresponding to the fine-ranking commodity set according to the to-be-occupied order of the commodity items in the occupied commodity set when the total number of the preset pits is not reached, so as to obtain the recommended commodity set.
7. A computer device comprising a central processor and a memory, characterized in that the central processor is arranged to invoke a computer program stored in the memory for performing the steps of the method according to any of claims 1 to 5.
8. A non-transitory readable storage medium, characterized in that it stores in form of computer readable instructions a computer program implemented according to the method of any one of claims 1 to 5, which when invoked by a computer, performs the steps comprised by the corresponding method.
CN202311795784.7A 2023-12-25 2023-12-25 Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment Active CN117455579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311795784.7A CN117455579B (en) 2023-12-25 2023-12-25 Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311795784.7A CN117455579B (en) 2023-12-25 2023-12-25 Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment

Publications (2)

Publication Number Publication Date
CN117455579A CN117455579A (en) 2024-01-26
CN117455579B true CN117455579B (en) 2024-04-09

Family

ID=89580337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311795784.7A Active CN117455579B (en) 2023-12-25 2023-12-25 Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment

Country Status (1)

Country Link
CN (1) CN117455579B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118212032A (en) * 2024-03-21 2024-06-18 蜜源(广州)新媒体科技有限公司 Automatic selecting method, device, storage medium and computer equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720720B1 (en) * 2004-08-05 2010-05-18 Versata Development Group, Inc. System and method for generating effective recommendations
CN106600302A (en) * 2015-10-19 2017-04-26 玺阅信息科技(上海)有限公司 Hadoop-based commodity recommendation system
CN107679882A (en) * 2016-08-01 2018-02-09 长沙有干货网络技术有限公司 A kind of Hadoop Technologies of Recommendation System in E-Commerce
CN113269602A (en) * 2020-02-17 2021-08-17 北京京东振世信息技术有限公司 Item recommendation method and device
WO2022007520A1 (en) * 2020-07-09 2022-01-13 百果园技术(新加坡)有限公司 Recommendation item determination method and apparatus, device, and storage medium
CA3140699A1 (en) * 2020-11-30 2022-05-30 10353744 Canada Ltd. Method, device, computer equipment and storage medium for personalized search
CN114782062A (en) * 2022-05-20 2022-07-22 广州欢聚时代信息科技有限公司 Commodity recall optimization method and device, equipment, medium and product thereof
CN114971766A (en) * 2022-04-14 2022-08-30 广州华多网络科技有限公司 Commodity recommendation method and device, equipment, medium and product thereof
CN115564531A (en) * 2022-10-19 2023-01-03 广州华多网络科技有限公司 Commodity combination recommendation method and device, equipment, medium and product thereof
CN115660782A (en) * 2022-11-02 2023-01-31 广州欢聚时代信息科技有限公司 Scene type commodity recommendation method and device, equipment, medium and product thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720720B1 (en) * 2004-08-05 2010-05-18 Versata Development Group, Inc. System and method for generating effective recommendations
CN106600302A (en) * 2015-10-19 2017-04-26 玺阅信息科技(上海)有限公司 Hadoop-based commodity recommendation system
CN107679882A (en) * 2016-08-01 2018-02-09 长沙有干货网络技术有限公司 A kind of Hadoop Technologies of Recommendation System in E-Commerce
CN113269602A (en) * 2020-02-17 2021-08-17 北京京东振世信息技术有限公司 Item recommendation method and device
WO2022007520A1 (en) * 2020-07-09 2022-01-13 百果园技术(新加坡)有限公司 Recommendation item determination method and apparatus, device, and storage medium
CA3140699A1 (en) * 2020-11-30 2022-05-30 10353744 Canada Ltd. Method, device, computer equipment and storage medium for personalized search
CN114971766A (en) * 2022-04-14 2022-08-30 广州华多网络科技有限公司 Commodity recommendation method and device, equipment, medium and product thereof
CN114782062A (en) * 2022-05-20 2022-07-22 广州欢聚时代信息科技有限公司 Commodity recall optimization method and device, equipment, medium and product thereof
CN115564531A (en) * 2022-10-19 2023-01-03 广州华多网络科技有限公司 Commodity combination recommendation method and device, equipment, medium and product thereof
CN115660782A (en) * 2022-11-02 2023-01-31 广州欢聚时代信息科技有限公司 Scene type commodity recommendation method and device, equipment, medium and product thereof

Also Published As

Publication number Publication date
CN117455579A (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CA3096061C (en) Methods and systems for notifying users of new applications
US10817861B2 (en) System and method for point-of-sale electronic receipt generation and management
CN111177563B (en) Information recommendation method and device, electronic equipment and storage medium
WO2020107868A1 (en) Shopping sharing profit-returning method and apparatus, computer apparatus, and computer storage medium
KR101889203B1 (en) Systems and methods to adapt search results
US20150142514A1 (en) System and method for payment transaction receipt management
US20150142593A1 (en) System and method for point-of-sale electronic receipt storage
JP2002334201A (en) Business support system and business support method
US11823248B2 (en) Systems and methods for using keywords extracted from reviews
US20200364743A1 (en) Predictive recommendation system using tiered feature data
US11657107B2 (en) Systems and methods for using keywords extracted from reviews
CN117455579B (en) Commodity recommendation intervention method, commodity recommendation intervention device, medium and equipment
US11487835B2 (en) Information processing system, information processing method, and program
CN111429214B (en) Transaction data-based buyer and seller matching method and device
KR102693086B1 (en) Method and system for message mapping to handle template changes
US11544053B2 (en) Methods and systems for generating application build recommendations
US10229452B2 (en) Non-monetary bidding based on bidder-specific data
CA3134673C (en) Methods and systems for generating search results
CN112418878A (en) Method, device and equipment for processing rights and interests service data and storage medium
KR102614403B1 (en) A Consumption Platform Providing Method with Insights on Desire and Cause Expressed by Users
KR20240131680A (en) Method for Managing Wish Keyword by Using Exchange
KR20240127520A (en) Method for Managing Wishes Based on Exchange
Struk Building the Back-End & Algorithm for a Mobile Application
CN118014654A (en) Online advertisement campaign control method, device, equipment and product
CN118747663A (en) Keyword placement information providing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Zhiyan Technology Co.,Ltd.

Country or region after: China

Patentee after: Shenzhen Qianyan Technology Co.,Ltd.

Address before: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN ZHIYAN TECHNOLOGY Co.,Ltd.

Country or region before: China

Patentee before: Shenzhen Qianyan Technology Co.,Ltd.

CP03 Change of name, title or address